Documentation ¶
Index ¶
- Variables
- func CreateRadixApplication(radixClient radixclient.Interface, configFileContent string) (*radixv1.RadixApplication, error)
- func EmptyArgument(argumentName string) error
- func NewApplyConfigStep() model.Step
- func NewBuildStep(jobWaiter internalwait.JobCompletionWaiter) model.Step
- func NewDeployStep(namespaceWatcher kube.NamespaceWatcher) model.Step
- func NewPreparePipelinesStep(jobWaiter internalwait.JobCompletionWaiter) model.Step
- func NewPromoteStep() model.Step
- func NewRunPipelinesStep(jobWaiter internalwait.JobCompletionWaiter) model.Step
- func NonExistingComponentName(appName, componentName string) error
- func NonExistingDeployment(deploymentName string) error
- func NonExistingFromEnvironment(environment string) error
- func NonExistingToEnvironment(environment string) error
- type ApplyConfigStepImplementation
- func (cli *ApplyConfigStepImplementation) ErrorMsg(err error) string
- func (cli *ApplyConfigStepImplementation) ImplementationForType() pipeline.StepType
- func (cli *ApplyConfigStepImplementation) Run(pipelineInfo *model.PipelineInfo) error
- func (cli *ApplyConfigStepImplementation) SucceededMsg() string
- type BuildStepImplementation
- func (cli *BuildStepImplementation) ErrorMsg(err error) string
- func (cli *BuildStepImplementation) ImplementationForType() pipeline.StepType
- func (step *BuildStepImplementation) Init(kubeclient kubernetes.Interface, radixclient radixclient.Interface, ...)
- func (cli *BuildStepImplementation) Run(pipelineInfo *model.PipelineInfo) error
- func (cli *BuildStepImplementation) SucceededMsg() string
- type DeployStepImplementation
- type PreparePipelinesStepImplementation
- func (cli *PreparePipelinesStepImplementation) ErrorMsg(err error) string
- func (cli *PreparePipelinesStepImplementation) ImplementationForType() pipeline.StepType
- func (step *PreparePipelinesStepImplementation) Init(kubeclient kubernetes.Interface, radixclient radixclient.Interface, ...)
- func (cli *PreparePipelinesStepImplementation) Run(pipelineInfo *model.PipelineInfo) error
- func (cli *PreparePipelinesStepImplementation) SucceededMsg() string
- type PromoteStepImplementation
- type RunPipelinesStepImplementation
- func (cli *RunPipelinesStepImplementation) ErrorMsg(err error) string
- func (cli *RunPipelinesStepImplementation) ImplementationForType() pipeline.StepType
- func (step *RunPipelinesStepImplementation) Init(kubeclient kubernetes.Interface, radixclient radixclient.Interface, ...)
- func (cli *RunPipelinesStepImplementation) Run(pipelineInfo *model.PipelineInfo) error
- func (cli *RunPipelinesStepImplementation) SucceededMsg() string
Constants ¶
This section is empty.
Variables ¶
var ( ErrDeployOnlyPipelineDoesNotSupportBuild = errors.New("deploy pipeline does not support building components and jobs") ErrMissingRequiredImageTagName = errors.New("missing required imageTagName in environmentConfig or pipeline argument") )
Functions ¶
func CreateRadixApplication ¶ added in v1.21.0
func CreateRadixApplication(radixClient radixclient.Interface, configFileContent string) (*radixv1.RadixApplication, error)
CreateRadixApplication Create RadixApplication from radixconfig.yaml content
func EmptyArgument ¶
EmptyArgument Argument by name cannot be empty
func NewBuildStep ¶
func NewBuildStep(jobWaiter internalwait.JobCompletionWaiter) model.Step
NewBuildStep Constructor. jobWaiter is optional and will be set by Init(...) function if nil.
func NewDeployStep ¶
func NewDeployStep(namespaceWatcher kube.NamespaceWatcher) model.Step
NewDeployStep Constructor
func NewPreparePipelinesStep ¶ added in v1.21.0
func NewPreparePipelinesStep(jobWaiter internalwait.JobCompletionWaiter) model.Step
NewPreparePipelinesStep Constructor. jobWaiter is optional and will be set by Init(...) function if nil.
func NewRunPipelinesStep ¶ added in v1.21.0
func NewRunPipelinesStep(jobWaiter internalwait.JobCompletionWaiter) model.Step
NewRunPipelinesStep Constructor. jobWaiter is optional and will be set by Init(...) function if nil.
func NonExistingComponentName ¶
NonExistingComponentName Component by name was not found
func NonExistingDeployment ¶
NonExistingDeployment Deployment wasn't found
func NonExistingFromEnvironment ¶
NonExistingFromEnvironment From environment does not exist
func NonExistingToEnvironment ¶
NonExistingToEnvironment From environment does not exist
Types ¶
type ApplyConfigStepImplementation ¶
type ApplyConfigStepImplementation struct { model.DefaultStepImplementation // contains filtered or unexported fields }
ApplyConfigStepImplementation Step to apply RA
func (*ApplyConfigStepImplementation) ErrorMsg ¶
func (cli *ApplyConfigStepImplementation) ErrorMsg(err error) string
ErrorMsg Override of default step method
func (*ApplyConfigStepImplementation) ImplementationForType ¶
func (cli *ApplyConfigStepImplementation) ImplementationForType() pipeline.StepType
ImplementationForType Override of default step method
func (*ApplyConfigStepImplementation) Run ¶
func (cli *ApplyConfigStepImplementation) Run(pipelineInfo *model.PipelineInfo) error
Run Override of default step method
func (*ApplyConfigStepImplementation) SucceededMsg ¶
func (cli *ApplyConfigStepImplementation) SucceededMsg() string
SucceededMsg Override of default step method
type BuildStepImplementation ¶
type BuildStepImplementation struct { model.DefaultStepImplementation // contains filtered or unexported fields }
BuildStepImplementation Step to build docker image
func (*BuildStepImplementation) ErrorMsg ¶
func (cli *BuildStepImplementation) ErrorMsg(err error) string
ErrorMsg Override of default step method
func (*BuildStepImplementation) ImplementationForType ¶
func (cli *BuildStepImplementation) ImplementationForType() pipeline.StepType
ImplementationForType Override of default step method
func (*BuildStepImplementation) Init ¶ added in v1.43.13
func (step *BuildStepImplementation) Init(kubeclient kubernetes.Interface, radixclient radixclient.Interface, kubeutil *kube.Kube, prometheusOperatorClient monitoring.Interface, rr *v1.RadixRegistration)
func (*BuildStepImplementation) Run ¶
func (cli *BuildStepImplementation) Run(pipelineInfo *model.PipelineInfo) error
Run Override of default step method
func (*BuildStepImplementation) SucceededMsg ¶
func (cli *BuildStepImplementation) SucceededMsg() string
SucceededMsg Override of default step method
type DeployStepImplementation ¶
type DeployStepImplementation struct { model.DefaultStepImplementation // contains filtered or unexported fields }
DeployStepImplementation Step to deploy RD into environment
func (*DeployStepImplementation) ErrorMsg ¶
func (cli *DeployStepImplementation) ErrorMsg(err error) string
ErrorMsg Override of default step method
func (*DeployStepImplementation) ImplementationForType ¶
func (cli *DeployStepImplementation) ImplementationForType() pipeline.StepType
ImplementationForType Override of default step method
func (*DeployStepImplementation) Run ¶
func (cli *DeployStepImplementation) Run(pipelineInfo *model.PipelineInfo) error
Run Override of default step method
func (*DeployStepImplementation) SucceededMsg ¶
func (cli *DeployStepImplementation) SucceededMsg() string
SucceededMsg Override of default step method
type PreparePipelinesStepImplementation ¶ added in v1.21.0
type PreparePipelinesStepImplementation struct { model.DefaultStepImplementation // contains filtered or unexported fields }
PreparePipelinesStepImplementation Step to prepare radixconfig and Tekton pipelines
func (*PreparePipelinesStepImplementation) ErrorMsg ¶ added in v1.21.0
func (cli *PreparePipelinesStepImplementation) ErrorMsg(err error) string
ErrorMsg Override of default step method
func (*PreparePipelinesStepImplementation) ImplementationForType ¶ added in v1.21.0
func (cli *PreparePipelinesStepImplementation) ImplementationForType() pipeline.StepType
ImplementationForType Override of default step method
func (*PreparePipelinesStepImplementation) Init ¶ added in v1.43.13
func (step *PreparePipelinesStepImplementation) Init(kubeclient kubernetes.Interface, radixclient radixclient.Interface, kubeutil *kube.Kube, prometheusOperatorClient monitoring.Interface, rr *radixv1.RadixRegistration)
func (*PreparePipelinesStepImplementation) Run ¶ added in v1.21.0
func (cli *PreparePipelinesStepImplementation) Run(pipelineInfo *model.PipelineInfo) error
Run Override of default step method
func (*PreparePipelinesStepImplementation) SucceededMsg ¶ added in v1.21.0
func (cli *PreparePipelinesStepImplementation) SucceededMsg() string
SucceededMsg Override of default step method
type PromoteStepImplementation ¶
type PromoteStepImplementation struct { model.DefaultStepImplementation // contains filtered or unexported fields }
PromoteStepImplementation Step to promote deployment to another environment, or inside environment
func (*PromoteStepImplementation) ErrorMsg ¶
func (cli *PromoteStepImplementation) ErrorMsg(err error) string
ErrorMsg Override of default step method
func (*PromoteStepImplementation) ImplementationForType ¶
func (cli *PromoteStepImplementation) ImplementationForType() pipeline.StepType
ImplementationForType Override of default step method
func (*PromoteStepImplementation) Run ¶
func (cli *PromoteStepImplementation) Run(pipelineInfo *model.PipelineInfo) error
Run Override of default step method
func (*PromoteStepImplementation) SucceededMsg ¶
func (cli *PromoteStepImplementation) SucceededMsg() string
SucceededMsg Override of default step method
type RunPipelinesStepImplementation ¶ added in v1.21.0
type RunPipelinesStepImplementation struct { model.DefaultStepImplementation // contains filtered or unexported fields }
RunPipelinesStepImplementation Step to run Tekton pipelines
func (*RunPipelinesStepImplementation) ErrorMsg ¶ added in v1.21.0
func (cli *RunPipelinesStepImplementation) ErrorMsg(err error) string
ErrorMsg Override of default step method
func (*RunPipelinesStepImplementation) ImplementationForType ¶ added in v1.21.0
func (cli *RunPipelinesStepImplementation) ImplementationForType() pipeline.StepType
ImplementationForType Override of default step method
func (*RunPipelinesStepImplementation) Init ¶ added in v1.43.13
func (step *RunPipelinesStepImplementation) Init(kubeclient kubernetes.Interface, radixclient radixclient.Interface, kubeutil *kube.Kube, prometheusOperatorClient monitoring.Interface, rr *v1.RadixRegistration)
func (*RunPipelinesStepImplementation) Run ¶ added in v1.21.0
func (cli *RunPipelinesStepImplementation) Run(pipelineInfo *model.PipelineInfo) error
Run Override of default step method
func (*RunPipelinesStepImplementation) SucceededMsg ¶ added in v1.21.0
func (cli *RunPipelinesStepImplementation) SucceededMsg() string
SucceededMsg Override of default step method