Documentation ¶
Index ¶
- func GetSecretToken(ctx context.Context, client client.Client, namespace string, ...) (string, error)
- func MergeMap(a, b map[string]interface{})
- func MergeMap2(a, b map[string]interface{}, skipNil bool)
- func NewJinja2(opts ...jinja2.Jinja2Opt) (*jinja2.Jinja2, error)
- func Sha256Bytes(data []byte) string
- func Sha256String(data string) string
- func TestAnnotationPredicate() predicate.Predicate
- type BaseTemplateReconciler
- type GitProjectorReconciler
- type ListGithubPullRequestsReconciler
- type ListGitlabMergeRequestsReconciler
- type ObjectTemplateReconciler
- type SubResourceFieldOwner
- type TextTemplateReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSecretToken ¶
func Sha256Bytes ¶
func Sha256String ¶
func TestAnnotationPredicate ¶ added in v0.9.0
Types ¶
type BaseTemplateReconciler ¶
type GitProjectorReconciler ¶
type GitProjectorReconciler struct { client.Client Scheme *runtime.Scheme FieldManager string TmpBaseDir string // contains filtered or unexported fields }
GitProjectorReconciler reconciles a GitProjector object
func (*GitProjectorReconciler) SetupWithManager ¶
func (r *GitProjectorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ListGithubPullRequestsReconciler ¶
type ListGithubPullRequestsReconciler struct { client.Client Scheme *runtime.Scheme FieldManager string }
ListGithubPullRequestsReconciler reconciles a ListGithubPullRequests object
func (*ListGithubPullRequestsReconciler) SetupWithManager ¶
func (r *ListGithubPullRequestsReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ListGitlabMergeRequestsReconciler ¶
type ListGitlabMergeRequestsReconciler struct { client.Client Scheme *runtime.Scheme FieldManager string }
ListGitlabMergeRequestsReconciler reconciles a ListGitlabMergeRequests object
func (*ListGitlabMergeRequestsReconciler) SetupWithManager ¶
func (r *ListGitlabMergeRequestsReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ObjectTemplateReconciler ¶
type ObjectTemplateReconciler struct {
BaseTemplateReconciler
}
ObjectTemplateReconciler reconciles a ObjectTemplate object
func (*ObjectTemplateReconciler) Reconcile ¶
func (r *ObjectTemplateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile a resource
func (*ObjectTemplateReconciler) SetupWithManager ¶
func (r *ObjectTemplateReconciler) SetupWithManager(mgr ctrl.Manager, concurrent int) error
SetupWithManager sets up the controller with the Manager.
type SubResourceFieldOwner ¶
type SubResourceFieldOwner string
func (SubResourceFieldOwner) ApplyToSubResourcePatch ¶
func (f SubResourceFieldOwner) ApplyToSubResourcePatch(opts *client.SubResourcePatchOptions)
func (SubResourceFieldOwner) ApplyToSubResourceUpdate ¶
func (f SubResourceFieldOwner) ApplyToSubResourceUpdate(opts *client.SubResourceUpdateOptions)
type TextTemplateReconciler ¶
type TextTemplateReconciler struct {
BaseTemplateReconciler
}
TextTemplateReconciler reconciles a TextTemplate object
func (*TextTemplateReconciler) Reconcile ¶
func (r *TextTemplateReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile a resource
func (*TextTemplateReconciler) SetupWithManager ¶
func (r *TextTemplateReconciler) SetupWithManager(mgr ctrl.Manager, concurrent int) error
SetupWithManager sets up the controller with the Manager.