Documentation ¶
Index ¶
- func FromCertificateHandlerToHandler(sync CertificateHandler) generic.Handler
- func FromClusterIssuerHandlerToHandler(sync ClusterIssuerHandler) generic.Handler
- type CertificateCache
- type CertificateClient
- type CertificateController
- type CertificateHandler
- type CertificateIndexer
- type ClusterIssuerCache
- type ClusterIssuerClient
- type ClusterIssuerController
- type ClusterIssuerHandler
- type ClusterIssuerIndexer
- type Interface
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
Types ¶
type CertificateCache ¶
type CertificateCache interface { Get(namespace, name string) (*v1alpha1.Certificate, error) List(namespace string, selector labels.Selector) ([]*v1alpha1.Certificate, error) AddIndexer(indexName string, indexer CertificateIndexer) GetByIndex(indexName, key string) ([]*v1alpha1.Certificate, error) }
type CertificateClient ¶
type CertificateClient interface { Create(*v1alpha1.Certificate) (*v1alpha1.Certificate, error) Update(*v1alpha1.Certificate) (*v1alpha1.Certificate, error) UpdateStatus(*v1alpha1.Certificate) (*v1alpha1.Certificate, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1alpha1.Certificate, error) List(namespace string, opts metav1.ListOptions) (*v1alpha1.CertificateList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Certificate, err error) }
type CertificateController ¶
type CertificateController interface { CertificateClient OnChange(ctx context.Context, name string, sync CertificateHandler) OnRemove(ctx context.Context, name string, sync CertificateHandler) Enqueue(namespace, name string) Cache() CertificateCache Informer() cache.SharedIndexInformer GroupVersionKind() schema.GroupVersionKind AddGenericHandler(ctx context.Context, name string, handler generic.Handler) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler) Updater() generic.Updater }
func NewCertificateController ¶
func NewCertificateController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.CertificatesGetter, informer informers.CertificateInformer) CertificateController
type CertificateHandler ¶
type CertificateHandler func(string, *v1alpha1.Certificate) (*v1alpha1.Certificate, error)
func UpdateCertificateOnChange ¶
func UpdateCertificateOnChange(updater generic.Updater, handler CertificateHandler) CertificateHandler
type CertificateIndexer ¶
type CertificateIndexer func(obj *v1alpha1.Certificate) ([]string, error)
type ClusterIssuerCache ¶
type ClusterIssuerCache interface { Get(name string) (*v1alpha1.ClusterIssuer, error) List(selector labels.Selector) ([]*v1alpha1.ClusterIssuer, error) AddIndexer(indexName string, indexer ClusterIssuerIndexer) GetByIndex(indexName, key string) ([]*v1alpha1.ClusterIssuer, error) }
type ClusterIssuerClient ¶
type ClusterIssuerClient interface { Create(*v1alpha1.ClusterIssuer) (*v1alpha1.ClusterIssuer, error) Update(*v1alpha1.ClusterIssuer) (*v1alpha1.ClusterIssuer, error) UpdateStatus(*v1alpha1.ClusterIssuer) (*v1alpha1.ClusterIssuer, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1alpha1.ClusterIssuer, error) List(opts metav1.ListOptions) (*v1alpha1.ClusterIssuerList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterIssuer, err error) }
type ClusterIssuerController ¶
type ClusterIssuerController interface { ClusterIssuerClient OnChange(ctx context.Context, name string, sync ClusterIssuerHandler) OnRemove(ctx context.Context, name string, sync ClusterIssuerHandler) Enqueue(name string) Cache() ClusterIssuerCache Informer() cache.SharedIndexInformer GroupVersionKind() schema.GroupVersionKind AddGenericHandler(ctx context.Context, name string, handler generic.Handler) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler) Updater() generic.Updater }
func NewClusterIssuerController ¶
func NewClusterIssuerController(gvk schema.GroupVersionKind, controllerManager *generic.ControllerManager, clientGetter clientset.ClusterIssuersGetter, informer informers.ClusterIssuerInformer) ClusterIssuerController
type ClusterIssuerHandler ¶
type ClusterIssuerHandler func(string, *v1alpha1.ClusterIssuer) (*v1alpha1.ClusterIssuer, error)
func UpdateClusterIssuerOnChange ¶
func UpdateClusterIssuerOnChange(updater generic.Updater, handler ClusterIssuerHandler) ClusterIssuerHandler
type ClusterIssuerIndexer ¶
type ClusterIssuerIndexer func(obj *v1alpha1.ClusterIssuer) ([]string, error)
type Interface ¶
type Interface interface { Certificate() CertificateController ClusterIssuer() ClusterIssuerController }
func New ¶
func New(controllerManager *generic.ControllerManager, client clientset.CertmanagerV1alpha1Interface, informers informers.Interface) Interface
Click to show internal directories.
Click to hide internal directories.