Documentation
¶
Index ¶
- func CacheServerObjectWrapper(reconciler CacheServerReconciler) reconciling.ObjectReconciler
- func CertificateObjectWrapper(reconciler CertificateReconciler) reconciling.ObjectReconciler
- func Configure(log *zap.SugaredLogger)
- func FrontProxyObjectWrapper(reconciler FrontProxyReconciler) reconciling.ObjectReconciler
- func IssuerObjectWrapper(reconciler IssuerReconciler) reconciling.ObjectReconciler
- func KubeconfigObjectWrapper(reconciler KubeconfigReconciler) reconciling.ObjectReconciler
- func ReconcileCacheServers(ctx context.Context, namedFactories []NamedCacheServerReconcilerFactory, ...) error
- func ReconcileCertificates(ctx context.Context, namedFactories []NamedCertificateReconcilerFactory, ...) error
- func ReconcileFrontProxys(ctx context.Context, namedFactories []NamedFrontProxyReconcilerFactory, ...) error
- func ReconcileIssuers(ctx context.Context, namedFactories []NamedIssuerReconcilerFactory, ...) error
- func ReconcileKubeconfigs(ctx context.Context, namedFactories []NamedKubeconfigReconcilerFactory, ...) error
- func ReconcileRootShards(ctx context.Context, namedFactories []NamedRootShardReconcilerFactory, ...) error
- func ReconcileShards(ctx context.Context, namedFactories []NamedShardReconcilerFactory, ...) error
- func RootShardObjectWrapper(reconciler RootShardReconciler) reconciling.ObjectReconciler
- func ShardObjectWrapper(reconciler ShardReconciler) reconciling.ObjectReconciler
- type CacheServerReconciler
- type CertificateReconciler
- type FrontProxyReconciler
- type IssuerReconciler
- type KubeconfigReconciler
- type NamedCacheServerReconcilerFactory
- type NamedCertificateReconcilerFactory
- type NamedFrontProxyReconcilerFactory
- type NamedIssuerReconcilerFactory
- type NamedKubeconfigReconcilerFactory
- type NamedRootShardReconcilerFactory
- type NamedShardReconcilerFactory
- type RootShardReconciler
- type ShardReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheServerObjectWrapper ¶
func CacheServerObjectWrapper(reconciler CacheServerReconciler) reconciling.ObjectReconciler
CacheServerObjectWrapper adds a wrapper so the CacheServerReconciler matches ObjectReconciler. This is needed as Go does not support function interface matching.
func CertificateObjectWrapper ¶
func CertificateObjectWrapper(reconciler CertificateReconciler) reconciling.ObjectReconciler
CertificateObjectWrapper adds a wrapper so the CertificateReconciler matches ObjectReconciler. This is needed as Go does not support function interface matching.
func Configure ¶
func Configure(log *zap.SugaredLogger)
func FrontProxyObjectWrapper ¶
func FrontProxyObjectWrapper(reconciler FrontProxyReconciler) reconciling.ObjectReconciler
FrontProxyObjectWrapper adds a wrapper so the FrontProxyReconciler matches ObjectReconciler. This is needed as Go does not support function interface matching.
func IssuerObjectWrapper ¶
func IssuerObjectWrapper(reconciler IssuerReconciler) reconciling.ObjectReconciler
IssuerObjectWrapper adds a wrapper so the IssuerReconciler matches ObjectReconciler. This is needed as Go does not support function interface matching.
func KubeconfigObjectWrapper ¶
func KubeconfigObjectWrapper(reconciler KubeconfigReconciler) reconciling.ObjectReconciler
KubeconfigObjectWrapper adds a wrapper so the KubeconfigReconciler matches ObjectReconciler. This is needed as Go does not support function interface matching.
func ReconcileCacheServers ¶
func ReconcileCacheServers(ctx context.Context, namedFactories []NamedCacheServerReconcilerFactory, namespace string, client ctrlruntimeclient.Client, objectModifiers ...reconciling.ObjectModifier) error
ReconcileCacheServers will create and update the CacheServers coming from the passed CacheServerReconciler slice.
func ReconcileCertificates ¶
func ReconcileCertificates(ctx context.Context, namedFactories []NamedCertificateReconcilerFactory, namespace string, client ctrlruntimeclient.Client, objectModifiers ...reconciling.ObjectModifier) error
ReconcileCertificates will create and update the Certificates coming from the passed CertificateReconciler slice.
func ReconcileFrontProxys ¶
func ReconcileFrontProxys(ctx context.Context, namedFactories []NamedFrontProxyReconcilerFactory, namespace string, client ctrlruntimeclient.Client, objectModifiers ...reconciling.ObjectModifier) error
ReconcileFrontProxys will create and update the FrontProxys coming from the passed FrontProxyReconciler slice.
func ReconcileIssuers ¶
func ReconcileIssuers(ctx context.Context, namedFactories []NamedIssuerReconcilerFactory, namespace string, client ctrlruntimeclient.Client, objectModifiers ...reconciling.ObjectModifier) error
ReconcileIssuers will create and update the Issuers coming from the passed IssuerReconciler slice.
func ReconcileKubeconfigs ¶
func ReconcileKubeconfigs(ctx context.Context, namedFactories []NamedKubeconfigReconcilerFactory, namespace string, client ctrlruntimeclient.Client, objectModifiers ...reconciling.ObjectModifier) error
ReconcileKubeconfigs will create and update the Kubeconfigs coming from the passed KubeconfigReconciler slice.
func ReconcileRootShards ¶
func ReconcileRootShards(ctx context.Context, namedFactories []NamedRootShardReconcilerFactory, namespace string, client ctrlruntimeclient.Client, objectModifiers ...reconciling.ObjectModifier) error
ReconcileRootShards will create and update the RootShards coming from the passed RootShardReconciler slice.
func ReconcileShards ¶
func ReconcileShards(ctx context.Context, namedFactories []NamedShardReconcilerFactory, namespace string, client ctrlruntimeclient.Client, objectModifiers ...reconciling.ObjectModifier) error
ReconcileShards will create and update the Shards coming from the passed ShardReconciler slice.
func RootShardObjectWrapper ¶
func RootShardObjectWrapper(reconciler RootShardReconciler) reconciling.ObjectReconciler
RootShardObjectWrapper adds a wrapper so the RootShardReconciler matches ObjectReconciler. This is needed as Go does not support function interface matching.
func ShardObjectWrapper ¶
func ShardObjectWrapper(reconciler ShardReconciler) reconciling.ObjectReconciler
ShardObjectWrapper adds a wrapper so the ShardReconciler matches ObjectReconciler. This is needed as Go does not support function interface matching.
Types ¶
type CacheServerReconciler ¶
type CacheServerReconciler = func(existing *operatorv1alpha1.CacheServer) (*operatorv1alpha1.CacheServer, error)
CacheServerReconciler defines an interface to create/update CacheServers.
type CertificateReconciler ¶
type CertificateReconciler = func(existing *certmanagerv1.Certificate) (*certmanagerv1.Certificate, error)
CertificateReconciler defines an interface to create/update Certificates.
type FrontProxyReconciler ¶
type FrontProxyReconciler = func(existing *operatorv1alpha1.FrontProxy) (*operatorv1alpha1.FrontProxy, error)
FrontProxyReconciler defines an interface to create/update FrontProxys.
type IssuerReconciler ¶
type IssuerReconciler = func(existing *certmanagerv1.Issuer) (*certmanagerv1.Issuer, error)
IssuerReconciler defines an interface to create/update Issuers.
type KubeconfigReconciler ¶
type KubeconfigReconciler = func(existing *operatorv1alpha1.Kubeconfig) (*operatorv1alpha1.Kubeconfig, error)
KubeconfigReconciler defines an interface to create/update Kubeconfigs.
type NamedCacheServerReconcilerFactory ¶
type NamedCacheServerReconcilerFactory = func() (name string, reconciler CacheServerReconciler)
NamedCacheServerReconcilerFactory returns the name of the resource and the corresponding Reconciler function.
type NamedCertificateReconcilerFactory ¶
type NamedCertificateReconcilerFactory = func() (name string, reconciler CertificateReconciler)
NamedCertificateReconcilerFactory returns the name of the resource and the corresponding Reconciler function.
type NamedFrontProxyReconcilerFactory ¶
type NamedFrontProxyReconcilerFactory = func() (name string, reconciler FrontProxyReconciler)
NamedFrontProxyReconcilerFactory returns the name of the resource and the corresponding Reconciler function.
type NamedIssuerReconcilerFactory ¶
type NamedIssuerReconcilerFactory = func() (name string, reconciler IssuerReconciler)
NamedIssuerReconcilerFactory returns the name of the resource and the corresponding Reconciler function.
type NamedKubeconfigReconcilerFactory ¶
type NamedKubeconfigReconcilerFactory = func() (name string, reconciler KubeconfigReconciler)
NamedKubeconfigReconcilerFactory returns the name of the resource and the corresponding Reconciler function.
type NamedRootShardReconcilerFactory ¶
type NamedRootShardReconcilerFactory = func() (name string, reconciler RootShardReconciler)
NamedRootShardReconcilerFactory returns the name of the resource and the corresponding Reconciler function.
type NamedShardReconcilerFactory ¶
type NamedShardReconcilerFactory = func() (name string, reconciler ShardReconciler)
NamedShardReconcilerFactory returns the name of the resource and the corresponding Reconciler function.
type RootShardReconciler ¶
type RootShardReconciler = func(existing *operatorv1alpha1.RootShard) (*operatorv1alpha1.RootShard, error)
RootShardReconciler defines an interface to create/update RootShards.
type ShardReconciler ¶
type ShardReconciler = func(existing *operatorv1alpha1.Shard) (*operatorv1alpha1.Shard, error)
ShardReconciler defines an interface to create/update Shards.