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 NewSidecarClient(client client.Client) *sidecarClient
- func NewVirtualServiceClient(client client.Client) *virtualServiceClient
- func NewWorkloadEntryClient(client client.Client) *workloadEntryClient
- 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 MulticlusterSidecarClient
- type MulticlusterVirtualServiceClient
- type MulticlusterWorkloadEntryClient
- type ServiceEntryClient
- type ServiceEntryReader
- type ServiceEntrySlice
- type ServiceEntryStatusWriter
- type ServiceEntryTransitionFunction
- type ServiceEntryWriter
- type SidecarClient
- type SidecarReader
- type SidecarSlice
- type SidecarStatusWriter
- type SidecarTransitionFunction
- type SidecarWriter
- type VirtualServiceClient
- type VirtualServiceReader
- type VirtualServiceSlice
- type VirtualServiceStatusWriter
- type VirtualServiceTransitionFunction
- type VirtualServiceWriter
- type WorkloadEntryClient
- type WorkloadEntryReader
- type WorkloadEntrySlice
- type WorkloadEntryStatusWriter
- type WorkloadEntryTransitionFunction
- type WorkloadEntryWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEnvoyFilterClient ¶
func NewGatewayClient ¶
func NewServiceEntryClient ¶
func NewSidecarClient ¶ added in v0.1.5
func NewVirtualServiceClient ¶
func NewWorkloadEntryClient ¶ added in v0.1.10
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 WorkloadEntries() WorkloadEntryClient // clienset for the networking.istio.io/v1alpha3/v1alpha3 APIs VirtualServices() VirtualServiceClient // clienset for the networking.istio.io/v1alpha3/v1alpha3 APIs Sidecars() SidecarClient }
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 MulticlusterSidecarClient ¶ added in v0.1.5
type MulticlusterSidecarClient interface { // Cluster returns a SidecarClient for the given cluster Cluster(cluster string) (SidecarClient, error) }
Provides SidecarClients for multiple clusters.
func NewMulticlusterSidecarClient ¶ added in v0.1.5
func NewMulticlusterSidecarClient(client multicluster.Client) MulticlusterSidecarClient
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 MulticlusterWorkloadEntryClient ¶ added in v0.1.10
type MulticlusterWorkloadEntryClient interface { // Cluster returns a WorkloadEntryClient for the given cluster Cluster(cluster string) (WorkloadEntryClient, error) }
Provides WorkloadEntryClients for multiple clusters.
func NewMulticlusterWorkloadEntryClient ¶ added in v0.1.10
func NewMulticlusterWorkloadEntryClient(client multicluster.Client) MulticlusterWorkloadEntryClient
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 SidecarClient ¶ added in v0.1.5
type SidecarClient interface { SidecarReader SidecarWriter SidecarStatusWriter }
Client knows how to perform CRUD operations on Sidecars.
type SidecarReader ¶ added in v0.1.5
type SidecarReader interface { // Get retrieves a Sidecar for the given object key GetSidecar(ctx context.Context, key client.ObjectKey) (*networking_istio_io_v1alpha3.Sidecar, error) // List retrieves list of Sidecars for a given namespace and list options. ListSidecar(ctx context.Context, opts ...client.ListOption) (*networking_istio_io_v1alpha3.SidecarList, error) }
Reader knows how to read and list Sidecars.
type SidecarSlice ¶ added in v0.1.5
type SidecarSlice []*Sidecar
SidecarSlice represents a slice of *Sidecar
type SidecarStatusWriter ¶ added in v0.1.5
type SidecarStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given Sidecar object. UpdateSidecarStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.Sidecar, opts ...client.UpdateOption) error // Patch patches the given Sidecar object's subresource. PatchSidecarStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.Sidecar, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a Sidecar object.
type SidecarTransitionFunction ¶ added in v0.1.5
type SidecarTransitionFunction func(existing, desired *networking_istio_io_v1alpha3.Sidecar) error
SidecarTransitionFunction instructs the SidecarWriter how to transition between an existing Sidecar object and a desired on an Upsert
type SidecarWriter ¶ added in v0.1.5
type SidecarWriter interface { // Create saves the Sidecar object. CreateSidecar(ctx context.Context, obj *networking_istio_io_v1alpha3.Sidecar, opts ...client.CreateOption) error // Delete deletes the Sidecar object. DeleteSidecar(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given Sidecar object. UpdateSidecar(ctx context.Context, obj *networking_istio_io_v1alpha3.Sidecar, opts ...client.UpdateOption) error // Patch patches the given Sidecar object. PatchSidecar(ctx context.Context, obj *networking_istio_io_v1alpha3.Sidecar, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all Sidecar objects matching the given options. DeleteAllOfSidecar(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the Sidecar object. UpsertSidecar(ctx context.Context, obj *networking_istio_io_v1alpha3.Sidecar, transitionFuncs ...SidecarTransitionFunction) error }
Writer knows how to create, delete, and update Sidecars.
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.
type WorkloadEntryClient ¶ added in v0.1.10
type WorkloadEntryClient interface { WorkloadEntryReader WorkloadEntryWriter WorkloadEntryStatusWriter }
Client knows how to perform CRUD operations on WorkloadEntrys.
type WorkloadEntryReader ¶ added in v0.1.10
type WorkloadEntryReader interface { // Get retrieves a WorkloadEntry for the given object key GetWorkloadEntry(ctx context.Context, key client.ObjectKey) (*networking_istio_io_v1alpha3.WorkloadEntry, error) // List retrieves list of WorkloadEntrys for a given namespace and list options. ListWorkloadEntry(ctx context.Context, opts ...client.ListOption) (*networking_istio_io_v1alpha3.WorkloadEntryList, error) }
Reader knows how to read and list WorkloadEntrys.
type WorkloadEntrySlice ¶ added in v0.1.10
type WorkloadEntrySlice []*WorkloadEntry
WorkloadEntrySlice represents a slice of *WorkloadEntry
type WorkloadEntryStatusWriter ¶ added in v0.1.10
type WorkloadEntryStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given WorkloadEntry object. UpdateWorkloadEntryStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.WorkloadEntry, opts ...client.UpdateOption) error // Patch patches the given WorkloadEntry object's subresource. PatchWorkloadEntryStatus(ctx context.Context, obj *networking_istio_io_v1alpha3.WorkloadEntry, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a WorkloadEntry object.
type WorkloadEntryTransitionFunction ¶ added in v0.1.10
type WorkloadEntryTransitionFunction func(existing, desired *networking_istio_io_v1alpha3.WorkloadEntry) error
WorkloadEntryTransitionFunction instructs the WorkloadEntryWriter how to transition between an existing WorkloadEntry object and a desired on an Upsert
type WorkloadEntryWriter ¶ added in v0.1.10
type WorkloadEntryWriter interface { // Create saves the WorkloadEntry object. CreateWorkloadEntry(ctx context.Context, obj *networking_istio_io_v1alpha3.WorkloadEntry, opts ...client.CreateOption) error // Delete deletes the WorkloadEntry object. DeleteWorkloadEntry(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given WorkloadEntry object. UpdateWorkloadEntry(ctx context.Context, obj *networking_istio_io_v1alpha3.WorkloadEntry, opts ...client.UpdateOption) error // Patch patches the given WorkloadEntry object. PatchWorkloadEntry(ctx context.Context, obj *networking_istio_io_v1alpha3.WorkloadEntry, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all WorkloadEntry objects matching the given options. DeleteAllOfWorkloadEntry(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the WorkloadEntry object. UpsertWorkloadEntry(ctx context.Context, obj *networking_istio_io_v1alpha3.WorkloadEntry, transitionFuncs ...WorkloadEntryTransitionFunction) error }
Writer knows how to create, delete, and update WorkloadEntrys.
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. |