Documentation ¶
Overview ¶
Definitions for the Kubernetes types
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTelemetryClient ¶
Types ¶
type Clientset ¶
type Clientset interface { // clienset for the telemetry.istio.io/v1alpha1/v1alpha1 APIs Telemetries() TelemetryClient }
clienset for the telemetry.istio.io/v1alpha1 APIs
func NewClientset ¶
type MulticlusterClientset ¶
type MulticlusterClientset interface { // Cluster returns a Clientset for the given cluster Cluster(cluster string) (Clientset, error) }
MulticlusterClientset for the telemetry.istio.io/v1alpha1 APIs
func NewMulticlusterClientset ¶
func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset
type MulticlusterTelemetryClient ¶
type MulticlusterTelemetryClient interface { // Cluster returns a TelemetryClient for the given cluster Cluster(cluster string) (TelemetryClient, error) }
Provides TelemetryClients for multiple clusters.
func NewMulticlusterTelemetryClient ¶
func NewMulticlusterTelemetryClient(client multicluster.Client) MulticlusterTelemetryClient
type TelemetryClient ¶
type TelemetryClient interface { TelemetryReader TelemetryWriter TelemetryStatusWriter }
Client knows how to perform CRUD operations on Telemetrys.
type TelemetryReader ¶
type TelemetryReader interface { // Get retrieves a Telemetry for the given object key GetTelemetry(ctx context.Context, key client.ObjectKey) (*telemetry_istio_io_v1alpha1.Telemetry, error) // List retrieves list of Telemetrys for a given namespace and list options. ListTelemetry(ctx context.Context, opts ...client.ListOption) (*telemetry_istio_io_v1alpha1.TelemetryList, error) }
Reader knows how to read and list Telemetrys.
type TelemetrySlice ¶
type TelemetrySlice []*Telemetry
TelemetrySlice represents a slice of *Telemetry
type TelemetryStatusWriter ¶
type TelemetryStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given Telemetry object. UpdateTelemetryStatus(ctx context.Context, obj *telemetry_istio_io_v1alpha1.Telemetry, opts ...client.SubResourceUpdateOption) error // Patch patches the given Telemetry object's subresource. PatchTelemetryStatus(ctx context.Context, obj *telemetry_istio_io_v1alpha1.Telemetry, patch client.Patch, opts ...client.SubResourcePatchOption) error }
StatusWriter knows how to update status subresource of a Telemetry object.
type TelemetryTransitionFunction ¶
type TelemetryTransitionFunction func(existing, desired *telemetry_istio_io_v1alpha1.Telemetry) error
TelemetryTransitionFunction instructs the TelemetryWriter how to transition between an existing Telemetry object and a desired on an Upsert
type TelemetryWriter ¶
type TelemetryWriter interface { // Create saves the Telemetry object. CreateTelemetry(ctx context.Context, obj *telemetry_istio_io_v1alpha1.Telemetry, opts ...client.CreateOption) error // Delete deletes the Telemetry object. DeleteTelemetry(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given Telemetry object. UpdateTelemetry(ctx context.Context, obj *telemetry_istio_io_v1alpha1.Telemetry, opts ...client.UpdateOption) error // Patch patches the given Telemetry object. PatchTelemetry(ctx context.Context, obj *telemetry_istio_io_v1alpha1.Telemetry, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all Telemetry objects matching the given options. DeleteAllOfTelemetry(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the Telemetry object. UpsertTelemetry(ctx context.Context, obj *telemetry_istio_io_v1alpha1.Telemetry, transitionFuncs ...TelemetryTransitionFunction) error }
Writer knows how to create, delete, and update Telemetrys.
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. |
Click to show internal directories.
Click to hide internal directories.