v1

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateExpansion

type CertificateExpansion interface{}

type CertificateInterface

type CertificateInterface interface {
	Create(ctx context.Context, certificate *v1.Certificate, opts metav1.CreateOptions) (*v1.Certificate, error)
	Update(ctx context.Context, certificate *v1.Certificate, opts metav1.UpdateOptions) (*v1.Certificate, error)
	UpdateStatus(ctx context.Context, certificate *v1.Certificate, opts metav1.UpdateOptions) (*v1.Certificate, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Certificate, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CertificateList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Certificate, err error)
	CertificateExpansion
}

CertificateInterface has methods to work with Certificate resources.

type CertificateRequestExpansion

type CertificateRequestExpansion interface{}

type CertificateRequestInterface

type CertificateRequestInterface interface {
	Create(ctx context.Context, certificateRequest *v1.CertificateRequest, opts metav1.CreateOptions) (*v1.CertificateRequest, error)
	Update(ctx context.Context, certificateRequest *v1.CertificateRequest, opts metav1.UpdateOptions) (*v1.CertificateRequest, error)
	UpdateStatus(ctx context.Context, certificateRequest *v1.CertificateRequest, opts metav1.UpdateOptions) (*v1.CertificateRequest, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.CertificateRequest, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CertificateRequestList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CertificateRequest, err error)
	CertificateRequestExpansion
}

CertificateRequestInterface has methods to work with CertificateRequest resources.

type CertificateRequestsGetter

type CertificateRequestsGetter interface {
	CertificateRequests(namespace string) CertificateRequestInterface
}

CertificateRequestsGetter has a method to return a CertificateRequestInterface. A group's client should implement this interface.

type CertificatesGetter

type CertificatesGetter interface {
	Certificates(namespace string) CertificateInterface
}

CertificatesGetter has a method to return a CertificateInterface. A group's client should implement this interface.

type CertmanagerV1Client

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

CertmanagerV1Client is used to interact with features provided by the cert-manager.io group.

func New

New creates a new CertmanagerV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*CertmanagerV1Client, error)

NewForConfig creates a new CertmanagerV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*CertmanagerV1Client, error)

NewForConfigAndClient creates a new CertmanagerV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CertmanagerV1Client

NewForConfigOrDie creates a new CertmanagerV1Client for the given config and panics if there is an error in the config.

func (*CertmanagerV1Client) CertificateRequests

func (c *CertmanagerV1Client) CertificateRequests(namespace string) CertificateRequestInterface

func (*CertmanagerV1Client) Certificates

func (c *CertmanagerV1Client) Certificates(namespace string) CertificateInterface

func (*CertmanagerV1Client) ClusterIssuers

func (c *CertmanagerV1Client) ClusterIssuers() ClusterIssuerInterface

func (*CertmanagerV1Client) Issuers

func (c *CertmanagerV1Client) Issuers(namespace string) IssuerInterface

func (*CertmanagerV1Client) RESTClient

func (c *CertmanagerV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type ClusterIssuerExpansion

type ClusterIssuerExpansion interface{}

type ClusterIssuerInterface

type ClusterIssuerInterface interface {
	Create(ctx context.Context, clusterIssuer *v1.ClusterIssuer, opts metav1.CreateOptions) (*v1.ClusterIssuer, error)
	Update(ctx context.Context, clusterIssuer *v1.ClusterIssuer, opts metav1.UpdateOptions) (*v1.ClusterIssuer, error)
	UpdateStatus(ctx context.Context, clusterIssuer *v1.ClusterIssuer, opts metav1.UpdateOptions) (*v1.ClusterIssuer, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ClusterIssuer, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterIssuerList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterIssuer, err error)
	ClusterIssuerExpansion
}

ClusterIssuerInterface has methods to work with ClusterIssuer resources.

type ClusterIssuersGetter

type ClusterIssuersGetter interface {
	ClusterIssuers() ClusterIssuerInterface
}

ClusterIssuersGetter has a method to return a ClusterIssuerInterface. A group's client should implement this interface.

type IssuerExpansion

type IssuerExpansion interface{}

type IssuerInterface

type IssuerInterface interface {
	Create(ctx context.Context, issuer *v1.Issuer, opts metav1.CreateOptions) (*v1.Issuer, error)
	Update(ctx context.Context, issuer *v1.Issuer, opts metav1.UpdateOptions) (*v1.Issuer, error)
	UpdateStatus(ctx context.Context, issuer *v1.Issuer, opts metav1.UpdateOptions) (*v1.Issuer, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Issuer, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.IssuerList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Issuer, err error)
	IssuerExpansion
}

IssuerInterface has methods to work with Issuer resources.

type IssuersGetter

type IssuersGetter interface {
	Issuers(namespace string) IssuerInterface
}

IssuersGetter has a method to return a IssuerInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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