Documentation ¶
Overview ¶
Definitions for the Kubernetes types
Index ¶
- func NewDestinationRuleClient(client client.Client) *destinationRuleClient
- func NewEnvoyFilterClient(client client.Client) *envoyFilterClient
- func NewGatewayClient(client client.Client) *gatewayClient
- func NewServiceEntryClient(client client.Client) *serviceEntryClient
- func NewVirtualServiceClient(client client.Client) *virtualServiceClient
- type Clientset
- type DestinationRuleClient
- type DestinationRuleReader
- type DestinationRuleSlice
- type DestinationRuleStatusWriter
- type DestinationRuleTransitionFunction
- type DestinationRuleWriter
- type EnvoyFilterClient
- type EnvoyFilterReader
- type EnvoyFilterSlice
- type EnvoyFilterStatusWriter
- type EnvoyFilterTransitionFunction
- type EnvoyFilterWriter
- type GatewayClient
- type GatewayReader
- type GatewaySlice
- type GatewayStatusWriter
- type GatewayTransitionFunction
- type GatewayWriter
- type MulticlusterClientset
- type MulticlusterDestinationRuleClient
- type MulticlusterEnvoyFilterClient
- type MulticlusterGatewayClient
- type MulticlusterServiceEntryClient
- type MulticlusterVirtualServiceClient
- type ServiceEntryClient
- type ServiceEntryReader
- type ServiceEntrySlice
- type ServiceEntryStatusWriter
- type ServiceEntryTransitionFunction
- type ServiceEntryWriter
- type VirtualServiceClient
- type VirtualServiceReader
- type VirtualServiceSlice
- type VirtualServiceStatusWriter
- type VirtualServiceTransitionFunction
- type VirtualServiceWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEnvoyFilterClient ¶
func NewGatewayClient ¶
func NewServiceEntryClient ¶
func NewVirtualServiceClient ¶
Types ¶
type Clientset ¶
type Clientset interface { // clienset for the networking.istio.io/v1alpha3/v1alpha3 APIs DestinationRules() DestinationRuleClient // clienset for the networking.istio.io/v1alpha3/v1alpha3 APIs EnvoyFilters() EnvoyFilterClient // clienset for the networking.istio.io/v1alpha3/v1alpha3 APIs Gateways() GatewayClient // clienset for the networking.istio.io/v1alpha3/v1alpha3 APIs ServiceEntries() ServiceEntryClient // clienset for the networking.istio.io/v1alpha3/v1alpha3 APIs VirtualServices() VirtualServiceClient }
clienset for the networking.istio.io/v1alpha3 APIs
func NewClientset ¶
type DestinationRuleClient ¶
type DestinationRuleClient interface { DestinationRuleReader DestinationRuleWriter DestinationRuleStatusWriter }
Client knows how to perform CRUD operations on DestinationRules.
type DestinationRuleReader ¶
type DestinationRuleReader interface { // Get retrieves a DestinationRule for the given object key GetDestinationRule(ctx context.Context, key client.ObjectKey) (*networking_istio_io_v1alpha3.DestinationRule, error) // List retrieves list of DestinationRules for a given namespace and list options. ListDestinationRule(ctx context.Context, opts ...client.ListOption) (*networking_istio_io_v1alpha3.DestinationRuleList, error) }
Reader knows how to read and list DestinationRules.
type DestinationRuleSlice ¶
type DestinationRuleSlice []*DestinationRule
DestinationRuleSlice represents a slice of *DestinationRule
type DestinationRuleStatusWriter ¶
type DestinationRuleStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given DestinationRule object. UpdateDestinationRuleStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.DestinationRule, opts ...client.UpdateOption) error // Patch patches the given DestinationRule object's subresource. PatchDestinationRuleStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.DestinationRule, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a DestinationRule object.
type DestinationRuleTransitionFunction ¶
type DestinationRuleTransitionFunction func(existing, desired *networking_istio_io_v1alpha3.DestinationRule) error
DestinationRuleTransitionFunction instructs the DestinationRuleWriter how to transition between an existing DestinationRule object and a desired on an Upsert
type DestinationRuleWriter ¶
type DestinationRuleWriter interface { // Create saves the DestinationRule object. CreateDestinationRule(ctx context.Context, obj *networking_istio_io_v1alpha3.DestinationRule, opts ...client.CreateOption) error // Delete deletes the DestinationRule object. DeleteDestinationRule(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given DestinationRule object. UpdateDestinationRule(ctx context.Context, obj *networking_istio_io_v1alpha3.DestinationRule, opts ...client.UpdateOption) error // Patch patches the given DestinationRule object. PatchDestinationRule(ctx context.Context, obj *networking_istio_io_v1alpha3.DestinationRule, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all DestinationRule objects matching the given options. DeleteAllOfDestinationRule(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the DestinationRule object. UpsertDestinationRule(ctx context.Context, obj *networking_istio_io_v1alpha3.DestinationRule, transitionFuncs ...DestinationRuleTransitionFunction) error }
Writer knows how to create, delete, and update DestinationRules.
type EnvoyFilterClient ¶
type EnvoyFilterClient interface { EnvoyFilterReader EnvoyFilterWriter EnvoyFilterStatusWriter }
Client knows how to perform CRUD operations on EnvoyFilters.
type EnvoyFilterReader ¶
type EnvoyFilterReader interface { // Get retrieves a EnvoyFilter for the given object key GetEnvoyFilter(ctx context.Context, key client.ObjectKey) (*networking_istio_io_v1alpha3.EnvoyFilter, error) // List retrieves list of EnvoyFilters for a given namespace and list options. ListEnvoyFilter(ctx context.Context, opts ...client.ListOption) (*networking_istio_io_v1alpha3.EnvoyFilterList, error) }
Reader knows how to read and list EnvoyFilters.
type EnvoyFilterSlice ¶
type EnvoyFilterSlice []*EnvoyFilter
EnvoyFilterSlice represents a slice of *EnvoyFilter
type EnvoyFilterStatusWriter ¶
type EnvoyFilterStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given EnvoyFilter object. UpdateEnvoyFilterStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.EnvoyFilter, opts ...client.UpdateOption) error // Patch patches the given EnvoyFilter object's subresource. PatchEnvoyFilterStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.EnvoyFilter, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a EnvoyFilter object.
type EnvoyFilterTransitionFunction ¶
type EnvoyFilterTransitionFunction func(existing, desired *networking_istio_io_v1alpha3.EnvoyFilter) error
EnvoyFilterTransitionFunction instructs the EnvoyFilterWriter how to transition between an existing EnvoyFilter object and a desired on an Upsert
type EnvoyFilterWriter ¶
type EnvoyFilterWriter interface { // Create saves the EnvoyFilter object. CreateEnvoyFilter(ctx context.Context, obj *networking_istio_io_v1alpha3.EnvoyFilter, opts ...client.CreateOption) error // Delete deletes the EnvoyFilter object. DeleteEnvoyFilter(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given EnvoyFilter object. UpdateEnvoyFilter(ctx context.Context, obj *networking_istio_io_v1alpha3.EnvoyFilter, opts ...client.UpdateOption) error // Patch patches the given EnvoyFilter object. PatchEnvoyFilter(ctx context.Context, obj *networking_istio_io_v1alpha3.EnvoyFilter, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all EnvoyFilter objects matching the given options. DeleteAllOfEnvoyFilter(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the EnvoyFilter object. UpsertEnvoyFilter(ctx context.Context, obj *networking_istio_io_v1alpha3.EnvoyFilter, transitionFuncs ...EnvoyFilterTransitionFunction) error }
Writer knows how to create, delete, and update EnvoyFilters.
type GatewayClient ¶
type GatewayClient interface { GatewayReader GatewayWriter GatewayStatusWriter }
Client knows how to perform CRUD operations on Gateways.
type GatewayReader ¶
type GatewayReader interface { // Get retrieves a Gateway for the given object key GetGateway(ctx context.Context, key client.ObjectKey) (*networking_istio_io_v1alpha3.Gateway, error) // List retrieves list of Gateways for a given namespace and list options. ListGateway(ctx context.Context, opts ...client.ListOption) (*networking_istio_io_v1alpha3.GatewayList, error) }
Reader knows how to read and list Gateways.
type GatewayStatusWriter ¶
type GatewayStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given Gateway object. UpdateGatewayStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.Gateway, opts ...client.UpdateOption) error // Patch patches the given Gateway object's subresource. PatchGatewayStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.Gateway, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a Gateway object.
type GatewayTransitionFunction ¶
type GatewayTransitionFunction func(existing, desired *networking_istio_io_v1alpha3.Gateway) error
GatewayTransitionFunction instructs the GatewayWriter how to transition between an existing Gateway object and a desired on an Upsert
type GatewayWriter ¶
type GatewayWriter interface { // Create saves the Gateway object. CreateGateway(ctx context.Context, obj *networking_istio_io_v1alpha3.Gateway, opts ...client.CreateOption) error // Delete deletes the Gateway object. DeleteGateway(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given Gateway object. UpdateGateway(ctx context.Context, obj *networking_istio_io_v1alpha3.Gateway, opts ...client.UpdateOption) error // Patch patches the given Gateway object. PatchGateway(ctx context.Context, obj *networking_istio_io_v1alpha3.Gateway, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all Gateway objects matching the given options. DeleteAllOfGateway(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the Gateway object. UpsertGateway(ctx context.Context, obj *networking_istio_io_v1alpha3.Gateway, transitionFuncs ...GatewayTransitionFunction) error }
Writer knows how to create, delete, and update Gateways.
type MulticlusterClientset ¶
type MulticlusterClientset interface { // Cluster returns a Clientset for the given cluster Cluster(cluster string) (Clientset, error) }
MulticlusterClientset for the networking.istio.io/v1alpha3 APIs
func NewMulticlusterClientset ¶
func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset
type MulticlusterDestinationRuleClient ¶
type MulticlusterDestinationRuleClient interface { // Cluster returns a DestinationRuleClient for the given cluster Cluster(cluster string) (DestinationRuleClient, error) }
Provides DestinationRuleClients for multiple clusters.
func NewMulticlusterDestinationRuleClient ¶
func NewMulticlusterDestinationRuleClient(client multicluster.Client) MulticlusterDestinationRuleClient
type MulticlusterEnvoyFilterClient ¶
type MulticlusterEnvoyFilterClient interface { // Cluster returns a EnvoyFilterClient for the given cluster Cluster(cluster string) (EnvoyFilterClient, error) }
Provides EnvoyFilterClients for multiple clusters.
func NewMulticlusterEnvoyFilterClient ¶
func NewMulticlusterEnvoyFilterClient(client multicluster.Client) MulticlusterEnvoyFilterClient
type MulticlusterGatewayClient ¶
type MulticlusterGatewayClient interface { // Cluster returns a GatewayClient for the given cluster Cluster(cluster string) (GatewayClient, error) }
Provides GatewayClients for multiple clusters.
func NewMulticlusterGatewayClient ¶
func NewMulticlusterGatewayClient(client multicluster.Client) MulticlusterGatewayClient
type MulticlusterServiceEntryClient ¶
type MulticlusterServiceEntryClient interface { // Cluster returns a ServiceEntryClient for the given cluster Cluster(cluster string) (ServiceEntryClient, error) }
Provides ServiceEntryClients for multiple clusters.
func NewMulticlusterServiceEntryClient ¶
func NewMulticlusterServiceEntryClient(client multicluster.Client) MulticlusterServiceEntryClient
type MulticlusterVirtualServiceClient ¶
type MulticlusterVirtualServiceClient interface { // Cluster returns a VirtualServiceClient for the given cluster Cluster(cluster string) (VirtualServiceClient, error) }
Provides VirtualServiceClients for multiple clusters.
func NewMulticlusterVirtualServiceClient ¶
func NewMulticlusterVirtualServiceClient(client multicluster.Client) MulticlusterVirtualServiceClient
type ServiceEntryClient ¶
type ServiceEntryClient interface { ServiceEntryReader ServiceEntryWriter ServiceEntryStatusWriter }
Client knows how to perform CRUD operations on ServiceEntrys.
type ServiceEntryReader ¶
type ServiceEntryReader interface { // Get retrieves a ServiceEntry for the given object key GetServiceEntry(ctx context.Context, key client.ObjectKey) (*networking_istio_io_v1alpha3.ServiceEntry, error) // List retrieves list of ServiceEntrys for a given namespace and list options. ListServiceEntry(ctx context.Context, opts ...client.ListOption) (*networking_istio_io_v1alpha3.ServiceEntryList, error) }
Reader knows how to read and list ServiceEntrys.
type ServiceEntrySlice ¶
type ServiceEntrySlice []*ServiceEntry
ServiceEntrySlice represents a slice of *ServiceEntry
type ServiceEntryStatusWriter ¶
type ServiceEntryStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given ServiceEntry object. UpdateServiceEntryStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.ServiceEntry, opts ...client.UpdateOption) error // Patch patches the given ServiceEntry object's subresource. PatchServiceEntryStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.ServiceEntry, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a ServiceEntry object.
type ServiceEntryTransitionFunction ¶
type ServiceEntryTransitionFunction func(existing, desired *networking_istio_io_v1alpha3.ServiceEntry) error
ServiceEntryTransitionFunction instructs the ServiceEntryWriter how to transition between an existing ServiceEntry object and a desired on an Upsert
type ServiceEntryWriter ¶
type ServiceEntryWriter interface { // Create saves the ServiceEntry object. CreateServiceEntry(ctx context.Context, obj *networking_istio_io_v1alpha3.ServiceEntry, opts ...client.CreateOption) error // Delete deletes the ServiceEntry object. DeleteServiceEntry(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given ServiceEntry object. UpdateServiceEntry(ctx context.Context, obj *networking_istio_io_v1alpha3.ServiceEntry, opts ...client.UpdateOption) error // Patch patches the given ServiceEntry object. PatchServiceEntry(ctx context.Context, obj *networking_istio_io_v1alpha3.ServiceEntry, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all ServiceEntry objects matching the given options. DeleteAllOfServiceEntry(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the ServiceEntry object. UpsertServiceEntry(ctx context.Context, obj *networking_istio_io_v1alpha3.ServiceEntry, transitionFuncs ...ServiceEntryTransitionFunction) error }
Writer knows how to create, delete, and update ServiceEntrys.
type VirtualServiceClient ¶
type VirtualServiceClient interface { VirtualServiceReader VirtualServiceWriter VirtualServiceStatusWriter }
Client knows how to perform CRUD operations on VirtualServices.
type VirtualServiceReader ¶
type VirtualServiceReader interface { // Get retrieves a VirtualService for the given object key GetVirtualService(ctx context.Context, key client.ObjectKey) (*networking_istio_io_v1alpha3.VirtualService, error) // List retrieves list of VirtualServices for a given namespace and list options. ListVirtualService(ctx context.Context, opts ...client.ListOption) (*networking_istio_io_v1alpha3.VirtualServiceList, error) }
Reader knows how to read and list VirtualServices.
type VirtualServiceSlice ¶
type VirtualServiceSlice []*VirtualService
VirtualServiceSlice represents a slice of *VirtualService
type VirtualServiceStatusWriter ¶
type VirtualServiceStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given VirtualService object. UpdateVirtualServiceStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.VirtualService, opts ...client.UpdateOption) error // Patch patches the given VirtualService object's subresource. PatchVirtualServiceStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.VirtualService, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a VirtualService object.
type VirtualServiceTransitionFunction ¶
type VirtualServiceTransitionFunction func(existing, desired *networking_istio_io_v1alpha3.VirtualService) error
VirtualServiceTransitionFunction instructs the VirtualServiceWriter how to transition between an existing VirtualService object and a desired on an Upsert
type VirtualServiceWriter ¶
type VirtualServiceWriter interface { // Create saves the VirtualService object. CreateVirtualService(ctx context.Context, obj *networking_istio_io_v1alpha3.VirtualService, opts ...client.CreateOption) error // Delete deletes the VirtualService object. DeleteVirtualService(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given VirtualService object. UpdateVirtualService(ctx context.Context, obj *networking_istio_io_v1alpha3.VirtualService, opts ...client.UpdateOption) error // Patch patches the given VirtualService object. PatchVirtualService(ctx context.Context, obj *networking_istio_io_v1alpha3.VirtualService, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all VirtualService objects matching the given options. DeleteAllOfVirtualService(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the VirtualService object. UpsertVirtualService(ctx context.Context, obj *networking_istio_io_v1alpha3.VirtualService, transitionFuncs ...VirtualServiceTransitionFunction) error }
Writer knows how to create, delete, and update VirtualServices.
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_v1alpha3 is a generated GoMock package.
|
Package mock_v1alpha3 is a generated GoMock package. |
mocks
Package mock_v1alpha3sets is a generated GoMock package.
|
Package mock_v1alpha3sets is a generated GoMock package. |