v1alpha1

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 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 CertV1alpha1Client

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

CertV1alpha1Client is used to interact with features provided by the cert.gardener.cloud group.

func New

New creates a new CertV1alpha1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v0.12.0

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

NewForConfigAndClient creates a new CertV1alpha1Client 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) *CertV1alpha1Client

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

func (*CertV1alpha1Client) CertificateRevocations added in v0.12.0

func (c *CertV1alpha1Client) CertificateRevocations(namespace string) CertificateRevocationInterface

func (*CertV1alpha1Client) Certificates

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

func (*CertV1alpha1Client) Issuers

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

func (*CertV1alpha1Client) RESTClient

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

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

type CertV1alpha1Interface

type CertV1alpha1Interface interface {
	RESTClient() rest.Interface
	CertificatesGetter
	CertificateRevocationsGetter
	IssuersGetter
}

type CertificateExpansion

type CertificateExpansion interface{}

type CertificateInterface

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

CertificateInterface has methods to work with Certificate resources.

type CertificateRevocationExpansion added in v0.12.0

type CertificateRevocationExpansion interface{}

type CertificateRevocationInterface added in v0.12.0

type CertificateRevocationInterface interface {
	Create(ctx context.Context, certificateRevocation *v1alpha1.CertificateRevocation, opts v1.CreateOptions) (*v1alpha1.CertificateRevocation, error)
	Update(ctx context.Context, certificateRevocation *v1alpha1.CertificateRevocation, opts v1.UpdateOptions) (*v1alpha1.CertificateRevocation, error)
	UpdateStatus(ctx context.Context, certificateRevocation *v1alpha1.CertificateRevocation, opts v1.UpdateOptions) (*v1alpha1.CertificateRevocation, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.CertificateRevocation, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CertificateRevocationList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CertificateRevocation, err error)
	CertificateRevocationExpansion
}

CertificateRevocationInterface has methods to work with CertificateRevocation resources.

type CertificateRevocationsGetter added in v0.12.0

type CertificateRevocationsGetter interface {
	CertificateRevocations(namespace string) CertificateRevocationInterface
}

CertificateRevocationsGetter has a method to return a CertificateRevocationInterface. 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 IssuerExpansion

type IssuerExpansion interface{}

type IssuerInterface

type IssuerInterface interface {
	Create(ctx context.Context, issuer *v1alpha1.Issuer, opts v1.CreateOptions) (*v1alpha1.Issuer, error)
	Update(ctx context.Context, issuer *v1alpha1.Issuer, opts v1.UpdateOptions) (*v1alpha1.Issuer, error)
	UpdateStatus(ctx context.Context, issuer *v1alpha1.Issuer, opts v1.UpdateOptions) (*v1alpha1.Issuer, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Issuer, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.IssuerList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.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