Documentation
¶
Index ¶
- Variables
- type AppInterface
- func (a *AppInterface) AppReleaseList(ctx context.Context, appReleaseReq *v1alpha1.AppReleaseReq) (*v1alpha1.AppReleaseList, error)
- func (a *AppInterface) CreateAppType(ctx context.Context, appType *v1alpha1.AppType) (*common.Msg, error)
- func (a *AppInterface) Delete(ctx context.Context, appReq *v1alpha1.AppReq) (*common.Msg, error)
- func (a *AppInterface) DeleteAppRelease(ctx context.Context, appReleaseReq *v1alpha1.AppReleaseReq) (*common.Msg, error)
- func (a *AppInterface) DeleteAppType(ctx context.Context, appTypeReq *v1alpha1.AppTypeReq) (*common.Msg, error)
- func (a *AppInterface) DeleteAppVersion(ctx context.Context, appReq *v1alpha1.AppReq) (*common.Msg, error)
- func (a *AppInterface) DeleteRepo(ctx context.Context, repoReq *v1alpha1.AppRepoReq) (*common.Msg, error)
- func (a *AppInterface) Get(ctx context.Context, appReq *v1alpha1.AppReq) (*v1alpha1.App, error)
- func (a *AppInterface) GetAppDetailByRepo(ctx context.Context, repoReq *v1alpha1.AppRepoReq) (*v1alpha1.App, error)
- func (a *AppInterface) GetAppRelease(ctx context.Context, AppReleaseReq *v1alpha1.AppReleaseReq) (*v1alpha1.AppRelease, error)
- func (a *AppInterface) GetAppReleaseResources(ctx context.Context, appReleaseReq *v1alpha1.AppReleaseReq) (*v1alpha1.AppReleasepResources, error)
- func (a *AppInterface) GetAppsByRepo(ctx context.Context, repoReq *v1alpha1.AppRepoReq) (*v1alpha1.AppList, error)
- func (a *AppInterface) List(ctx context.Context, appReq *v1alpha1.AppReq) (*v1alpha1.AppList, error)
- func (a *AppInterface) ListAppType(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.AppTypeList, error)
- func (a *AppInterface) ListRepo(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.AppRepoList, error)
- func (a *AppInterface) Ping(ctx context.Context, _ *emptypb.Empty) (*common.Msg, error)
- func (a *AppInterface) Save(ctx context.Context, app *v1alpha1.App) (*common.Msg, error)
- func (a *AppInterface) SaveAppRelease(ctx context.Context, appReleaseReq *v1alpha1.AppReleaseReq) (*v1alpha1.AppRelease, error)
- func (a *AppInterface) SaveRepo(ctx context.Context, repo *v1alpha1.AppRepo) (*common.Msg, error)
- func (a *AppInterface) UploadApp(ctx context.Context, req *v1alpha1.FileUploadRequest) (*v1alpha1.App, error)
- type ClusterInterface
- func (c *ClusterInterface) Delete(ctx context.Context, clusterID *v1alpha1.ClusterIdMessge) (*common.Msg, error)
- func (c *ClusterInterface) Get(ctx context.Context, clusterIdArgs *v1alpha1.ClusterIdMessge) (*v1alpha1.Cluster, error)
- func (c *ClusterInterface) GetCluster(ctx context.Context, clusterId int64) (*biz.Cluster, error)
- func (c *ClusterInterface) GetClusterLevels(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ClusterLevels, error)
- func (c *ClusterInterface) GetClusterStatuses(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ClusterStatuses, error)
- func (c *ClusterInterface) GetClusterTypes(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ClusterTypes, error)
- func (c *ClusterInterface) GetNodeGroupTypes(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.NodeGroupTypes, error)
- func (c *ClusterInterface) GetNodeRoles(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.NodeRoles, error)
- func (c *ClusterInterface) GetNodeStatuses(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.NodeStatuses, error)
- func (c *ClusterInterface) GetRegions(ctx context.Context, clusterArgs *v1alpha1.ClusterRegionArgs) (*v1alpha1.Regions, error)
- func (c *ClusterInterface) GetResourceTypes(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ResourceTypes, error)
- func (c *ClusterInterface) List(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ClusterList, error)
- func (c *ClusterInterface) Ping(ctx context.Context, _ *emptypb.Empty) (*common.Msg, error)
- func (c *ClusterInterface) Save(ctx context.Context, clusterArgs *v1alpha1.ClusterSaveArgs) (msg *v1alpha1.ClusterIdMessge, err error)
- func (c *ClusterInterface) Start(ctx context.Context, clusterArgs *v1alpha1.ClusterIdMessge) (*common.Msg, error)
- func (c *ClusterInterface) Stop(ctx context.Context, clusterArgs *v1alpha1.ClusterIdMessge) (*common.Msg, error)
- type ProjectInterface
- func (p *ProjectInterface) Delete(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*common.Msg, error)
- func (p *ProjectInterface) Get(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*v1alpha1.Project, error)
- func (p *ProjectInterface) GetProject(ctx context.Context, projectId int64) (*biz.Project, error)
- func (p *ProjectInterface) List(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*v1alpha1.ProjectList, error)
- func (p *ProjectInterface) Save(ctx context.Context, project *v1alpha1.Project) (*common.Msg, error)
- type ServicesInterface
- func (s *ServicesInterface) ApplyService(ctx context.Context, serviceReq *v1alpha1.ServiceRequest) (*common.Msg, error)
- func (s *ServicesInterface) CreateContinuousDeployment(ctx context.Context, cd *v1alpha1.ContinuousDeployment) (*common.Msg, error)
- func (s *ServicesInterface) CreateContinuousIntegration(ctx context.Context, ci *v1alpha1.ContinuousIntegration) (*common.Msg, error)
- func (s *ServicesInterface) Delete(ctx context.Context, serviceReq *v1alpha1.ServiceRequest) (*common.Msg, error)
- func (s *ServicesInterface) DeleteContinuousDeployment(ctx context.Context, cdReq *v1alpha1.ContinuousDeploymentRequest) (*common.Msg, error)
- func (s *ServicesInterface) DeleteContinuousIntegration(ctx context.Context, ciReq *v1alpha1.ContinuousIntegrationRequest) (*common.Msg, error)
- func (s *ServicesInterface) Get(ctx context.Context, serviceReq *v1alpha1.ServiceRequest) (*v1alpha1.Service, error)
- func (s *ServicesInterface) GetContinuousDeployment(ctx context.Context, cdReq *v1alpha1.ContinuousDeploymentRequest) (*v1alpha1.ContinuousDeployment, error)
- func (s *ServicesInterface) GetContinuousDeployments(ctx context.Context, cdReq *v1alpha1.ContinuousDeploymentRequest) (*v1alpha1.ContinuousDeployments, error)
- func (s *ServicesInterface) GetContinuousIntegration(ctx context.Context, ciReq *v1alpha1.ContinuousIntegrationRequest) (*v1alpha1.ContinuousIntegration, error)
- func (s *ServicesInterface) GetContinuousIntegrations(ctx context.Context, ciReq *v1alpha1.ContinuousIntegrationRequest) (*v1alpha1.ContinuousIntegrations, error)
- func (s *ServicesInterface) GetServiceResource(ctx context.Context, serviceReq *v1alpha1.ServiceRequest) (*v1alpha1.AlreadyResource, error)
- func (s *ServicesInterface) GetWorkflow(ctx context.Context, wfReq *v1alpha1.WorkflowRequest) (*v1alpha1.Workflow, error)
- func (s *ServicesInterface) List(ctx context.Context, serviceReq *v1alpha1.ServiceRequest) (*v1alpha1.Services, error)
- func (s *ServicesInterface) Save(ctx context.Context, service *v1alpha1.Service) (*common.Msg, error)
- func (s *ServicesInterface) SaveWorkflow(ctx context.Context, wf *v1alpha1.Workflow) (*common.Msg, error)
- type UserInterface
- func (u *UserInterface) DeleteUser(ctx context.Context, request *v1alpha1.User) (*common.Msg, error)
- func (u *UserInterface) GetUserInfo(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.User, error)
- func (u *UserInterface) GetUsers(ctx context.Context, request *v1alpha1.UsersRequest) (*v1alpha1.Users, error)
- func (u *UserInterface) SaveUser(ctx context.Context, request *v1alpha1.User) (*v1alpha1.User, error)
- func (u *UserInterface) SignIn(ctx context.Context, request *v1alpha1.SignIn) (*v1alpha1.User, error)
- type WorkspaceInterface
- func (w *WorkspaceInterface) Get(ctx context.Context, workspaceId *v1alpha1.WorkspaceParam) (*v1alpha1.Workspace, error)
- func (w *WorkspaceInterface) GetWorkspace(ctx context.Context, id int64) (*biz.Workspace, error)
- func (w *WorkspaceInterface) List(ctx context.Context, workspaceParam *v1alpha1.WorkspaceParam) (*v1alpha1.Workspaces, error)
- func (w *WorkspaceInterface) Save(ctx context.Context, workspaceParam *v1alpha1.Workspace) (*common.Msg, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewClusterInterface, NewAppInterface, NewServicesInterface, NewUserInterface, NewProjectInterface, NewWorkspaceInterface)
ProviderSet is interface providers.
Functions ¶
This section is empty.
Types ¶
type AppInterface ¶
type AppInterface struct { v1alpha1.UnimplementedAppInterfaceServer // contains filtered or unexported fields }
func NewAppInterface ¶
func NewAppInterface(uc *biz.AppUsecase, user *biz.UserUseCase, c *conf.Bootstrap, logger log.Logger) *AppInterface
func (*AppInterface) AppReleaseList ¶
func (a *AppInterface) AppReleaseList(ctx context.Context, appReleaseReq *v1alpha1.AppReleaseReq) (*v1alpha1.AppReleaseList, error)
func (*AppInterface) CreateAppType ¶
func (*AppInterface) DeleteAppRelease ¶
func (a *AppInterface) DeleteAppRelease(ctx context.Context, appReleaseReq *v1alpha1.AppReleaseReq) (*common.Msg, error)
func (*AppInterface) DeleteAppType ¶
func (a *AppInterface) DeleteAppType(ctx context.Context, appTypeReq *v1alpha1.AppTypeReq) (*common.Msg, error)
func (*AppInterface) DeleteAppVersion ¶
func (*AppInterface) DeleteRepo ¶
func (a *AppInterface) DeleteRepo(ctx context.Context, repoReq *v1alpha1.AppRepoReq) (*common.Msg, error)
func (*AppInterface) GetAppDetailByRepo ¶
func (a *AppInterface) GetAppDetailByRepo(ctx context.Context, repoReq *v1alpha1.AppRepoReq) (*v1alpha1.App, error)
func (*AppInterface) GetAppRelease ¶
func (a *AppInterface) GetAppRelease(ctx context.Context, AppReleaseReq *v1alpha1.AppReleaseReq) (*v1alpha1.AppRelease, error)
func (*AppInterface) GetAppReleaseResources ¶
func (a *AppInterface) GetAppReleaseResources(ctx context.Context, appReleaseReq *v1alpha1.AppReleaseReq) (*v1alpha1.AppReleasepResources, error)
func (*AppInterface) GetAppsByRepo ¶
func (a *AppInterface) GetAppsByRepo(ctx context.Context, repoReq *v1alpha1.AppRepoReq) (*v1alpha1.AppList, error)
func (*AppInterface) ListAppType ¶
func (a *AppInterface) ListAppType(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.AppTypeList, error)
func (*AppInterface) ListRepo ¶
func (a *AppInterface) ListRepo(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.AppRepoList, error)
func (*AppInterface) SaveAppRelease ¶
func (a *AppInterface) SaveAppRelease(ctx context.Context, appReleaseReq *v1alpha1.AppReleaseReq) (*v1alpha1.AppRelease, error)
func (*AppInterface) UploadApp ¶
func (a *AppInterface) UploadApp(ctx context.Context, req *v1alpha1.FileUploadRequest) (*v1alpha1.App, error)
type ClusterInterface ¶
type ClusterInterface struct { v1alpha1.UnimplementedClusterInterfaceServer // contains filtered or unexported fields }
func NewClusterInterface ¶
func NewClusterInterface(clusterUc *biz.ClusterUsecase, c *conf.Bootstrap, logger log.Logger) *ClusterInterface
func (*ClusterInterface) Delete ¶
func (c *ClusterInterface) Delete(ctx context.Context, clusterID *v1alpha1.ClusterIdMessge) (*common.Msg, error)
func (*ClusterInterface) Get ¶
func (c *ClusterInterface) Get(ctx context.Context, clusterIdArgs *v1alpha1.ClusterIdMessge) (*v1alpha1.Cluster, error)
func (*ClusterInterface) GetCluster ¶
func (*ClusterInterface) GetClusterLevels ¶
func (c *ClusterInterface) GetClusterLevels(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ClusterLevels, error)
func (*ClusterInterface) GetClusterStatuses ¶
func (c *ClusterInterface) GetClusterStatuses(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ClusterStatuses, error)
func (*ClusterInterface) GetClusterTypes ¶
func (c *ClusterInterface) GetClusterTypes(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ClusterTypes, error)
func (*ClusterInterface) GetNodeGroupTypes ¶
func (c *ClusterInterface) GetNodeGroupTypes(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.NodeGroupTypes, error)
func (*ClusterInterface) GetNodeRoles ¶
func (*ClusterInterface) GetNodeStatuses ¶
func (c *ClusterInterface) GetNodeStatuses(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.NodeStatuses, error)
func (*ClusterInterface) GetRegions ¶
func (c *ClusterInterface) GetRegions(ctx context.Context, clusterArgs *v1alpha1.ClusterRegionArgs) (*v1alpha1.Regions, error)
get regions
func (*ClusterInterface) GetResourceTypes ¶
func (c *ClusterInterface) GetResourceTypes(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ResourceTypes, error)
func (*ClusterInterface) List ¶
func (c *ClusterInterface) List(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ClusterList, error)
func (*ClusterInterface) Save ¶
func (c *ClusterInterface) Save(ctx context.Context, clusterArgs *v1alpha1.ClusterSaveArgs) (msg *v1alpha1.ClusterIdMessge, err error)
func (*ClusterInterface) Start ¶
func (c *ClusterInterface) Start(ctx context.Context, clusterArgs *v1alpha1.ClusterIdMessge) (*common.Msg, error)
func (*ClusterInterface) Stop ¶
func (c *ClusterInterface) Stop(ctx context.Context, clusterArgs *v1alpha1.ClusterIdMessge) (*common.Msg, error)
type ProjectInterface ¶
type ProjectInterface struct { v1alpha1.UnimplementedProjectServiceServer // contains filtered or unexported fields }
func NewProjectInterface ¶
func NewProjectInterface(uc *biz.ProjectUsecase, userUc *biz.UserUseCase, c *conf.Bootstrap, logger log.Logger) *ProjectInterface
func (*ProjectInterface) Delete ¶
func (p *ProjectInterface) Delete(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*common.Msg, error)
func (*ProjectInterface) Get ¶
func (p *ProjectInterface) Get(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*v1alpha1.Project, error)
func (*ProjectInterface) GetProject ¶
func (*ProjectInterface) List ¶
func (p *ProjectInterface) List(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*v1alpha1.ProjectList, error)
type ServicesInterface ¶
type ServicesInterface struct { v1alpha1.UnimplementedServiceInterfaceServer // contains filtered or unexported fields }
func NewServicesInterface ¶
func NewServicesInterface(serviceUc *biz.ServicesUseCase) *ServicesInterface
func (*ServicesInterface) ApplyService ¶
func (s *ServicesInterface) ApplyService(ctx context.Context, serviceReq *v1alpha1.ServiceRequest) (*common.Msg, error)
func (*ServicesInterface) CreateContinuousDeployment ¶
func (s *ServicesInterface) CreateContinuousDeployment(ctx context.Context, cd *v1alpha1.ContinuousDeployment) (*common.Msg, error)
func (*ServicesInterface) CreateContinuousIntegration ¶
func (s *ServicesInterface) CreateContinuousIntegration(ctx context.Context, ci *v1alpha1.ContinuousIntegration) (*common.Msg, error)
func (*ServicesInterface) Delete ¶
func (s *ServicesInterface) Delete(ctx context.Context, serviceReq *v1alpha1.ServiceRequest) (*common.Msg, error)
func (*ServicesInterface) DeleteContinuousDeployment ¶
func (s *ServicesInterface) DeleteContinuousDeployment(ctx context.Context, cdReq *v1alpha1.ContinuousDeploymentRequest) (*common.Msg, error)
func (*ServicesInterface) DeleteContinuousIntegration ¶
func (s *ServicesInterface) DeleteContinuousIntegration(ctx context.Context, ciReq *v1alpha1.ContinuousIntegrationRequest) (*common.Msg, error)
func (*ServicesInterface) Get ¶
func (s *ServicesInterface) Get(ctx context.Context, serviceReq *v1alpha1.ServiceRequest) (*v1alpha1.Service, error)
func (*ServicesInterface) GetContinuousDeployment ¶
func (s *ServicesInterface) GetContinuousDeployment(ctx context.Context, cdReq *v1alpha1.ContinuousDeploymentRequest) (*v1alpha1.ContinuousDeployment, error)
func (*ServicesInterface) GetContinuousDeployments ¶
func (s *ServicesInterface) GetContinuousDeployments(ctx context.Context, cdReq *v1alpha1.ContinuousDeploymentRequest) (*v1alpha1.ContinuousDeployments, error)
func (*ServicesInterface) GetContinuousIntegration ¶
func (s *ServicesInterface) GetContinuousIntegration(ctx context.Context, ciReq *v1alpha1.ContinuousIntegrationRequest) (*v1alpha1.ContinuousIntegration, error)
func (*ServicesInterface) GetContinuousIntegrations ¶
func (s *ServicesInterface) GetContinuousIntegrations(ctx context.Context, ciReq *v1alpha1.ContinuousIntegrationRequest) (*v1alpha1.ContinuousIntegrations, error)
func (*ServicesInterface) GetServiceResource ¶
func (s *ServicesInterface) GetServiceResource(ctx context.Context, serviceReq *v1alpha1.ServiceRequest) (*v1alpha1.AlreadyResource, error)
func (*ServicesInterface) GetWorkflow ¶
func (s *ServicesInterface) GetWorkflow(ctx context.Context, wfReq *v1alpha1.WorkflowRequest) (*v1alpha1.Workflow, error)
func (*ServicesInterface) List ¶
func (s *ServicesInterface) List(ctx context.Context, serviceReq *v1alpha1.ServiceRequest) (*v1alpha1.Services, error)
func (*ServicesInterface) SaveWorkflow ¶
type UserInterface ¶
type UserInterface struct { v1alpha1.UnimplementedUserInterfaceServer // contains filtered or unexported fields }
func NewUserInterface ¶
func NewUserInterface(uc *biz.UserUseCase, conf *conf.Bootstrap) *UserInterface
func (*UserInterface) DeleteUser ¶
func (*UserInterface) GetUserInfo ¶
func (*UserInterface) GetUsers ¶
func (u *UserInterface) GetUsers(ctx context.Context, request *v1alpha1.UsersRequest) (*v1alpha1.Users, error)
type WorkspaceInterface ¶
type WorkspaceInterface struct { v1alpha1.UnimplementedWorkspaceInterfaceServer // contains filtered or unexported fields }
func NewWorkspaceInterface ¶
func NewWorkspaceInterface(workspaceUc *biz.WorkspaceUsecase, logger log.Logger) *WorkspaceInterface
func (*WorkspaceInterface) Get ¶
func (w *WorkspaceInterface) Get(ctx context.Context, workspaceId *v1alpha1.WorkspaceParam) (*v1alpha1.Workspace, error)
func (*WorkspaceInterface) GetWorkspace ¶
func (*WorkspaceInterface) List ¶
func (w *WorkspaceInterface) List(ctx context.Context, workspaceParam *v1alpha1.WorkspaceParam) (*v1alpha1.Workspaces, error)
Click to show internal directories.
Click to hide internal directories.