Documentation
¶
Index ¶
- Constants
- Variables
- func Factory(ctx context.Context, config rest.Config) (context.Context, controller.Starter, error)
- func Kind(kind string) schema.GroupKind
- func NewCertificate(namespace, name string, obj v1alpha1.Certificate) *v1alpha1.Certificate
- func NewClusterIssuer(namespace, name string, obj v1alpha1.ClusterIssuer) *v1alpha1.ClusterIssuer
- func Resource(resource string) schema.GroupResource
- type CertificateChangeHandlerFunc
- type CertificateClient
- type CertificateClientCache
- type CertificateController
- type CertificateHandlerFunc
- type CertificateIndexer
- type CertificateInterface
- type CertificateLifecycle
- type CertificateList
- type CertificateLister
- type CertificatesGetter
- type Client
- func (c *Client) Certificates(namespace string) CertificateInterface
- func (c *Client) ClusterIssuers(namespace string) ClusterIssuerInterface
- func (c *Client) RESTClient() rest.Interface
- func (c *Client) Start(ctx context.Context, threadiness int) error
- func (c *Client) Sync(ctx context.Context) error
- type Clients
- type ClusterIssuerChangeHandlerFunc
- type ClusterIssuerClient
- type ClusterIssuerClientCache
- type ClusterIssuerController
- type ClusterIssuerHandlerFunc
- type ClusterIssuerIndexer
- type ClusterIssuerInterface
- type ClusterIssuerLifecycle
- type ClusterIssuerList
- type ClusterIssuerLister
- type ClusterIssuersGetter
- type Interface
Constants ¶
const ( GroupName = "certmanager.k8s.io" Version = "v1alpha1" )
Variables ¶
var ( CertificateGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Certificate", } CertificateResource = metav1.APIResource{ Name: "certificates", SingularName: "certificate", Namespaced: true, Kind: CertificateGroupVersionKind.Kind, } )
var ( ClusterIssuerGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ClusterIssuer", } ClusterIssuerResource = metav1.APIResource{ Name: "clusterissuers", SingularName: "clusterissuer", Namespaced: false, Kind: ClusterIssuerGroupVersionKind.Kind, } )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Factory ¶
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func NewCertificate ¶
func NewCertificate(namespace, name string, obj v1alpha1.Certificate) *v1alpha1.Certificate
func NewClusterIssuer ¶
func NewClusterIssuer(namespace, name string, obj v1alpha1.ClusterIssuer) *v1alpha1.ClusterIssuer
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CertificateChangeHandlerFunc ¶
type CertificateChangeHandlerFunc func(obj *v1alpha1.Certificate) (runtime.Object, error)
type CertificateClient ¶
type CertificateClient interface {
Create(*v1alpha1.Certificate) (*v1alpha1.Certificate, error)
Get(namespace, name string, opts metav1.GetOptions) (*v1alpha1.Certificate, error)
Update(*v1alpha1.Certificate) (*v1alpha1.Certificate, error)
Delete(namespace, name string, options *metav1.DeleteOptions) error
List(namespace string, opts metav1.ListOptions) (*CertificateList, error)
Watch(opts metav1.ListOptions) (watch.Interface, error)
Cache() CertificateClientCache
OnCreate(ctx context.Context, name string, sync CertificateChangeHandlerFunc)
OnChange(ctx context.Context, name string, sync CertificateChangeHandlerFunc)
OnRemove(ctx context.Context, name string, sync CertificateChangeHandlerFunc)
Enqueue(namespace, name string)
Generic() controller.GenericController
ObjectClient() *objectclient.ObjectClient
Interface() CertificateInterface
}
type CertificateClientCache ¶
type CertificateClientCache interface {
Get(namespace, name string) (*v1alpha1.Certificate, error)
List(namespace string, selector labels.Selector) ([]*v1alpha1.Certificate, error)
Index(name string, indexer CertificateIndexer)
GetIndexed(name, key string) ([]*v1alpha1.Certificate, error)
}
type CertificateController ¶
type CertificateController interface {
Generic() controller.GenericController
Informer() cache.SharedIndexInformer
Lister() CertificateLister
AddHandler(ctx context.Context, name string, handler CertificateHandlerFunc)
AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler CertificateHandlerFunc)
Enqueue(namespace, name string)
Sync(ctx context.Context) error
Start(ctx context.Context, threadiness int) error
}
type CertificateHandlerFunc ¶
func NewCertificateLifecycleAdapter ¶
func NewCertificateLifecycleAdapter(name string, clusterScoped bool, client CertificateInterface, l CertificateLifecycle) CertificateHandlerFunc
type CertificateIndexer ¶
type CertificateIndexer func(obj *v1alpha1.Certificate) ([]string, error)
type CertificateInterface ¶
type CertificateInterface interface {
ObjectClient() *objectclient.ObjectClient
Create(*v1alpha1.Certificate) (*v1alpha1.Certificate, error)
GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1alpha1.Certificate, error)
Get(name string, opts metav1.GetOptions) (*v1alpha1.Certificate, error)
Update(*v1alpha1.Certificate) (*v1alpha1.Certificate, error)
Delete(name string, options *metav1.DeleteOptions) error
DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error
List(opts metav1.ListOptions) (*CertificateList, error)
Watch(opts metav1.ListOptions) (watch.Interface, error)
DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
Controller() CertificateController
AddHandler(ctx context.Context, name string, sync CertificateHandlerFunc)
AddLifecycle(ctx context.Context, name string, lifecycle CertificateLifecycle)
AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync CertificateHandlerFunc)
AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle CertificateLifecycle)
}
type CertificateLifecycle ¶
type CertificateLifecycle interface {
Create(obj *v1alpha1.Certificate) (runtime.Object, error)
Remove(obj *v1alpha1.Certificate) (runtime.Object, error)
Updated(obj *v1alpha1.Certificate) (runtime.Object, error)
}
type CertificateList ¶
type CertificateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []v1alpha1.Certificate
}
func (*CertificateList) DeepCopy ¶
func (in *CertificateList) DeepCopy() *CertificateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertificateList.
func (*CertificateList) DeepCopyInto ¶
func (in *CertificateList) DeepCopyInto(out *CertificateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CertificateList) DeepCopyObject ¶
func (in *CertificateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CertificateLister ¶
type CertificateLister interface {
List(namespace string, selector labels.Selector) (ret []*v1alpha1.Certificate, err error)
Get(namespace, name string) (*v1alpha1.Certificate, error)
}
type CertificatesGetter ¶
type CertificatesGetter interface {
Certificates(namespace string) CertificateInterface
}
type Client ¶
func (*Client) Certificates ¶
func (c *Client) Certificates(namespace string) CertificateInterface
func (*Client) ClusterIssuers ¶
func (c *Client) ClusterIssuers(namespace string) ClusterIssuerInterface
type Clients ¶
type Clients struct {
Interface Interface
ClusterIssuer ClusterIssuerClient
Certificate CertificateClient
}
type ClusterIssuerChangeHandlerFunc ¶
type ClusterIssuerChangeHandlerFunc func(obj *v1alpha1.ClusterIssuer) (runtime.Object, error)
type ClusterIssuerClient ¶
type ClusterIssuerClient interface {
Create(*v1alpha1.ClusterIssuer) (*v1alpha1.ClusterIssuer, error)
Get(namespace, name string, opts metav1.GetOptions) (*v1alpha1.ClusterIssuer, error)
Update(*v1alpha1.ClusterIssuer) (*v1alpha1.ClusterIssuer, error)
Delete(namespace, name string, options *metav1.DeleteOptions) error
List(namespace string, opts metav1.ListOptions) (*ClusterIssuerList, error)
Watch(opts metav1.ListOptions) (watch.Interface, error)
Cache() ClusterIssuerClientCache
OnCreate(ctx context.Context, name string, sync ClusterIssuerChangeHandlerFunc)
OnChange(ctx context.Context, name string, sync ClusterIssuerChangeHandlerFunc)
OnRemove(ctx context.Context, name string, sync ClusterIssuerChangeHandlerFunc)
Enqueue(namespace, name string)
Generic() controller.GenericController
ObjectClient() *objectclient.ObjectClient
Interface() ClusterIssuerInterface
}
type ClusterIssuerClientCache ¶
type ClusterIssuerClientCache interface {
Get(namespace, name string) (*v1alpha1.ClusterIssuer, error)
List(namespace string, selector labels.Selector) ([]*v1alpha1.ClusterIssuer, error)
Index(name string, indexer ClusterIssuerIndexer)
GetIndexed(name, key string) ([]*v1alpha1.ClusterIssuer, error)
}
type ClusterIssuerController ¶
type ClusterIssuerController interface {
Generic() controller.GenericController
Informer() cache.SharedIndexInformer
Lister() ClusterIssuerLister
AddHandler(ctx context.Context, name string, handler ClusterIssuerHandlerFunc)
AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ClusterIssuerHandlerFunc)
Enqueue(namespace, name string)
Sync(ctx context.Context) error
Start(ctx context.Context, threadiness int) error
}
type ClusterIssuerHandlerFunc ¶
func NewClusterIssuerLifecycleAdapter ¶
func NewClusterIssuerLifecycleAdapter(name string, clusterScoped bool, client ClusterIssuerInterface, l ClusterIssuerLifecycle) ClusterIssuerHandlerFunc
type ClusterIssuerIndexer ¶
type ClusterIssuerIndexer func(obj *v1alpha1.ClusterIssuer) ([]string, error)
type ClusterIssuerInterface ¶
type ClusterIssuerInterface interface {
ObjectClient() *objectclient.ObjectClient
Create(*v1alpha1.ClusterIssuer) (*v1alpha1.ClusterIssuer, error)
GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1alpha1.ClusterIssuer, error)
Get(name string, opts metav1.GetOptions) (*v1alpha1.ClusterIssuer, error)
Update(*v1alpha1.ClusterIssuer) (*v1alpha1.ClusterIssuer, error)
Delete(name string, options *metav1.DeleteOptions) error
DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error
List(opts metav1.ListOptions) (*ClusterIssuerList, error)
Watch(opts metav1.ListOptions) (watch.Interface, error)
DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
Controller() ClusterIssuerController
AddHandler(ctx context.Context, name string, sync ClusterIssuerHandlerFunc)
AddLifecycle(ctx context.Context, name string, lifecycle ClusterIssuerLifecycle)
AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ClusterIssuerHandlerFunc)
AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ClusterIssuerLifecycle)
}
type ClusterIssuerLifecycle ¶
type ClusterIssuerLifecycle interface {
Create(obj *v1alpha1.ClusterIssuer) (runtime.Object, error)
Remove(obj *v1alpha1.ClusterIssuer) (runtime.Object, error)
Updated(obj *v1alpha1.ClusterIssuer) (runtime.Object, error)
}
type ClusterIssuerList ¶
type ClusterIssuerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []v1alpha1.ClusterIssuer
}
func (*ClusterIssuerList) DeepCopy ¶
func (in *ClusterIssuerList) DeepCopy() *ClusterIssuerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterIssuerList.
func (*ClusterIssuerList) DeepCopyInto ¶
func (in *ClusterIssuerList) DeepCopyInto(out *ClusterIssuerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterIssuerList) DeepCopyObject ¶
func (in *ClusterIssuerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterIssuerLister ¶
type ClusterIssuerLister interface {
List(namespace string, selector labels.Selector) (ret []*v1alpha1.ClusterIssuer, err error)
Get(namespace, name string) (*v1alpha1.ClusterIssuer, error)
}
type ClusterIssuersGetter ¶
type ClusterIssuersGetter interface {
ClusterIssuers(namespace string) ClusterIssuerInterface
}
Source Files
¶
- zz_generated_certificate_controller.go
- zz_generated_certificate_lifecycle_adapter.go
- zz_generated_cluster_issuer_controller.go
- zz_generated_cluster_issuer_lifecycle_adapter.go
- zz_generated_deepcopy.go
- zz_generated_k8s_client.go
- zz_generated_scheme.go