v1alpha2

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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)

func UpdateIssuerDeepCopyOnChange

func UpdateIssuerDeepCopyOnChange(client IssuerClient, obj *v1alpha2.Issuer, handler func(obj *v1alpha2.Issuer) (*v1alpha2.Issuer, error)) (*v1alpha2.Issuer, 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
}

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
}

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

type IssuerCache

type IssuerCache interface {
	Get(namespace, name string) (*v1alpha2.Issuer, error)
	List(namespace string, selector labels.Selector) ([]*v1alpha2.Issuer, error)

	AddIndexer(indexName string, indexer IssuerIndexer)
	GetByIndex(indexName, key string) ([]*v1alpha2.Issuer, error)
}

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 IssuerHandler

type IssuerHandler func(string, *v1alpha2.Issuer) (*v1alpha2.Issuer, error)

type IssuerIndexer

type IssuerIndexer func(obj *v1alpha2.Issuer) ([]string, error)

type IssuerStatusHandler

type IssuerStatusHandler func(obj *v1alpha2.Issuer, status v1alpha2.IssuerStatus) (v1alpha2.IssuerStatus, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL