Documentation ¶
Overview ¶
Definitions for the Kubernetes types
Index ¶
- func NewIstioOperatorClient(client client.Client) *istioOperatorClient
- type Clientset
- type IstioOperatorClient
- type IstioOperatorReader
- type IstioOperatorSlice
- type IstioOperatorStatusWriter
- type IstioOperatorTransitionFunction
- type IstioOperatorWriter
- type MulticlusterClientset
- type MulticlusterIstioOperatorClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIstioOperatorClient ¶
Types ¶
type Clientset ¶
type Clientset interface { // clienset for the install.istio.io/v1alpha1/v1alpha1 APIs IstioOperators() IstioOperatorClient }
clienset for the install.istio.io/v1alpha1 APIs
func NewClientset ¶
type IstioOperatorClient ¶
type IstioOperatorClient interface { IstioOperatorReader IstioOperatorWriter IstioOperatorStatusWriter }
Client knows how to perform CRUD operations on IstioOperators.
type IstioOperatorReader ¶
type IstioOperatorReader interface { // Get retrieves a IstioOperator for the given object key GetIstioOperator(ctx context.Context, key client.ObjectKey) (*install_istio_io_v1alpha1.IstioOperator, error) // List retrieves list of IstioOperators for a given namespace and list options. ListIstioOperator(ctx context.Context, opts ...client.ListOption) (*install_istio_io_v1alpha1.IstioOperatorList, error) }
Reader knows how to read and list IstioOperators.
type IstioOperatorSlice ¶
type IstioOperatorSlice []*IstioOperator
IstioOperatorSlice represents a slice of *IstioOperator
type IstioOperatorStatusWriter ¶
type IstioOperatorStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given IstioOperator object. UpdateIstioOperatorStatus(ctx context.Context, obj *install_istio_io_v1alpha1.IstioOperator, opts ...client.UpdateOption) error // Patch patches the given IstioOperator object's subresource. PatchIstioOperatorStatus(ctx context.Context, obj *install_istio_io_v1alpha1.IstioOperator, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a IstioOperator object.
type IstioOperatorTransitionFunction ¶
type IstioOperatorTransitionFunction func(existing, desired *install_istio_io_v1alpha1.IstioOperator) error
IstioOperatorTransitionFunction instructs the IstioOperatorWriter how to transition between an existing IstioOperator object and a desired on an Upsert
type IstioOperatorWriter ¶
type IstioOperatorWriter interface { // Create saves the IstioOperator object. CreateIstioOperator(ctx context.Context, obj *install_istio_io_v1alpha1.IstioOperator, opts ...client.CreateOption) error // Delete deletes the IstioOperator object. DeleteIstioOperator(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given IstioOperator object. UpdateIstioOperator(ctx context.Context, obj *install_istio_io_v1alpha1.IstioOperator, opts ...client.UpdateOption) error // Patch patches the given IstioOperator object. PatchIstioOperator(ctx context.Context, obj *install_istio_io_v1alpha1.IstioOperator, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all IstioOperator objects matching the given options. DeleteAllOfIstioOperator(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the IstioOperator object. UpsertIstioOperator(ctx context.Context, obj *install_istio_io_v1alpha1.IstioOperator, transitionFuncs ...IstioOperatorTransitionFunction) error }
Writer knows how to create, delete, and update IstioOperators.
type MulticlusterClientset ¶
type MulticlusterClientset interface { // Cluster returns a Clientset for the given cluster Cluster(cluster string) (Clientset, error) }
MulticlusterClientset for the install.istio.io/v1alpha1 APIs
func NewMulticlusterClientset ¶
func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset
type MulticlusterIstioOperatorClient ¶
type MulticlusterIstioOperatorClient interface { // Cluster returns a IstioOperatorClient for the given cluster Cluster(cluster string) (IstioOperatorClient, error) }
Provides IstioOperatorClients for multiple clusters.
func NewMulticlusterIstioOperatorClient ¶
func NewMulticlusterIstioOperatorClient(client multicluster.Client) MulticlusterIstioOperatorClient
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_v1alpha1 is a generated GoMock package.
|
Package mock_v1alpha1 is a generated GoMock package. |
mocks
Package mock_v1alpha1sets is a generated GoMock package.
|
Package mock_v1alpha1sets is a generated GoMock package. |