Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentReconciler ¶
type EnvironmentReconciler struct {
client.Client
Scheme *runtime.Scheme
Recorder record.EventRecorder
// Selector much match the value of resource label to be handled this instance.
// An empty Selector matches all resources.
Selector string
// Sources fetches tf or yaml source code.
Sources *source.Sources
// Planner decides on the next step to execute based on Environment.
Planner *plan.Planner
// Environ are the environment variables presented to the steps.
Environ map[string]string
// contains filtered or unexported fields
}
EnvironmentReconciler reconciles a Environment object.
func (*EnvironmentReconciler) Reconcile ¶
func (r *EnvironmentReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile takes an Environment custom resource and attempts to converge the target environment to the desired state. The status of the k8s resource is updated to match the observed state of the Envirnoment.
func (*EnvironmentReconciler) SetupWithManager ¶
func (r *EnvironmentReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager initializes the receiver and adds it to mgr.
Click to show internal directories.
Click to hide internal directories.