Documentation ¶
Overview ¶
Definitions for the Kubernetes types
Index ¶
- func NewValidatingWebhookConfigurationClient(client client.Client) *validatingWebhookConfigurationClient
- type Clientset
- type MulticlusterClientset
- type MulticlusterValidatingWebhookConfigurationClient
- type ValidatingWebhookConfigurationClient
- type ValidatingWebhookConfigurationReader
- type ValidatingWebhookConfigurationSlice
- type ValidatingWebhookConfigurationStatusWriter
- type ValidatingWebhookConfigurationTransitionFunction
- type ValidatingWebhookConfigurationWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
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.
func NewMulticlusterValidatingWebhookConfigurationClient ¶
func NewMulticlusterValidatingWebhookConfigurationClient(client multicluster.Client) MulticlusterValidatingWebhookConfigurationClient
type ValidatingWebhookConfigurationClient ¶
type ValidatingWebhookConfigurationClient interface { ValidatingWebhookConfigurationReader ValidatingWebhookConfigurationWriter ValidatingWebhookConfigurationStatusWriter }
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.SubResourceUpdateOption) error // Patch patches the given ValidatingWebhookConfiguration object's subresource. PatchValidatingWebhookConfigurationStatus(ctx context.Context, obj *admissionregistration_k8s_io_v1.ValidatingWebhookConfiguration, patch client.Patch, opts ...client.SubResourcePatchOption) 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 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. |