Documentation ¶
Overview ¶
Package clients is a generated GoMock package.
Package clients is a generated GoMock package.
Package clients is a generated GoMock package.
Index ¶
- Variables
- func Is404Error(err error) bool
- type AWSProvider
- type ApplicationStatus
- type ApplicationsManagementClient
- type AzureProvider
- type DeploymentClient
- type DeploymentOptions
- type DeploymentOutput
- type DeploymentParameters
- type DeploymentResult
- type DiagnosticsClient
- type EndpointOptions
- type ExposeOptions
- type GatewayStatus
- type LogStream
- type LogsOptions
- type MockApplicationsManagementClient
- func (m *MockApplicationsManagementClient) CreateApplicationIfNotFound(arg0 context.Context, arg1 string, arg2 *v20231001preview.ApplicationResource) error
- func (m *MockApplicationsManagementClient) CreateOrUpdateApplication(arg0 context.Context, arg1 string, arg2 *v20231001preview.ApplicationResource) error
- func (m *MockApplicationsManagementClient) CreateOrUpdateEnvironment(arg0 context.Context, arg1 string, arg2 *v20231001preview.EnvironmentResource) error
- func (m *MockApplicationsManagementClient) CreateOrUpdateResourceGroup(arg0 context.Context, arg1, arg2 string, ...) error
- func (m *MockApplicationsManagementClient) DeleteApplication(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockApplicationsManagementClient) DeleteEnvironment(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockApplicationsManagementClient) DeleteResource(arg0 context.Context, arg1, arg2 string) (bool, error)
- func (m *MockApplicationsManagementClient) DeleteResourceGroup(arg0 context.Context, arg1, arg2 string) (bool, error)
- func (m *MockApplicationsManagementClient) EXPECT() *MockApplicationsManagementClientMockRecorder
- func (m *MockApplicationsManagementClient) GetApplication(arg0 context.Context, arg1 string) (v20231001preview.ApplicationResource, error)
- func (m *MockApplicationsManagementClient) GetApplicationGraph(arg0 context.Context, arg1 string) (v20231001preview.ApplicationGraphResponse, error)
- func (m *MockApplicationsManagementClient) GetEnvironment(arg0 context.Context, arg1 string) (v20231001preview.EnvironmentResource, error)
- func (m *MockApplicationsManagementClient) GetRecipeMetadata(arg0 context.Context, arg1 string, arg2 v20231001preview.RecipeGetMetadata) (v20231001preview.RecipeGetMetadataResponse, error)
- func (m *MockApplicationsManagementClient) GetResource(arg0 context.Context, arg1, arg2 string) (generated.GenericResource, error)
- func (m *MockApplicationsManagementClient) GetResourceGroup(arg0 context.Context, arg1, arg2 string) (v20231001preview0.ResourceGroupResource, error)
- func (m *MockApplicationsManagementClient) ListApplications(arg0 context.Context) ([]v20231001preview.ApplicationResource, error)
- func (m *MockApplicationsManagementClient) ListEnvironments(arg0 context.Context) ([]v20231001preview.EnvironmentResource, error)
- func (m *MockApplicationsManagementClient) ListEnvironmentsAll(arg0 context.Context) ([]v20231001preview.EnvironmentResource, error)
- func (m *MockApplicationsManagementClient) ListResourceGroups(arg0 context.Context, arg1 string) ([]v20231001preview0.ResourceGroupResource, error)
- func (m *MockApplicationsManagementClient) ListResourcesInApplication(arg0 context.Context, arg1 string) ([]generated.GenericResource, error)
- func (m *MockApplicationsManagementClient) ListResourcesInEnvironment(arg0 context.Context, arg1 string) ([]generated.GenericResource, error)
- func (m *MockApplicationsManagementClient) ListResourcesOfType(arg0 context.Context, arg1 string) ([]generated.GenericResource, error)
- func (m *MockApplicationsManagementClient) ListResourcesOfTypeInApplication(arg0 context.Context, arg1, arg2 string) ([]generated.GenericResource, error)
- func (m *MockApplicationsManagementClient) ListResourcesOfTypeInEnvironment(arg0 context.Context, arg1, arg2 string) ([]generated.GenericResource, error)
- type MockApplicationsManagementClientCreateApplicationIfNotFoundCall
- func (c *MockApplicationsManagementClientCreateApplicationIfNotFoundCall) Do(f func(context.Context, string, *v20231001preview.ApplicationResource) error) *MockApplicationsManagementClientCreateApplicationIfNotFoundCall
- func (c *MockApplicationsManagementClientCreateApplicationIfNotFoundCall) DoAndReturn(f func(context.Context, string, *v20231001preview.ApplicationResource) error) *MockApplicationsManagementClientCreateApplicationIfNotFoundCall
- func (c *MockApplicationsManagementClientCreateApplicationIfNotFoundCall) Return(arg0 error) *MockApplicationsManagementClientCreateApplicationIfNotFoundCall
- type MockApplicationsManagementClientCreateOrUpdateApplicationCall
- func (c *MockApplicationsManagementClientCreateOrUpdateApplicationCall) Do(f func(context.Context, string, *v20231001preview.ApplicationResource) error) *MockApplicationsManagementClientCreateOrUpdateApplicationCall
- func (c *MockApplicationsManagementClientCreateOrUpdateApplicationCall) DoAndReturn(f func(context.Context, string, *v20231001preview.ApplicationResource) error) *MockApplicationsManagementClientCreateOrUpdateApplicationCall
- func (c *MockApplicationsManagementClientCreateOrUpdateApplicationCall) Return(arg0 error) *MockApplicationsManagementClientCreateOrUpdateApplicationCall
- type MockApplicationsManagementClientCreateOrUpdateEnvironmentCall
- func (c *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) Do(f func(context.Context, string, *v20231001preview.EnvironmentResource) error) *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall
- func (c *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) DoAndReturn(f func(context.Context, string, *v20231001preview.EnvironmentResource) error) *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall
- func (c *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) Return(arg0 error) *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall
- type MockApplicationsManagementClientCreateOrUpdateResourceGroupCall
- func (c *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) Do(...) *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall
- func (c *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) DoAndReturn(...) *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall
- func (c *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) Return(arg0 error) *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall
- type MockApplicationsManagementClientDeleteApplicationCall
- func (c *MockApplicationsManagementClientDeleteApplicationCall) Do(f func(context.Context, string) (bool, error)) *MockApplicationsManagementClientDeleteApplicationCall
- func (c *MockApplicationsManagementClientDeleteApplicationCall) DoAndReturn(f func(context.Context, string) (bool, error)) *MockApplicationsManagementClientDeleteApplicationCall
- func (c *MockApplicationsManagementClientDeleteApplicationCall) Return(arg0 bool, arg1 error) *MockApplicationsManagementClientDeleteApplicationCall
- type MockApplicationsManagementClientDeleteEnvironmentCall
- func (c *MockApplicationsManagementClientDeleteEnvironmentCall) Do(f func(context.Context, string) (bool, error)) *MockApplicationsManagementClientDeleteEnvironmentCall
- func (c *MockApplicationsManagementClientDeleteEnvironmentCall) DoAndReturn(f func(context.Context, string) (bool, error)) *MockApplicationsManagementClientDeleteEnvironmentCall
- func (c *MockApplicationsManagementClientDeleteEnvironmentCall) Return(arg0 bool, arg1 error) *MockApplicationsManagementClientDeleteEnvironmentCall
- type MockApplicationsManagementClientDeleteResourceCall
- func (c *MockApplicationsManagementClientDeleteResourceCall) Do(f func(context.Context, string, string) (bool, error)) *MockApplicationsManagementClientDeleteResourceCall
- func (c *MockApplicationsManagementClientDeleteResourceCall) DoAndReturn(f func(context.Context, string, string) (bool, error)) *MockApplicationsManagementClientDeleteResourceCall
- func (c *MockApplicationsManagementClientDeleteResourceCall) Return(arg0 bool, arg1 error) *MockApplicationsManagementClientDeleteResourceCall
- type MockApplicationsManagementClientDeleteResourceGroupCall
- func (c *MockApplicationsManagementClientDeleteResourceGroupCall) Do(f func(context.Context, string, string) (bool, error)) *MockApplicationsManagementClientDeleteResourceGroupCall
- func (c *MockApplicationsManagementClientDeleteResourceGroupCall) DoAndReturn(f func(context.Context, string, string) (bool, error)) *MockApplicationsManagementClientDeleteResourceGroupCall
- func (c *MockApplicationsManagementClientDeleteResourceGroupCall) Return(arg0 bool, arg1 error) *MockApplicationsManagementClientDeleteResourceGroupCall
- type MockApplicationsManagementClientGetApplicationCall
- func (c *MockApplicationsManagementClientGetApplicationCall) Do(f func(context.Context, string) (v20231001preview.ApplicationResource, error)) *MockApplicationsManagementClientGetApplicationCall
- func (c *MockApplicationsManagementClientGetApplicationCall) DoAndReturn(f func(context.Context, string) (v20231001preview.ApplicationResource, error)) *MockApplicationsManagementClientGetApplicationCall
- func (c *MockApplicationsManagementClientGetApplicationCall) Return(arg0 v20231001preview.ApplicationResource, arg1 error) *MockApplicationsManagementClientGetApplicationCall
- type MockApplicationsManagementClientGetApplicationGraphCall
- func (c *MockApplicationsManagementClientGetApplicationGraphCall) Do(...) *MockApplicationsManagementClientGetApplicationGraphCall
- func (c *MockApplicationsManagementClientGetApplicationGraphCall) DoAndReturn(...) *MockApplicationsManagementClientGetApplicationGraphCall
- func (c *MockApplicationsManagementClientGetApplicationGraphCall) Return(arg0 v20231001preview.ApplicationGraphResponse, arg1 error) *MockApplicationsManagementClientGetApplicationGraphCall
- type MockApplicationsManagementClientGetEnvironmentCall
- func (c *MockApplicationsManagementClientGetEnvironmentCall) Do(f func(context.Context, string) (v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientGetEnvironmentCall
- func (c *MockApplicationsManagementClientGetEnvironmentCall) DoAndReturn(f func(context.Context, string) (v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientGetEnvironmentCall
- func (c *MockApplicationsManagementClientGetEnvironmentCall) Return(arg0 v20231001preview.EnvironmentResource, arg1 error) *MockApplicationsManagementClientGetEnvironmentCall
- type MockApplicationsManagementClientGetRecipeMetadataCall
- func (c *MockApplicationsManagementClientGetRecipeMetadataCall) Do(...) *MockApplicationsManagementClientGetRecipeMetadataCall
- func (c *MockApplicationsManagementClientGetRecipeMetadataCall) DoAndReturn(...) *MockApplicationsManagementClientGetRecipeMetadataCall
- func (c *MockApplicationsManagementClientGetRecipeMetadataCall) Return(arg0 v20231001preview.RecipeGetMetadataResponse, arg1 error) *MockApplicationsManagementClientGetRecipeMetadataCall
- type MockApplicationsManagementClientGetResourceCall
- func (c *MockApplicationsManagementClientGetResourceCall) Do(f func(context.Context, string, string) (generated.GenericResource, error)) *MockApplicationsManagementClientGetResourceCall
- func (c *MockApplicationsManagementClientGetResourceCall) DoAndReturn(f func(context.Context, string, string) (generated.GenericResource, error)) *MockApplicationsManagementClientGetResourceCall
- func (c *MockApplicationsManagementClientGetResourceCall) Return(arg0 generated.GenericResource, arg1 error) *MockApplicationsManagementClientGetResourceCall
- type MockApplicationsManagementClientGetResourceGroupCall
- func (c *MockApplicationsManagementClientGetResourceGroupCall) Do(...) *MockApplicationsManagementClientGetResourceGroupCall
- func (c *MockApplicationsManagementClientGetResourceGroupCall) DoAndReturn(...) *MockApplicationsManagementClientGetResourceGroupCall
- func (c *MockApplicationsManagementClientGetResourceGroupCall) Return(arg0 v20231001preview0.ResourceGroupResource, arg1 error) *MockApplicationsManagementClientGetResourceGroupCall
- type MockApplicationsManagementClientListApplicationsCall
- func (c *MockApplicationsManagementClientListApplicationsCall) Do(f func(context.Context) ([]v20231001preview.ApplicationResource, error)) *MockApplicationsManagementClientListApplicationsCall
- func (c *MockApplicationsManagementClientListApplicationsCall) DoAndReturn(f func(context.Context) ([]v20231001preview.ApplicationResource, error)) *MockApplicationsManagementClientListApplicationsCall
- func (c *MockApplicationsManagementClientListApplicationsCall) Return(arg0 []v20231001preview.ApplicationResource, arg1 error) *MockApplicationsManagementClientListApplicationsCall
- type MockApplicationsManagementClientListEnvironmentsAllCall
- func (c *MockApplicationsManagementClientListEnvironmentsAllCall) Do(f func(context.Context) ([]v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientListEnvironmentsAllCall
- func (c *MockApplicationsManagementClientListEnvironmentsAllCall) DoAndReturn(f func(context.Context) ([]v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientListEnvironmentsAllCall
- func (c *MockApplicationsManagementClientListEnvironmentsAllCall) Return(arg0 []v20231001preview.EnvironmentResource, arg1 error) *MockApplicationsManagementClientListEnvironmentsAllCall
- type MockApplicationsManagementClientListEnvironmentsCall
- func (c *MockApplicationsManagementClientListEnvironmentsCall) Do(f func(context.Context) ([]v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientListEnvironmentsCall
- func (c *MockApplicationsManagementClientListEnvironmentsCall) DoAndReturn(f func(context.Context) ([]v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientListEnvironmentsCall
- func (c *MockApplicationsManagementClientListEnvironmentsCall) Return(arg0 []v20231001preview.EnvironmentResource, arg1 error) *MockApplicationsManagementClientListEnvironmentsCall
- type MockApplicationsManagementClientListResourceGroupsCall
- func (c *MockApplicationsManagementClientListResourceGroupsCall) Do(...) *MockApplicationsManagementClientListResourceGroupsCall
- func (c *MockApplicationsManagementClientListResourceGroupsCall) DoAndReturn(...) *MockApplicationsManagementClientListResourceGroupsCall
- func (c *MockApplicationsManagementClientListResourceGroupsCall) Return(arg0 []v20231001preview0.ResourceGroupResource, arg1 error) *MockApplicationsManagementClientListResourceGroupsCall
- type MockApplicationsManagementClientListResourcesInApplicationCall
- func (c *MockApplicationsManagementClientListResourcesInApplicationCall) Do(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesInApplicationCall
- func (c *MockApplicationsManagementClientListResourcesInApplicationCall) DoAndReturn(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesInApplicationCall
- func (c *MockApplicationsManagementClientListResourcesInApplicationCall) Return(arg0 []generated.GenericResource, arg1 error) *MockApplicationsManagementClientListResourcesInApplicationCall
- type MockApplicationsManagementClientListResourcesInEnvironmentCall
- func (c *MockApplicationsManagementClientListResourcesInEnvironmentCall) Do(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesInEnvironmentCall
- func (c *MockApplicationsManagementClientListResourcesInEnvironmentCall) DoAndReturn(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesInEnvironmentCall
- func (c *MockApplicationsManagementClientListResourcesInEnvironmentCall) Return(arg0 []generated.GenericResource, arg1 error) *MockApplicationsManagementClientListResourcesInEnvironmentCall
- type MockApplicationsManagementClientListResourcesOfTypeCall
- func (c *MockApplicationsManagementClientListResourcesOfTypeCall) Do(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeCall
- func (c *MockApplicationsManagementClientListResourcesOfTypeCall) DoAndReturn(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeCall
- func (c *MockApplicationsManagementClientListResourcesOfTypeCall) Return(arg0 []generated.GenericResource, arg1 error) *MockApplicationsManagementClientListResourcesOfTypeCall
- type MockApplicationsManagementClientListResourcesOfTypeInApplicationCall
- func (c *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) Do(f func(context.Context, string, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall
- func (c *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) DoAndReturn(f func(context.Context, string, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall
- func (c *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) Return(arg0 []generated.GenericResource, arg1 error) *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall
- type MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall
- func (c *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) Do(f func(context.Context, string, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall
- func (c *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) DoAndReturn(f func(context.Context, string, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall
- func (c *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) Return(arg0 []generated.GenericResource, arg1 error) *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall
- type MockApplicationsManagementClientMockRecorder
- func (mr *MockApplicationsManagementClientMockRecorder) CreateApplicationIfNotFound(arg0, arg1, arg2 any) *MockApplicationsManagementClientCreateApplicationIfNotFoundCall
- func (mr *MockApplicationsManagementClientMockRecorder) CreateOrUpdateApplication(arg0, arg1, arg2 any) *MockApplicationsManagementClientCreateOrUpdateApplicationCall
- func (mr *MockApplicationsManagementClientMockRecorder) CreateOrUpdateEnvironment(arg0, arg1, arg2 any) *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall
- func (mr *MockApplicationsManagementClientMockRecorder) CreateOrUpdateResourceGroup(arg0, arg1, arg2, arg3 any) *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall
- func (mr *MockApplicationsManagementClientMockRecorder) DeleteApplication(arg0, arg1 any) *MockApplicationsManagementClientDeleteApplicationCall
- func (mr *MockApplicationsManagementClientMockRecorder) DeleteEnvironment(arg0, arg1 any) *MockApplicationsManagementClientDeleteEnvironmentCall
- func (mr *MockApplicationsManagementClientMockRecorder) DeleteResource(arg0, arg1, arg2 any) *MockApplicationsManagementClientDeleteResourceCall
- func (mr *MockApplicationsManagementClientMockRecorder) DeleteResourceGroup(arg0, arg1, arg2 any) *MockApplicationsManagementClientDeleteResourceGroupCall
- func (mr *MockApplicationsManagementClientMockRecorder) GetApplication(arg0, arg1 any) *MockApplicationsManagementClientGetApplicationCall
- func (mr *MockApplicationsManagementClientMockRecorder) GetApplicationGraph(arg0, arg1 any) *MockApplicationsManagementClientGetApplicationGraphCall
- func (mr *MockApplicationsManagementClientMockRecorder) GetEnvironment(arg0, arg1 any) *MockApplicationsManagementClientGetEnvironmentCall
- func (mr *MockApplicationsManagementClientMockRecorder) GetRecipeMetadata(arg0, arg1, arg2 any) *MockApplicationsManagementClientGetRecipeMetadataCall
- func (mr *MockApplicationsManagementClientMockRecorder) GetResource(arg0, arg1, arg2 any) *MockApplicationsManagementClientGetResourceCall
- func (mr *MockApplicationsManagementClientMockRecorder) GetResourceGroup(arg0, arg1, arg2 any) *MockApplicationsManagementClientGetResourceGroupCall
- func (mr *MockApplicationsManagementClientMockRecorder) ListApplications(arg0 any) *MockApplicationsManagementClientListApplicationsCall
- func (mr *MockApplicationsManagementClientMockRecorder) ListEnvironments(arg0 any) *MockApplicationsManagementClientListEnvironmentsCall
- func (mr *MockApplicationsManagementClientMockRecorder) ListEnvironmentsAll(arg0 any) *MockApplicationsManagementClientListEnvironmentsAllCall
- func (mr *MockApplicationsManagementClientMockRecorder) ListResourceGroups(arg0, arg1 any) *MockApplicationsManagementClientListResourceGroupsCall
- func (mr *MockApplicationsManagementClientMockRecorder) ListResourcesInApplication(arg0, arg1 any) *MockApplicationsManagementClientListResourcesInApplicationCall
- func (mr *MockApplicationsManagementClientMockRecorder) ListResourcesInEnvironment(arg0, arg1 any) *MockApplicationsManagementClientListResourcesInEnvironmentCall
- func (mr *MockApplicationsManagementClientMockRecorder) ListResourcesOfType(arg0, arg1 any) *MockApplicationsManagementClientListResourcesOfTypeCall
- func (mr *MockApplicationsManagementClientMockRecorder) ListResourcesOfTypeInApplication(arg0, arg1, arg2 any) *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall
- func (mr *MockApplicationsManagementClientMockRecorder) ListResourcesOfTypeInEnvironment(arg0, arg1, arg2 any) *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall
- type MockDiagnosticsClient
- func (m *MockDiagnosticsClient) EXPECT() *MockDiagnosticsClientMockRecorder
- func (m *MockDiagnosticsClient) Expose(arg0 context.Context, arg1 ExposeOptions) (chan error, chan struct{}, chan os.Signal, error)
- func (m *MockDiagnosticsClient) GetPublicEndpoint(arg0 context.Context, arg1 EndpointOptions) (*string, error)
- func (m *MockDiagnosticsClient) Logs(arg0 context.Context, arg1 LogsOptions) ([]LogStream, error)
- type MockDiagnosticsClientExposeCall
- func (c *MockDiagnosticsClientExposeCall) Do(...) *MockDiagnosticsClientExposeCall
- func (c *MockDiagnosticsClientExposeCall) DoAndReturn(...) *MockDiagnosticsClientExposeCall
- func (c *MockDiagnosticsClientExposeCall) Return(arg0 chan error, arg1 chan struct{}, arg2 chan os.Signal, arg3 error) *MockDiagnosticsClientExposeCall
- type MockDiagnosticsClientGetPublicEndpointCall
- func (c *MockDiagnosticsClientGetPublicEndpointCall) Do(f func(context.Context, EndpointOptions) (*string, error)) *MockDiagnosticsClientGetPublicEndpointCall
- func (c *MockDiagnosticsClientGetPublicEndpointCall) DoAndReturn(f func(context.Context, EndpointOptions) (*string, error)) *MockDiagnosticsClientGetPublicEndpointCall
- func (c *MockDiagnosticsClientGetPublicEndpointCall) Return(arg0 *string, arg1 error) *MockDiagnosticsClientGetPublicEndpointCall
- type MockDiagnosticsClientLogsCall
- func (c *MockDiagnosticsClientLogsCall) Do(f func(context.Context, LogsOptions) ([]LogStream, error)) *MockDiagnosticsClientLogsCall
- func (c *MockDiagnosticsClientLogsCall) DoAndReturn(f func(context.Context, LogsOptions) ([]LogStream, error)) *MockDiagnosticsClientLogsCall
- func (c *MockDiagnosticsClientLogsCall) Return(arg0 []LogStream, arg1 error) *MockDiagnosticsClientLogsCall
- type MockDiagnosticsClientMockRecorder
- func (mr *MockDiagnosticsClientMockRecorder) Expose(arg0, arg1 any) *MockDiagnosticsClientExposeCall
- func (mr *MockDiagnosticsClientMockRecorder) GetPublicEndpoint(arg0, arg1 any) *MockDiagnosticsClientGetPublicEndpointCall
- func (mr *MockDiagnosticsClientMockRecorder) Logs(arg0, arg1 any) *MockDiagnosticsClientLogsCall
- type MockapplicationResourceClient
- func (m *MockapplicationResourceClient) CreateOrUpdate(ctx context.Context, applicationName string, ...) (v20231001preview.ApplicationsClientCreateOrUpdateResponse, error)
- func (m *MockapplicationResourceClient) Delete(ctx context.Context, applicationName string, ...) (v20231001preview.ApplicationsClientDeleteResponse, error)
- func (m *MockapplicationResourceClient) EXPECT() *MockapplicationResourceClientMockRecorder
- func (m *MockapplicationResourceClient) Get(ctx context.Context, applicationName string, ...) (v20231001preview.ApplicationsClientGetResponse, error)
- func (m *MockapplicationResourceClient) GetGraph(ctx context.Context, applicationName string, body map[string]any, ...) (v20231001preview.ApplicationsClientGetGraphResponse, error)
- func (m *MockapplicationResourceClient) NewListByScopePager(options *v20231001preview.ApplicationsClientListByScopeOptions) *runtime.Pager[v20231001preview.ApplicationsClientListByScopeResponse]
- type MockapplicationResourceClientCreateOrUpdateCall
- func (c *MockapplicationResourceClientCreateOrUpdateCall) Do(...) *MockapplicationResourceClientCreateOrUpdateCall
- func (c *MockapplicationResourceClientCreateOrUpdateCall) DoAndReturn(...) *MockapplicationResourceClientCreateOrUpdateCall
- func (c *MockapplicationResourceClientCreateOrUpdateCall) Return(arg0 v20231001preview.ApplicationsClientCreateOrUpdateResponse, arg1 error) *MockapplicationResourceClientCreateOrUpdateCall
- type MockapplicationResourceClientDeleteCall
- func (c *MockapplicationResourceClientDeleteCall) Do(...) *MockapplicationResourceClientDeleteCall
- func (c *MockapplicationResourceClientDeleteCall) DoAndReturn(...) *MockapplicationResourceClientDeleteCall
- func (c *MockapplicationResourceClientDeleteCall) Return(arg0 v20231001preview.ApplicationsClientDeleteResponse, arg1 error) *MockapplicationResourceClientDeleteCall
- type MockapplicationResourceClientGetCall
- func (c *MockapplicationResourceClientGetCall) Do(...) *MockapplicationResourceClientGetCall
- func (c *MockapplicationResourceClientGetCall) DoAndReturn(...) *MockapplicationResourceClientGetCall
- func (c *MockapplicationResourceClientGetCall) Return(arg0 v20231001preview.ApplicationsClientGetResponse, arg1 error) *MockapplicationResourceClientGetCall
- type MockapplicationResourceClientGetGraphCall
- func (c *MockapplicationResourceClientGetGraphCall) Do(...) *MockapplicationResourceClientGetGraphCall
- func (c *MockapplicationResourceClientGetGraphCall) DoAndReturn(...) *MockapplicationResourceClientGetGraphCall
- func (c *MockapplicationResourceClientGetGraphCall) Return(arg0 v20231001preview.ApplicationsClientGetGraphResponse, arg1 error) *MockapplicationResourceClientGetGraphCall
- type MockapplicationResourceClientMockRecorder
- func (mr *MockapplicationResourceClientMockRecorder) CreateOrUpdate(ctx, applicationName, resource, options any) *MockapplicationResourceClientCreateOrUpdateCall
- func (mr *MockapplicationResourceClientMockRecorder) Delete(ctx, applicationName, options any) *MockapplicationResourceClientDeleteCall
- func (mr *MockapplicationResourceClientMockRecorder) Get(ctx, applicationName, options any) *MockapplicationResourceClientGetCall
- func (mr *MockapplicationResourceClientMockRecorder) GetGraph(ctx, applicationName, body, options any) *MockapplicationResourceClientGetGraphCall
- func (mr *MockapplicationResourceClientMockRecorder) NewListByScopePager(options any) *MockapplicationResourceClientNewListByScopePagerCall
- type MockapplicationResourceClientNewListByScopePagerCall
- func (c *MockapplicationResourceClientNewListByScopePagerCall) Do(...) *MockapplicationResourceClientNewListByScopePagerCall
- func (c *MockapplicationResourceClientNewListByScopePagerCall) DoAndReturn(...) *MockapplicationResourceClientNewListByScopePagerCall
- func (c *MockapplicationResourceClientNewListByScopePagerCall) Return(arg0 *runtime.Pager[v20231001preview.ApplicationsClientListByScopeResponse]) *MockapplicationResourceClientNewListByScopePagerCall
- type MockenvironmentResourceClient
- func (m *MockenvironmentResourceClient) CreateOrUpdate(ctx context.Context, environmentName string, ...) (v20231001preview.EnvironmentsClientCreateOrUpdateResponse, error)
- func (m *MockenvironmentResourceClient) Delete(ctx context.Context, environmentName string, ...) (v20231001preview.EnvironmentsClientDeleteResponse, error)
- func (m *MockenvironmentResourceClient) EXPECT() *MockenvironmentResourceClientMockRecorder
- func (m *MockenvironmentResourceClient) Get(ctx context.Context, environmentName string, ...) (v20231001preview.EnvironmentsClientGetResponse, error)
- func (m *MockenvironmentResourceClient) GetMetadata(ctx context.Context, environmentName string, ...) (v20231001preview.EnvironmentsClientGetMetadataResponse, error)
- func (m *MockenvironmentResourceClient) NewListByScopePager(options *v20231001preview.EnvironmentsClientListByScopeOptions) *runtime.Pager[v20231001preview.EnvironmentsClientListByScopeResponse]
- type MockenvironmentResourceClientCreateOrUpdateCall
- func (c *MockenvironmentResourceClientCreateOrUpdateCall) Do(...) *MockenvironmentResourceClientCreateOrUpdateCall
- func (c *MockenvironmentResourceClientCreateOrUpdateCall) DoAndReturn(...) *MockenvironmentResourceClientCreateOrUpdateCall
- func (c *MockenvironmentResourceClientCreateOrUpdateCall) Return(arg0 v20231001preview.EnvironmentsClientCreateOrUpdateResponse, arg1 error) *MockenvironmentResourceClientCreateOrUpdateCall
- type MockenvironmentResourceClientDeleteCall
- func (c *MockenvironmentResourceClientDeleteCall) Do(...) *MockenvironmentResourceClientDeleteCall
- func (c *MockenvironmentResourceClientDeleteCall) DoAndReturn(...) *MockenvironmentResourceClientDeleteCall
- func (c *MockenvironmentResourceClientDeleteCall) Return(arg0 v20231001preview.EnvironmentsClientDeleteResponse, arg1 error) *MockenvironmentResourceClientDeleteCall
- type MockenvironmentResourceClientGetCall
- func (c *MockenvironmentResourceClientGetCall) Do(...) *MockenvironmentResourceClientGetCall
- func (c *MockenvironmentResourceClientGetCall) DoAndReturn(...) *MockenvironmentResourceClientGetCall
- func (c *MockenvironmentResourceClientGetCall) Return(arg0 v20231001preview.EnvironmentsClientGetResponse, arg1 error) *MockenvironmentResourceClientGetCall
- type MockenvironmentResourceClientGetMetadataCall
- func (c *MockenvironmentResourceClientGetMetadataCall) Do(...) *MockenvironmentResourceClientGetMetadataCall
- func (c *MockenvironmentResourceClientGetMetadataCall) DoAndReturn(...) *MockenvironmentResourceClientGetMetadataCall
- func (c *MockenvironmentResourceClientGetMetadataCall) Return(arg0 v20231001preview.EnvironmentsClientGetMetadataResponse, arg1 error) *MockenvironmentResourceClientGetMetadataCall
- type MockenvironmentResourceClientMockRecorder
- func (mr *MockenvironmentResourceClientMockRecorder) CreateOrUpdate(ctx, environmentName, resource, options any) *MockenvironmentResourceClientCreateOrUpdateCall
- func (mr *MockenvironmentResourceClientMockRecorder) Delete(ctx, environmentName, options any) *MockenvironmentResourceClientDeleteCall
- func (mr *MockenvironmentResourceClientMockRecorder) Get(ctx, environmentName, options any) *MockenvironmentResourceClientGetCall
- func (mr *MockenvironmentResourceClientMockRecorder) GetMetadata(ctx, environmentName, body, options any) *MockenvironmentResourceClientGetMetadataCall
- func (mr *MockenvironmentResourceClientMockRecorder) NewListByScopePager(options any) *MockenvironmentResourceClientNewListByScopePagerCall
- type MockenvironmentResourceClientNewListByScopePagerCall
- func (c *MockenvironmentResourceClientNewListByScopePagerCall) Do(...) *MockenvironmentResourceClientNewListByScopePagerCall
- func (c *MockenvironmentResourceClientNewListByScopePagerCall) DoAndReturn(...) *MockenvironmentResourceClientNewListByScopePagerCall
- func (c *MockenvironmentResourceClientNewListByScopePagerCall) Return(arg0 *runtime.Pager[v20231001preview.EnvironmentsClientListByScopeResponse]) *MockenvironmentResourceClientNewListByScopePagerCall
- type MockgenericResourceClient
- func (m *MockgenericResourceClient) BeginCreateOrUpdate(ctx context.Context, resourceName string, ...) (*runtime.Poller[generated.GenericResourcesClientCreateOrUpdateResponse], error)
- func (m *MockgenericResourceClient) BeginDelete(ctx context.Context, resourceName string, ...) (*runtime.Poller[generated.GenericResourcesClientDeleteResponse], error)
- func (m *MockgenericResourceClient) EXPECT() *MockgenericResourceClientMockRecorder
- func (m *MockgenericResourceClient) Get(ctx context.Context, resourceName string, ...) (generated.GenericResourcesClientGetResponse, error)
- func (m *MockgenericResourceClient) NewListByRootScopePager(options *generated.GenericResourcesClientListByRootScopeOptions) *runtime.Pager[generated.GenericResourcesClientListByRootScopeResponse]
- type MockgenericResourceClientBeginCreateOrUpdateCall
- func (c *MockgenericResourceClientBeginCreateOrUpdateCall) Do(...) *MockgenericResourceClientBeginCreateOrUpdateCall
- func (c *MockgenericResourceClientBeginCreateOrUpdateCall) DoAndReturn(...) *MockgenericResourceClientBeginCreateOrUpdateCall
- func (c *MockgenericResourceClientBeginCreateOrUpdateCall) Return(arg0 *runtime.Poller[generated.GenericResourcesClientCreateOrUpdateResponse], ...) *MockgenericResourceClientBeginCreateOrUpdateCall
- type MockgenericResourceClientBeginDeleteCall
- func (c *MockgenericResourceClientBeginDeleteCall) Do(...) *MockgenericResourceClientBeginDeleteCall
- func (c *MockgenericResourceClientBeginDeleteCall) DoAndReturn(...) *MockgenericResourceClientBeginDeleteCall
- func (c *MockgenericResourceClientBeginDeleteCall) Return(arg0 *runtime.Poller[generated.GenericResourcesClientDeleteResponse], ...) *MockgenericResourceClientBeginDeleteCall
- type MockgenericResourceClientGetCall
- func (c *MockgenericResourceClientGetCall) Do(...) *MockgenericResourceClientGetCall
- func (c *MockgenericResourceClientGetCall) DoAndReturn(...) *MockgenericResourceClientGetCall
- func (c *MockgenericResourceClientGetCall) Return(arg0 generated.GenericResourcesClientGetResponse, arg1 error) *MockgenericResourceClientGetCall
- type MockgenericResourceClientMockRecorder
- func (mr *MockgenericResourceClientMockRecorder) BeginCreateOrUpdate(ctx, resourceName, genericResourceParameters, options any) *MockgenericResourceClientBeginCreateOrUpdateCall
- func (mr *MockgenericResourceClientMockRecorder) BeginDelete(ctx, resourceName, options any) *MockgenericResourceClientBeginDeleteCall
- func (mr *MockgenericResourceClientMockRecorder) Get(ctx, resourceName, options any) *MockgenericResourceClientGetCall
- func (mr *MockgenericResourceClientMockRecorder) NewListByRootScopePager(options any) *MockgenericResourceClientNewListByRootScopePagerCall
- type MockgenericResourceClientNewListByRootScopePagerCall
- func (c *MockgenericResourceClientNewListByRootScopePagerCall) Do(...) *MockgenericResourceClientNewListByRootScopePagerCall
- func (c *MockgenericResourceClientNewListByRootScopePagerCall) DoAndReturn(...) *MockgenericResourceClientNewListByRootScopePagerCall
- func (c *MockgenericResourceClientNewListByRootScopePagerCall) Return(arg0 *runtime.Pager[generated.GenericResourcesClientListByRootScopeResponse]) *MockgenericResourceClientNewListByRootScopePagerCall
- type MockresourceGroupClient
- func (m *MockresourceGroupClient) CreateOrUpdate(ctx context.Context, planeName, resourceGroupName string, ...) (v20231001preview0.ResourceGroupsClientCreateOrUpdateResponse, error)
- func (m *MockresourceGroupClient) Delete(ctx context.Context, planeName, resourceGroupName string, ...) (v20231001preview0.ResourceGroupsClientDeleteResponse, error)
- func (m *MockresourceGroupClient) EXPECT() *MockresourceGroupClientMockRecorder
- func (m *MockresourceGroupClient) Get(ctx context.Context, planeName, resourceGroupName string, ...) (v20231001preview0.ResourceGroupsClientGetResponse, error)
- func (m *MockresourceGroupClient) NewListPager(planeName string, options *v20231001preview0.ResourceGroupsClientListOptions) *runtime.Pager[v20231001preview0.ResourceGroupsClientListResponse]
- type MockresourceGroupClientCreateOrUpdateCall
- func (c *MockresourceGroupClientCreateOrUpdateCall) Do(...) *MockresourceGroupClientCreateOrUpdateCall
- func (c *MockresourceGroupClientCreateOrUpdateCall) DoAndReturn(...) *MockresourceGroupClientCreateOrUpdateCall
- func (c *MockresourceGroupClientCreateOrUpdateCall) Return(arg0 v20231001preview0.ResourceGroupsClientCreateOrUpdateResponse, arg1 error) *MockresourceGroupClientCreateOrUpdateCall
- type MockresourceGroupClientDeleteCall
- func (c *MockresourceGroupClientDeleteCall) Do(...) *MockresourceGroupClientDeleteCall
- func (c *MockresourceGroupClientDeleteCall) DoAndReturn(...) *MockresourceGroupClientDeleteCall
- func (c *MockresourceGroupClientDeleteCall) Return(arg0 v20231001preview0.ResourceGroupsClientDeleteResponse, arg1 error) *MockresourceGroupClientDeleteCall
- type MockresourceGroupClientGetCall
- func (c *MockresourceGroupClientGetCall) Do(...) *MockresourceGroupClientGetCall
- func (c *MockresourceGroupClientGetCall) DoAndReturn(...) *MockresourceGroupClientGetCall
- func (c *MockresourceGroupClientGetCall) Return(arg0 v20231001preview0.ResourceGroupsClientGetResponse, arg1 error) *MockresourceGroupClientGetCall
- type MockresourceGroupClientMockRecorder
- func (mr *MockresourceGroupClientMockRecorder) CreateOrUpdate(ctx, planeName, resourceGroupName, resource, options any) *MockresourceGroupClientCreateOrUpdateCall
- func (mr *MockresourceGroupClientMockRecorder) Delete(ctx, planeName, resourceGroupName, options any) *MockresourceGroupClientDeleteCall
- func (mr *MockresourceGroupClientMockRecorder) Get(ctx, planeName, resourceGroupName, options any) *MockresourceGroupClientGetCall
- func (mr *MockresourceGroupClientMockRecorder) NewListPager(planeName, options any) *MockresourceGroupClientNewListPagerCall
- type MockresourceGroupClientNewListPagerCall
- func (c *MockresourceGroupClientNewListPagerCall) Do(...) *MockresourceGroupClientNewListPagerCall
- func (c *MockresourceGroupClientNewListPagerCall) DoAndReturn(...) *MockresourceGroupClientNewListPagerCall
- func (c *MockresourceGroupClientNewListPagerCall) Return(arg0 *runtime.Pager[v20231001preview0.ResourceGroupsClientListResponse]) *MockresourceGroupClientNewListPagerCall
- type Providers
- type RadiusProvider
- type ResourceProgress
- type ResourceStatus
- type UCPApplicationsManagementClient
- func (amc *UCPApplicationsManagementClient) CreateApplicationIfNotFound(ctx context.Context, applicationNameOrID string, ...) error
- func (amc *UCPApplicationsManagementClient) CreateOrUpdateApplication(ctx context.Context, applicationNameOrID string, ...) error
- func (amc *UCPApplicationsManagementClient) CreateOrUpdateEnvironment(ctx context.Context, environmentNameOrID string, ...) error
- func (amc *UCPApplicationsManagementClient) CreateOrUpdateResourceGroup(ctx context.Context, planeName string, resourceGroupName string, ...) error
- func (amc *UCPApplicationsManagementClient) DeleteApplication(ctx context.Context, applicationNameOrID string) (bool, error)
- func (amc *UCPApplicationsManagementClient) DeleteEnvironment(ctx context.Context, environmentNameOrID string) (bool, error)
- func (amc *UCPApplicationsManagementClient) DeleteResource(ctx context.Context, resourceType string, resourceNameOrID string) (bool, error)
- func (amc *UCPApplicationsManagementClient) DeleteResourceGroup(ctx context.Context, planeName string, resourceGroupName string) (bool, error)
- func (amc *UCPApplicationsManagementClient) GetApplication(ctx context.Context, applicationNameOrID string) (corerpv20231001.ApplicationResource, error)
- func (amc *UCPApplicationsManagementClient) GetApplicationGraph(ctx context.Context, applicationNameOrID string) (corerpv20231001.ApplicationGraphResponse, error)
- func (amc *UCPApplicationsManagementClient) GetEnvironment(ctx context.Context, environmentNameOrID string) (corerpv20231001.EnvironmentResource, error)
- func (amc *UCPApplicationsManagementClient) GetRecipeMetadata(ctx context.Context, environmentNameOrID string, ...) (corerpv20231001.RecipeGetMetadataResponse, error)
- func (amc *UCPApplicationsManagementClient) GetResource(ctx context.Context, resourceType string, resourceNameOrID string) (generated.GenericResource, error)
- func (amc *UCPApplicationsManagementClient) GetResourceGroup(ctx context.Context, planeName string, resourceGroupName string) (ucpv20231001.ResourceGroupResource, error)
- func (amc *UCPApplicationsManagementClient) ListApplications(ctx context.Context) ([]corerpv20231001.ApplicationResource, error)
- func (amc *UCPApplicationsManagementClient) ListApplicationsInEnvironment(ctx context.Context, environmentNameOrID string) ([]corerpv20231001.ApplicationResource, error)
- func (amc *UCPApplicationsManagementClient) ListEnvironments(ctx context.Context) ([]corerpv20231001.EnvironmentResource, error)
- func (amc *UCPApplicationsManagementClient) ListEnvironmentsAll(ctx context.Context) ([]corerpv20231001.EnvironmentResource, error)
- func (amc *UCPApplicationsManagementClient) ListResourceGroups(ctx context.Context, planeName string) ([]ucpv20231001.ResourceGroupResource, error)
- func (amc *UCPApplicationsManagementClient) ListResourcesInApplication(ctx context.Context, applicationNameOrID string) ([]generated.GenericResource, error)
- func (amc *UCPApplicationsManagementClient) ListResourcesInEnvironment(ctx context.Context, environmentNameOrID string) ([]generated.GenericResource, error)
- func (amc *UCPApplicationsManagementClient) ListResourcesOfType(ctx context.Context, resourceType string) ([]generated.GenericResource, error)
- func (amc *UCPApplicationsManagementClient) ListResourcesOfTypeInApplication(ctx context.Context, applicationNameOrID string, resourceType string) ([]generated.GenericResource, error)
- func (amc *UCPApplicationsManagementClient) ListResourcesOfTypeInEnvironment(ctx context.Context, environmentNameOrID string, resourceType string) ([]generated.GenericResource, error)
Constants ¶
This section is empty.
Variables ¶
var ( ResourceTypesList = []string{ ds_ctrl.MongoDatabasesResourceType, msg_ctrl.RabbitMQQueuesResourceType, ds_ctrl.RedisCachesResourceType, ds_ctrl.SqlDatabasesResourceType, dapr_ctrl.DaprStateStoresResourceType, dapr_ctrl.DaprSecretStoresResourceType, dapr_ctrl.DaprPubSubBrokersResourceType, ext_ctrl.ResourceTypeName, gtwy_ctrl.ResourceTypeName, cntr_ctrl.ResourceTypeName, sstr_ctrl.ResourceTypeName, } )
Functions ¶
func Is404Error ¶
"Is404Error" checks if the given error is a 404 error by checking if it is one of: a ResponseError with an ErrorCode of "NotFound", or a ResponseError with a StatusCode of 404, or an ErrorResponse with an Error Code of "NotFound".
Types ¶
type AWSProvider ¶
type AWSProvider struct { // Scope is the target level for deploying the AWS resources. Scope string }
type ApplicationStatus ¶
type ApplicationStatus struct { Name string ResourceCount int Gateways []GatewayStatus }
type ApplicationsManagementClient ¶
type ApplicationsManagementClient interface { // ListResourcesOfType lists all resources of a given type in the configured scope. ListResourcesOfType(ctx context.Context, resourceType string) ([]generated.GenericResource, error) // ListResourcesOfTypeInApplication lists all resources of a given type in a given application in the configured scope. ListResourcesOfTypeInApplication(ctx context.Context, applicationNameOrID string, resourceType string) ([]generated.GenericResource, error) // ListResourcesOfTypeInEnvironment lists all resources of a given type in a given environment in the configured scope. ListResourcesOfTypeInEnvironment(ctx context.Context, environmentNameOrID string, resourceType string) ([]generated.GenericResource, error) // ListResourcesInApplication lists all resources in a given application in the configured scope. ListResourcesInApplication(ctx context.Context, applicationNameOrID string) ([]generated.GenericResource, error) // ListResourcesInEnvironment lists all resources in a given environment in the configured scope. ListResourcesInEnvironment(ctx context.Context, environmentNameOrID string) ([]generated.GenericResource, error) // GetResource retrieves a resource by its type and name (or id). GetResource(ctx context.Context, resourceType string, resourceNameOrID string) (generated.GenericResource, error) // DeleteResource deletes a resource by its type and name (or id). DeleteResource(ctx context.Context, resourceType string, resourceNameOrID string) (bool, error) // ListApplications lists all applications in the configured scope. ListApplications(ctx context.Context) ([]corerp.ApplicationResource, error) // GetApplication retrieves an application by its name (or id). GetApplication(ctx context.Context, applicationNameOrID string) (corerp.ApplicationResource, error) // GetApplicationGraph retrieves the application graph of an application by its name (or id). GetApplicationGraph(ctx context.Context, applicationNameOrID string) (corerp.ApplicationGraphResponse, error) // CreateOrUpdateApplication creates or updates an application by its name (or id). CreateOrUpdateApplication(ctx context.Context, applicationNameOrID string, resource *corerp.ApplicationResource) error // CreateApplicationIfNotFound creates an application if it does not exist. CreateApplicationIfNotFound(ctx context.Context, applicationNameOrID string, resource *corerp.ApplicationResource) error // DeleteApplication deletes an application and all of its resources by its name (or id). DeleteApplication(ctx context.Context, applicationNameOrID string) (bool, error) // ListEnvironments lists all environments in the configured scope (assumes configured scope is a resource group). ListEnvironments(ctx context.Context) ([]corerp.EnvironmentResource, error) // ListEnvironmentsAll lists all environments across resource groups. ListEnvironmentsAll(ctx context.Context) ([]corerp.EnvironmentResource, error) // GetEnvironment retrieves an environment by its name (in the configured scope) or resource ID. GetEnvironment(ctx context.Context, environmentNameOrID string) (corerp.EnvironmentResource, error) // GetRecipeMetadata shows recipe details including list of all parameters for a given recipe registered to an environment. GetRecipeMetadata(ctx context.Context, environmentNameOrID string, recipe corerp.RecipeGetMetadata) (corerp.RecipeGetMetadataResponse, error) // CreateOrUpdateEnvironment creates an environment by its name (or id). CreateOrUpdateEnvironment(ctx context.Context, environmentNameOrID string, resource *corerp.EnvironmentResource) error // DeleteEnvironment deletes an environment and all of its resources by its name (in the configured scope) or resource ID. DeleteEnvironment(ctx context.Context, environmentNameOrID string) (bool, error) // ListResourceGroups lists all resource groups in the configured scope. ListResourceGroups(ctx context.Context, planeName string) ([]ucp_v20231001preview.ResourceGroupResource, error) // GetResourceGroup retrieves a resource group by its name. GetResourceGroup(ctx context.Context, planeName string, resourceGroupName string) (ucp_v20231001preview.ResourceGroupResource, error) // CreateOrUpdateResourceGroup creates a resource group by its name. CreateOrUpdateResourceGroup(ctx context.Context, planeName string, resourceGroupName string, resource *ucp_v20231001preview.ResourceGroupResource) error // DeleteResourceGroup deletes a resource group by its name. DeleteResourceGroup(ctx context.Context, planeName string, resourceGroupName string) (bool, error) }
ApplicationsManagementClient is used to interface with management features like listing resources by app, show details of a resource.
type AzureProvider ¶
type AzureProvider struct { // Scope is the target level for deploying the Azure resources. Scope string }
type DeploymentClient ¶
type DeploymentClient interface {
Deploy(ctx context.Context, options DeploymentOptions) (DeploymentResult, error)
}
DeploymentClient is used to deploy ARM-JSON templates (compiled Bicep output).
type DeploymentOptions ¶
type DeploymentOptions struct { // Template is the text of the ARM-JSON template in string form. Template map[string]any // Parameters is the set of parameters passed to the deployment. Parameters DeploymentParameters // Providers are the cloud providers configured on the environment for deployment. Providers *Providers // ProgressChan is a channel used to signal progress of the deployment operation. // The deployment client MUST close the channel if it was provided. ProgressChan chan<- ResourceProgress }
DeploymentOptions is the options passed when deploying an ARM-JSON template.
type DeploymentOutput ¶
type DeploymentParameters ¶
NOTE: parameters in the template engine follow the structure:
{ "parameter1Name": { "value": ... } }
Each parameter can have additional metadata besides the mandatory 'value' key.
We're really only interested in 'value' and we pass the other metadata through.
The full format is documented here: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/parameter-files
Note that we're only storing the 'parameters' node of the format described above.
func ShallowCopy ¶
func ShallowCopy(params DeploymentParameters) DeploymentParameters
ShallowCopy creates a shallow copy of the DeploymentParameters object by iterating through the original object and copying each key-value pair into a new object.
type DeploymentResult ¶
type DeploymentResult struct { Resources []ucpresources.ID Outputs map[string]DeploymentOutput }
type DiagnosticsClient ¶
type DiagnosticsClient interface { Expose(ctx context.Context, options ExposeOptions) (failed chan error, stop chan struct{}, signals chan os.Signal, err error) Logs(ctx context.Context, options LogsOptions) ([]LogStream, error) GetPublicEndpoint(ctx context.Context, options EndpointOptions) (*string, error) }
DiagnosticsClient is used to interface with diagnostics features like logs and port-forwards.
type EndpointOptions ¶
type EndpointOptions struct {
ResourceID ucpresources.ID
}
type ExposeOptions ¶
type GatewayStatus ¶
type LogStream ¶
type LogStream struct { Name string Stream io.ReadCloser }
type LogsOptions ¶
type MockApplicationsManagementClient ¶
type MockApplicationsManagementClient struct {
// contains filtered or unexported fields
}
MockApplicationsManagementClient is a mock of ApplicationsManagementClient interface.
func NewMockApplicationsManagementClient ¶
func NewMockApplicationsManagementClient(ctrl *gomock.Controller) *MockApplicationsManagementClient
NewMockApplicationsManagementClient creates a new mock instance.
func (*MockApplicationsManagementClient) CreateApplicationIfNotFound ¶
func (m *MockApplicationsManagementClient) CreateApplicationIfNotFound(arg0 context.Context, arg1 string, arg2 *v20231001preview.ApplicationResource) error
CreateApplicationIfNotFound mocks base method.
func (*MockApplicationsManagementClient) CreateOrUpdateApplication ¶
func (m *MockApplicationsManagementClient) CreateOrUpdateApplication(arg0 context.Context, arg1 string, arg2 *v20231001preview.ApplicationResource) error
CreateOrUpdateApplication mocks base method.
func (*MockApplicationsManagementClient) CreateOrUpdateEnvironment ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) CreateOrUpdateEnvironment(arg0 context.Context, arg1 string, arg2 *v20231001preview.EnvironmentResource) error
CreateOrUpdateEnvironment mocks base method.
func (*MockApplicationsManagementClient) CreateOrUpdateResourceGroup ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) CreateOrUpdateResourceGroup(arg0 context.Context, arg1, arg2 string, arg3 *v20231001preview0.ResourceGroupResource) error
CreateOrUpdateResourceGroup mocks base method.
func (*MockApplicationsManagementClient) DeleteApplication ¶
func (m *MockApplicationsManagementClient) DeleteApplication(arg0 context.Context, arg1 string) (bool, error)
DeleteApplication mocks base method.
func (*MockApplicationsManagementClient) DeleteEnvironment ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) DeleteEnvironment(arg0 context.Context, arg1 string) (bool, error)
DeleteEnvironment mocks base method.
func (*MockApplicationsManagementClient) DeleteResource ¶
func (m *MockApplicationsManagementClient) DeleteResource(arg0 context.Context, arg1, arg2 string) (bool, error)
DeleteResource mocks base method.
func (*MockApplicationsManagementClient) DeleteResourceGroup ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) DeleteResourceGroup(arg0 context.Context, arg1, arg2 string) (bool, error)
DeleteResourceGroup mocks base method.
func (*MockApplicationsManagementClient) EXPECT ¶
func (m *MockApplicationsManagementClient) EXPECT() *MockApplicationsManagementClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationsManagementClient) GetApplication ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) GetApplication(arg0 context.Context, arg1 string) (v20231001preview.ApplicationResource, error)
GetApplication mocks base method.
func (*MockApplicationsManagementClient) GetApplicationGraph ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) GetApplicationGraph(arg0 context.Context, arg1 string) (v20231001preview.ApplicationGraphResponse, error)
GetApplicationGraph mocks base method.
func (*MockApplicationsManagementClient) GetEnvironment ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) GetEnvironment(arg0 context.Context, arg1 string) (v20231001preview.EnvironmentResource, error)
GetEnvironment mocks base method.
func (*MockApplicationsManagementClient) GetRecipeMetadata ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) GetRecipeMetadata(arg0 context.Context, arg1 string, arg2 v20231001preview.RecipeGetMetadata) (v20231001preview.RecipeGetMetadataResponse, error)
GetRecipeMetadata mocks base method.
func (*MockApplicationsManagementClient) GetResource ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) GetResource(arg0 context.Context, arg1, arg2 string) (generated.GenericResource, error)
GetResource mocks base method.
func (*MockApplicationsManagementClient) GetResourceGroup ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) GetResourceGroup(arg0 context.Context, arg1, arg2 string) (v20231001preview0.ResourceGroupResource, error)
GetResourceGroup mocks base method.
func (*MockApplicationsManagementClient) ListApplications ¶
func (m *MockApplicationsManagementClient) ListApplications(arg0 context.Context) ([]v20231001preview.ApplicationResource, error)
ListApplications mocks base method.
func (*MockApplicationsManagementClient) ListEnvironments ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) ListEnvironments(arg0 context.Context) ([]v20231001preview.EnvironmentResource, error)
ListEnvironments mocks base method.
func (*MockApplicationsManagementClient) ListEnvironmentsAll ¶
func (m *MockApplicationsManagementClient) ListEnvironmentsAll(arg0 context.Context) ([]v20231001preview.EnvironmentResource, error)
ListEnvironmentsAll mocks base method.
func (*MockApplicationsManagementClient) ListResourceGroups ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) ListResourceGroups(arg0 context.Context, arg1 string) ([]v20231001preview0.ResourceGroupResource, error)
ListResourceGroups mocks base method.
func (*MockApplicationsManagementClient) ListResourcesInApplication ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) ListResourcesInApplication(arg0 context.Context, arg1 string) ([]generated.GenericResource, error)
ListResourcesInApplication mocks base method.
func (*MockApplicationsManagementClient) ListResourcesInEnvironment ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) ListResourcesInEnvironment(arg0 context.Context, arg1 string) ([]generated.GenericResource, error)
ListResourcesInEnvironment mocks base method.
func (*MockApplicationsManagementClient) ListResourcesOfType ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) ListResourcesOfType(arg0 context.Context, arg1 string) ([]generated.GenericResource, error)
ListResourcesOfType mocks base method.
func (*MockApplicationsManagementClient) ListResourcesOfTypeInApplication ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) ListResourcesOfTypeInApplication(arg0 context.Context, arg1, arg2 string) ([]generated.GenericResource, error)
ListResourcesOfTypeInApplication mocks base method.
func (*MockApplicationsManagementClient) ListResourcesOfTypeInEnvironment ¶ added in v0.34.0
func (m *MockApplicationsManagementClient) ListResourcesOfTypeInEnvironment(arg0 context.Context, arg1, arg2 string) ([]generated.GenericResource, error)
ListResourcesOfTypeInEnvironment mocks base method.
type MockApplicationsManagementClientCreateApplicationIfNotFoundCall ¶ added in v0.35.0
MockApplicationsManagementClientCreateApplicationIfNotFoundCall wrap *gomock.Call
func (*MockApplicationsManagementClientCreateApplicationIfNotFoundCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateApplicationIfNotFoundCall) Do(f func(context.Context, string, *v20231001preview.ApplicationResource) error) *MockApplicationsManagementClientCreateApplicationIfNotFoundCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientCreateApplicationIfNotFoundCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateApplicationIfNotFoundCall) DoAndReturn(f func(context.Context, string, *v20231001preview.ApplicationResource) error) *MockApplicationsManagementClientCreateApplicationIfNotFoundCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientCreateApplicationIfNotFoundCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateApplicationIfNotFoundCall) Return(arg0 error) *MockApplicationsManagementClientCreateApplicationIfNotFoundCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientCreateOrUpdateApplicationCall ¶ added in v0.35.0
MockApplicationsManagementClientCreateOrUpdateApplicationCall wrap *gomock.Call
func (*MockApplicationsManagementClientCreateOrUpdateApplicationCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateOrUpdateApplicationCall) Do(f func(context.Context, string, *v20231001preview.ApplicationResource) error) *MockApplicationsManagementClientCreateOrUpdateApplicationCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientCreateOrUpdateApplicationCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateOrUpdateApplicationCall) DoAndReturn(f func(context.Context, string, *v20231001preview.ApplicationResource) error) *MockApplicationsManagementClientCreateOrUpdateApplicationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientCreateOrUpdateApplicationCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateOrUpdateApplicationCall) Return(arg0 error) *MockApplicationsManagementClientCreateOrUpdateApplicationCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientCreateOrUpdateEnvironmentCall ¶ added in v0.35.0
MockApplicationsManagementClientCreateOrUpdateEnvironmentCall wrap *gomock.Call
func (*MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) Do(f func(context.Context, string, *v20231001preview.EnvironmentResource) error) *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) DoAndReturn(f func(context.Context, string, *v20231001preview.EnvironmentResource) error) *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) Return(arg0 error) *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientCreateOrUpdateResourceGroupCall ¶ added in v0.35.0
MockApplicationsManagementClientCreateOrUpdateResourceGroupCall wrap *gomock.Call
func (*MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) Do(f func(context.Context, string, string, *v20231001preview0.ResourceGroupResource) error) *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) DoAndReturn(f func(context.Context, string, string, *v20231001preview0.ResourceGroupResource) error) *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) Return(arg0 error) *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientDeleteApplicationCall ¶ added in v0.35.0
MockApplicationsManagementClientDeleteApplicationCall wrap *gomock.Call
func (*MockApplicationsManagementClientDeleteApplicationCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteApplicationCall) Do(f func(context.Context, string) (bool, error)) *MockApplicationsManagementClientDeleteApplicationCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientDeleteApplicationCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteApplicationCall) DoAndReturn(f func(context.Context, string) (bool, error)) *MockApplicationsManagementClientDeleteApplicationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientDeleteApplicationCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteApplicationCall) Return(arg0 bool, arg1 error) *MockApplicationsManagementClientDeleteApplicationCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientDeleteEnvironmentCall ¶ added in v0.35.0
MockApplicationsManagementClientDeleteEnvironmentCall wrap *gomock.Call
func (*MockApplicationsManagementClientDeleteEnvironmentCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteEnvironmentCall) Do(f func(context.Context, string) (bool, error)) *MockApplicationsManagementClientDeleteEnvironmentCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientDeleteEnvironmentCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteEnvironmentCall) DoAndReturn(f func(context.Context, string) (bool, error)) *MockApplicationsManagementClientDeleteEnvironmentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientDeleteEnvironmentCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteEnvironmentCall) Return(arg0 bool, arg1 error) *MockApplicationsManagementClientDeleteEnvironmentCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientDeleteResourceCall ¶ added in v0.35.0
MockApplicationsManagementClientDeleteResourceCall wrap *gomock.Call
func (*MockApplicationsManagementClientDeleteResourceCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteResourceCall) Do(f func(context.Context, string, string) (bool, error)) *MockApplicationsManagementClientDeleteResourceCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientDeleteResourceCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteResourceCall) DoAndReturn(f func(context.Context, string, string) (bool, error)) *MockApplicationsManagementClientDeleteResourceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientDeleteResourceCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteResourceCall) Return(arg0 bool, arg1 error) *MockApplicationsManagementClientDeleteResourceCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientDeleteResourceGroupCall ¶ added in v0.35.0
MockApplicationsManagementClientDeleteResourceGroupCall wrap *gomock.Call
func (*MockApplicationsManagementClientDeleteResourceGroupCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteResourceGroupCall) Do(f func(context.Context, string, string) (bool, error)) *MockApplicationsManagementClientDeleteResourceGroupCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientDeleteResourceGroupCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteResourceGroupCall) DoAndReturn(f func(context.Context, string, string) (bool, error)) *MockApplicationsManagementClientDeleteResourceGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientDeleteResourceGroupCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientDeleteResourceGroupCall) Return(arg0 bool, arg1 error) *MockApplicationsManagementClientDeleteResourceGroupCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientGetApplicationCall ¶ added in v0.35.0
MockApplicationsManagementClientGetApplicationCall wrap *gomock.Call
func (*MockApplicationsManagementClientGetApplicationCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetApplicationCall) Do(f func(context.Context, string) (v20231001preview.ApplicationResource, error)) *MockApplicationsManagementClientGetApplicationCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientGetApplicationCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetApplicationCall) DoAndReturn(f func(context.Context, string) (v20231001preview.ApplicationResource, error)) *MockApplicationsManagementClientGetApplicationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientGetApplicationCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetApplicationCall) Return(arg0 v20231001preview.ApplicationResource, arg1 error) *MockApplicationsManagementClientGetApplicationCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientGetApplicationGraphCall ¶ added in v0.35.0
MockApplicationsManagementClientGetApplicationGraphCall wrap *gomock.Call
func (*MockApplicationsManagementClientGetApplicationGraphCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetApplicationGraphCall) Do(f func(context.Context, string) (v20231001preview.ApplicationGraphResponse, error)) *MockApplicationsManagementClientGetApplicationGraphCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientGetApplicationGraphCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetApplicationGraphCall) DoAndReturn(f func(context.Context, string) (v20231001preview.ApplicationGraphResponse, error)) *MockApplicationsManagementClientGetApplicationGraphCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientGetApplicationGraphCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetApplicationGraphCall) Return(arg0 v20231001preview.ApplicationGraphResponse, arg1 error) *MockApplicationsManagementClientGetApplicationGraphCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientGetEnvironmentCall ¶ added in v0.35.0
MockApplicationsManagementClientGetEnvironmentCall wrap *gomock.Call
func (*MockApplicationsManagementClientGetEnvironmentCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetEnvironmentCall) Do(f func(context.Context, string) (v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientGetEnvironmentCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientGetEnvironmentCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetEnvironmentCall) DoAndReturn(f func(context.Context, string) (v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientGetEnvironmentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientGetEnvironmentCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetEnvironmentCall) Return(arg0 v20231001preview.EnvironmentResource, arg1 error) *MockApplicationsManagementClientGetEnvironmentCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientGetRecipeMetadataCall ¶ added in v0.35.0
MockApplicationsManagementClientGetRecipeMetadataCall wrap *gomock.Call
func (*MockApplicationsManagementClientGetRecipeMetadataCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetRecipeMetadataCall) Do(f func(context.Context, string, v20231001preview.RecipeGetMetadata) (v20231001preview.RecipeGetMetadataResponse, error)) *MockApplicationsManagementClientGetRecipeMetadataCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientGetRecipeMetadataCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetRecipeMetadataCall) DoAndReturn(f func(context.Context, string, v20231001preview.RecipeGetMetadata) (v20231001preview.RecipeGetMetadataResponse, error)) *MockApplicationsManagementClientGetRecipeMetadataCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientGetRecipeMetadataCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetRecipeMetadataCall) Return(arg0 v20231001preview.RecipeGetMetadataResponse, arg1 error) *MockApplicationsManagementClientGetRecipeMetadataCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientGetResourceCall ¶ added in v0.35.0
MockApplicationsManagementClientGetResourceCall wrap *gomock.Call
func (*MockApplicationsManagementClientGetResourceCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetResourceCall) Do(f func(context.Context, string, string) (generated.GenericResource, error)) *MockApplicationsManagementClientGetResourceCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientGetResourceCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetResourceCall) DoAndReturn(f func(context.Context, string, string) (generated.GenericResource, error)) *MockApplicationsManagementClientGetResourceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientGetResourceCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetResourceCall) Return(arg0 generated.GenericResource, arg1 error) *MockApplicationsManagementClientGetResourceCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientGetResourceGroupCall ¶ added in v0.35.0
MockApplicationsManagementClientGetResourceGroupCall wrap *gomock.Call
func (*MockApplicationsManagementClientGetResourceGroupCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetResourceGroupCall) Do(f func(context.Context, string, string) (v20231001preview0.ResourceGroupResource, error)) *MockApplicationsManagementClientGetResourceGroupCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientGetResourceGroupCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetResourceGroupCall) DoAndReturn(f func(context.Context, string, string) (v20231001preview0.ResourceGroupResource, error)) *MockApplicationsManagementClientGetResourceGroupCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientGetResourceGroupCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientGetResourceGroupCall) Return(arg0 v20231001preview0.ResourceGroupResource, arg1 error) *MockApplicationsManagementClientGetResourceGroupCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientListApplicationsCall ¶ added in v0.35.0
MockApplicationsManagementClientListApplicationsCall wrap *gomock.Call
func (*MockApplicationsManagementClientListApplicationsCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListApplicationsCall) Do(f func(context.Context) ([]v20231001preview.ApplicationResource, error)) *MockApplicationsManagementClientListApplicationsCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientListApplicationsCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListApplicationsCall) DoAndReturn(f func(context.Context) ([]v20231001preview.ApplicationResource, error)) *MockApplicationsManagementClientListApplicationsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientListApplicationsCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListApplicationsCall) Return(arg0 []v20231001preview.ApplicationResource, arg1 error) *MockApplicationsManagementClientListApplicationsCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientListEnvironmentsAllCall ¶ added in v0.35.0
MockApplicationsManagementClientListEnvironmentsAllCall wrap *gomock.Call
func (*MockApplicationsManagementClientListEnvironmentsAllCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListEnvironmentsAllCall) Do(f func(context.Context) ([]v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientListEnvironmentsAllCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientListEnvironmentsAllCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListEnvironmentsAllCall) DoAndReturn(f func(context.Context) ([]v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientListEnvironmentsAllCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientListEnvironmentsAllCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListEnvironmentsAllCall) Return(arg0 []v20231001preview.EnvironmentResource, arg1 error) *MockApplicationsManagementClientListEnvironmentsAllCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientListEnvironmentsCall ¶ added in v0.35.0
MockApplicationsManagementClientListEnvironmentsCall wrap *gomock.Call
func (*MockApplicationsManagementClientListEnvironmentsCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListEnvironmentsCall) Do(f func(context.Context) ([]v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientListEnvironmentsCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientListEnvironmentsCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListEnvironmentsCall) DoAndReturn(f func(context.Context) ([]v20231001preview.EnvironmentResource, error)) *MockApplicationsManagementClientListEnvironmentsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientListEnvironmentsCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListEnvironmentsCall) Return(arg0 []v20231001preview.EnvironmentResource, arg1 error) *MockApplicationsManagementClientListEnvironmentsCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientListResourceGroupsCall ¶ added in v0.35.0
MockApplicationsManagementClientListResourceGroupsCall wrap *gomock.Call
func (*MockApplicationsManagementClientListResourceGroupsCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourceGroupsCall) Do(f func(context.Context, string) ([]v20231001preview0.ResourceGroupResource, error)) *MockApplicationsManagementClientListResourceGroupsCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientListResourceGroupsCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourceGroupsCall) DoAndReturn(f func(context.Context, string) ([]v20231001preview0.ResourceGroupResource, error)) *MockApplicationsManagementClientListResourceGroupsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientListResourceGroupsCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourceGroupsCall) Return(arg0 []v20231001preview0.ResourceGroupResource, arg1 error) *MockApplicationsManagementClientListResourceGroupsCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientListResourcesInApplicationCall ¶ added in v0.35.0
MockApplicationsManagementClientListResourcesInApplicationCall wrap *gomock.Call
func (*MockApplicationsManagementClientListResourcesInApplicationCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesInApplicationCall) Do(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesInApplicationCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientListResourcesInApplicationCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesInApplicationCall) DoAndReturn(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesInApplicationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientListResourcesInApplicationCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesInApplicationCall) Return(arg0 []generated.GenericResource, arg1 error) *MockApplicationsManagementClientListResourcesInApplicationCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientListResourcesInEnvironmentCall ¶ added in v0.35.0
MockApplicationsManagementClientListResourcesInEnvironmentCall wrap *gomock.Call
func (*MockApplicationsManagementClientListResourcesInEnvironmentCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesInEnvironmentCall) Do(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesInEnvironmentCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientListResourcesInEnvironmentCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesInEnvironmentCall) DoAndReturn(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesInEnvironmentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientListResourcesInEnvironmentCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesInEnvironmentCall) Return(arg0 []generated.GenericResource, arg1 error) *MockApplicationsManagementClientListResourcesInEnvironmentCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientListResourcesOfTypeCall ¶ added in v0.35.0
MockApplicationsManagementClientListResourcesOfTypeCall wrap *gomock.Call
func (*MockApplicationsManagementClientListResourcesOfTypeCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesOfTypeCall) Do(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientListResourcesOfTypeCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesOfTypeCall) DoAndReturn(f func(context.Context, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientListResourcesOfTypeCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesOfTypeCall) Return(arg0 []generated.GenericResource, arg1 error) *MockApplicationsManagementClientListResourcesOfTypeCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientListResourcesOfTypeInApplicationCall ¶ added in v0.35.0
MockApplicationsManagementClientListResourcesOfTypeInApplicationCall wrap *gomock.Call
func (*MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) Do(f func(context.Context, string, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) DoAndReturn(f func(context.Context, string, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) Return(arg0 []generated.GenericResource, arg1 error) *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall ¶ added in v0.35.0
MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall wrap *gomock.Call
func (*MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) Do ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) Do(f func(context.Context, string, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall
Do rewrite *gomock.Call.Do
func (*MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) DoAndReturn ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) DoAndReturn(f func(context.Context, string, string) ([]generated.GenericResource, error)) *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) Return ¶ added in v0.35.0
func (c *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) Return(arg0 []generated.GenericResource, arg1 error) *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall
Return rewrite *gomock.Call.Return
type MockApplicationsManagementClientMockRecorder ¶
type MockApplicationsManagementClientMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationsManagementClientMockRecorder is the mock recorder for MockApplicationsManagementClient.
func (*MockApplicationsManagementClientMockRecorder) CreateApplicationIfNotFound ¶
func (mr *MockApplicationsManagementClientMockRecorder) CreateApplicationIfNotFound(arg0, arg1, arg2 any) *MockApplicationsManagementClientCreateApplicationIfNotFoundCall
CreateApplicationIfNotFound indicates an expected call of CreateApplicationIfNotFound.
func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateApplication ¶
func (mr *MockApplicationsManagementClientMockRecorder) CreateOrUpdateApplication(arg0, arg1, arg2 any) *MockApplicationsManagementClientCreateOrUpdateApplicationCall
CreateOrUpdateApplication indicates an expected call of CreateOrUpdateApplication.
func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateEnvironment ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) CreateOrUpdateEnvironment(arg0, arg1, arg2 any) *MockApplicationsManagementClientCreateOrUpdateEnvironmentCall
CreateOrUpdateEnvironment indicates an expected call of CreateOrUpdateEnvironment.
func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateResourceGroup ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) CreateOrUpdateResourceGroup(arg0, arg1, arg2, arg3 any) *MockApplicationsManagementClientCreateOrUpdateResourceGroupCall
CreateOrUpdateResourceGroup indicates an expected call of CreateOrUpdateResourceGroup.
func (*MockApplicationsManagementClientMockRecorder) DeleteApplication ¶
func (mr *MockApplicationsManagementClientMockRecorder) DeleteApplication(arg0, arg1 any) *MockApplicationsManagementClientDeleteApplicationCall
DeleteApplication indicates an expected call of DeleteApplication.
func (*MockApplicationsManagementClientMockRecorder) DeleteEnvironment ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) DeleteEnvironment(arg0, arg1 any) *MockApplicationsManagementClientDeleteEnvironmentCall
DeleteEnvironment indicates an expected call of DeleteEnvironment.
func (*MockApplicationsManagementClientMockRecorder) DeleteResource ¶
func (mr *MockApplicationsManagementClientMockRecorder) DeleteResource(arg0, arg1, arg2 any) *MockApplicationsManagementClientDeleteResourceCall
DeleteResource indicates an expected call of DeleteResource.
func (*MockApplicationsManagementClientMockRecorder) DeleteResourceGroup ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) DeleteResourceGroup(arg0, arg1, arg2 any) *MockApplicationsManagementClientDeleteResourceGroupCall
DeleteResourceGroup indicates an expected call of DeleteResourceGroup.
func (*MockApplicationsManagementClientMockRecorder) GetApplication ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) GetApplication(arg0, arg1 any) *MockApplicationsManagementClientGetApplicationCall
GetApplication indicates an expected call of GetApplication.
func (*MockApplicationsManagementClientMockRecorder) GetApplicationGraph ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) GetApplicationGraph(arg0, arg1 any) *MockApplicationsManagementClientGetApplicationGraphCall
GetApplicationGraph indicates an expected call of GetApplicationGraph.
func (*MockApplicationsManagementClientMockRecorder) GetEnvironment ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) GetEnvironment(arg0, arg1 any) *MockApplicationsManagementClientGetEnvironmentCall
GetEnvironment indicates an expected call of GetEnvironment.
func (*MockApplicationsManagementClientMockRecorder) GetRecipeMetadata ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) GetRecipeMetadata(arg0, arg1, arg2 any) *MockApplicationsManagementClientGetRecipeMetadataCall
GetRecipeMetadata indicates an expected call of GetRecipeMetadata.
func (*MockApplicationsManagementClientMockRecorder) GetResource ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) GetResource(arg0, arg1, arg2 any) *MockApplicationsManagementClientGetResourceCall
GetResource indicates an expected call of GetResource.
func (*MockApplicationsManagementClientMockRecorder) GetResourceGroup ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) GetResourceGroup(arg0, arg1, arg2 any) *MockApplicationsManagementClientGetResourceGroupCall
GetResourceGroup indicates an expected call of GetResourceGroup.
func (*MockApplicationsManagementClientMockRecorder) ListApplications ¶
func (mr *MockApplicationsManagementClientMockRecorder) ListApplications(arg0 any) *MockApplicationsManagementClientListApplicationsCall
ListApplications indicates an expected call of ListApplications.
func (*MockApplicationsManagementClientMockRecorder) ListEnvironments ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) ListEnvironments(arg0 any) *MockApplicationsManagementClientListEnvironmentsCall
ListEnvironments indicates an expected call of ListEnvironments.
func (*MockApplicationsManagementClientMockRecorder) ListEnvironmentsAll ¶
func (mr *MockApplicationsManagementClientMockRecorder) ListEnvironmentsAll(arg0 any) *MockApplicationsManagementClientListEnvironmentsAllCall
ListEnvironmentsAll indicates an expected call of ListEnvironmentsAll.
func (*MockApplicationsManagementClientMockRecorder) ListResourceGroups ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) ListResourceGroups(arg0, arg1 any) *MockApplicationsManagementClientListResourceGroupsCall
ListResourceGroups indicates an expected call of ListResourceGroups.
func (*MockApplicationsManagementClientMockRecorder) ListResourcesInApplication ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) ListResourcesInApplication(arg0, arg1 any) *MockApplicationsManagementClientListResourcesInApplicationCall
ListResourcesInApplication indicates an expected call of ListResourcesInApplication.
func (*MockApplicationsManagementClientMockRecorder) ListResourcesInEnvironment ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) ListResourcesInEnvironment(arg0, arg1 any) *MockApplicationsManagementClientListResourcesInEnvironmentCall
ListResourcesInEnvironment indicates an expected call of ListResourcesInEnvironment.
func (*MockApplicationsManagementClientMockRecorder) ListResourcesOfType ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) ListResourcesOfType(arg0, arg1 any) *MockApplicationsManagementClientListResourcesOfTypeCall
ListResourcesOfType indicates an expected call of ListResourcesOfType.
func (*MockApplicationsManagementClientMockRecorder) ListResourcesOfTypeInApplication ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) ListResourcesOfTypeInApplication(arg0, arg1, arg2 any) *MockApplicationsManagementClientListResourcesOfTypeInApplicationCall
ListResourcesOfTypeInApplication indicates an expected call of ListResourcesOfTypeInApplication.
func (*MockApplicationsManagementClientMockRecorder) ListResourcesOfTypeInEnvironment ¶ added in v0.34.0
func (mr *MockApplicationsManagementClientMockRecorder) ListResourcesOfTypeInEnvironment(arg0, arg1, arg2 any) *MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall
ListResourcesOfTypeInEnvironment indicates an expected call of ListResourcesOfTypeInEnvironment.
type MockDiagnosticsClient ¶
type MockDiagnosticsClient struct {
// contains filtered or unexported fields
}
MockDiagnosticsClient is a mock of DiagnosticsClient interface.
func NewMockDiagnosticsClient ¶
func NewMockDiagnosticsClient(ctrl *gomock.Controller) *MockDiagnosticsClient
NewMockDiagnosticsClient creates a new mock instance.
func (*MockDiagnosticsClient) EXPECT ¶
func (m *MockDiagnosticsClient) EXPECT() *MockDiagnosticsClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDiagnosticsClient) Expose ¶
func (m *MockDiagnosticsClient) Expose(arg0 context.Context, arg1 ExposeOptions) (chan error, chan struct{}, chan os.Signal, error)
Expose mocks base method.
func (*MockDiagnosticsClient) GetPublicEndpoint ¶
func (m *MockDiagnosticsClient) GetPublicEndpoint(arg0 context.Context, arg1 EndpointOptions) (*string, error)
GetPublicEndpoint mocks base method.
func (*MockDiagnosticsClient) Logs ¶
func (m *MockDiagnosticsClient) Logs(arg0 context.Context, arg1 LogsOptions) ([]LogStream, error)
Logs mocks base method.
type MockDiagnosticsClientExposeCall ¶ added in v0.35.0
MockDiagnosticsClientExposeCall wrap *gomock.Call
func (*MockDiagnosticsClientExposeCall) Do ¶ added in v0.35.0
func (c *MockDiagnosticsClientExposeCall) Do(f func(context.Context, ExposeOptions) (chan error, chan struct{}, chan os.Signal, error)) *MockDiagnosticsClientExposeCall
Do rewrite *gomock.Call.Do
func (*MockDiagnosticsClientExposeCall) DoAndReturn ¶ added in v0.35.0
func (c *MockDiagnosticsClientExposeCall) DoAndReturn(f func(context.Context, ExposeOptions) (chan error, chan struct{}, chan os.Signal, error)) *MockDiagnosticsClientExposeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockDiagnosticsClientExposeCall) Return ¶ added in v0.35.0
func (c *MockDiagnosticsClientExposeCall) Return(arg0 chan error, arg1 chan struct{}, arg2 chan os.Signal, arg3 error) *MockDiagnosticsClientExposeCall
Return rewrite *gomock.Call.Return
type MockDiagnosticsClientGetPublicEndpointCall ¶ added in v0.35.0
MockDiagnosticsClientGetPublicEndpointCall wrap *gomock.Call
func (*MockDiagnosticsClientGetPublicEndpointCall) Do ¶ added in v0.35.0
func (c *MockDiagnosticsClientGetPublicEndpointCall) Do(f func(context.Context, EndpointOptions) (*string, error)) *MockDiagnosticsClientGetPublicEndpointCall
Do rewrite *gomock.Call.Do
func (*MockDiagnosticsClientGetPublicEndpointCall) DoAndReturn ¶ added in v0.35.0
func (c *MockDiagnosticsClientGetPublicEndpointCall) DoAndReturn(f func(context.Context, EndpointOptions) (*string, error)) *MockDiagnosticsClientGetPublicEndpointCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockDiagnosticsClientGetPublicEndpointCall) Return ¶ added in v0.35.0
func (c *MockDiagnosticsClientGetPublicEndpointCall) Return(arg0 *string, arg1 error) *MockDiagnosticsClientGetPublicEndpointCall
Return rewrite *gomock.Call.Return
type MockDiagnosticsClientLogsCall ¶ added in v0.35.0
MockDiagnosticsClientLogsCall wrap *gomock.Call
func (*MockDiagnosticsClientLogsCall) Do ¶ added in v0.35.0
func (c *MockDiagnosticsClientLogsCall) Do(f func(context.Context, LogsOptions) ([]LogStream, error)) *MockDiagnosticsClientLogsCall
Do rewrite *gomock.Call.Do
func (*MockDiagnosticsClientLogsCall) DoAndReturn ¶ added in v0.35.0
func (c *MockDiagnosticsClientLogsCall) DoAndReturn(f func(context.Context, LogsOptions) ([]LogStream, error)) *MockDiagnosticsClientLogsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockDiagnosticsClientLogsCall) Return ¶ added in v0.35.0
func (c *MockDiagnosticsClientLogsCall) Return(arg0 []LogStream, arg1 error) *MockDiagnosticsClientLogsCall
Return rewrite *gomock.Call.Return
type MockDiagnosticsClientMockRecorder ¶
type MockDiagnosticsClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDiagnosticsClientMockRecorder is the mock recorder for MockDiagnosticsClient.
func (*MockDiagnosticsClientMockRecorder) Expose ¶
func (mr *MockDiagnosticsClientMockRecorder) Expose(arg0, arg1 any) *MockDiagnosticsClientExposeCall
Expose indicates an expected call of Expose.
func (*MockDiagnosticsClientMockRecorder) GetPublicEndpoint ¶
func (mr *MockDiagnosticsClientMockRecorder) GetPublicEndpoint(arg0, arg1 any) *MockDiagnosticsClientGetPublicEndpointCall
GetPublicEndpoint indicates an expected call of GetPublicEndpoint.
func (*MockDiagnosticsClientMockRecorder) Logs ¶
func (mr *MockDiagnosticsClientMockRecorder) Logs(arg0, arg1 any) *MockDiagnosticsClientLogsCall
Logs indicates an expected call of Logs.
type MockapplicationResourceClient ¶ added in v0.34.0
type MockapplicationResourceClient struct {
// contains filtered or unexported fields
}
MockapplicationResourceClient is a mock of applicationResourceClient interface.
func NewMockapplicationResourceClient ¶ added in v0.34.0
func NewMockapplicationResourceClient(ctrl *gomock.Controller) *MockapplicationResourceClient
NewMockapplicationResourceClient creates a new mock instance.
func (*MockapplicationResourceClient) CreateOrUpdate ¶ added in v0.34.0
func (m *MockapplicationResourceClient) CreateOrUpdate(ctx context.Context, applicationName string, resource v20231001preview.ApplicationResource, options *v20231001preview.ApplicationsClientCreateOrUpdateOptions) (v20231001preview.ApplicationsClientCreateOrUpdateResponse, error)
CreateOrUpdate mocks base method.
func (*MockapplicationResourceClient) Delete ¶ added in v0.34.0
func (m *MockapplicationResourceClient) Delete(ctx context.Context, applicationName string, options *v20231001preview.ApplicationsClientDeleteOptions) (v20231001preview.ApplicationsClientDeleteResponse, error)
Delete mocks base method.
func (*MockapplicationResourceClient) EXPECT ¶ added in v0.34.0
func (m *MockapplicationResourceClient) EXPECT() *MockapplicationResourceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockapplicationResourceClient) Get ¶ added in v0.34.0
func (m *MockapplicationResourceClient) Get(ctx context.Context, applicationName string, options *v20231001preview.ApplicationsClientGetOptions) (v20231001preview.ApplicationsClientGetResponse, error)
Get mocks base method.
func (*MockapplicationResourceClient) GetGraph ¶ added in v0.34.0
func (m *MockapplicationResourceClient) GetGraph(ctx context.Context, applicationName string, body map[string]any, options *v20231001preview.ApplicationsClientGetGraphOptions) (v20231001preview.ApplicationsClientGetGraphResponse, error)
GetGraph mocks base method.
func (*MockapplicationResourceClient) NewListByScopePager ¶ added in v0.34.0
func (m *MockapplicationResourceClient) NewListByScopePager(options *v20231001preview.ApplicationsClientListByScopeOptions) *runtime.Pager[v20231001preview.ApplicationsClientListByScopeResponse]
NewListByScopePager mocks base method.
type MockapplicationResourceClientCreateOrUpdateCall ¶ added in v0.34.0
MockapplicationResourceClientCreateOrUpdateCall wrap *gomock.Call
func (*MockapplicationResourceClientCreateOrUpdateCall) Do ¶ added in v0.34.0
func (c *MockapplicationResourceClientCreateOrUpdateCall) Do(f func(context.Context, string, v20231001preview.ApplicationResource, *v20231001preview.ApplicationsClientCreateOrUpdateOptions) (v20231001preview.ApplicationsClientCreateOrUpdateResponse, error)) *MockapplicationResourceClientCreateOrUpdateCall
Do rewrite *gomock.Call.Do
func (*MockapplicationResourceClientCreateOrUpdateCall) DoAndReturn ¶ added in v0.34.0
func (c *MockapplicationResourceClientCreateOrUpdateCall) DoAndReturn(f func(context.Context, string, v20231001preview.ApplicationResource, *v20231001preview.ApplicationsClientCreateOrUpdateOptions) (v20231001preview.ApplicationsClientCreateOrUpdateResponse, error)) *MockapplicationResourceClientCreateOrUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockapplicationResourceClientCreateOrUpdateCall) Return ¶ added in v0.34.0
func (c *MockapplicationResourceClientCreateOrUpdateCall) Return(arg0 v20231001preview.ApplicationsClientCreateOrUpdateResponse, arg1 error) *MockapplicationResourceClientCreateOrUpdateCall
Return rewrite *gomock.Call.Return
type MockapplicationResourceClientDeleteCall ¶ added in v0.34.0
MockapplicationResourceClientDeleteCall wrap *gomock.Call
func (*MockapplicationResourceClientDeleteCall) Do ¶ added in v0.34.0
func (c *MockapplicationResourceClientDeleteCall) Do(f func(context.Context, string, *v20231001preview.ApplicationsClientDeleteOptions) (v20231001preview.ApplicationsClientDeleteResponse, error)) *MockapplicationResourceClientDeleteCall
Do rewrite *gomock.Call.Do
func (*MockapplicationResourceClientDeleteCall) DoAndReturn ¶ added in v0.34.0
func (c *MockapplicationResourceClientDeleteCall) DoAndReturn(f func(context.Context, string, *v20231001preview.ApplicationsClientDeleteOptions) (v20231001preview.ApplicationsClientDeleteResponse, error)) *MockapplicationResourceClientDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockapplicationResourceClientDeleteCall) Return ¶ added in v0.34.0
func (c *MockapplicationResourceClientDeleteCall) Return(arg0 v20231001preview.ApplicationsClientDeleteResponse, arg1 error) *MockapplicationResourceClientDeleteCall
Return rewrite *gomock.Call.Return
type MockapplicationResourceClientGetCall ¶ added in v0.34.0
MockapplicationResourceClientGetCall wrap *gomock.Call
func (*MockapplicationResourceClientGetCall) Do ¶ added in v0.34.0
func (c *MockapplicationResourceClientGetCall) Do(f func(context.Context, string, *v20231001preview.ApplicationsClientGetOptions) (v20231001preview.ApplicationsClientGetResponse, error)) *MockapplicationResourceClientGetCall
Do rewrite *gomock.Call.Do
func (*MockapplicationResourceClientGetCall) DoAndReturn ¶ added in v0.34.0
func (c *MockapplicationResourceClientGetCall) DoAndReturn(f func(context.Context, string, *v20231001preview.ApplicationsClientGetOptions) (v20231001preview.ApplicationsClientGetResponse, error)) *MockapplicationResourceClientGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockapplicationResourceClientGetCall) Return ¶ added in v0.34.0
func (c *MockapplicationResourceClientGetCall) Return(arg0 v20231001preview.ApplicationsClientGetResponse, arg1 error) *MockapplicationResourceClientGetCall
Return rewrite *gomock.Call.Return
type MockapplicationResourceClientGetGraphCall ¶ added in v0.34.0
MockapplicationResourceClientGetGraphCall wrap *gomock.Call
func (*MockapplicationResourceClientGetGraphCall) Do ¶ added in v0.34.0
func (c *MockapplicationResourceClientGetGraphCall) Do(f func(context.Context, string, map[string]any, *v20231001preview.ApplicationsClientGetGraphOptions) (v20231001preview.ApplicationsClientGetGraphResponse, error)) *MockapplicationResourceClientGetGraphCall
Do rewrite *gomock.Call.Do
func (*MockapplicationResourceClientGetGraphCall) DoAndReturn ¶ added in v0.34.0
func (c *MockapplicationResourceClientGetGraphCall) DoAndReturn(f func(context.Context, string, map[string]any, *v20231001preview.ApplicationsClientGetGraphOptions) (v20231001preview.ApplicationsClientGetGraphResponse, error)) *MockapplicationResourceClientGetGraphCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockapplicationResourceClientGetGraphCall) Return ¶ added in v0.34.0
func (c *MockapplicationResourceClientGetGraphCall) Return(arg0 v20231001preview.ApplicationsClientGetGraphResponse, arg1 error) *MockapplicationResourceClientGetGraphCall
Return rewrite *gomock.Call.Return
type MockapplicationResourceClientMockRecorder ¶ added in v0.34.0
type MockapplicationResourceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockapplicationResourceClientMockRecorder is the mock recorder for MockapplicationResourceClient.
func (*MockapplicationResourceClientMockRecorder) CreateOrUpdate ¶ added in v0.34.0
func (mr *MockapplicationResourceClientMockRecorder) CreateOrUpdate(ctx, applicationName, resource, options any) *MockapplicationResourceClientCreateOrUpdateCall
CreateOrUpdate indicates an expected call of CreateOrUpdate.
func (*MockapplicationResourceClientMockRecorder) Delete ¶ added in v0.34.0
func (mr *MockapplicationResourceClientMockRecorder) Delete(ctx, applicationName, options any) *MockapplicationResourceClientDeleteCall
Delete indicates an expected call of Delete.
func (*MockapplicationResourceClientMockRecorder) Get ¶ added in v0.34.0
func (mr *MockapplicationResourceClientMockRecorder) Get(ctx, applicationName, options any) *MockapplicationResourceClientGetCall
Get indicates an expected call of Get.
func (*MockapplicationResourceClientMockRecorder) GetGraph ¶ added in v0.34.0
func (mr *MockapplicationResourceClientMockRecorder) GetGraph(ctx, applicationName, body, options any) *MockapplicationResourceClientGetGraphCall
GetGraph indicates an expected call of GetGraph.
func (*MockapplicationResourceClientMockRecorder) NewListByScopePager ¶ added in v0.34.0
func (mr *MockapplicationResourceClientMockRecorder) NewListByScopePager(options any) *MockapplicationResourceClientNewListByScopePagerCall
NewListByScopePager indicates an expected call of NewListByScopePager.
type MockapplicationResourceClientNewListByScopePagerCall ¶ added in v0.34.0
MockapplicationResourceClientNewListByScopePagerCall wrap *gomock.Call
func (*MockapplicationResourceClientNewListByScopePagerCall) Do ¶ added in v0.34.0
func (c *MockapplicationResourceClientNewListByScopePagerCall) Do(f func(*v20231001preview.ApplicationsClientListByScopeOptions) *runtime.Pager[v20231001preview.ApplicationsClientListByScopeResponse]) *MockapplicationResourceClientNewListByScopePagerCall
Do rewrite *gomock.Call.Do
func (*MockapplicationResourceClientNewListByScopePagerCall) DoAndReturn ¶ added in v0.34.0
func (c *MockapplicationResourceClientNewListByScopePagerCall) DoAndReturn(f func(*v20231001preview.ApplicationsClientListByScopeOptions) *runtime.Pager[v20231001preview.ApplicationsClientListByScopeResponse]) *MockapplicationResourceClientNewListByScopePagerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockapplicationResourceClientNewListByScopePagerCall) Return ¶ added in v0.34.0
func (c *MockapplicationResourceClientNewListByScopePagerCall) Return(arg0 *runtime.Pager[v20231001preview.ApplicationsClientListByScopeResponse]) *MockapplicationResourceClientNewListByScopePagerCall
Return rewrite *gomock.Call.Return
type MockenvironmentResourceClient ¶ added in v0.34.0
type MockenvironmentResourceClient struct {
// contains filtered or unexported fields
}
MockenvironmentResourceClient is a mock of environmentResourceClient interface.
func NewMockenvironmentResourceClient ¶ added in v0.34.0
func NewMockenvironmentResourceClient(ctrl *gomock.Controller) *MockenvironmentResourceClient
NewMockenvironmentResourceClient creates a new mock instance.
func (*MockenvironmentResourceClient) CreateOrUpdate ¶ added in v0.34.0
func (m *MockenvironmentResourceClient) CreateOrUpdate(ctx context.Context, environmentName string, resource v20231001preview.EnvironmentResource, options *v20231001preview.EnvironmentsClientCreateOrUpdateOptions) (v20231001preview.EnvironmentsClientCreateOrUpdateResponse, error)
CreateOrUpdate mocks base method.
func (*MockenvironmentResourceClient) Delete ¶ added in v0.34.0
func (m *MockenvironmentResourceClient) Delete(ctx context.Context, environmentName string, options *v20231001preview.EnvironmentsClientDeleteOptions) (v20231001preview.EnvironmentsClientDeleteResponse, error)
Delete mocks base method.
func (*MockenvironmentResourceClient) EXPECT ¶ added in v0.34.0
func (m *MockenvironmentResourceClient) EXPECT() *MockenvironmentResourceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockenvironmentResourceClient) Get ¶ added in v0.34.0
func (m *MockenvironmentResourceClient) Get(ctx context.Context, environmentName string, options *v20231001preview.EnvironmentsClientGetOptions) (v20231001preview.EnvironmentsClientGetResponse, error)
Get mocks base method.
func (*MockenvironmentResourceClient) GetMetadata ¶ added in v0.34.0
func (m *MockenvironmentResourceClient) GetMetadata(ctx context.Context, environmentName string, body v20231001preview.RecipeGetMetadata, options *v20231001preview.EnvironmentsClientGetMetadataOptions) (v20231001preview.EnvironmentsClientGetMetadataResponse, error)
GetMetadata mocks base method.
func (*MockenvironmentResourceClient) NewListByScopePager ¶ added in v0.34.0
func (m *MockenvironmentResourceClient) NewListByScopePager(options *v20231001preview.EnvironmentsClientListByScopeOptions) *runtime.Pager[v20231001preview.EnvironmentsClientListByScopeResponse]
NewListByScopePager mocks base method.
type MockenvironmentResourceClientCreateOrUpdateCall ¶ added in v0.34.0
MockenvironmentResourceClientCreateOrUpdateCall wrap *gomock.Call
func (*MockenvironmentResourceClientCreateOrUpdateCall) Do ¶ added in v0.34.0
func (c *MockenvironmentResourceClientCreateOrUpdateCall) Do(f func(context.Context, string, v20231001preview.EnvironmentResource, *v20231001preview.EnvironmentsClientCreateOrUpdateOptions) (v20231001preview.EnvironmentsClientCreateOrUpdateResponse, error)) *MockenvironmentResourceClientCreateOrUpdateCall
Do rewrite *gomock.Call.Do
func (*MockenvironmentResourceClientCreateOrUpdateCall) DoAndReturn ¶ added in v0.34.0
func (c *MockenvironmentResourceClientCreateOrUpdateCall) DoAndReturn(f func(context.Context, string, v20231001preview.EnvironmentResource, *v20231001preview.EnvironmentsClientCreateOrUpdateOptions) (v20231001preview.EnvironmentsClientCreateOrUpdateResponse, error)) *MockenvironmentResourceClientCreateOrUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockenvironmentResourceClientCreateOrUpdateCall) Return ¶ added in v0.34.0
func (c *MockenvironmentResourceClientCreateOrUpdateCall) Return(arg0 v20231001preview.EnvironmentsClientCreateOrUpdateResponse, arg1 error) *MockenvironmentResourceClientCreateOrUpdateCall
Return rewrite *gomock.Call.Return
type MockenvironmentResourceClientDeleteCall ¶ added in v0.34.0
MockenvironmentResourceClientDeleteCall wrap *gomock.Call
func (*MockenvironmentResourceClientDeleteCall) Do ¶ added in v0.34.0
func (c *MockenvironmentResourceClientDeleteCall) Do(f func(context.Context, string, *v20231001preview.EnvironmentsClientDeleteOptions) (v20231001preview.EnvironmentsClientDeleteResponse, error)) *MockenvironmentResourceClientDeleteCall
Do rewrite *gomock.Call.Do
func (*MockenvironmentResourceClientDeleteCall) DoAndReturn ¶ added in v0.34.0
func (c *MockenvironmentResourceClientDeleteCall) DoAndReturn(f func(context.Context, string, *v20231001preview.EnvironmentsClientDeleteOptions) (v20231001preview.EnvironmentsClientDeleteResponse, error)) *MockenvironmentResourceClientDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockenvironmentResourceClientDeleteCall) Return ¶ added in v0.34.0
func (c *MockenvironmentResourceClientDeleteCall) Return(arg0 v20231001preview.EnvironmentsClientDeleteResponse, arg1 error) *MockenvironmentResourceClientDeleteCall
Return rewrite *gomock.Call.Return
type MockenvironmentResourceClientGetCall ¶ added in v0.34.0
MockenvironmentResourceClientGetCall wrap *gomock.Call
func (*MockenvironmentResourceClientGetCall) Do ¶ added in v0.34.0
func (c *MockenvironmentResourceClientGetCall) Do(f func(context.Context, string, *v20231001preview.EnvironmentsClientGetOptions) (v20231001preview.EnvironmentsClientGetResponse, error)) *MockenvironmentResourceClientGetCall
Do rewrite *gomock.Call.Do
func (*MockenvironmentResourceClientGetCall) DoAndReturn ¶ added in v0.34.0
func (c *MockenvironmentResourceClientGetCall) DoAndReturn(f func(context.Context, string, *v20231001preview.EnvironmentsClientGetOptions) (v20231001preview.EnvironmentsClientGetResponse, error)) *MockenvironmentResourceClientGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockenvironmentResourceClientGetCall) Return ¶ added in v0.34.0
func (c *MockenvironmentResourceClientGetCall) Return(arg0 v20231001preview.EnvironmentsClientGetResponse, arg1 error) *MockenvironmentResourceClientGetCall
Return rewrite *gomock.Call.Return
type MockenvironmentResourceClientGetMetadataCall ¶ added in v0.34.0
MockenvironmentResourceClientGetMetadataCall wrap *gomock.Call
func (*MockenvironmentResourceClientGetMetadataCall) Do ¶ added in v0.34.0
func (c *MockenvironmentResourceClientGetMetadataCall) Do(f func(context.Context, string, v20231001preview.RecipeGetMetadata, *v20231001preview.EnvironmentsClientGetMetadataOptions) (v20231001preview.EnvironmentsClientGetMetadataResponse, error)) *MockenvironmentResourceClientGetMetadataCall
Do rewrite *gomock.Call.Do
func (*MockenvironmentResourceClientGetMetadataCall) DoAndReturn ¶ added in v0.34.0
func (c *MockenvironmentResourceClientGetMetadataCall) DoAndReturn(f func(context.Context, string, v20231001preview.RecipeGetMetadata, *v20231001preview.EnvironmentsClientGetMetadataOptions) (v20231001preview.EnvironmentsClientGetMetadataResponse, error)) *MockenvironmentResourceClientGetMetadataCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockenvironmentResourceClientGetMetadataCall) Return ¶ added in v0.34.0
func (c *MockenvironmentResourceClientGetMetadataCall) Return(arg0 v20231001preview.EnvironmentsClientGetMetadataResponse, arg1 error) *MockenvironmentResourceClientGetMetadataCall
Return rewrite *gomock.Call.Return
type MockenvironmentResourceClientMockRecorder ¶ added in v0.34.0
type MockenvironmentResourceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockenvironmentResourceClientMockRecorder is the mock recorder for MockenvironmentResourceClient.
func (*MockenvironmentResourceClientMockRecorder) CreateOrUpdate ¶ added in v0.34.0
func (mr *MockenvironmentResourceClientMockRecorder) CreateOrUpdate(ctx, environmentName, resource, options any) *MockenvironmentResourceClientCreateOrUpdateCall
CreateOrUpdate indicates an expected call of CreateOrUpdate.
func (*MockenvironmentResourceClientMockRecorder) Delete ¶ added in v0.34.0
func (mr *MockenvironmentResourceClientMockRecorder) Delete(ctx, environmentName, options any) *MockenvironmentResourceClientDeleteCall
Delete indicates an expected call of Delete.
func (*MockenvironmentResourceClientMockRecorder) Get ¶ added in v0.34.0
func (mr *MockenvironmentResourceClientMockRecorder) Get(ctx, environmentName, options any) *MockenvironmentResourceClientGetCall
Get indicates an expected call of Get.
func (*MockenvironmentResourceClientMockRecorder) GetMetadata ¶ added in v0.34.0
func (mr *MockenvironmentResourceClientMockRecorder) GetMetadata(ctx, environmentName, body, options any) *MockenvironmentResourceClientGetMetadataCall
GetMetadata indicates an expected call of GetMetadata.
func (*MockenvironmentResourceClientMockRecorder) NewListByScopePager ¶ added in v0.34.0
func (mr *MockenvironmentResourceClientMockRecorder) NewListByScopePager(options any) *MockenvironmentResourceClientNewListByScopePagerCall
NewListByScopePager indicates an expected call of NewListByScopePager.
type MockenvironmentResourceClientNewListByScopePagerCall ¶ added in v0.34.0
MockenvironmentResourceClientNewListByScopePagerCall wrap *gomock.Call
func (*MockenvironmentResourceClientNewListByScopePagerCall) Do ¶ added in v0.34.0
func (c *MockenvironmentResourceClientNewListByScopePagerCall) Do(f func(*v20231001preview.EnvironmentsClientListByScopeOptions) *runtime.Pager[v20231001preview.EnvironmentsClientListByScopeResponse]) *MockenvironmentResourceClientNewListByScopePagerCall
Do rewrite *gomock.Call.Do
func (*MockenvironmentResourceClientNewListByScopePagerCall) DoAndReturn ¶ added in v0.34.0
func (c *MockenvironmentResourceClientNewListByScopePagerCall) DoAndReturn(f func(*v20231001preview.EnvironmentsClientListByScopeOptions) *runtime.Pager[v20231001preview.EnvironmentsClientListByScopeResponse]) *MockenvironmentResourceClientNewListByScopePagerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockenvironmentResourceClientNewListByScopePagerCall) Return ¶ added in v0.34.0
func (c *MockenvironmentResourceClientNewListByScopePagerCall) Return(arg0 *runtime.Pager[v20231001preview.EnvironmentsClientListByScopeResponse]) *MockenvironmentResourceClientNewListByScopePagerCall
Return rewrite *gomock.Call.Return
type MockgenericResourceClient ¶ added in v0.34.0
type MockgenericResourceClient struct {
// contains filtered or unexported fields
}
MockgenericResourceClient is a mock of genericResourceClient interface.
func NewMockgenericResourceClient ¶ added in v0.34.0
func NewMockgenericResourceClient(ctrl *gomock.Controller) *MockgenericResourceClient
NewMockgenericResourceClient creates a new mock instance.
func (*MockgenericResourceClient) BeginCreateOrUpdate ¶ added in v0.34.0
func (m *MockgenericResourceClient) BeginCreateOrUpdate(ctx context.Context, resourceName string, genericResourceParameters generated.GenericResource, options *generated.GenericResourcesClientBeginCreateOrUpdateOptions) (*runtime.Poller[generated.GenericResourcesClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate mocks base method.
func (*MockgenericResourceClient) BeginDelete ¶ added in v0.34.0
func (m *MockgenericResourceClient) BeginDelete(ctx context.Context, resourceName string, options *generated.GenericResourcesClientBeginDeleteOptions) (*runtime.Poller[generated.GenericResourcesClientDeleteResponse], error)
BeginDelete mocks base method.
func (*MockgenericResourceClient) EXPECT ¶ added in v0.34.0
func (m *MockgenericResourceClient) EXPECT() *MockgenericResourceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockgenericResourceClient) Get ¶ added in v0.34.0
func (m *MockgenericResourceClient) Get(ctx context.Context, resourceName string, options *generated.GenericResourcesClientGetOptions) (generated.GenericResourcesClientGetResponse, error)
Get mocks base method.
func (*MockgenericResourceClient) NewListByRootScopePager ¶ added in v0.34.0
func (m *MockgenericResourceClient) NewListByRootScopePager(options *generated.GenericResourcesClientListByRootScopeOptions) *runtime.Pager[generated.GenericResourcesClientListByRootScopeResponse]
NewListByRootScopePager mocks base method.
type MockgenericResourceClientBeginCreateOrUpdateCall ¶ added in v0.34.0
MockgenericResourceClientBeginCreateOrUpdateCall wrap *gomock.Call
func (*MockgenericResourceClientBeginCreateOrUpdateCall) Do ¶ added in v0.34.0
func (c *MockgenericResourceClientBeginCreateOrUpdateCall) Do(f func(context.Context, string, generated.GenericResource, *generated.GenericResourcesClientBeginCreateOrUpdateOptions) (*runtime.Poller[generated.GenericResourcesClientCreateOrUpdateResponse], error)) *MockgenericResourceClientBeginCreateOrUpdateCall
Do rewrite *gomock.Call.Do
func (*MockgenericResourceClientBeginCreateOrUpdateCall) DoAndReturn ¶ added in v0.34.0
func (c *MockgenericResourceClientBeginCreateOrUpdateCall) DoAndReturn(f func(context.Context, string, generated.GenericResource, *generated.GenericResourcesClientBeginCreateOrUpdateOptions) (*runtime.Poller[generated.GenericResourcesClientCreateOrUpdateResponse], error)) *MockgenericResourceClientBeginCreateOrUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockgenericResourceClientBeginCreateOrUpdateCall) Return ¶ added in v0.34.0
func (c *MockgenericResourceClientBeginCreateOrUpdateCall) Return(arg0 *runtime.Poller[generated.GenericResourcesClientCreateOrUpdateResponse], arg1 error) *MockgenericResourceClientBeginCreateOrUpdateCall
Return rewrite *gomock.Call.Return
type MockgenericResourceClientBeginDeleteCall ¶ added in v0.34.0
MockgenericResourceClientBeginDeleteCall wrap *gomock.Call
func (*MockgenericResourceClientBeginDeleteCall) Do ¶ added in v0.34.0
func (c *MockgenericResourceClientBeginDeleteCall) Do(f func(context.Context, string, *generated.GenericResourcesClientBeginDeleteOptions) (*runtime.Poller[generated.GenericResourcesClientDeleteResponse], error)) *MockgenericResourceClientBeginDeleteCall
Do rewrite *gomock.Call.Do
func (*MockgenericResourceClientBeginDeleteCall) DoAndReturn ¶ added in v0.34.0
func (c *MockgenericResourceClientBeginDeleteCall) DoAndReturn(f func(context.Context, string, *generated.GenericResourcesClientBeginDeleteOptions) (*runtime.Poller[generated.GenericResourcesClientDeleteResponse], error)) *MockgenericResourceClientBeginDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockgenericResourceClientBeginDeleteCall) Return ¶ added in v0.34.0
func (c *MockgenericResourceClientBeginDeleteCall) Return(arg0 *runtime.Poller[generated.GenericResourcesClientDeleteResponse], arg1 error) *MockgenericResourceClientBeginDeleteCall
Return rewrite *gomock.Call.Return
type MockgenericResourceClientGetCall ¶ added in v0.34.0
MockgenericResourceClientGetCall wrap *gomock.Call
func (*MockgenericResourceClientGetCall) Do ¶ added in v0.34.0
func (c *MockgenericResourceClientGetCall) Do(f func(context.Context, string, *generated.GenericResourcesClientGetOptions) (generated.GenericResourcesClientGetResponse, error)) *MockgenericResourceClientGetCall
Do rewrite *gomock.Call.Do
func (*MockgenericResourceClientGetCall) DoAndReturn ¶ added in v0.34.0
func (c *MockgenericResourceClientGetCall) DoAndReturn(f func(context.Context, string, *generated.GenericResourcesClientGetOptions) (generated.GenericResourcesClientGetResponse, error)) *MockgenericResourceClientGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockgenericResourceClientGetCall) Return ¶ added in v0.34.0
func (c *MockgenericResourceClientGetCall) Return(arg0 generated.GenericResourcesClientGetResponse, arg1 error) *MockgenericResourceClientGetCall
Return rewrite *gomock.Call.Return
type MockgenericResourceClientMockRecorder ¶ added in v0.34.0
type MockgenericResourceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockgenericResourceClientMockRecorder is the mock recorder for MockgenericResourceClient.
func (*MockgenericResourceClientMockRecorder) BeginCreateOrUpdate ¶ added in v0.34.0
func (mr *MockgenericResourceClientMockRecorder) BeginCreateOrUpdate(ctx, resourceName, genericResourceParameters, options any) *MockgenericResourceClientBeginCreateOrUpdateCall
BeginCreateOrUpdate indicates an expected call of BeginCreateOrUpdate.
func (*MockgenericResourceClientMockRecorder) BeginDelete ¶ added in v0.34.0
func (mr *MockgenericResourceClientMockRecorder) BeginDelete(ctx, resourceName, options any) *MockgenericResourceClientBeginDeleteCall
BeginDelete indicates an expected call of BeginDelete.
func (*MockgenericResourceClientMockRecorder) Get ¶ added in v0.34.0
func (mr *MockgenericResourceClientMockRecorder) Get(ctx, resourceName, options any) *MockgenericResourceClientGetCall
Get indicates an expected call of Get.
func (*MockgenericResourceClientMockRecorder) NewListByRootScopePager ¶ added in v0.34.0
func (mr *MockgenericResourceClientMockRecorder) NewListByRootScopePager(options any) *MockgenericResourceClientNewListByRootScopePagerCall
NewListByRootScopePager indicates an expected call of NewListByRootScopePager.
type MockgenericResourceClientNewListByRootScopePagerCall ¶ added in v0.34.0
MockgenericResourceClientNewListByRootScopePagerCall wrap *gomock.Call
func (*MockgenericResourceClientNewListByRootScopePagerCall) Do ¶ added in v0.34.0
func (c *MockgenericResourceClientNewListByRootScopePagerCall) Do(f func(*generated.GenericResourcesClientListByRootScopeOptions) *runtime.Pager[generated.GenericResourcesClientListByRootScopeResponse]) *MockgenericResourceClientNewListByRootScopePagerCall
Do rewrite *gomock.Call.Do
func (*MockgenericResourceClientNewListByRootScopePagerCall) DoAndReturn ¶ added in v0.34.0
func (c *MockgenericResourceClientNewListByRootScopePagerCall) DoAndReturn(f func(*generated.GenericResourcesClientListByRootScopeOptions) *runtime.Pager[generated.GenericResourcesClientListByRootScopeResponse]) *MockgenericResourceClientNewListByRootScopePagerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockgenericResourceClientNewListByRootScopePagerCall) Return ¶ added in v0.34.0
func (c *MockgenericResourceClientNewListByRootScopePagerCall) Return(arg0 *runtime.Pager[generated.GenericResourcesClientListByRootScopeResponse]) *MockgenericResourceClientNewListByRootScopePagerCall
Return rewrite *gomock.Call.Return
type MockresourceGroupClient ¶ added in v0.34.0
type MockresourceGroupClient struct {
// contains filtered or unexported fields
}
MockresourceGroupClient is a mock of resourceGroupClient interface.
func NewMockresourceGroupClient ¶ added in v0.34.0
func NewMockresourceGroupClient(ctrl *gomock.Controller) *MockresourceGroupClient
NewMockresourceGroupClient creates a new mock instance.
func (*MockresourceGroupClient) CreateOrUpdate ¶ added in v0.34.0
func (m *MockresourceGroupClient) CreateOrUpdate(ctx context.Context, planeName, resourceGroupName string, resource v20231001preview0.ResourceGroupResource, options *v20231001preview0.ResourceGroupsClientCreateOrUpdateOptions) (v20231001preview0.ResourceGroupsClientCreateOrUpdateResponse, error)
CreateOrUpdate mocks base method.
func (*MockresourceGroupClient) Delete ¶ added in v0.34.0
func (m *MockresourceGroupClient) Delete(ctx context.Context, planeName, resourceGroupName string, options *v20231001preview0.ResourceGroupsClientDeleteOptions) (v20231001preview0.ResourceGroupsClientDeleteResponse, error)
Delete mocks base method.
func (*MockresourceGroupClient) EXPECT ¶ added in v0.34.0
func (m *MockresourceGroupClient) EXPECT() *MockresourceGroupClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockresourceGroupClient) Get ¶ added in v0.34.0
func (m *MockresourceGroupClient) Get(ctx context.Context, planeName, resourceGroupName string, options *v20231001preview0.ResourceGroupsClientGetOptions) (v20231001preview0.ResourceGroupsClientGetResponse, error)
Get mocks base method.
func (*MockresourceGroupClient) NewListPager ¶ added in v0.34.0
func (m *MockresourceGroupClient) NewListPager(planeName string, options *v20231001preview0.ResourceGroupsClientListOptions) *runtime.Pager[v20231001preview0.ResourceGroupsClientListResponse]
NewListPager mocks base method.
type MockresourceGroupClientCreateOrUpdateCall ¶ added in v0.34.0
MockresourceGroupClientCreateOrUpdateCall wrap *gomock.Call
func (*MockresourceGroupClientCreateOrUpdateCall) Do ¶ added in v0.34.0
func (c *MockresourceGroupClientCreateOrUpdateCall) Do(f func(context.Context, string, string, v20231001preview0.ResourceGroupResource, *v20231001preview0.ResourceGroupsClientCreateOrUpdateOptions) (v20231001preview0.ResourceGroupsClientCreateOrUpdateResponse, error)) *MockresourceGroupClientCreateOrUpdateCall
Do rewrite *gomock.Call.Do
func (*MockresourceGroupClientCreateOrUpdateCall) DoAndReturn ¶ added in v0.34.0
func (c *MockresourceGroupClientCreateOrUpdateCall) DoAndReturn(f func(context.Context, string, string, v20231001preview0.ResourceGroupResource, *v20231001preview0.ResourceGroupsClientCreateOrUpdateOptions) (v20231001preview0.ResourceGroupsClientCreateOrUpdateResponse, error)) *MockresourceGroupClientCreateOrUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockresourceGroupClientCreateOrUpdateCall) Return ¶ added in v0.34.0
func (c *MockresourceGroupClientCreateOrUpdateCall) Return(arg0 v20231001preview0.ResourceGroupsClientCreateOrUpdateResponse, arg1 error) *MockresourceGroupClientCreateOrUpdateCall
Return rewrite *gomock.Call.Return
type MockresourceGroupClientDeleteCall ¶ added in v0.34.0
MockresourceGroupClientDeleteCall wrap *gomock.Call
func (*MockresourceGroupClientDeleteCall) Do ¶ added in v0.34.0
func (c *MockresourceGroupClientDeleteCall) Do(f func(context.Context, string, string, *v20231001preview0.ResourceGroupsClientDeleteOptions) (v20231001preview0.ResourceGroupsClientDeleteResponse, error)) *MockresourceGroupClientDeleteCall
Do rewrite *gomock.Call.Do
func (*MockresourceGroupClientDeleteCall) DoAndReturn ¶ added in v0.34.0
func (c *MockresourceGroupClientDeleteCall) DoAndReturn(f func(context.Context, string, string, *v20231001preview0.ResourceGroupsClientDeleteOptions) (v20231001preview0.ResourceGroupsClientDeleteResponse, error)) *MockresourceGroupClientDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockresourceGroupClientDeleteCall) Return ¶ added in v0.34.0
func (c *MockresourceGroupClientDeleteCall) Return(arg0 v20231001preview0.ResourceGroupsClientDeleteResponse, arg1 error) *MockresourceGroupClientDeleteCall
Return rewrite *gomock.Call.Return
type MockresourceGroupClientGetCall ¶ added in v0.34.0
MockresourceGroupClientGetCall wrap *gomock.Call
func (*MockresourceGroupClientGetCall) Do ¶ added in v0.34.0
func (c *MockresourceGroupClientGetCall) Do(f func(context.Context, string, string, *v20231001preview0.ResourceGroupsClientGetOptions) (v20231001preview0.ResourceGroupsClientGetResponse, error)) *MockresourceGroupClientGetCall
Do rewrite *gomock.Call.Do
func (*MockresourceGroupClientGetCall) DoAndReturn ¶ added in v0.34.0
func (c *MockresourceGroupClientGetCall) DoAndReturn(f func(context.Context, string, string, *v20231001preview0.ResourceGroupsClientGetOptions) (v20231001preview0.ResourceGroupsClientGetResponse, error)) *MockresourceGroupClientGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockresourceGroupClientGetCall) Return ¶ added in v0.34.0
func (c *MockresourceGroupClientGetCall) Return(arg0 v20231001preview0.ResourceGroupsClientGetResponse, arg1 error) *MockresourceGroupClientGetCall
Return rewrite *gomock.Call.Return
type MockresourceGroupClientMockRecorder ¶ added in v0.34.0
type MockresourceGroupClientMockRecorder struct {
// contains filtered or unexported fields
}
MockresourceGroupClientMockRecorder is the mock recorder for MockresourceGroupClient.
func (*MockresourceGroupClientMockRecorder) CreateOrUpdate ¶ added in v0.34.0
func (mr *MockresourceGroupClientMockRecorder) CreateOrUpdate(ctx, planeName, resourceGroupName, resource, options any) *MockresourceGroupClientCreateOrUpdateCall
CreateOrUpdate indicates an expected call of CreateOrUpdate.
func (*MockresourceGroupClientMockRecorder) Delete ¶ added in v0.34.0
func (mr *MockresourceGroupClientMockRecorder) Delete(ctx, planeName, resourceGroupName, options any) *MockresourceGroupClientDeleteCall
Delete indicates an expected call of Delete.
func (*MockresourceGroupClientMockRecorder) Get ¶ added in v0.34.0
func (mr *MockresourceGroupClientMockRecorder) Get(ctx, planeName, resourceGroupName, options any) *MockresourceGroupClientGetCall
Get indicates an expected call of Get.
func (*MockresourceGroupClientMockRecorder) NewListPager ¶ added in v0.34.0
func (mr *MockresourceGroupClientMockRecorder) NewListPager(planeName, options any) *MockresourceGroupClientNewListPagerCall
NewListPager indicates an expected call of NewListPager.
type MockresourceGroupClientNewListPagerCall ¶ added in v0.34.0
MockresourceGroupClientNewListPagerCall wrap *gomock.Call
func (*MockresourceGroupClientNewListPagerCall) Do ¶ added in v0.34.0
func (c *MockresourceGroupClientNewListPagerCall) Do(f func(string, *v20231001preview0.ResourceGroupsClientListOptions) *runtime.Pager[v20231001preview0.ResourceGroupsClientListResponse]) *MockresourceGroupClientNewListPagerCall
Do rewrite *gomock.Call.Do
func (*MockresourceGroupClientNewListPagerCall) DoAndReturn ¶ added in v0.34.0
func (c *MockresourceGroupClientNewListPagerCall) DoAndReturn(f func(string, *v20231001preview0.ResourceGroupsClientListOptions) *runtime.Pager[v20231001preview0.ResourceGroupsClientListResponse]) *MockresourceGroupClientNewListPagerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockresourceGroupClientNewListPagerCall) Return ¶ added in v0.34.0
func (c *MockresourceGroupClientNewListPagerCall) Return(arg0 *runtime.Pager[v20231001preview0.ResourceGroupsClientListResponse]) *MockresourceGroupClientNewListPagerCall
Return rewrite *gomock.Call.Return
type Providers ¶
type Providers struct { // Azure provider information. This field is optional. Azure *AzureProvider // AWS provider information. This field is optional. AWS *AWSProvider // Radius provider information. Radius *RadiusProvider }
type RadiusProvider ¶
type ResourceProgress ¶
type ResourceProgress struct { Resource ucpresources.ID Status ResourceStatus }
type ResourceStatus ¶
type ResourceStatus string
const ( StatusStarted ResourceStatus = "Started" StatusFailed ResourceStatus = "Failed" StatusCompleted ResourceStatus = "Completed" )
type UCPApplicationsManagementClient ¶
type UCPApplicationsManagementClient struct { RootScope string ClientOptions *arm.ClientOptions // contains filtered or unexported fields }
func (*UCPApplicationsManagementClient) CreateApplicationIfNotFound ¶
func (amc *UCPApplicationsManagementClient) CreateApplicationIfNotFound(ctx context.Context, applicationNameOrID string, resource *corerpv20231001.ApplicationResource) error
CreateApplicationIfNotFound creates an application if it does not exist.
func (*UCPApplicationsManagementClient) CreateOrUpdateApplication ¶
func (amc *UCPApplicationsManagementClient) CreateOrUpdateApplication(ctx context.Context, applicationNameOrID string, resource *corerpv20231001.ApplicationResource) error
CreateOrUpdateApplication creates or updates an application by its name (or id).
func (*UCPApplicationsManagementClient) CreateOrUpdateEnvironment ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) CreateOrUpdateEnvironment(ctx context.Context, environmentNameOrID string, resource *corerpv20231001.EnvironmentResource) error
CreateOrUpdateEnvironment creates an environment by its name (or id).
func (*UCPApplicationsManagementClient) CreateOrUpdateResourceGroup ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) CreateOrUpdateResourceGroup(ctx context.Context, planeName string, resourceGroupName string, resourceGroup *ucpv20231001.ResourceGroupResource) error
CreateOrUpdateResourceGroup creates a resource group by its name.
func (*UCPApplicationsManagementClient) DeleteApplication ¶
func (amc *UCPApplicationsManagementClient) DeleteApplication(ctx context.Context, applicationNameOrID string) (bool, error)
DeleteApplication deletes an application and all of its resources by its name (or id).
func (*UCPApplicationsManagementClient) DeleteEnvironment ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) DeleteEnvironment(ctx context.Context, environmentNameOrID string) (bool, error)
DeleteEnvironment deletes an environment and all of its resources by its name (in the configured scope) or resource ID.
func (*UCPApplicationsManagementClient) DeleteResource ¶
func (amc *UCPApplicationsManagementClient) DeleteResource(ctx context.Context, resourceType string, resourceNameOrID string) (bool, error)
DeleteResource deletes a resource by its type and name (or id).
func (*UCPApplicationsManagementClient) DeleteResourceGroup ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) DeleteResourceGroup(ctx context.Context, planeName string, resourceGroupName string) (bool, error)
DeleteResourceGroup deletes a resource group by its name.
func (*UCPApplicationsManagementClient) GetApplication ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) GetApplication(ctx context.Context, applicationNameOrID string) (corerpv20231001.ApplicationResource, error)
GetApplication retrieves an application by its name (or id).
func (*UCPApplicationsManagementClient) GetApplicationGraph ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) GetApplicationGraph(ctx context.Context, applicationNameOrID string) (corerpv20231001.ApplicationGraphResponse, error)
GetApplicationGraph retrieves the application graph of an application by its name (or id).
func (*UCPApplicationsManagementClient) GetEnvironment ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) GetEnvironment(ctx context.Context, environmentNameOrID string) (corerpv20231001.EnvironmentResource, error)
GetEnvironment retrieves an environment by its name (in the configured scope) or resource ID.
func (*UCPApplicationsManagementClient) GetRecipeMetadata ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) GetRecipeMetadata(ctx context.Context, environmentNameOrID string, recipeMetadata corerpv20231001.RecipeGetMetadata) (corerpv20231001.RecipeGetMetadataResponse, error)
GetRecipeMetadata shows recipe details including list of all parameters for a given recipe registered to an environment.
func (*UCPApplicationsManagementClient) GetResource ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) GetResource(ctx context.Context, resourceType string, resourceNameOrID string) (generated.GenericResource, error)
GetResource retrieves a resource by its type and name (or id).
func (*UCPApplicationsManagementClient) GetResourceGroup ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) GetResourceGroup(ctx context.Context, planeName string, resourceGroupName string) (ucpv20231001.ResourceGroupResource, error)
GetResourceGroup retrieves a resource group by its name.
func (*UCPApplicationsManagementClient) ListApplications ¶
func (amc *UCPApplicationsManagementClient) ListApplications(ctx context.Context) ([]corerpv20231001.ApplicationResource, error)
ListApplications lists all applications in the configured scope.
func (*UCPApplicationsManagementClient) ListApplicationsInEnvironment ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) ListApplicationsInEnvironment(ctx context.Context, environmentNameOrID string) ([]corerpv20231001.ApplicationResource, error)
ListApplicationsInEnvironment lists the applications that are part of the specified environment and in the configured scope.
func (*UCPApplicationsManagementClient) ListEnvironments ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) ListEnvironments(ctx context.Context) ([]corerpv20231001.EnvironmentResource, error)
ListEnvironments lists all environments in the configured scope (assumes configured scope is a resource group).
func (*UCPApplicationsManagementClient) ListEnvironmentsAll ¶
func (amc *UCPApplicationsManagementClient) ListEnvironmentsAll(ctx context.Context) ([]corerpv20231001.EnvironmentResource, error)
ListEnvironmentsAll queries the scope for all environment resources and returns a slice of environment resources or an error if one occurs.
func (*UCPApplicationsManagementClient) ListResourceGroups ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) ListResourceGroups(ctx context.Context, planeName string) ([]ucpv20231001.ResourceGroupResource, error)
ListResourceGroups lists all resource groups in the configured scope.
func (*UCPApplicationsManagementClient) ListResourcesInApplication ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) ListResourcesInApplication(ctx context.Context, applicationNameOrID string) ([]generated.GenericResource, error)
ListResourcesInApplication lists all resources in a given application in the configured scope.
func (*UCPApplicationsManagementClient) ListResourcesInEnvironment ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) ListResourcesInEnvironment(ctx context.Context, environmentNameOrID string) ([]generated.GenericResource, error)
ListResourcesInEnvironment lists all resources in a given environment in the configured scope.
func (*UCPApplicationsManagementClient) ListResourcesOfType ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) ListResourcesOfType(ctx context.Context, resourceType string) ([]generated.GenericResource, error)
ListResourcesOfType lists all resources of a given type in the configured scope.
func (*UCPApplicationsManagementClient) ListResourcesOfTypeInApplication ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) ListResourcesOfTypeInApplication(ctx context.Context, applicationNameOrID string, resourceType string) ([]generated.GenericResource, error)
ListResourcesOfTypeInApplication lists all resources of a given type in a given application in the configured scope.
func (*UCPApplicationsManagementClient) ListResourcesOfTypeInEnvironment ¶ added in v0.34.0
func (amc *UCPApplicationsManagementClient) ListResourcesOfTypeInEnvironment(ctx context.Context, environmentNameOrID string, resourceType string) ([]generated.GenericResource, error)
ListResourcesOfTypeInEnvironment lists all resources of a given type in a given environment in the configured scope.