Documentation
¶
Index ¶
Constants ¶
View Source
const ( Initialized controller.ConditionType = "Initialized" CloneSucceeded controller.ConditionType = "CloneSucceeded" BuildSucceeded controller.ConditionType = "BuildSucceeded" PushSucceeded controller.ConditionType = "PushSucceeded" Completed controller.ConditionType = "Completed" DeployableArtifactCreated controller.ConditionType = "DeployableArtifactCreated" DeploymentApplied controller.ConditionType = "DeploymentApplied" )
Variables ¶
This section is empty.
Functions ¶
func GetStepByTemplateName ¶
func GetStepByTemplateName(nodes argo.Nodes, step WorkflowStep) (*argo.NodeStatus, bool)
Types ¶
type Reconciler ¶
Reconciler reconciles a Build object
func (*Reconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Build object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkgo.dev/sigs.k8s.io/[email protected]/pkg/reconcile
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type WorkflowStep ¶
type WorkflowStep string
const ( CloneStep WorkflowStep = "clone-step" BuildStep WorkflowStep = "build-step" PushStep WorkflowStep = "push-step" )
Click to show internal directories.
Click to hide internal directories.