Documentation ¶
Index ¶
- Constants
- func GetExecutionForInstallation(ctx context.Context, kubeClient client.Client, inst *lsv1alpha1.Installation) (*lsv1alpha1.Execution, error)
- type ExecutionOperation
- func (o *ExecutionOperation) Ensure(ctx context.Context, inst *installations.InstallationImportsAndBlueprint) error
- func (o *ExecutionOperation) GetExportedValues(ctx context.Context, inst *installations.InstallationImportsAndBlueprint) (*dataobjects.DataObject, error)
- func (o *ExecutionOperation) RenderDeployItemTemplates(ctx context.Context, inst *installations.InstallationImportsAndBlueprint) (core.DeployItemTemplateList, error)
Constants ¶
View Source
const ( // TemplatingFailedReason is the reason that is defined during templating. TemplatingFailedReason = "TemplatingFailed" // CreateOrUpdateImportsReason is the reason that is defined during // the creation or update of the secret containing the imported values CreateOrUpdateImportsReason = "CreateOrUpdateImports" // CreateOrUpdateExecutionReason is the reason that is defined during the execution create or update. CreateOrUpdateExecutionReason = "CreateOrUpdateExecution" // ExecutionDeployedReason is the final reason that is defined if the execution is successfully deployed. ExecutionDeployedReason = "ExecutionDeployed" )
Variables ¶
This section is empty.
Functions ¶
func GetExecutionForInstallation ¶
func GetExecutionForInstallation(ctx context.Context, kubeClient client.Client, inst *lsv1alpha1.Installation) (*lsv1alpha1.Execution, error)
GetExecutionForInstallation returns the execution of an installation. The execution can be nil if no execution has been found.
Types ¶
type ExecutionOperation ¶
type ExecutionOperation struct {
*installations.Operation
}
ExecutionOperation templates the executions and handles the interaction with the execution object.
func New ¶
func New(op *installations.Operation) *ExecutionOperation
New creates a new executions operations object
func (*ExecutionOperation) Ensure ¶
func (o *ExecutionOperation) Ensure(ctx context.Context, inst *installations.InstallationImportsAndBlueprint) error
func (*ExecutionOperation) GetExportedValues ¶
func (o *ExecutionOperation) GetExportedValues(ctx context.Context, inst *installations.InstallationImportsAndBlueprint) (*dataobjects.DataObject, error)
GetExportedValues returns the exported values of the execution
func (*ExecutionOperation) RenderDeployItemTemplates ¶
func (o *ExecutionOperation) RenderDeployItemTemplates(ctx context.Context, inst *installations.InstallationImportsAndBlueprint) (core.DeployItemTemplateList, error)
Click to show internal directories.
Click to hide internal directories.