v1beta1

package
v0.34.3 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Definitions for the Kubernetes types

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCertificateSigningRequestClient

func NewCertificateSigningRequestClient(client client.Client) *certificateSigningRequestClient

Types

type CertificateSigningRequestClient

Client knows how to perform CRUD operations on CertificateSigningRequests.

type CertificateSigningRequestReader

type CertificateSigningRequestReader interface {
	// Get retrieves a CertificateSigningRequest for the given object key
	GetCertificateSigningRequest(ctx context.Context, key client.ObjectKey) (*certificates_k8s_io_v1beta1.CertificateSigningRequest, error)

	// List retrieves list of CertificateSigningRequests for a given namespace and list options.
	ListCertificateSigningRequest(ctx context.Context, opts ...client.ListOption) (*certificates_k8s_io_v1beta1.CertificateSigningRequestList, error)
}

Reader knows how to read and list CertificateSigningRequests.

type CertificateSigningRequestSlice

type CertificateSigningRequestSlice []*CertificateSigningRequest

CertificateSigningRequestSlice represents a slice of *CertificateSigningRequest

type CertificateSigningRequestStatusWriter

type CertificateSigningRequestStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given CertificateSigningRequest object.
	UpdateCertificateSigningRequestStatus(ctx context.Context, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest, opts ...client.SubResourceUpdateOption) error

	// Patch patches the given CertificateSigningRequest object's subresource.
	PatchCertificateSigningRequestStatus(ctx context.Context, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest, patch client.Patch, opts ...client.SubResourcePatchOption) error
}

StatusWriter knows how to update status subresource of a CertificateSigningRequest object.

type CertificateSigningRequestTransitionFunction

type CertificateSigningRequestTransitionFunction func(existing, desired *certificates_k8s_io_v1beta1.CertificateSigningRequest) error

CertificateSigningRequestTransitionFunction instructs the CertificateSigningRequestWriter how to transition between an existing CertificateSigningRequest object and a desired on an Upsert

type CertificateSigningRequestWriter

type CertificateSigningRequestWriter interface {
	// Create saves the CertificateSigningRequest object.
	CreateCertificateSigningRequest(ctx context.Context, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest, opts ...client.CreateOption) error

	// Delete deletes the CertificateSigningRequest object.
	DeleteCertificateSigningRequest(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error

	// Update updates the given CertificateSigningRequest object.
	UpdateCertificateSigningRequest(ctx context.Context, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest, opts ...client.UpdateOption) error

	// Patch patches the given CertificateSigningRequest object.
	PatchCertificateSigningRequest(ctx context.Context, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest, patch client.Patch, opts ...client.PatchOption) error

	// DeleteAllOf deletes all CertificateSigningRequest objects matching the given options.
	DeleteAllOfCertificateSigningRequest(ctx context.Context, opts ...client.DeleteAllOfOption) error

	// Create or Update the CertificateSigningRequest object.
	UpsertCertificateSigningRequest(ctx context.Context, obj *certificates_k8s_io_v1beta1.CertificateSigningRequest, transitionFuncs ...CertificateSigningRequestTransitionFunction) error
}

Writer knows how to create, delete, and update CertificateSigningRequests.

type Clientset

type Clientset interface {
	// clienset for the certificates.k8s.io/v1beta1/v1beta1 APIs
	CertificateSigningRequests() CertificateSigningRequestClient
}

clienset for the certificates.k8s.io/v1beta1 APIs

func NewClientset

func NewClientset(client client.Client) Clientset

func NewClientsetFromConfig

func NewClientsetFromConfig(cfg *rest.Config) (Clientset, error)

type MulticlusterCertificateSigningRequestClient

type MulticlusterCertificateSigningRequestClient interface {
	// Cluster returns a CertificateSigningRequestClient for the given cluster
	Cluster(cluster string) (CertificateSigningRequestClient, error)
}

Provides CertificateSigningRequestClients for multiple clusters.

type MulticlusterClientset

type MulticlusterClientset interface {
	// Cluster returns a Clientset for the given cluster
	Cluster(cluster string) (Clientset, error)
}

MulticlusterClientset for the certificates.k8s.io/v1beta1 APIs

func NewMulticlusterClientset

func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset

Directories

Path Synopsis
Definitions for the Kubernetes Controllers
Definitions for the Kubernetes Controllers
mocks
Package mock_controller is a generated GoMock package.
Package mock_controller is a generated GoMock package.
Package mock_v1beta1 is a generated GoMock package.
Package mock_v1beta1 is a generated GoMock package.
mocks
Package mock_v1beta1sets is a generated GoMock package.
Package mock_v1beta1sets is a generated GoMock package.

Jump to

Keyboard shortcuts

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