Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ProviderName is provider name for install.
ProviderName = "multicluster"
)
Variables ¶
This section is empty.
Functions ¶
func Install ¶
func Install(p wfTypes.Providers, c client.Client, app *v1beta1.Application, af *appfile.Appfile, apply oamProvider.ComponentApply, healthCheck oamProvider.ComponentHealthCheck, renderer oamProvider.WorkloadRenderer)
Install register handlers to provider discover.
Types ¶
type DeployParameter ¶ added in v1.7.0
type DeployParameter struct { // Declare the policies that used for this deployment. If not specified, the components will be deployed to the hub cluster. Policies []string // Maximum number of concurrent delivered components. Parallelism int64 // If set false, this step will apply the components with the terraform workload. IgnoreTerraformComponent bool }
DeployParameter is the parameter of deploy workflow step
type DeployWorkflowStepExecutor ¶ added in v1.4.0
type DeployWorkflowStepExecutor interface {
Deploy(ctx context.Context) (healthy bool, reason string, err error)
}
DeployWorkflowStepExecutor executor to run deploy workflow step
func NewDeployWorkflowStepExecutor ¶ added in v1.4.0
func NewDeployWorkflowStepExecutor(cli client.Client, af *appfile.Appfile, apply oamProvider.ComponentApply, healthCheck oamProvider.ComponentHealthCheck, renderer oamProvider.WorkloadRenderer, parameter DeployParameter) DeployWorkflowStepExecutor
NewDeployWorkflowStepExecutor .
Click to show internal directories.
Click to hide internal directories.