Documentation ¶
Index ¶
- func FromCertificateHandlerToHandler(sync CertificateHandler) generic.Handler
- func FromClusterIssuerHandlerToHandler(sync ClusterIssuerHandler) generic.Handler
- func FromIssuerHandlerToHandler(sync IssuerHandler) generic.Handler
- func RegisterCertificateGeneratingHandler(ctx context.Context, controller CertificateController, apply apply.Apply, ...)
- func RegisterCertificateStatusHandler(ctx context.Context, controller CertificateController, ...)
- func RegisterClusterIssuerGeneratingHandler(ctx context.Context, controller ClusterIssuerController, apply apply.Apply, ...)
- func RegisterClusterIssuerStatusHandler(ctx context.Context, controller ClusterIssuerController, ...)
- func RegisterIssuerGeneratingHandler(ctx context.Context, controller IssuerController, apply apply.Apply, ...)
- func RegisterIssuerStatusHandler(ctx context.Context, controller IssuerController, condition condition.Cond, ...)
- func UpdateCertificateDeepCopyOnChange(client CertificateClient, obj *v1alpha2.Certificate, ...) (*v1alpha2.Certificate, error)
- func UpdateClusterIssuerDeepCopyOnChange(client ClusterIssuerClient, obj *v1alpha2.ClusterIssuer, ...) (*v1alpha2.ClusterIssuer, error)
- func UpdateIssuerDeepCopyOnChange(client IssuerClient, obj *v1alpha2.Issuer, ...) (*v1alpha2.Issuer, error)
- type CertificateCache
- type CertificateClient
- type CertificateController
- type CertificateGeneratingHandler
- type CertificateHandler
- type CertificateIndexer
- type CertificateStatusHandler
- type ClusterIssuerCache
- type ClusterIssuerClient
- type ClusterIssuerController
- type ClusterIssuerGeneratingHandler
- type ClusterIssuerHandler
- type ClusterIssuerIndexer
- type ClusterIssuerStatusHandler
- type Interface
- type IssuerCache
- type IssuerClient
- type IssuerController
- type IssuerGeneratingHandler
- type IssuerHandler
- type IssuerIndexer
- type IssuerStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromCertificateHandlerToHandler ¶
func FromCertificateHandlerToHandler(sync CertificateHandler) generic.Handler
func FromClusterIssuerHandlerToHandler ¶
func FromClusterIssuerHandlerToHandler(sync ClusterIssuerHandler) generic.Handler
func FromIssuerHandlerToHandler ¶
func FromIssuerHandlerToHandler(sync IssuerHandler) generic.Handler
func RegisterCertificateGeneratingHandler ¶
func RegisterCertificateGeneratingHandler(ctx context.Context, controller CertificateController, apply apply.Apply, condition condition.Cond, name string, handler CertificateGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterCertificateStatusHandler ¶
func RegisterCertificateStatusHandler(ctx context.Context, controller CertificateController, condition condition.Cond, name string, handler CertificateStatusHandler)
func RegisterClusterIssuerGeneratingHandler ¶
func RegisterClusterIssuerGeneratingHandler(ctx context.Context, controller ClusterIssuerController, apply apply.Apply, condition condition.Cond, name string, handler ClusterIssuerGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterClusterIssuerStatusHandler ¶
func RegisterClusterIssuerStatusHandler(ctx context.Context, controller ClusterIssuerController, condition condition.Cond, name string, handler ClusterIssuerStatusHandler)
func RegisterIssuerGeneratingHandler ¶
func RegisterIssuerGeneratingHandler(ctx context.Context, controller IssuerController, apply apply.Apply, condition condition.Cond, name string, handler IssuerGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterIssuerStatusHandler ¶
func RegisterIssuerStatusHandler(ctx context.Context, controller IssuerController, condition condition.Cond, name string, handler IssuerStatusHandler)
func UpdateCertificateDeepCopyOnChange ¶
func UpdateCertificateDeepCopyOnChange(client CertificateClient, obj *v1alpha2.Certificate, handler func(obj *v1alpha2.Certificate) (*v1alpha2.Certificate, error)) (*v1alpha2.Certificate, error)
func UpdateClusterIssuerDeepCopyOnChange ¶
func UpdateClusterIssuerDeepCopyOnChange(client ClusterIssuerClient, obj *v1alpha2.ClusterIssuer, handler func(obj *v1alpha2.ClusterIssuer) (*v1alpha2.ClusterIssuer, error)) (*v1alpha2.ClusterIssuer, error)
Types ¶
type CertificateCache ¶
type CertificateCache interface { Get(namespace, name string) (*v1alpha2.Certificate, error) List(namespace string, selector labels.Selector) ([]*v1alpha2.Certificate, error) AddIndexer(indexName string, indexer CertificateIndexer) GetByIndex(indexName, key string) ([]*v1alpha2.Certificate, error) }
type CertificateClient ¶
type CertificateClient interface { Create(*v1alpha2.Certificate) (*v1alpha2.Certificate, error) Update(*v1alpha2.Certificate) (*v1alpha2.Certificate, error) UpdateStatus(*v1alpha2.Certificate) (*v1alpha2.Certificate, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1alpha2.Certificate, error) List(namespace string, opts metav1.ListOptions) (*v1alpha2.CertificateList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Certificate, err error) }
type CertificateController ¶
type CertificateController interface { generic.ControllerMeta CertificateClient OnChange(ctx context.Context, name string, sync CertificateHandler) OnRemove(ctx context.Context, name string, sync CertificateHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() CertificateCache }
func NewCertificateController ¶
func NewCertificateController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.CertificatesGetter, informer informers.CertificateInformer) CertificateController
type CertificateGeneratingHandler ¶
type CertificateGeneratingHandler func(obj *v1alpha2.Certificate, status v1alpha2.CertificateStatus) ([]runtime.Object, v1alpha2.CertificateStatus, error)
type CertificateHandler ¶
type CertificateHandler func(string, *v1alpha2.Certificate) (*v1alpha2.Certificate, error)
type CertificateIndexer ¶
type CertificateIndexer func(obj *v1alpha2.Certificate) ([]string, error)
type CertificateStatusHandler ¶
type CertificateStatusHandler func(obj *v1alpha2.Certificate, status v1alpha2.CertificateStatus) (v1alpha2.CertificateStatus, error)
type ClusterIssuerCache ¶
type ClusterIssuerCache interface { Get(name string) (*v1alpha2.ClusterIssuer, error) List(selector labels.Selector) ([]*v1alpha2.ClusterIssuer, error) AddIndexer(indexName string, indexer ClusterIssuerIndexer) GetByIndex(indexName, key string) ([]*v1alpha2.ClusterIssuer, error) }
type ClusterIssuerClient ¶
type ClusterIssuerClient interface { Create(*v1alpha2.ClusterIssuer) (*v1alpha2.ClusterIssuer, error) Update(*v1alpha2.ClusterIssuer) (*v1alpha2.ClusterIssuer, error) UpdateStatus(*v1alpha2.ClusterIssuer) (*v1alpha2.ClusterIssuer, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1alpha2.ClusterIssuer, error) List(opts metav1.ListOptions) (*v1alpha2.ClusterIssuerList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.ClusterIssuer, err error) }
type ClusterIssuerController ¶
type ClusterIssuerController interface { generic.ControllerMeta ClusterIssuerClient OnChange(ctx context.Context, name string, sync ClusterIssuerHandler) OnRemove(ctx context.Context, name string, sync ClusterIssuerHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() ClusterIssuerCache }
func NewClusterIssuerController ¶
func NewClusterIssuerController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.ClusterIssuersGetter, informer informers.ClusterIssuerInformer) ClusterIssuerController
type ClusterIssuerGeneratingHandler ¶
type ClusterIssuerGeneratingHandler func(obj *v1alpha2.ClusterIssuer, status v1alpha2.IssuerStatus) ([]runtime.Object, v1alpha2.IssuerStatus, error)
type ClusterIssuerHandler ¶
type ClusterIssuerHandler func(string, *v1alpha2.ClusterIssuer) (*v1alpha2.ClusterIssuer, error)
type ClusterIssuerIndexer ¶
type ClusterIssuerIndexer func(obj *v1alpha2.ClusterIssuer) ([]string, error)
type ClusterIssuerStatusHandler ¶
type ClusterIssuerStatusHandler func(obj *v1alpha2.ClusterIssuer, status v1alpha2.IssuerStatus) (v1alpha2.IssuerStatus, error)
type Interface ¶
type Interface interface { Certificate() CertificateController ClusterIssuer() ClusterIssuerController Issuer() IssuerController }
func New ¶
func New(controllerManager *generic.ControllerManager, client clientset.CertmanagerV1alpha2Interface, informers informers.Interface) Interface
type IssuerCache ¶
type IssuerClient ¶
type IssuerClient interface { Create(*v1alpha2.Issuer) (*v1alpha2.Issuer, error) Update(*v1alpha2.Issuer) (*v1alpha2.Issuer, error) UpdateStatus(*v1alpha2.Issuer) (*v1alpha2.Issuer, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1alpha2.Issuer, error) List(namespace string, opts metav1.ListOptions) (*v1alpha2.IssuerList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Issuer, err error) }
type IssuerController ¶
type IssuerController interface { generic.ControllerMeta IssuerClient OnChange(ctx context.Context, name string, sync IssuerHandler) OnRemove(ctx context.Context, name string, sync IssuerHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() IssuerCache }
func NewIssuerController ¶
func NewIssuerController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.IssuersGetter, informer informers.IssuerInformer) IssuerController
type IssuerGeneratingHandler ¶
type IssuerGeneratingHandler func(obj *v1alpha2.Issuer, status v1alpha2.IssuerStatus) ([]runtime.Object, v1alpha2.IssuerStatus, error)
type IssuerStatusHandler ¶
type IssuerStatusHandler func(obj *v1alpha2.Issuer, status v1alpha2.IssuerStatus) (v1alpha2.IssuerStatus, error)
Click to show internal directories.
Click to hide internal directories.