Documentation ¶
Overview ¶
Definitions for the Kubernetes types
Index ¶
- func NewMutatingWebhookConfigurationClient(client client.Client) *mutatingWebhookConfigurationClient
- func NewValidatingWebhookConfigurationClient(client client.Client) *validatingWebhookConfigurationClient
- type Clientset
- type MulticlusterClientset
- type MulticlusterMutatingWebhookConfigurationClient
- type MulticlusterValidatingWebhookConfigurationClient
- type MutatingWebhookConfigurationClient
- type MutatingWebhookConfigurationReader
- type MutatingWebhookConfigurationSlice
- type MutatingWebhookConfigurationStatusWriter
- type MutatingWebhookConfigurationTransitionFunction
- type MutatingWebhookConfigurationWriter
- type ValidatingWebhookConfigurationClient
- type ValidatingWebhookConfigurationReader
- type ValidatingWebhookConfigurationSlice
- type ValidatingWebhookConfigurationStatusWriter
- type ValidatingWebhookConfigurationTransitionFunction
- type ValidatingWebhookConfigurationWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMutatingWebhookConfigurationClient ¶ added in v0.1.16
Types ¶
type Clientset ¶
type Clientset interface { // clienset for the admissionregistration.k8s.io/v1/v1 APIs ValidatingWebhookConfigurations() ValidatingWebhookConfigurationClient // clienset for the admissionregistration.k8s.io/v1/v1 APIs MutatingWebhookConfigurations() MutatingWebhookConfigurationClient }
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 MulticlusterMutatingWebhookConfigurationClient ¶ added in v0.1.16
type MulticlusterMutatingWebhookConfigurationClient interface { // Cluster returns a MutatingWebhookConfigurationClient for the given cluster Cluster(cluster string) (MutatingWebhookConfigurationClient, error) }
Provides MutatingWebhookConfigurationClients for multiple clusters.
func NewMulticlusterMutatingWebhookConfigurationClient ¶ added in v0.1.16
func NewMulticlusterMutatingWebhookConfigurationClient(client multicluster.Client) MulticlusterMutatingWebhookConfigurationClient
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 MutatingWebhookConfigurationClient ¶ added in v0.1.16
type MutatingWebhookConfigurationClient interface { MutatingWebhookConfigurationReader MutatingWebhookConfigurationWriter MutatingWebhookConfigurationStatusWriter }
Client knows how to perform CRUD operations on MutatingWebhookConfigurations.
type MutatingWebhookConfigurationReader ¶ added in v0.1.16
type MutatingWebhookConfigurationReader interface { // Get retrieves a MutatingWebhookConfiguration for the given object key GetMutatingWebhookConfiguration(ctx context.Context, key client.ObjectKey) (*admissionregistration_k8s_io_v1.MutatingWebhookConfiguration, error) // List retrieves list of MutatingWebhookConfigurations for a given namespace and list options. ListMutatingWebhookConfiguration(ctx context.Context, opts ...client.ListOption) (*admissionregistration_k8s_io_v1.MutatingWebhookConfigurationList, error) }
Reader knows how to read and list MutatingWebhookConfigurations.
type MutatingWebhookConfigurationSlice ¶ added in v0.1.16
type MutatingWebhookConfigurationSlice []*MutatingWebhookConfiguration
MutatingWebhookConfigurationSlice represents a slice of *MutatingWebhookConfiguration
type MutatingWebhookConfigurationStatusWriter ¶ added in v0.1.16
type MutatingWebhookConfigurationStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given MutatingWebhookConfiguration object. UpdateMutatingWebhookConfigurationStatus(ctx context.Context, obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration, opts ...client.UpdateOption) error // Patch patches the given MutatingWebhookConfiguration object's subresource. PatchMutatingWebhookConfigurationStatus(ctx context.Context, obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a MutatingWebhookConfiguration object.
type MutatingWebhookConfigurationTransitionFunction ¶ added in v0.1.16
type MutatingWebhookConfigurationTransitionFunction func(existing, desired *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration) error
MutatingWebhookConfigurationTransitionFunction instructs the MutatingWebhookConfigurationWriter how to transition between an existing MutatingWebhookConfiguration object and a desired on an Upsert
type MutatingWebhookConfigurationWriter ¶ added in v0.1.16
type MutatingWebhookConfigurationWriter interface { // Create saves the MutatingWebhookConfiguration object. CreateMutatingWebhookConfiguration(ctx context.Context, obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration, opts ...client.CreateOption) error // Delete deletes the MutatingWebhookConfiguration object. DeleteMutatingWebhookConfiguration(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given MutatingWebhookConfiguration object. UpdateMutatingWebhookConfiguration(ctx context.Context, obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration, opts ...client.UpdateOption) error // Patch patches the given MutatingWebhookConfiguration object. PatchMutatingWebhookConfiguration(ctx context.Context, obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all MutatingWebhookConfiguration objects matching the given options. DeleteAllOfMutatingWebhookConfiguration(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the MutatingWebhookConfiguration object. UpsertMutatingWebhookConfiguration(ctx context.Context, obj *admissionregistration_k8s_io_v1.MutatingWebhookConfiguration, transitionFuncs ...MutatingWebhookConfigurationTransitionFunction) error }
Writer knows how to create, delete, and update MutatingWebhookConfigurations.
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.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 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. |