Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildObjectsToApply ¶
func BuildObjectsToApply(remotesync *gitopsv1alpha1.RemoteSync, gvk schema.GroupVersionKind, namespace string) (*unstructured.Unstructured, error)
BuildObjectsToApply configures the external sync
Types ¶
type Options ¶
type Options struct { }
func (*Options) InitDefaults ¶
func (o *Options) InitDefaults()
type ProgressiveRolloutStrategyReconciler ¶
ProgressiveRolloutStrategyReconciler reconciles a ProgressiveRolloutStrategy object
func (*ProgressiveRolloutStrategyReconciler) Reconcile ¶
func (r *ProgressiveRolloutStrategyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 ProgressiveRolloutStrategy 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://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.1/pkg/reconcile
func (*ProgressiveRolloutStrategyReconciler) SetupWithManager ¶
func (r *ProgressiveRolloutStrategyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RemoteSyncReconciler ¶
type RemoteSyncReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
RemoteSyncReconciler reconciles a RemoteSync object
func (*RemoteSyncReconciler) Reconcile ¶
func (r *RemoteSyncReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 RemoteSync 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://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.1/pkg/reconcile
func (*RemoteSyncReconciler) SetupWithManager ¶
func (r *RemoteSyncReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RolloutReconciler ¶
type RolloutReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
RolloutReconciler reconciles a Rollout object
func (*RolloutReconciler) 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 Rollout 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://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.1/pkg/reconcile
Dumb reconciliation of Rollout API includes the following: Fetch the READY kcc clusters. For each kcc cluster, fetch external sync objects in each of the KCC clusters.
func (*RolloutReconciler) SetupWithManager ¶
func (r *RolloutReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type Targets ¶
type Targets struct { ToBeCreated []*clusterPackagePair ToBeUpdated []*gitopsv1alpha1.RemoteSync ToBeDeleted []*gitopsv1alpha1.RemoteSync Unchanged []*gitopsv1alpha1.RemoteSync }
type WaveTarget ¶
type WaveTarget struct { Wave *gitopsv1alpha1.Wave Targets *Targets }