Documentation
¶
Index ¶
- func TemplatePullRequest(prc *promoterv1alpha1.PullRequestConfiguration, data map[string]any) (string, string, error)
- type ArgoCDCommitStatusReconciler
- type ChangeTransferPolicyReconciler
- type ChangeTransferPolicyReconcilerConfig
- type ClusterScmProviderReconciler
- type CommitStatusReconciler
- type ControllerConfigurationReconciler
- type GitRepositoryReconciler
- type PromotionStrategyReconciler
- type PullRequestReconciler
- type RevertCommitReconciler
- type ScmProviderReconciler
- type TooManyMatchingShaError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TemplatePullRequest ¶ added in v0.1.0
func TemplatePullRequest(prc *promoterv1alpha1.PullRequestConfiguration, data map[string]any) (string, string, error)
Types ¶
type ArgoCDCommitStatusReconciler ¶
type ArgoCDCommitStatusReconciler struct { client.Client Scheme *runtime.Scheme SettingsMgr *settings.Manager }
ArgoCDCommitStatusReconciler reconciles a ArgoCDCommitStatus object
func (*ArgoCDCommitStatusReconciler) Reconcile ¶
func (r *ArgoCDCommitStatusReconciler) 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 ArgoCDCommitStatus 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.19.1/pkg/reconcile
func (*ArgoCDCommitStatusReconciler) SetupWithManager ¶
func (r *ArgoCDCommitStatusReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ChangeTransferPolicyReconciler ¶
type ChangeTransferPolicyReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder SettingsMgr *settings.Manager }
ChangeTransferPolicyReconciler reconciles a ChangeTransferPolicy object
func (*ChangeTransferPolicyReconciler) Reconcile ¶
func (r *ChangeTransferPolicyReconciler) 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 ChangeTransferPolicy 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.17.2/pkg/reconcile
func (*ChangeTransferPolicyReconciler) SetupWithManager ¶
func (r *ChangeTransferPolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ClusterScmProviderReconciler ¶ added in v0.4.0
ClusterScmProviderReconciler reconciles a ClusterScmProvider object
func (*ClusterScmProviderReconciler) Reconcile ¶ added in v0.4.0
func (r *ClusterScmProviderReconciler) 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 ClusterScmProvider 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.20.2/pkg/reconcile
func (*ClusterScmProviderReconciler) SetupWithManager ¶ added in v0.4.0
func (r *ClusterScmProviderReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type CommitStatusReconciler ¶
type CommitStatusReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder SettingsMgr *settings.Manager }
CommitStatusReconciler reconciles a CommitStatus object
func (*CommitStatusReconciler) Reconcile ¶
func (r *CommitStatusReconciler) 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 CommitStatus 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.17.2/pkg/reconcile
func (*CommitStatusReconciler) SetupWithManager ¶
func (r *CommitStatusReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ControllerConfigurationReconciler ¶ added in v0.2.0
ControllerConfigurationReconciler reconciles a ControllerConfiguration object
func (*ControllerConfigurationReconciler) Reconcile ¶ added in v0.2.0
func (r *ControllerConfigurationReconciler) 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 ControllerConfiguration 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.20.2/pkg/reconcile
func (*ControllerConfigurationReconciler) SetupWithManager ¶ added in v0.2.0
func (r *ControllerConfigurationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type GitRepositoryReconciler ¶
GitRepositoryReconciler reconciles a GitRepository object
func (*GitRepositoryReconciler) Reconcile ¶
func (r *GitRepositoryReconciler) 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 GitRepository 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.17.2/pkg/reconcile
func (*GitRepositoryReconciler) SetupWithManager ¶
func (r *GitRepositoryReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PromotionStrategyReconciler ¶
type PromotionStrategyReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder SettingsMgr *settings.Manager }
PromotionStrategyReconciler reconciles a PromotionStrategy object
func (*PromotionStrategyReconciler) Reconcile ¶
func (r *PromotionStrategyReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/reconcile
func (*PromotionStrategyReconciler) SetupWithManager ¶
func (r *PromotionStrategyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PullRequestReconciler ¶
type PullRequestReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder SettingsMgr *settings.Manager }
PullRequestReconciler reconciles a PullRequest object
func (*PullRequestReconciler) Reconcile ¶
func (r *PullRequestReconciler) 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.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/reconcile
func (*PullRequestReconciler) SetupWithManager ¶
func (r *PullRequestReconciler) SetupWithManager(mgr ctrl.Manager) error
type RevertCommitReconciler ¶
type RevertCommitReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
RevertCommitReconciler reconciles a RevertCommit object
func (*RevertCommitReconciler) Reconcile ¶
func (r *RevertCommitReconciler) 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 RevertCommit 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.17.2/pkg/reconcile
func (*RevertCommitReconciler) SetupWithManager ¶
func (r *RevertCommitReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ScmProviderReconciler ¶
type ScmProviderReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder }
ScmProviderReconciler reconciles a ScmProvider object
func (*ScmProviderReconciler) Reconcile ¶
func (r *ScmProviderReconciler) 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 ScmProvider 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.17.2/pkg/reconcile
func (*ScmProviderReconciler) SetupWithManager ¶
func (r *ScmProviderReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TooManyMatchingShaError ¶
type TooManyMatchingShaError struct{}
func (*TooManyMatchingShaError) Error ¶
func (e *TooManyMatchingShaError) Error() string
Source Files
¶
- argocdcommitstatus_controller.go
- changetransferpolicy_controller.go
- clusterscmprovider_controller.go
- commitstatus_controller.go
- controllerconfiguration_controller.go
- gitrepository_controller.go
- promotionstrategy_controller.go
- pullrequest_controller.go
- revertcommit_controller.go
- scmprovider_controller.go