Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶ added in v0.3.14
func NewAppMeshConfigSyncer ¶
func NewAppMeshConfigSyncer(translator appmesh.Translator, reconciler Reconciler, reporter reporter.Reporter) v1.ConfigSyncer
Types ¶
type Client ¶ added in v0.3.14
type Client interface { // Get operations GetMesh(ctx context.Context, meshName string) (*appmesh.MeshData, error) // List operations ListMeshes(ctx context.Context) ([]string, error) ListVirtualNodes(ctx context.Context, meshName string) ([]string, error) ListVirtualServices(ctx context.Context, meshName string) ([]string, error) ListVirtualRouters(ctx context.Context, meshName string) ([]string, error) ListRoutes(ctx context.Context, meshName, virtualRouterName string) ([]string, error) // Create operations CreateMesh(ctx context.Context, meshName string) (*appmesh.MeshData, error) CreateVirtualNode(ctx context.Context, virtualNode *appmesh.VirtualNodeData) (*appmesh.VirtualNodeData, error) CreateVirtualService(ctx context.Context, virtualService *appmesh.VirtualServiceData) (*appmesh.VirtualServiceData, error) CreateVirtualRouter(ctx context.Context, virtualRouter *appmesh.VirtualRouterData) (*appmesh.VirtualRouterData, error) CreateRoute(ctx context.Context, route *appmesh.RouteData) (*appmesh.RouteData, error) // Update operations UpdateVirtualNode(ctx context.Context, virtualNode *appmesh.VirtualNodeData) (*appmesh.VirtualNodeData, error) UpdateVirtualService(ctx context.Context, virtualService *appmesh.VirtualServiceData) (*appmesh.VirtualServiceData, error) UpdateVirtualRouter(ctx context.Context, virtualRouter *appmesh.VirtualRouterData) (*appmesh.VirtualRouterData, error) UpdateRoute(ctx context.Context, route *appmesh.RouteData) (*appmesh.RouteData, error) // Delete operations DeleteMesh(ctx context.Context, meshName string) error DeleteVirtualNode(ctx context.Context, meshName, virtualNodeName string) error DeleteVirtualService(ctx context.Context, meshName, virtualServiceName string) error DeleteVirtualRouter(ctx context.Context, meshName, virtualRouterName string) error DeleteRoute(ctx context.Context, meshName, virtualRouterName, routeName string) error }
Represents the App Mesh API
type ClientBuilder ¶ added in v0.3.14
type ClientBuilder interface {
GetClientInstance(secretRef *core.ResourceRef, region string) (Client, error)
}
func NewAppMeshClientBuilder ¶ added in v0.3.14
func NewAppMeshClientBuilder(secrets gloov1.SecretClient) ClientBuilder
type Reconciler ¶ added in v0.3.14
type Reconciler interface {
Reconcile(ctx context.Context, mesh *v1.Mesh, desiredResources *translator.ResourceSnapshot) error
}
func NewReconciler ¶ added in v0.3.14
func NewReconciler(builder ClientBuilder) Reconciler
Source Files ¶
Click to show internal directories.
Click to hide internal directories.