kubehelper

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2020 License: Apache-2.0 Imports: 29 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSIDriverClient

type CSIDriverClient struct {
	V1Client   v1.CSIDriverInterface
	V1b1Client v1beta1.CSIDriverInterface
}

func CreateCSIDriverClient

func CreateCSIDriverClient(apiResources []*metav1.APIResourceList, kubeClient kubernetes.Interface) *CSIDriverClient

func (*CSIDriverClient) Create

func (*CSIDriverClient) Delete

func (c *CSIDriverClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

func (*CSIDriverClient) DeleteCollection

func (c *CSIDriverClient) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

func (*CSIDriverClient) Get

func (*CSIDriverClient) List

func (*CSIDriverClient) Patch

func (c *CSIDriverClient) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subResources ...string) (*storage.CSIDriver, error)

func (*CSIDriverClient) Update

func (*CSIDriverClient) Watch

type CSIDriverLister

type CSIDriverLister struct {
	// contains filtered or unexported fields
}

func CreateCSIDriverLister

func CreateCSIDriverLister(indexer cache.Indexer) *CSIDriverLister

func (*CSIDriverLister) Get

func (l *CSIDriverLister) Get(name string) (*storage.CSIDriver, error)

Get retrieves the CSIDriver from the index for a given name.

func (*CSIDriverLister) List

func (l *CSIDriverLister) List(selector labels.Selector) ([]*storage.CSIDriver, error)

List lists all CSIDrivers in the indexer.

type CertificateSigningRequestClient

type CertificateSigningRequestClient struct {
	//V1Client   v1.CertificateSigningRequestInterface
	V1b1Client v1beta1.CertificateSigningRequestInterface
}

func CreateCertificateSigningRequestClient

func CreateCertificateSigningRequestClient(apiResources []*metav1.APIResourceList, kubeClient kubernetes.Interface) *CertificateSigningRequestClient

func (*CertificateSigningRequestClient) Delete

func (*CertificateSigningRequestClient) DeleteCollection

func (*CertificateSigningRequestClient) Get

func (*CertificateSigningRequestClient) List

func (*CertificateSigningRequestClient) Patch

func (*CertificateSigningRequestClient) Watch

type LeaseClient

type LeaseClient struct {
	V1Client   v1.LeaseInterface
	V1b1Client v1beta1.LeaseInterface
}

func CreateLeaseClient

func CreateLeaseClient(apiResources []*metav1.APIResourceList, kubeClient kubernetes.Interface, namespace string) *LeaseClient

func (*LeaseClient) Create

func (*LeaseClient) Delete

func (c *LeaseClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

func (*LeaseClient) DeleteCollection

func (c *LeaseClient) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error

func (*LeaseClient) Get

func (*LeaseClient) List

func (*LeaseClient) Patch

func (c *LeaseClient) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subResources ...string) (*coordination.Lease, error)

func (*LeaseClient) Update

func (*LeaseClient) Watch

Jump to

Keyboard shortcuts

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