Documentation
¶
Index ¶
- type Client
- type MeshBuildingBlockV2Client
- func (m MeshBuildingBlockV2Client) Create(_ context.Context, bb *client.MeshBuildingBlockV2Create) (*client.MeshBuildingBlockV2, error)
- func (m MeshBuildingBlockV2Client) Delete(_ context.Context, uuid string) error
- func (m MeshBuildingBlockV2Client) Read(_ context.Context, uuid string) (*client.MeshBuildingBlockV2, error)
- func (m MeshBuildingBlockV2Client) ReadFunc(uuid string) func(ctx context.Context) (*client.MeshBuildingBlockV2, error)
- type MeshIntegrationClient
- func (m MeshIntegrationClient) Create(_ context.Context, integration client.MeshIntegration) (*client.MeshIntegration, error)
- func (m MeshIntegrationClient) Delete(_ context.Context, uuid string) error
- func (m MeshIntegrationClient) List(_ context.Context) ([]client.MeshIntegration, error)
- func (m MeshIntegrationClient) Read(_ context.Context, uuid string) (*client.MeshIntegration, error)
- func (m MeshIntegrationClient) Update(_ context.Context, integration client.MeshIntegration) (*client.MeshIntegration, error)
- type MeshLandingZoneClient
- func (m MeshLandingZoneClient) Create(_ context.Context, landingZone *client.MeshLandingZoneCreate) (*client.MeshLandingZone, error)
- func (m MeshLandingZoneClient) Delete(_ context.Context, name string) error
- func (m MeshLandingZoneClient) Read(_ context.Context, name string) (*client.MeshLandingZone, error)
- func (m MeshLandingZoneClient) Update(_ context.Context, name string, landingZone *client.MeshLandingZoneCreate) (*client.MeshLandingZone, error)
- type MeshLocationClient
- func (m MeshLocationClient) Create(_ context.Context, location *client.MeshLocationCreate) (*client.MeshLocation, error)
- func (m MeshLocationClient) Delete(_ context.Context, name string) error
- func (m MeshLocationClient) Read(_ context.Context, name string) (*client.MeshLocation, error)
- func (m MeshLocationClient) Update(_ context.Context, name string, location *client.MeshLocationCreate) (*client.MeshLocation, error)
- type MeshPaymentMethodClient
- func (m MeshPaymentMethodClient) Create(_ context.Context, paymentMethod *client.MeshPaymentMethodCreate) (*client.MeshPaymentMethod, error)
- func (m MeshPaymentMethodClient) Delete(_ context.Context, identifier string) error
- func (m MeshPaymentMethodClient) Read(_ context.Context, workspace string, identifier string) (*client.MeshPaymentMethod, error)
- func (m MeshPaymentMethodClient) Update(_ context.Context, identifier string, ...) (*client.MeshPaymentMethod, error)
- type MeshPlatformClient
- func (m MeshPlatformClient) Create(_ context.Context, platform client.MeshPlatform) (*client.MeshPlatform, error)
- func (m MeshPlatformClient) Delete(_ context.Context, uuid string) error
- func (m MeshPlatformClient) Read(_ context.Context, uuid string) (*client.MeshPlatform, error)
- func (m MeshPlatformClient) Update(_ context.Context, uuid string, platform client.MeshPlatform) (*client.MeshPlatform, error)
- type MeshPlatformTypeClient
- func (m MeshPlatformTypeClient) Create(_ context.Context, platformType *client.MeshPlatformTypeCreate) (*client.MeshPlatformType, error)
- func (m MeshPlatformTypeClient) Delete(_ context.Context, name string) error
- func (m MeshPlatformTypeClient) List(_ context.Context, category *string, lifecycleStatus *string) ([]client.MeshPlatformType, error)
- func (m MeshPlatformTypeClient) Read(_ context.Context, identifier string) (*client.MeshPlatformType, error)
- func (m MeshPlatformTypeClient) Update(_ context.Context, name string, platformType *client.MeshPlatformTypeCreate) (*client.MeshPlatformType, error)
- type MeshProjectClient
- func (m MeshProjectClient) Create(_ context.Context, project *client.MeshProjectCreate) (*client.MeshProject, error)
- func (m MeshProjectClient) Delete(_ context.Context, workspace string, name string) error
- func (m MeshProjectClient) List(_ context.Context, workspaceIdentifier string, paymentMethodIdentifier *string) ([]client.MeshProject, error)
- func (m MeshProjectClient) Read(_ context.Context, workspace string, name string) (*client.MeshProject, error)
- func (m MeshProjectClient) Update(_ context.Context, project *client.MeshProjectCreate) (*client.MeshProject, error)
- type MeshProjectGroupBindingClient
- func (m MeshProjectGroupBindingClient) Create(_ context.Context, binding *client.MeshProjectGroupBinding) (*client.MeshProjectGroupBinding, error)
- func (m MeshProjectGroupBindingClient) Delete(_ context.Context, name string) error
- func (m MeshProjectGroupBindingClient) Read(_ context.Context, name string) (*client.MeshProjectGroupBinding, error)
- type MeshProjectUserBindingClient
- func (m MeshProjectUserBindingClient) Create(_ context.Context, binding *client.MeshProjectUserBinding) (*client.MeshProjectUserBinding, error)
- func (m MeshProjectUserBindingClient) Delete(_ context.Context, name string) error
- func (m MeshProjectUserBindingClient) Read(_ context.Context, name string) (*client.MeshProjectUserBinding, error)
- type MeshServiceInstanceClient
- type MeshTagDefinitionClient
- func (m MeshTagDefinitionClient) Create(_ context.Context, tagDefinition *client.MeshTagDefinition) (*client.MeshTagDefinition, error)
- func (m MeshTagDefinitionClient) Delete(_ context.Context, name string) error
- func (m MeshTagDefinitionClient) List(_ context.Context) ([]client.MeshTagDefinition, error)
- func (m MeshTagDefinitionClient) Read(_ context.Context, name string) (*client.MeshTagDefinition, error)
- func (m MeshTagDefinitionClient) Update(_ context.Context, tagDefinition *client.MeshTagDefinition) (*client.MeshTagDefinition, error)
- type MeshTenantClient
- func (m MeshTenantClient) Create(_ context.Context, tenant *client.MeshTenantCreate) (*client.MeshTenant, error)
- func (m MeshTenantClient) Delete(_ context.Context, workspace string, project string, platform string) error
- func (m MeshTenantClient) Read(_ context.Context, workspace string, project string, platform string) (*client.MeshTenant, error)
- type MeshTenantV4Client
- func (m MeshTenantV4Client) Create(_ context.Context, tenant *client.MeshTenantV4Create) (*client.MeshTenantV4, error)
- func (m MeshTenantV4Client) Delete(_ context.Context, uuid string) error
- func (m MeshTenantV4Client) List(_ context.Context, query *client.MeshTenantV4Query) ([]client.MeshTenantV4, error)
- func (m MeshTenantV4Client) Read(_ context.Context, uuid string) (*client.MeshTenantV4, error)
- func (m MeshTenantV4Client) ReadFunc(uuid string) func(ctx context.Context) (*client.MeshTenantV4, error)
- type MeshWorkspaceClient
- func (m MeshWorkspaceClient) Create(_ context.Context, workspace *client.MeshWorkspaceCreate) (*client.MeshWorkspace, error)
- func (m MeshWorkspaceClient) Delete(_ context.Context, name string) error
- func (m MeshWorkspaceClient) Read(_ context.Context, name string) (*client.MeshWorkspace, error)
- func (m MeshWorkspaceClient) Update(_ context.Context, name string, workspace *client.MeshWorkspaceCreate) (*client.MeshWorkspace, error)
- type MeshWorkspaceGroupBindingClient
- func (m MeshWorkspaceGroupBindingClient) Create(_ context.Context, binding *client.MeshWorkspaceGroupBinding) (*client.MeshWorkspaceGroupBinding, error)
- func (m MeshWorkspaceGroupBindingClient) Delete(_ context.Context, name string) error
- func (m MeshWorkspaceGroupBindingClient) Read(_ context.Context, name string) (*client.MeshWorkspaceGroupBinding, error)
- type MeshWorkspaceUserBindingClient
- func (m MeshWorkspaceUserBindingClient) Create(_ context.Context, binding *client.MeshWorkspaceUserBinding) (*client.MeshWorkspaceUserBinding, error)
- func (m MeshWorkspaceUserBindingClient) Delete(_ context.Context, name string) error
- func (m MeshWorkspaceUserBindingClient) Read(_ context.Context, name string) (*client.MeshWorkspaceUserBinding, error)
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BuildingBlock meshBuildingBlockClient
BuildingBlockDefinition meshBuildingBlockDefinitionClient
BuildingBlockDefinitionVersion meshBuildingBlockDefinitionVersionClient
BuildingBlockV2 MeshBuildingBlockV2Client
Integration MeshIntegrationClient
LandingZone MeshLandingZoneClient
Location MeshLocationClient
PaymentMethod MeshPaymentMethodClient
Platform MeshPlatformClient
PlatformType MeshPlatformTypeClient
Project MeshProjectClient
ProjectGroupBinding MeshProjectGroupBindingClient
ProjectUserBinding MeshProjectUserBindingClient
ServiceInstance MeshServiceInstanceClient
TagDefinition MeshTagDefinitionClient
Tenant MeshTenantClient
TenantV4 MeshTenantV4Client
Workspace MeshWorkspaceClient
WorkspaceGroupBinding MeshWorkspaceGroupBindingClient
WorkspaceUserBinding MeshWorkspaceUserBindingClient
}
type MeshBuildingBlockV2Client ¶ added in v0.20.4
type MeshBuildingBlockV2Client struct {
Store *Store[client.MeshBuildingBlockV2]
}
func (MeshBuildingBlockV2Client) Create ¶ added in v0.20.4
func (m MeshBuildingBlockV2Client) Create(_ context.Context, bb *client.MeshBuildingBlockV2Create) (*client.MeshBuildingBlockV2, error)
func (MeshBuildingBlockV2Client) Delete ¶ added in v0.20.4
func (m MeshBuildingBlockV2Client) Delete(_ context.Context, uuid string) error
func (MeshBuildingBlockV2Client) Read ¶ added in v0.20.4
func (m MeshBuildingBlockV2Client) Read(_ context.Context, uuid string) (*client.MeshBuildingBlockV2, error)
func (MeshBuildingBlockV2Client) ReadFunc ¶ added in v0.20.4
func (m MeshBuildingBlockV2Client) ReadFunc(uuid string) func(ctx context.Context) (*client.MeshBuildingBlockV2, error)
type MeshIntegrationClient ¶
type MeshIntegrationClient struct {
Store *Store[client.MeshIntegration]
}
func (MeshIntegrationClient) Create ¶
func (m MeshIntegrationClient) Create(_ context.Context, integration client.MeshIntegration) (*client.MeshIntegration, error)
func (MeshIntegrationClient) Delete ¶
func (m MeshIntegrationClient) Delete(_ context.Context, uuid string) error
func (MeshIntegrationClient) List ¶
func (m MeshIntegrationClient) List(_ context.Context) ([]client.MeshIntegration, error)
func (MeshIntegrationClient) Read ¶
func (m MeshIntegrationClient) Read(_ context.Context, uuid string) (*client.MeshIntegration, error)
func (MeshIntegrationClient) Update ¶
func (m MeshIntegrationClient) Update(_ context.Context, integration client.MeshIntegration) (*client.MeshIntegration, error)
type MeshLandingZoneClient ¶ added in v0.20.4
type MeshLandingZoneClient struct {
Store *Store[client.MeshLandingZone]
}
func (MeshLandingZoneClient) Create ¶ added in v0.20.4
func (m MeshLandingZoneClient) Create(_ context.Context, landingZone *client.MeshLandingZoneCreate) (*client.MeshLandingZone, error)
func (MeshLandingZoneClient) Delete ¶ added in v0.20.4
func (m MeshLandingZoneClient) Delete(_ context.Context, name string) error
func (MeshLandingZoneClient) Read ¶ added in v0.20.4
func (m MeshLandingZoneClient) Read(_ context.Context, name string) (*client.MeshLandingZone, error)
func (MeshLandingZoneClient) Update ¶ added in v0.20.4
func (m MeshLandingZoneClient) Update(_ context.Context, name string, landingZone *client.MeshLandingZoneCreate) (*client.MeshLandingZone, error)
type MeshLocationClient ¶
type MeshLocationClient struct {
Store *Store[client.MeshLocation]
}
func (MeshLocationClient) Create ¶
func (m MeshLocationClient) Create(_ context.Context, location *client.MeshLocationCreate) (*client.MeshLocation, error)
func (MeshLocationClient) Delete ¶
func (m MeshLocationClient) Delete(_ context.Context, name string) error
func (MeshLocationClient) Read ¶
func (m MeshLocationClient) Read(_ context.Context, name string) (*client.MeshLocation, error)
func (MeshLocationClient) Update ¶
func (m MeshLocationClient) Update(_ context.Context, name string, location *client.MeshLocationCreate) (*client.MeshLocation, error)
type MeshPaymentMethodClient ¶ added in v0.20.4
type MeshPaymentMethodClient struct {
Store *Store[client.MeshPaymentMethod]
}
func (MeshPaymentMethodClient) Create ¶ added in v0.20.4
func (m MeshPaymentMethodClient) Create(_ context.Context, paymentMethod *client.MeshPaymentMethodCreate) (*client.MeshPaymentMethod, error)
func (MeshPaymentMethodClient) Delete ¶ added in v0.20.4
func (m MeshPaymentMethodClient) Delete(_ context.Context, identifier string) error
func (MeshPaymentMethodClient) Read ¶ added in v0.20.4
func (m MeshPaymentMethodClient) Read(_ context.Context, workspace string, identifier string) (*client.MeshPaymentMethod, error)
func (MeshPaymentMethodClient) Update ¶ added in v0.20.4
func (m MeshPaymentMethodClient) Update(_ context.Context, identifier string, paymentMethod *client.MeshPaymentMethodCreate) (*client.MeshPaymentMethod, error)
type MeshPlatformClient ¶
type MeshPlatformClient struct {
Store *Store[client.MeshPlatform]
}
func (MeshPlatformClient) Create ¶
func (m MeshPlatformClient) Create(_ context.Context, platform client.MeshPlatform) (*client.MeshPlatform, error)
func (MeshPlatformClient) Delete ¶
func (m MeshPlatformClient) Delete(_ context.Context, uuid string) error
func (MeshPlatformClient) Read ¶
func (m MeshPlatformClient) Read(_ context.Context, uuid string) (*client.MeshPlatform, error)
func (MeshPlatformClient) Update ¶
func (m MeshPlatformClient) Update(_ context.Context, uuid string, platform client.MeshPlatform) (*client.MeshPlatform, error)
type MeshPlatformTypeClient ¶
type MeshPlatformTypeClient struct {
Store *Store[client.MeshPlatformType]
}
func (MeshPlatformTypeClient) Create ¶
func (m MeshPlatformTypeClient) Create(_ context.Context, platformType *client.MeshPlatformTypeCreate) (*client.MeshPlatformType, error)
func (MeshPlatformTypeClient) Delete ¶
func (m MeshPlatformTypeClient) Delete(_ context.Context, name string) error
func (MeshPlatformTypeClient) List ¶
func (m MeshPlatformTypeClient) List(_ context.Context, category *string, lifecycleStatus *string) ([]client.MeshPlatformType, error)
func (MeshPlatformTypeClient) Read ¶
func (m MeshPlatformTypeClient) Read(_ context.Context, identifier string) (*client.MeshPlatformType, error)
func (MeshPlatformTypeClient) Update ¶
func (m MeshPlatformTypeClient) Update(_ context.Context, name string, platformType *client.MeshPlatformTypeCreate) (*client.MeshPlatformType, error)
type MeshProjectClient ¶ added in v0.20.4
type MeshProjectClient struct {
Store *Store[client.MeshProject]
}
func (MeshProjectClient) Create ¶ added in v0.20.4
func (m MeshProjectClient) Create(_ context.Context, project *client.MeshProjectCreate) (*client.MeshProject, error)
func (MeshProjectClient) List ¶ added in v0.20.4
func (m MeshProjectClient) List(_ context.Context, workspaceIdentifier string, paymentMethodIdentifier *string) ([]client.MeshProject, error)
func (MeshProjectClient) Read ¶ added in v0.20.4
func (m MeshProjectClient) Read(_ context.Context, workspace string, name string) (*client.MeshProject, error)
func (MeshProjectClient) Update ¶ added in v0.20.4
func (m MeshProjectClient) Update(_ context.Context, project *client.MeshProjectCreate) (*client.MeshProject, error)
type MeshProjectGroupBindingClient ¶ added in v0.20.4
type MeshProjectGroupBindingClient struct {
Store *Store[client.MeshProjectGroupBinding]
}
func (MeshProjectGroupBindingClient) Create ¶ added in v0.20.4
func (m MeshProjectGroupBindingClient) Create(_ context.Context, binding *client.MeshProjectGroupBinding) (*client.MeshProjectGroupBinding, error)
func (MeshProjectGroupBindingClient) Delete ¶ added in v0.20.4
func (m MeshProjectGroupBindingClient) Delete(_ context.Context, name string) error
func (MeshProjectGroupBindingClient) Read ¶ added in v0.20.4
func (m MeshProjectGroupBindingClient) Read(_ context.Context, name string) (*client.MeshProjectGroupBinding, error)
type MeshProjectUserBindingClient ¶ added in v0.20.4
type MeshProjectUserBindingClient struct {
Store *Store[client.MeshProjectUserBinding]
}
func (MeshProjectUserBindingClient) Create ¶ added in v0.20.4
func (m MeshProjectUserBindingClient) Create(_ context.Context, binding *client.MeshProjectUserBinding) (*client.MeshProjectUserBinding, error)
func (MeshProjectUserBindingClient) Delete ¶ added in v0.20.4
func (m MeshProjectUserBindingClient) Delete(_ context.Context, name string) error
func (MeshProjectUserBindingClient) Read ¶ added in v0.20.4
func (m MeshProjectUserBindingClient) Read(_ context.Context, name string) (*client.MeshProjectUserBinding, error)
type MeshServiceInstanceClient ¶ added in v0.18.2
type MeshServiceInstanceClient struct {
Store *Store[client.MeshServiceInstance]
}
func (MeshServiceInstanceClient) List ¶ added in v0.18.2
func (m MeshServiceInstanceClient) List(_ context.Context, filter *client.MeshServiceInstanceFilter) ([]client.MeshServiceInstance, error)
func (MeshServiceInstanceClient) Read ¶ added in v0.18.2
func (m MeshServiceInstanceClient) Read(_ context.Context, instanceId string) (*client.MeshServiceInstance, error)
type MeshTagDefinitionClient ¶
type MeshTagDefinitionClient struct {
Store *Store[client.MeshTagDefinition]
}
func (MeshTagDefinitionClient) Create ¶
func (m MeshTagDefinitionClient) Create(_ context.Context, tagDefinition *client.MeshTagDefinition) (*client.MeshTagDefinition, error)
func (MeshTagDefinitionClient) Delete ¶
func (m MeshTagDefinitionClient) Delete(_ context.Context, name string) error
func (MeshTagDefinitionClient) List ¶
func (m MeshTagDefinitionClient) List(_ context.Context) ([]client.MeshTagDefinition, error)
func (MeshTagDefinitionClient) Read ¶
func (m MeshTagDefinitionClient) Read(_ context.Context, name string) (*client.MeshTagDefinition, error)
func (MeshTagDefinitionClient) Update ¶
func (m MeshTagDefinitionClient) Update(_ context.Context, tagDefinition *client.MeshTagDefinition) (*client.MeshTagDefinition, error)
type MeshTenantClient ¶ added in v0.20.4
type MeshTenantClient struct {
Store *Store[client.MeshTenant]
}
func (MeshTenantClient) Create ¶ added in v0.20.4
func (m MeshTenantClient) Create(_ context.Context, tenant *client.MeshTenantCreate) (*client.MeshTenant, error)
type MeshTenantV4Client ¶ added in v0.20.4
type MeshTenantV4Client struct {
Store *Store[client.MeshTenantV4]
}
func (MeshTenantV4Client) Create ¶ added in v0.20.4
func (m MeshTenantV4Client) Create(_ context.Context, tenant *client.MeshTenantV4Create) (*client.MeshTenantV4, error)
func (MeshTenantV4Client) Delete ¶ added in v0.20.4
func (m MeshTenantV4Client) Delete(_ context.Context, uuid string) error
func (MeshTenantV4Client) List ¶ added in v0.20.4
func (m MeshTenantV4Client) List(_ context.Context, query *client.MeshTenantV4Query) ([]client.MeshTenantV4, error)
func (MeshTenantV4Client) Read ¶ added in v0.20.4
func (m MeshTenantV4Client) Read(_ context.Context, uuid string) (*client.MeshTenantV4, error)
func (MeshTenantV4Client) ReadFunc ¶ added in v0.20.4
func (m MeshTenantV4Client) ReadFunc(uuid string) func(ctx context.Context) (*client.MeshTenantV4, error)
type MeshWorkspaceClient ¶ added in v0.20.4
type MeshWorkspaceClient struct {
Store *Store[client.MeshWorkspace]
}
func (MeshWorkspaceClient) Create ¶ added in v0.20.4
func (m MeshWorkspaceClient) Create(_ context.Context, workspace *client.MeshWorkspaceCreate) (*client.MeshWorkspace, error)
func (MeshWorkspaceClient) Delete ¶ added in v0.20.4
func (m MeshWorkspaceClient) Delete(_ context.Context, name string) error
func (MeshWorkspaceClient) Read ¶ added in v0.20.4
func (m MeshWorkspaceClient) Read(_ context.Context, name string) (*client.MeshWorkspace, error)
func (MeshWorkspaceClient) Update ¶ added in v0.20.4
func (m MeshWorkspaceClient) Update(_ context.Context, name string, workspace *client.MeshWorkspaceCreate) (*client.MeshWorkspace, error)
type MeshWorkspaceGroupBindingClient ¶ added in v0.20.4
type MeshWorkspaceGroupBindingClient struct {
Store *Store[client.MeshWorkspaceGroupBinding]
}
func (MeshWorkspaceGroupBindingClient) Create ¶ added in v0.20.4
func (m MeshWorkspaceGroupBindingClient) Create(_ context.Context, binding *client.MeshWorkspaceGroupBinding) (*client.MeshWorkspaceGroupBinding, error)
func (MeshWorkspaceGroupBindingClient) Delete ¶ added in v0.20.4
func (m MeshWorkspaceGroupBindingClient) Delete(_ context.Context, name string) error
func (MeshWorkspaceGroupBindingClient) Read ¶ added in v0.20.4
func (m MeshWorkspaceGroupBindingClient) Read(_ context.Context, name string) (*client.MeshWorkspaceGroupBinding, error)
type MeshWorkspaceUserBindingClient ¶ added in v0.20.4
type MeshWorkspaceUserBindingClient struct {
Store *Store[client.MeshWorkspaceUserBinding]
}
func (MeshWorkspaceUserBindingClient) Create ¶ added in v0.20.4
func (m MeshWorkspaceUserBindingClient) Create(_ context.Context, binding *client.MeshWorkspaceUserBinding) (*client.MeshWorkspaceUserBinding, error)
func (MeshWorkspaceUserBindingClient) Delete ¶ added in v0.20.4
func (m MeshWorkspaceUserBindingClient) Delete(_ context.Context, name string) error
func (MeshWorkspaceUserBindingClient) Read ¶ added in v0.20.4
func (m MeshWorkspaceUserBindingClient) Read(_ context.Context, name string) (*client.MeshWorkspaceUserBinding, error)
type Store ¶
type Store[M any] struct { // contains filtered or unexported fields }
Store is a concurrency-safe key-value store for mock client data. Always use NewStore to create instances; pass *Store to mock client structs.
func (*Store[M]) SortedKeys ¶
Source Files
¶
- mock_buildingblock.go
- mock_buildingblock_definition.go
- mock_buildingblock_definition_version.go
- mock_buildingblock_v2.go
- mock_client.go
- mock_integration.go
- mock_landingzone.go
- mock_location.go
- mock_payment_method.go
- mock_platform.go
- mock_platform_type.go
- mock_project.go
- mock_project_group_binding.go
- mock_project_user_binding.go
- mock_service_instance.go
- mock_tag_definition.go
- mock_tenant.go
- mock_tenant_v4.go
- mock_workspace.go
- mock_workspace_group_binding.go
- mock_workspace_user_binding.go
Click to show internal directories.
Click to hide internal directories.