Documentation ¶
Index ¶
- Variables
- type AppInterface
- func (a *AppInterface) AppTest(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.DeployApp, error)
- func (a *AppInterface) CreateAppType(ctx context.Context, appType *v1alpha1.AppType) (*v1alpha1.Msg, error)
- func (a *AppInterface) Delete(ctx context.Context, appReq *v1alpha1.AppReq) (*v1alpha1.Msg, error)
- func (a *AppInterface) DeleteAppType(ctx context.Context, appTypeReq *v1alpha1.AppTypeReq) (*v1alpha1.Msg, error)
- func (a *AppInterface) DeleteDeployedApp(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.Msg, error)
- func (a *AppInterface) DeleteRepo(ctx context.Context, repoReq *v1alpha1.AppHelmRepoReq) (*v1alpha1.Msg, error)
- func (a *AppInterface) DeployApp(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.DeployApp, error)
- func (a *AppInterface) Get(ctx context.Context, appReq *v1alpha1.AppReq) (*v1alpha1.App, error)
- func (a *AppInterface) GetAppDeployed(ctx context.Context, appDeployId *v1alpha1.DeployApp) (*v1alpha1.DeployApp, error)
- func (a *AppInterface) GetAppDetailByRepo(ctx context.Context, repoReq *v1alpha1.AppHelmRepoReq) (*v1alpha1.App, error)
- func (a *AppInterface) GetAppsByRepo(ctx context.Context, repoReq *v1alpha1.AppHelmRepoReq) (*v1alpha1.AppList, error)
- func (a *AppInterface) GetDeployedAppResources(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.DeployAppResources, 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) ListDeployedApp(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.DeployAppList, error)
- func (a *AppInterface) ListRepo(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.AppHelmRepoList, error)
- func (a *AppInterface) Ping(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.Msg, error)
- func (a *AppInterface) Save(ctx context.Context, app *v1alpha1.App) (*v1alpha1.Msg, error)
- func (a *AppInterface) SaveRepo(ctx context.Context, repo *v1alpha1.AppHelmRepo) (*v1alpha1.Msg, error)
- func (a *AppInterface) StopApp(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.Msg, error)
- func (a *AppInterface) UploadApp(ctx context.Context, req *v1alpha1.FileUploadRequest) (*v1alpha1.App, error)
- type ClusterInterface
- func (c *ClusterInterface) AddNode(ctx context.Context, clusterParam *v1alpha1.ClusterID) (*v1alpha1.Msg, error)
- func (c *ClusterInterface) CheckClusterConfig(ctx context.Context, clusterId *v1alpha1.ClusterID) (*v1alpha1.Cluster, error)
- func (c *ClusterInterface) Delete(ctx context.Context, clusterID *v1alpha1.ClusterID) (*v1alpha1.Msg, error)
- func (c *ClusterInterface) DeleteNode(ctx context.Context, clusterParam *v1alpha1.ClusterID) (*v1alpha1.Msg, error)
- func (c *ClusterInterface) Get(ctx context.Context, clusterID *v1alpha1.ClusterID) (*v1alpha1.Cluster, error)
- func (c *ClusterInterface) GetClusterMockData(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.Cluster, error)
- func (c *ClusterInterface) List(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ClusterList, error)
- func (c *ClusterInterface) Ping(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.Msg, error)
- func (c *ClusterInterface) RemoveNode(ctx context.Context, clusterParam *v1alpha1.ClusterID) (*v1alpha1.Msg, error)
- func (c *ClusterInterface) Save(ctx context.Context, cluster *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
- func (c *ClusterInterface) SetUpCluster(ctx context.Context, cluster *v1alpha1.ClusterID) (*v1alpha1.Msg, error)
- func (c *ClusterInterface) UninstallCluster(ctx context.Context, cluster *v1alpha1.ClusterID) (*v1alpha1.Msg, error)
- type ProjectInterface
- func (p *ProjectInterface) Delete(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*v1alpha1.Msg, error)
- func (p *ProjectInterface) Get(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*v1alpha1.Project, error)
- func (p *ProjectInterface) GetProjectMockData(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.Project, error)
- func (p *ProjectInterface) List(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*v1alpha1.ProjectList, error)
- func (p *ProjectInterface) Ping(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.Msg, error)
- func (p *ProjectInterface) Save(ctx context.Context, project *v1alpha1.Project) (*v1alpha1.Msg, error)
- type ServicesInterface
- type UserInterface
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewClusterInterface, NewAppInterface, NewServicesInterface, NewUserInterface, NewProjectInterface)
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) AppTest ¶
func (a *AppInterface) AppTest(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.DeployApp, error)
func (*AppInterface) CreateAppType ¶
func (*AppInterface) DeleteAppType ¶
func (a *AppInterface) DeleteAppType(ctx context.Context, appTypeReq *v1alpha1.AppTypeReq) (*v1alpha1.Msg, error)
func (*AppInterface) DeleteDeployedApp ¶
func (a *AppInterface) DeleteDeployedApp(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.Msg, error)
func (*AppInterface) DeleteRepo ¶
func (a *AppInterface) DeleteRepo(ctx context.Context, repoReq *v1alpha1.AppHelmRepoReq) (*v1alpha1.Msg, error)
func (*AppInterface) DeployApp ¶
func (a *AppInterface) DeployApp(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.DeployApp, error)
func (*AppInterface) GetAppDeployed ¶
func (*AppInterface) GetAppDetailByRepo ¶
func (a *AppInterface) GetAppDetailByRepo(ctx context.Context, repoReq *v1alpha1.AppHelmRepoReq) (*v1alpha1.App, error)
func (*AppInterface) GetAppsByRepo ¶
func (a *AppInterface) GetAppsByRepo(ctx context.Context, repoReq *v1alpha1.AppHelmRepoReq) (*v1alpha1.AppList, error)
func (*AppInterface) GetDeployedAppResources ¶
func (a *AppInterface) GetDeployedAppResources(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.DeployAppResources, error)
func (*AppInterface) ListAppType ¶
func (a *AppInterface) ListAppType(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.AppTypeList, error)
func (*AppInterface) ListDeployedApp ¶
func (a *AppInterface) ListDeployedApp(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.DeployAppList, error)
func (*AppInterface) ListRepo ¶
func (a *AppInterface) ListRepo(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.AppHelmRepoList, error)
func (*AppInterface) SaveRepo ¶
func (a *AppInterface) SaveRepo(ctx context.Context, repo *v1alpha1.AppHelmRepo) (*v1alpha1.Msg, error)
func (*AppInterface) StopApp ¶
func (a *AppInterface) StopApp(ctx context.Context, deployAppReq *v1alpha1.DeployAppReq) (*v1alpha1.Msg, 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, projectUc *biz.ProjectUsecase, appUc *biz.AppUsecase, c *conf.Bootstrap, logger log.Logger) (*ClusterInterface, error)
func (*ClusterInterface) AddNode ¶
func (c *ClusterInterface) AddNode(ctx context.Context, clusterParam *v1alpha1.ClusterID) (*v1alpha1.Msg, error)
AddNode
func (*ClusterInterface) CheckClusterConfig ¶
func (*ClusterInterface) DeleteNode ¶
func (*ClusterInterface) GetClusterMockData ¶
func (*ClusterInterface) List ¶
func (c *ClusterInterface) List(ctx context.Context, _ *emptypb.Empty) (*v1alpha1.ClusterList, error)
func (*ClusterInterface) RemoveNode ¶
func (c *ClusterInterface) RemoveNode(ctx context.Context, clusterParam *v1alpha1.ClusterID) (*v1alpha1.Msg, error)
RemoveNode
func (*ClusterInterface) SetUpCluster ¶
func (*ClusterInterface) UninstallCluster ¶
func (c *ClusterInterface) UninstallCluster(ctx context.Context, cluster *v1alpha1.ClusterID) (*v1alpha1.Msg, error)
UninstallCluster
type ProjectInterface ¶
type ProjectInterface struct { v1alpha1.UnimplementedProjectServiceServer // contains filtered or unexported fields }
func NewProjectInterface ¶
func NewProjectInterface(uc *biz.ProjectUsecase, logger log.Logger) *ProjectInterface
func (*ProjectInterface) Delete ¶
func (p *ProjectInterface) Delete(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*v1alpha1.Msg, error)
func (*ProjectInterface) Get ¶
func (p *ProjectInterface) Get(ctx context.Context, projectReq *v1alpha1.ProjectReq) (*v1alpha1.Project, error)
func (*ProjectInterface) GetProjectMockData ¶
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(uc *biz.ServicesUseCase) *ServicesInterface
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) GetUserInfo ¶
Click to show internal directories.
Click to hide internal directories.