Documentation
¶
Index ¶
- Constants
- func NewClusterRuntimeApp(conf *conf.Bootstrap, logger log.Logger) biz.AppRuntime
- func NewClusterRuntimeCluster(conf *conf.Bootstrap, logger log.Logger) biz.ClusterRuntime
- func NewClusterRuntimeProject(conf *conf.Bootstrap, logger log.Logger) biz.ProjectRuntime
- func NewClusterRuntimeService(conf *conf.Bootstrap, logger log.Logger) biz.ServiceRuntime
- func NewClusterRuntimeUser(conf *conf.Bootstrap, logger log.Logger) biz.Thirdparty
- type ClusterRuntimeApp
- func (c *ClusterRuntimeApp) AddAppRepo(ctx context.Context, appRepo *biz.AppRepo) error
- func (c *ClusterRuntimeApp) AppRelease(ctx context.Context, app *biz.App, appVersion *biz.AppVersion, ...) error
- func (c *ClusterRuntimeApp) CheckCluster(ctx context.Context) bool
- func (c *ClusterRuntimeApp) DeleteApp(ctx context.Context, app *biz.App) error
- func (c *ClusterRuntimeApp) DeleteAppRelease(ctx context.Context, appRelease *biz.AppRelease) error
- func (c *ClusterRuntimeApp) DeleteAppVersion(ctx context.Context, app *biz.App, appVersion *biz.AppVersion) error
- func (c *ClusterRuntimeApp) GetAppAndVersionInfo(ctx context.Context, app *biz.App, appVersion *biz.AppVersion) error
- func (c *ClusterRuntimeApp) GetAppDetailByRepo(ctx context.Context, apprepo *biz.AppRepo, appName, version string) (*biz.App, error)
- func (c *ClusterRuntimeApp) GetAppReleaseResources(ctx context.Context, appRelease *biz.AppRelease) error
- func (c *ClusterRuntimeApp) GetAppsByRepo(ctx context.Context, appRepo *biz.AppRepo) ([]*biz.App, error)
- func (c *ClusterRuntimeApp) ReloadAppReleaseResource(ctx context.Context, appReleaseResource *biz.AppReleaseResource) error
- type ClusterRuntimeCluster
- func (c *ClusterRuntimeCluster) AppRelease(ctx context.Context, app *biz.App, version *biz.AppVersion, ...) (*biz.AppRelease, error)
- func (c *ClusterRuntimeCluster) CurrentCluster(ctx context.Context, cluster *biz.Cluster) error
- func (c *ClusterRuntimeCluster) GetAppReleaseResources(ctx context.Context, appRelease *biz.AppRelease) error
- func (c *ClusterRuntimeCluster) HandlerNodes(ctx context.Context, cluster *biz.Cluster) error
- func (c *ClusterRuntimeCluster) InstallBasicComponent(ctx context.Context, basicComponent biz.BasicComponentAppType) ([]*biz.App, []*biz.AppRelease, error)
- func (c *ClusterRuntimeCluster) ReloadAppReleaseResource(ctx context.Context, appReleaseResource *biz.AppReleaseResource) error
- type ClusterRuntimeProject
- type ClusterRuntimeService
- func (s *ClusterRuntimeService) ApplyService(ctx context.Context, service *biz.Service, cd *biz.ContinuousDeployment) error
- func (s *ClusterRuntimeService) CleanWorkflow(ctx context.Context, wf *biz.Workflow) error
- func (s *ClusterRuntimeService) CommitWorkflow(ctx context.Context, wf *biz.Workflow) error
- func (s *ClusterRuntimeService) GetService(ctx context.Context, service *biz.Service) error
- func (s *ClusterRuntimeService) GetWorkflow(ctx context.Context, wf *biz.Workflow) error
- type ClusterRuntimeUser
Constants ¶
View Source
const (
ServiceNameClusterRuntime = "cluster-runtime"
)
Variables ¶
This section is empty.
Functions ¶
func NewClusterRuntimeApp ¶
func NewClusterRuntimeUser ¶
Types ¶
type ClusterRuntimeApp ¶
type ClusterRuntimeApp struct {
// contains filtered or unexported fields
}
func (*ClusterRuntimeApp) AddAppRepo ¶
func (*ClusterRuntimeApp) AppRelease ¶
func (c *ClusterRuntimeApp) AppRelease(ctx context.Context, app *biz.App, appVersion *biz.AppVersion, appRelease *biz.AppRelease, appRepo *biz.AppRepo) error
func (*ClusterRuntimeApp) CheckCluster ¶
func (c *ClusterRuntimeApp) CheckCluster(ctx context.Context) bool
func (*ClusterRuntimeApp) DeleteAppRelease ¶
func (c *ClusterRuntimeApp) DeleteAppRelease(ctx context.Context, appRelease *biz.AppRelease) error
func (*ClusterRuntimeApp) DeleteAppVersion ¶
func (c *ClusterRuntimeApp) DeleteAppVersion(ctx context.Context, app *biz.App, appVersion *biz.AppVersion) error
func (*ClusterRuntimeApp) GetAppAndVersionInfo ¶
func (c *ClusterRuntimeApp) GetAppAndVersionInfo(ctx context.Context, app *biz.App, appVersion *biz.AppVersion) error
func (*ClusterRuntimeApp) GetAppDetailByRepo ¶
func (*ClusterRuntimeApp) GetAppReleaseResources ¶
func (c *ClusterRuntimeApp) GetAppReleaseResources(ctx context.Context, appRelease *biz.AppRelease) error
func (*ClusterRuntimeApp) GetAppsByRepo ¶
func (*ClusterRuntimeApp) ReloadAppReleaseResource ¶
func (c *ClusterRuntimeApp) ReloadAppReleaseResource(ctx context.Context, appReleaseResource *biz.AppReleaseResource) error
type ClusterRuntimeCluster ¶
type ClusterRuntimeCluster struct {
// contains filtered or unexported fields
}
func (*ClusterRuntimeCluster) AppRelease ¶
func (c *ClusterRuntimeCluster) AppRelease(ctx context.Context, app *biz.App, version *biz.AppVersion, appRelease *biz.AppRelease) (*biz.AppRelease, error)
func (*ClusterRuntimeCluster) CurrentCluster ¶
func (*ClusterRuntimeCluster) GetAppReleaseResources ¶
func (c *ClusterRuntimeCluster) GetAppReleaseResources(ctx context.Context, appRelease *biz.AppRelease) error
func (*ClusterRuntimeCluster) HandlerNodes ¶
func (*ClusterRuntimeCluster) InstallBasicComponent ¶
func (c *ClusterRuntimeCluster) InstallBasicComponent(ctx context.Context, basicComponent biz.BasicComponentAppType) ([]*biz.App, []*biz.AppRelease, error)
func (*ClusterRuntimeCluster) ReloadAppReleaseResource ¶
func (c *ClusterRuntimeCluster) ReloadAppReleaseResource(ctx context.Context, appReleaseResource *biz.AppReleaseResource) error
type ClusterRuntimeProject ¶
type ClusterRuntimeProject struct {
// contains filtered or unexported fields
}
func (*ClusterRuntimeProject) CreateNamespace ¶
func (c *ClusterRuntimeProject) CreateNamespace(ctx context.Context, namespace string) error
func (*ClusterRuntimeProject) GetNamespaces ¶
func (c *ClusterRuntimeProject) GetNamespaces(ctx context.Context) (namespaces []string, err error)
type ClusterRuntimeService ¶
type ClusterRuntimeService struct {
// contains filtered or unexported fields
}
func (*ClusterRuntimeService) ApplyService ¶
func (s *ClusterRuntimeService) ApplyService(ctx context.Context, service *biz.Service, cd *biz.ContinuousDeployment) error
func (*ClusterRuntimeService) CleanWorkflow ¶
func (*ClusterRuntimeService) CommitWorkflow ¶
func (*ClusterRuntimeService) GetService ¶
func (*ClusterRuntimeService) GetWorkflow ¶
type ClusterRuntimeUser ¶
type ClusterRuntimeUser struct {
// contains filtered or unexported fields
}
func (*ClusterRuntimeUser) GetUserEmail ¶
Click to show internal directories.
Click to hide internal directories.