Documentation ¶
Overview ¶
Definitions for the Kubernetes types
Index ¶
- func NewGatewayRouteClient(client client.Client) *gatewayRouteClient
- func NewMeshClient(client client.Client) *meshClient
- func NewVirtualGatewayClient(client client.Client) *virtualGatewayClient
- func NewVirtualNodeClient(client client.Client) *virtualNodeClient
- func NewVirtualRouterClient(client client.Client) *virtualRouterClient
- func NewVirtualServiceClient(client client.Client) *virtualServiceClient
- type Clientset
- type GatewayRouteClient
- type GatewayRouteReader
- type GatewayRouteSlice
- type GatewayRouteStatusWriter
- type GatewayRouteTransitionFunction
- type GatewayRouteWriter
- type MeshClient
- type MeshReader
- type MeshSlice
- type MeshStatusWriter
- type MeshTransitionFunction
- type MeshWriter
- type MulticlusterClientset
- type MulticlusterGatewayRouteClient
- type MulticlusterMeshClient
- type MulticlusterVirtualGatewayClient
- type MulticlusterVirtualNodeClient
- type MulticlusterVirtualRouterClient
- type MulticlusterVirtualServiceClient
- type VirtualGatewayClient
- type VirtualGatewayReader
- type VirtualGatewaySlice
- type VirtualGatewayStatusWriter
- type VirtualGatewayTransitionFunction
- type VirtualGatewayWriter
- type VirtualNodeClient
- type VirtualNodeReader
- type VirtualNodeSlice
- type VirtualNodeStatusWriter
- type VirtualNodeTransitionFunction
- type VirtualNodeWriter
- type VirtualRouterClient
- type VirtualRouterReader
- type VirtualRouterSlice
- type VirtualRouterStatusWriter
- type VirtualRouterTransitionFunction
- type VirtualRouterWriter
- type VirtualServiceClient
- type VirtualServiceReader
- type VirtualServiceSlice
- type VirtualServiceStatusWriter
- type VirtualServiceTransitionFunction
- type VirtualServiceWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatewayRouteClient ¶
func NewMeshClient ¶
func NewVirtualGatewayClient ¶
func NewVirtualNodeClient ¶
func NewVirtualRouterClient ¶
func NewVirtualServiceClient ¶
Types ¶
type Clientset ¶
type Clientset interface { // clienset for the appmesh.k8s.aws/v1beta2/v1beta2 APIs Meshes() MeshClient // clienset for the appmesh.k8s.aws/v1beta2/v1beta2 APIs VirtualServices() VirtualServiceClient // clienset for the appmesh.k8s.aws/v1beta2/v1beta2 APIs VirtualNodes() VirtualNodeClient // clienset for the appmesh.k8s.aws/v1beta2/v1beta2 APIs VirtualRouters() VirtualRouterClient // clienset for the appmesh.k8s.aws/v1beta2/v1beta2 APIs VirtualGateways() VirtualGatewayClient // clienset for the appmesh.k8s.aws/v1beta2/v1beta2 APIs GatewayRoutes() GatewayRouteClient }
clienset for the appmesh.k8s.aws/v1beta2 APIs
func NewClientset ¶
type GatewayRouteClient ¶
type GatewayRouteClient interface { GatewayRouteReader GatewayRouteWriter GatewayRouteStatusWriter }
Client knows how to perform CRUD operations on GatewayRoutes.
type GatewayRouteReader ¶
type GatewayRouteReader interface { // Get retrieves a GatewayRoute for the given object key GetGatewayRoute(ctx context.Context, key client.ObjectKey) (*appmesh_k8s_aws_v1beta2.GatewayRoute, error) // List retrieves list of GatewayRoutes for a given namespace and list options. ListGatewayRoute(ctx context.Context, opts ...client.ListOption) (*appmesh_k8s_aws_v1beta2.GatewayRouteList, error) }
Reader knows how to read and list GatewayRoutes.
type GatewayRouteSlice ¶
type GatewayRouteSlice []*GatewayRoute
GatewayRouteSlice represents a slice of *GatewayRoute
type GatewayRouteStatusWriter ¶
type GatewayRouteStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given GatewayRoute object. UpdateGatewayRouteStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.GatewayRoute, opts ...client.UpdateOption) error // Patch patches the given GatewayRoute object's subresource. PatchGatewayRouteStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.GatewayRoute, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a GatewayRoute object.
type GatewayRouteTransitionFunction ¶
type GatewayRouteTransitionFunction func(existing, desired *appmesh_k8s_aws_v1beta2.GatewayRoute) error
GatewayRouteTransitionFunction instructs the GatewayRouteWriter how to transition between an existing GatewayRoute object and a desired on an Upsert
type GatewayRouteWriter ¶
type GatewayRouteWriter interface { // Create saves the GatewayRoute object. CreateGatewayRoute(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.GatewayRoute, opts ...client.CreateOption) error // Delete deletes the GatewayRoute object. DeleteGatewayRoute(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given GatewayRoute object. UpdateGatewayRoute(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.GatewayRoute, opts ...client.UpdateOption) error // Patch patches the given GatewayRoute object. PatchGatewayRoute(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.GatewayRoute, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all GatewayRoute objects matching the given options. DeleteAllOfGatewayRoute(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the GatewayRoute object. UpsertGatewayRoute(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.GatewayRoute, transitionFuncs ...GatewayRouteTransitionFunction) error }
Writer knows how to create, delete, and update GatewayRoutes.
type MeshClient ¶
type MeshClient interface { MeshReader MeshWriter MeshStatusWriter }
Client knows how to perform CRUD operations on Meshs.
type MeshReader ¶
type MeshReader interface { // Get retrieves a Mesh for the given object key GetMesh(ctx context.Context, key client.ObjectKey) (*appmesh_k8s_aws_v1beta2.Mesh, error) // List retrieves list of Meshs for a given namespace and list options. ListMesh(ctx context.Context, opts ...client.ListOption) (*appmesh_k8s_aws_v1beta2.MeshList, error) }
Reader knows how to read and list Meshs.
type MeshStatusWriter ¶
type MeshStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given Mesh object. UpdateMeshStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.Mesh, opts ...client.UpdateOption) error // Patch patches the given Mesh object's subresource. PatchMeshStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.Mesh, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a Mesh object.
type MeshTransitionFunction ¶
type MeshTransitionFunction func(existing, desired *appmesh_k8s_aws_v1beta2.Mesh) error
MeshTransitionFunction instructs the MeshWriter how to transition between an existing Mesh object and a desired on an Upsert
type MeshWriter ¶
type MeshWriter interface { // Create saves the Mesh object. CreateMesh(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.Mesh, opts ...client.CreateOption) error // Delete deletes the Mesh object. DeleteMesh(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given Mesh object. UpdateMesh(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.Mesh, opts ...client.UpdateOption) error // Patch patches the given Mesh object. PatchMesh(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.Mesh, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all Mesh objects matching the given options. DeleteAllOfMesh(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the Mesh object. UpsertMesh(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.Mesh, transitionFuncs ...MeshTransitionFunction) error }
Writer knows how to create, delete, and update Meshs.
type MulticlusterClientset ¶
type MulticlusterClientset interface { // Cluster returns a Clientset for the given cluster Cluster(cluster string) (Clientset, error) }
MulticlusterClientset for the appmesh.k8s.aws/v1beta2 APIs
func NewMulticlusterClientset ¶
func NewMulticlusterClientset(client multicluster.Client) MulticlusterClientset
type MulticlusterGatewayRouteClient ¶
type MulticlusterGatewayRouteClient interface { // Cluster returns a GatewayRouteClient for the given cluster Cluster(cluster string) (GatewayRouteClient, error) }
Provides GatewayRouteClients for multiple clusters.
func NewMulticlusterGatewayRouteClient ¶
func NewMulticlusterGatewayRouteClient(client multicluster.Client) MulticlusterGatewayRouteClient
type MulticlusterMeshClient ¶
type MulticlusterMeshClient interface { // Cluster returns a MeshClient for the given cluster Cluster(cluster string) (MeshClient, error) }
Provides MeshClients for multiple clusters.
func NewMulticlusterMeshClient ¶
func NewMulticlusterMeshClient(client multicluster.Client) MulticlusterMeshClient
type MulticlusterVirtualGatewayClient ¶
type MulticlusterVirtualGatewayClient interface { // Cluster returns a VirtualGatewayClient for the given cluster Cluster(cluster string) (VirtualGatewayClient, error) }
Provides VirtualGatewayClients for multiple clusters.
func NewMulticlusterVirtualGatewayClient ¶
func NewMulticlusterVirtualGatewayClient(client multicluster.Client) MulticlusterVirtualGatewayClient
type MulticlusterVirtualNodeClient ¶
type MulticlusterVirtualNodeClient interface { // Cluster returns a VirtualNodeClient for the given cluster Cluster(cluster string) (VirtualNodeClient, error) }
Provides VirtualNodeClients for multiple clusters.
func NewMulticlusterVirtualNodeClient ¶
func NewMulticlusterVirtualNodeClient(client multicluster.Client) MulticlusterVirtualNodeClient
type MulticlusterVirtualRouterClient ¶
type MulticlusterVirtualRouterClient interface { // Cluster returns a VirtualRouterClient for the given cluster Cluster(cluster string) (VirtualRouterClient, error) }
Provides VirtualRouterClients for multiple clusters.
func NewMulticlusterVirtualRouterClient ¶
func NewMulticlusterVirtualRouterClient(client multicluster.Client) MulticlusterVirtualRouterClient
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 VirtualGatewayClient ¶
type VirtualGatewayClient interface { VirtualGatewayReader VirtualGatewayWriter VirtualGatewayStatusWriter }
Client knows how to perform CRUD operations on VirtualGateways.
type VirtualGatewayReader ¶
type VirtualGatewayReader interface { // Get retrieves a VirtualGateway for the given object key GetVirtualGateway(ctx context.Context, key client.ObjectKey) (*appmesh_k8s_aws_v1beta2.VirtualGateway, error) // List retrieves list of VirtualGateways for a given namespace and list options. ListVirtualGateway(ctx context.Context, opts ...client.ListOption) (*appmesh_k8s_aws_v1beta2.VirtualGatewayList, error) }
Reader knows how to read and list VirtualGateways.
type VirtualGatewaySlice ¶
type VirtualGatewaySlice []*VirtualGateway
VirtualGatewaySlice represents a slice of *VirtualGateway
type VirtualGatewayStatusWriter ¶
type VirtualGatewayStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given VirtualGateway object. UpdateVirtualGatewayStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualGateway, opts ...client.UpdateOption) error // Patch patches the given VirtualGateway object's subresource. PatchVirtualGatewayStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualGateway, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a VirtualGateway object.
type VirtualGatewayTransitionFunction ¶
type VirtualGatewayTransitionFunction func(existing, desired *appmesh_k8s_aws_v1beta2.VirtualGateway) error
VirtualGatewayTransitionFunction instructs the VirtualGatewayWriter how to transition between an existing VirtualGateway object and a desired on an Upsert
type VirtualGatewayWriter ¶
type VirtualGatewayWriter interface { // Create saves the VirtualGateway object. CreateVirtualGateway(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualGateway, opts ...client.CreateOption) error // Delete deletes the VirtualGateway object. DeleteVirtualGateway(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given VirtualGateway object. UpdateVirtualGateway(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualGateway, opts ...client.UpdateOption) error // Patch patches the given VirtualGateway object. PatchVirtualGateway(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualGateway, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all VirtualGateway objects matching the given options. DeleteAllOfVirtualGateway(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the VirtualGateway object. UpsertVirtualGateway(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualGateway, transitionFuncs ...VirtualGatewayTransitionFunction) error }
Writer knows how to create, delete, and update VirtualGateways.
type VirtualNodeClient ¶
type VirtualNodeClient interface { VirtualNodeReader VirtualNodeWriter VirtualNodeStatusWriter }
Client knows how to perform CRUD operations on VirtualNodes.
type VirtualNodeReader ¶
type VirtualNodeReader interface { // Get retrieves a VirtualNode for the given object key GetVirtualNode(ctx context.Context, key client.ObjectKey) (*appmesh_k8s_aws_v1beta2.VirtualNode, error) // List retrieves list of VirtualNodes for a given namespace and list options. ListVirtualNode(ctx context.Context, opts ...client.ListOption) (*appmesh_k8s_aws_v1beta2.VirtualNodeList, error) }
Reader knows how to read and list VirtualNodes.
type VirtualNodeSlice ¶
type VirtualNodeSlice []*VirtualNode
VirtualNodeSlice represents a slice of *VirtualNode
type VirtualNodeStatusWriter ¶
type VirtualNodeStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given VirtualNode object. UpdateVirtualNodeStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualNode, opts ...client.UpdateOption) error // Patch patches the given VirtualNode object's subresource. PatchVirtualNodeStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualNode, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a VirtualNode object.
type VirtualNodeTransitionFunction ¶
type VirtualNodeTransitionFunction func(existing, desired *appmesh_k8s_aws_v1beta2.VirtualNode) error
VirtualNodeTransitionFunction instructs the VirtualNodeWriter how to transition between an existing VirtualNode object and a desired on an Upsert
type VirtualNodeWriter ¶
type VirtualNodeWriter interface { // Create saves the VirtualNode object. CreateVirtualNode(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualNode, opts ...client.CreateOption) error // Delete deletes the VirtualNode object. DeleteVirtualNode(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given VirtualNode object. UpdateVirtualNode(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualNode, opts ...client.UpdateOption) error // Patch patches the given VirtualNode object. PatchVirtualNode(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualNode, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all VirtualNode objects matching the given options. DeleteAllOfVirtualNode(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the VirtualNode object. UpsertVirtualNode(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualNode, transitionFuncs ...VirtualNodeTransitionFunction) error }
Writer knows how to create, delete, and update VirtualNodes.
type VirtualRouterClient ¶
type VirtualRouterClient interface { VirtualRouterReader VirtualRouterWriter VirtualRouterStatusWriter }
Client knows how to perform CRUD operations on VirtualRouters.
type VirtualRouterReader ¶
type VirtualRouterReader interface { // Get retrieves a VirtualRouter for the given object key GetVirtualRouter(ctx context.Context, key client.ObjectKey) (*appmesh_k8s_aws_v1beta2.VirtualRouter, error) // List retrieves list of VirtualRouters for a given namespace and list options. ListVirtualRouter(ctx context.Context, opts ...client.ListOption) (*appmesh_k8s_aws_v1beta2.VirtualRouterList, error) }
Reader knows how to read and list VirtualRouters.
type VirtualRouterSlice ¶
type VirtualRouterSlice []*VirtualRouter
VirtualRouterSlice represents a slice of *VirtualRouter
type VirtualRouterStatusWriter ¶
type VirtualRouterStatusWriter interface { // Update updates the fields corresponding to the status subresource for the // given VirtualRouter object. UpdateVirtualRouterStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualRouter, opts ...client.UpdateOption) error // Patch patches the given VirtualRouter object's subresource. PatchVirtualRouterStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualRouter, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter knows how to update status subresource of a VirtualRouter object.
type VirtualRouterTransitionFunction ¶
type VirtualRouterTransitionFunction func(existing, desired *appmesh_k8s_aws_v1beta2.VirtualRouter) error
VirtualRouterTransitionFunction instructs the VirtualRouterWriter how to transition between an existing VirtualRouter object and a desired on an Upsert
type VirtualRouterWriter ¶
type VirtualRouterWriter interface { // Create saves the VirtualRouter object. CreateVirtualRouter(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualRouter, opts ...client.CreateOption) error // Delete deletes the VirtualRouter object. DeleteVirtualRouter(ctx context.Context, key client.ObjectKey, opts ...client.DeleteOption) error // Update updates the given VirtualRouter object. UpdateVirtualRouter(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualRouter, opts ...client.UpdateOption) error // Patch patches the given VirtualRouter object. PatchVirtualRouter(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualRouter, patch client.Patch, opts ...client.PatchOption) error // DeleteAllOf deletes all VirtualRouter objects matching the given options. DeleteAllOfVirtualRouter(ctx context.Context, opts ...client.DeleteAllOfOption) error // Create or Update the VirtualRouter object. UpsertVirtualRouter(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.VirtualRouter, transitionFuncs ...VirtualRouterTransitionFunction) error }
Writer knows how to create, delete, and update VirtualRouters.
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) (*appmesh_k8s_aws_v1beta2.VirtualService, error) // List retrieves list of VirtualServices for a given namespace and list options. ListVirtualService(ctx context.Context, opts ...client.ListOption) (*appmesh_k8s_aws_v1beta2.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 *appmesh_k8s_aws_v1beta2.VirtualService, opts ...client.UpdateOption) error // Patch patches the given VirtualService object's subresource. PatchVirtualServiceStatus(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.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 *appmesh_k8s_aws_v1beta2.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 *appmesh_k8s_aws_v1beta2.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 *appmesh_k8s_aws_v1beta2.VirtualService, opts ...client.UpdateOption) error // Patch patches the given VirtualService object. PatchVirtualService(ctx context.Context, obj *appmesh_k8s_aws_v1beta2.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 *appmesh_k8s_aws_v1beta2.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_v1beta2 is a generated GoMock package.
|
Package mock_v1beta2 is a generated GoMock package. |
mocks
Package mock_v1beta2sets is a generated GoMock package.
|
Package mock_v1beta2sets is a generated GoMock package. |