v1alpha1

package
v0.1.0-rc4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 15 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

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
}

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
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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