Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClientCert = "certFile" ClientKey = "keyFile" CACert = "caFile" )
These are intended to match the keys used in e.g., https://github.com/fluxcd/flux2/blob/main/cmd/flux/create_secret_helm.go, for consistency (and perhaps this will have its own flux create secret subcommand at some point).
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseReader ¶
DatabaseReader implementations get the stored set of tags for an image repository.
If no tags are availble for the repo, then implementations should return an empty set of tags.
type DatabaseWriter ¶
DatabaseWriter implementations record the tags for an image repository.
type ImagePolicyReconciler ¶
type ImagePolicyReconciler struct { client.Client Scheme *runtime.Scheme EventRecorder kuberecorder.EventRecorder MetricsRecorder *metrics.Recorder Database DatabaseReader ACLOptions acl.Options }
ImagePolicyReconciler reconciles a ImagePolicy object
func (*ImagePolicyReconciler) SetupWithManager ¶
func (r *ImagePolicyReconciler) SetupWithManager(mgr ctrl.Manager, opts ImagePolicyReconcilerOptions) error
type ImagePolicyReconcilerOptions ¶ added in v0.11.0
type ImagePolicyReconcilerOptions struct {
MaxConcurrentReconciles int
}
type ImageRepositoryReconciler ¶
type ImageRepositoryReconciler struct { client.Client Scheme *runtime.Scheme EventRecorder kuberecorder.EventRecorder ExternalEventRecorder *events.Recorder MetricsRecorder *metrics.Recorder Database interface { DatabaseWriter DatabaseReader } AwsAutoLogin bool // automatically attempt to get credentials for images in ECR GcpAutoLogin bool // automatically attempt to get credentials for images in GCP AzureAutoLogin bool // automatically attempt to get credentials for images in ACR }
ImageRepositoryReconciler reconciles a ImageRepository object
func (*ImageRepositoryReconciler) SetupWithManager ¶
func (r *ImageRepositoryReconciler) SetupWithManager(mgr ctrl.Manager, opts ImageRepositoryReconcilerOptions) error
type ImageRepositoryReconcilerOptions ¶ added in v0.11.0
type ImageRepositoryReconcilerOptions struct {
MaxConcurrentReconciles int
}
Click to show internal directories.
Click to hide internal directories.