v1

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 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 NewValidatingWebhookConfigurationClient

func NewValidatingWebhookConfigurationClient(client client.Client) *validatingWebhookConfigurationClient

Types

type Clientset

type Clientset interface {
	// clienset for the admissionregistration.k8s.io/v1/v1 APIs
	ValidatingWebhookConfigurations() ValidatingWebhookConfigurationClient
}

clienset for the admissionregistration.k8s.io/v1 APIs

func NewClientset

func NewClientset(client client.Client) Clientset

func NewClientsetFromConfig

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

type MulticlusterClientset

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

MulticlusterClientset for the admissionregistration.k8s.io/v1 APIs

func NewMulticlusterClientset

func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset

type MulticlusterValidatingWebhookConfigurationClient

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

Provides ValidatingWebhookConfigurationClients for multiple clusters.

type ValidatingWebhookConfigurationClient

Client knows how to perform CRUD operations on ValidatingWebhookConfigurations.

type ValidatingWebhookConfigurationReader

type ValidatingWebhookConfigurationReader interface {
	// Get retrieves a ValidatingWebhookConfiguration for the given object key
	GetValidatingWebhookConfiguration(ctx context.Context, key client.ObjectKey) (*admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration, error)

	// List retrieves list of ValidatingWebhookConfigurations for a given namespace and list options.
	ListValidatingWebhookConfiguration(ctx context.Context, opts ...client.ListOption) (*admissionregistration_k8s_io_v1.ValidatingWebhookConfigurationList, error)
}

Reader knows how to read and list ValidatingWebhookConfigurations.

type ValidatingWebhookConfigurationSlice

type ValidatingWebhookConfigurationSlice []*ValidatingWebhookConfiguration

ValidatingWebhookConfigurationSlice represents a slice of *ValidatingWebhookConfiguration

type ValidatingWebhookConfigurationStatusWriter

type ValidatingWebhookConfigurationStatusWriter interface {
	// Update updates the fields corresponding to the status subresource for the
	// given ValidatingWebhookConfiguration object.
	UpdateValidatingWebhookConfigurationStatus(ctx context.Context, obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration, opts ...client.UpdateOption) error

	// Patch patches the given ValidatingWebhookConfiguration object's subresource.
	PatchValidatingWebhookConfigurationStatus(ctx context.Context, obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration, patch client.Patch, opts ...client.PatchOption) error
}

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

type ValidatingWebhookConfigurationTransitionFunction

type ValidatingWebhookConfigurationTransitionFunction func(existing, desired *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration) error

ValidatingWebhookConfigurationTransitionFunction instructs the ValidatingWebhookConfigurationWriter how to transition between an existing ValidatingWebhookConfiguration object and a desired on an Upsert

type ValidatingWebhookConfigurationWriter

type ValidatingWebhookConfigurationWriter interface {
	// Create saves the ValidatingWebhookConfiguration object.
	CreateValidatingWebhookConfiguration(ctx context.Context, obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration, opts ...client.CreateOption) error

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

	// Update updates the given ValidatingWebhookConfiguration object.
	UpdateValidatingWebhookConfiguration(ctx context.Context, obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration, opts ...client.UpdateOption) error

	// Patch patches the given ValidatingWebhookConfiguration object.
	PatchValidatingWebhookConfiguration(ctx context.Context, obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration, patch client.Patch, opts ...client.PatchOption) error

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

	// Create or Update the ValidatingWebhookConfiguration object.
	UpsertValidatingWebhookConfiguration(ctx context.Context, obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration, transitionFuncs ...ValidatingWebhookConfigurationTransitionFunction) error
}

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

Directories

Path Synopsis
Definitions for the Kubernetes Controllers Definitions for the multicluster Kubernetes Controllers Definitions for the Kubernetes Controllers
Definitions for the Kubernetes Controllers Definitions for the multicluster 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_v1 is a generated GoMock package.
Package mock_v1 is a generated GoMock package.
mocks
Package mock_v1sets is a generated GoMock package.
Package mock_v1sets is a generated GoMock package.

Jump to

Keyboard shortcuts

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