Documentation ¶
Index ¶
- type Auth
- type BucketReconciler
- type ConsulBackupController
- func (b *ConsulBackupController) Finalize(ctx context.Context, obj runtime.Object) error
- func (b *ConsulBackupController) GetObject(key string) (runtime.Object, error)
- func (b *ConsulBackupController) ObjectToKeys(obj interface{}) []string
- func (b *ConsulBackupController) Reconcile(ctx context.Context, obj runtime.Object) error
- func (b *ConsulBackupController) UpdateObject(ctx context.Context, obj runtime.Object) (runtime.Object, error)
- type DockerConfig
- type GrafanaController
- type HarborProjectController
- func (c *HarborProjectController) Finalize(ctx context.Context, obj runtime.Object) error
- func (c *HarborProjectController) GetObject(key string) (runtime.Object, error)
- func (c *HarborProjectController) ObjectToKeys(obj interface{}) []string
- func (c *HarborProjectController) Reconcile(ctx context.Context, obj runtime.Object) error
- func (c *HarborProjectController) UpdateObject(ctx context.Context, obj runtime.Object) (runtime.Object, error)
- type HarborRobotAccountController
- func (c *HarborRobotAccountController) Finalize(ctx context.Context, obj runtime.Object) error
- func (c *HarborRobotAccountController) GetObject(key string) (runtime.Object, error)
- func (c *HarborRobotAccountController) ObjectToKeys(obj interface{}) []string
- func (c *HarborRobotAccountController) Reconcile(ctx context.Context, obj runtime.Object) error
- func (c *HarborRobotAccountController) UpdateObject(ctx context.Context, obj runtime.Object) (runtime.Object, error)
- type MinIOBucketController
- func (c *MinIOBucketController) Finalize(ctx context.Context, obj runtime.Object) error
- func (c *MinIOBucketController) GetObject(key string) (runtime.Object, error)
- func (c *MinIOBucketController) NewReconciler(log *zap.Logger) controllerutil.Reconciler
- func (c *MinIOBucketController) ObjectToKeys(obj interface{}) []string
- func (c *MinIOBucketController) Reconcile(ctx context.Context, obj runtime.Object) error
- func (c *MinIOBucketController) UpdateObject(ctx context.Context, obj runtime.Object) (runtime.Object, error)
- type MinIOClusterController
- type MinIOUserController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketReconciler ¶
type BucketReconciler struct { CoreClient kubernetes.Interface Client *client.MinioV1alpha1 Original *miniov1alpha1.MinIOBucket Obj *miniov1alpha1.MinIOBucket MinIOInstances []*miniocontrollerv1beta1.MinIOInstance Secret *corev1.Secret MinIOClient *minio.Client PortForwarder *portforward.PortForwarder // contains filtered or unexported fields }
func NewBucketReconciler ¶
func NewBucketReconciler( coreClient kubernetes.Interface, client *client.MinioV1alpha1, config *rest.Config, serviceLister corev1listers.ServiceLister, podLister corev1listers.PodLister, secretLister corev1listers.SecretLister, instanceLister *client.MiniocontrollerV1beta1MinIOInstanceLister, runOutsideCluster bool, transport http.RoundTripper, log *zap.Logger, ) *BucketReconciler
type ConsulBackupController ¶
type ConsulBackupController struct { *controllerutil.ControllerBase // contains filtered or unexported fields }
func NewConsulBackupController ¶
func NewConsulBackupController( coreSharedInformerFactory kubeinformers.SharedInformerFactory, factory *client.InformerFactory, coreClient kubernetes.Interface, apiClient *client.Set, config *rest.Config, runOutsideCluster bool, ) (*ConsulBackupController, error)
func (*ConsulBackupController) GetObject ¶
func (b *ConsulBackupController) GetObject(key string) (runtime.Object, error)
func (*ConsulBackupController) ObjectToKeys ¶
func (b *ConsulBackupController) ObjectToKeys(obj interface{}) []string
func (*ConsulBackupController) UpdateObject ¶
type DockerConfig ¶
func NewDockerConfig ¶
func NewDockerConfig(registry, username, password string) *DockerConfig
type GrafanaController ¶
type GrafanaController struct { *controllerutil.GenericControllerBase[*grafanav1alpha1.Grafana] // contains filtered or unexported fields }
func NewGrafanaController ¶
func NewGrafanaController( coreSharedInformerFactory kubeinformers.SharedInformerFactory, factory *client.InformerFactory, coreClient kubernetes.Interface, apiClient *client.Set, ) (*GrafanaController, error)
type HarborProjectController ¶
type HarborProjectController struct { *controllerutil.ControllerBase // contains filtered or unexported fields }
func NewHarborProjectController ¶
func NewHarborProjectController( ctx context.Context, coreClient kubernetes.Interface, apiClient *client.Set, cfg *rest.Config, factory *client.InformerFactory, harborNamespace, harborName, adminSecretName, coreConfigMapName string, runOutsideCluster bool, ) (*HarborProjectController, error)
func (*HarborProjectController) GetObject ¶
func (c *HarborProjectController) GetObject(key string) (runtime.Object, error)
func (*HarborProjectController) ObjectToKeys ¶
func (c *HarborProjectController) ObjectToKeys(obj interface{}) []string
func (*HarborProjectController) UpdateObject ¶
type HarborRobotAccountController ¶
type HarborRobotAccountController struct { *controllerutil.ControllerBase // contains filtered or unexported fields }
func NewHarborRobotAccountController ¶
func NewHarborRobotAccountController( ctx context.Context, coreClient kubernetes.Interface, apiClient *client.Set, cfg *rest.Config, factory *client.InformerFactory, harborNamespace, harborName, adminSecretName string, runOutsideCluster bool, ) (*HarborRobotAccountController, error)
func (*HarborRobotAccountController) GetObject ¶
func (c *HarborRobotAccountController) GetObject(key string) (runtime.Object, error)
func (*HarborRobotAccountController) ObjectToKeys ¶
func (c *HarborRobotAccountController) ObjectToKeys(obj interface{}) []string
func (*HarborRobotAccountController) UpdateObject ¶
type MinIOBucketController ¶
type MinIOBucketController struct { *controllerutil.ControllerBase // contains filtered or unexported fields }
func NewMinIOBucketController ¶
func NewMinIOBucketController( coreClient kubernetes.Interface, apiClient *client.Set, cfg *rest.Config, coreSharedInformerFactory kubeinformers.SharedInformerFactory, factory *client.InformerFactory, runOutsideCluster bool, ) (*MinIOBucketController, error)
func (*MinIOBucketController) GetObject ¶
func (c *MinIOBucketController) GetObject(key string) (runtime.Object, error)
func (*MinIOBucketController) NewReconciler ¶
func (c *MinIOBucketController) NewReconciler(log *zap.Logger) controllerutil.Reconciler
func (*MinIOBucketController) ObjectToKeys ¶
func (c *MinIOBucketController) ObjectToKeys(obj interface{}) []string
func (*MinIOBucketController) UpdateObject ¶
type MinIOClusterController ¶
type MinIOClusterController struct { *controllerutil.GenericControllerBase[*miniov1alpha1.MinIOCluster] // contains filtered or unexported fields }
func NewMinIOClusterController ¶
func NewMinIOClusterController( coreClient kubernetes.Interface, apiClient *client.Set, cfg *rest.Config, coreSharedInformerFactory kubeinformers.SharedInformerFactory, factory *client.InformerFactory, runOutsideCluster bool, ) *MinIOClusterController
type MinIOUserController ¶
type MinIOUserController struct { *controllerutil.GenericControllerBase[*miniov1alpha1.MinIOUser] // contains filtered or unexported fields }
func NewMinIOUserController ¶
func NewMinIOUserController( coreClient kubernetes.Interface, apiClient *client.Set, cfg *rest.Config, coreSharedInformerFactory kubeinformers.SharedInformerFactory, factory *client.InformerFactory, vaultClient *vault.Client, runOutsideCluster bool, ) (*MinIOUserController, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.