clients

package
v0.42.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package clients is a generated GoMock package.

Package clients is a generated GoMock package.

Package clients is a generated GoMock package.

Index

Constants

This section is empty.

Variables

Functions

func Is404Error

func Is404Error(err error) bool

"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)

	// CreateOrUpdateResource creates or updates a resource using its type name (or id).
	CreateOrUpdateResource(ctx context.Context, resourceType string, resourceNameOrID string, resource *generated.GenericResource) (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)

	// ListResourceProviders lists all resource providers in the configured scope.
	ListResourceProviders(ctx context.Context, planeName string) ([]ucp_v20231001preview.ResourceProviderResource, error)

	// GetResourceProvider gets the resource provider with the specified name in the configured scope.
	GetResourceProvider(ctx context.Context, planeName string, providerNamespace string) (ucp_v20231001preview.ResourceProviderResource, error)

	// CreateOrUpdateResourceProvider creates or updates a resource provider in the configured scope.
	CreateOrUpdateResourceProvider(ctx context.Context, planeName string, providerNamespace string, resource *ucp_v20231001preview.ResourceProviderResource) (ucp_v20231001preview.ResourceProviderResource, error)

	// DeleteResourceProvider deletes a resource provider in the configured scope.
	DeleteResourceProvider(ctx context.Context, planeName string, providerNamespace string) (bool, error)

	// ListResourceProviderSummaries lists the summary data of all resource providers in the configured scope.
	ListResourceProviderSummaries(ctx context.Context, planeName string) ([]ucp_v20231001preview.ResourceProviderSummary, error)

	// GetResourceProviderSummary gets the resource provider summary with the specified name in the configured scope.
	GetResourceProviderSummary(ctx context.Context, planeName string, providerNamespace string) (ucp_v20231001preview.ResourceProviderSummary, error)

	// CreateOrUpdateResourceType creates or updates a resource type in the configured scope.
	CreateOrUpdateResourceType(ctx context.Context, planeName string, providerNamespace string, resourceTypeName string, resource *ucp_v20231001preview.ResourceTypeResource) (ucp_v20231001preview.ResourceTypeResource, error)

	// DeleteResourceType deletes a resource type in the configured scope.
	DeleteResourceType(ctx context.Context, planeName string, providerNamespace string, resourceTypeName string) (bool, error)

	// CreateOrUpdateAPIVersion creates or updates an API version in the configured scope.
	CreateOrUpdateAPIVersion(ctx context.Context, planeName string, providerNamespace string, resourceTypeName string, apiVersionName string, resource *ucp_v20231001preview.APIVersionResource) (ucp_v20231001preview.APIVersionResource, error)

	// CreateOrUpdateLocation creates or updates a resource provider location in the configured scope.
	CreateOrUpdateLocation(ctx context.Context, planeName string, providerNamespace string, locationName string, resource *ucp_v20231001preview.LocationResource) (ucp_v20231001preview.LocationResource, error)
}

ApplicationsManagementClient is the client abstraction used with the CLI to interact wih the Radius API.

Some conventions about the parameter names and values.

- The client is constructed with a default scope. e.g: /planes/radius/local/resourceGroups/myGroup. - Parameters named like applicationNameOrID are used to identify an application by its name + default scope, or it's resource id. - The planeName parameter is used to specify the plane name. This is usually "local".

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 DeploymentOutput struct {
	Type  string `json:"type"`
	Value any    `json:"value"`
}

type DeploymentParameters

type DeploymentParameters = map[string]map[string]any

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 ExposeOptions struct {
	Application string
	Resource    string
	Port        int
	RemotePort  int
	Replica     string
}

type GatewayStatus

type GatewayStatus struct {
	Name     string
	Endpoint string
}

type LogStream

type LogStream struct {
	Name   string
	Stream io.ReadCloser
}

type LogsOptions

type LogsOptions struct {
	Application string
	Resource    string
	Follow      bool
	Container   string
	Replica     string
}

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) CreateOrUpdateAPIVersion added in v0.41.0

func (m *MockApplicationsManagementClient) CreateOrUpdateAPIVersion(arg0 context.Context, arg1, arg2, arg3, arg4 string, arg5 *v20231001preview0.APIVersionResource) (v20231001preview0.APIVersionResource, error)

CreateOrUpdateAPIVersion 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) CreateOrUpdateLocation added in v0.41.0

CreateOrUpdateLocation mocks base method.

func (*MockApplicationsManagementClient) CreateOrUpdateResource added in v0.41.0

func (m *MockApplicationsManagementClient) CreateOrUpdateResource(arg0 context.Context, arg1, arg2 string, arg3 *generated.GenericResource) (generated.GenericResource, error)

CreateOrUpdateResource 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) CreateOrUpdateResourceProvider added in v0.41.0

CreateOrUpdateResourceProvider mocks base method.

func (*MockApplicationsManagementClient) CreateOrUpdateResourceType added in v0.41.0

CreateOrUpdateResourceType 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) DeleteResourceProvider added in v0.41.0

func (m *MockApplicationsManagementClient) DeleteResourceProvider(arg0 context.Context, arg1, arg2 string) (bool, error)

DeleteResourceProvider mocks base method.

func (*MockApplicationsManagementClient) DeleteResourceType added in v0.41.0

func (m *MockApplicationsManagementClient) DeleteResourceType(arg0 context.Context, arg1, arg2, arg3 string) (bool, error)

DeleteResourceType mocks base method.

func (*MockApplicationsManagementClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApplicationsManagementClient) GetApplication added in v0.34.0

GetApplication mocks base method.

func (*MockApplicationsManagementClient) GetApplicationGraph added in v0.34.0

GetApplicationGraph mocks base method.

func (*MockApplicationsManagementClient) GetEnvironment added in v0.34.0

GetEnvironment mocks base method.

func (*MockApplicationsManagementClient) GetRecipeMetadata added in v0.34.0

GetRecipeMetadata mocks base method.

func (*MockApplicationsManagementClient) GetResource added in v0.34.0

GetResource mocks base method.

func (*MockApplicationsManagementClient) GetResourceGroup added in v0.34.0

GetResourceGroup mocks base method.

func (*MockApplicationsManagementClient) GetResourceProvider added in v0.41.0

GetResourceProvider mocks base method.

func (*MockApplicationsManagementClient) GetResourceProviderSummary added in v0.41.0

func (m *MockApplicationsManagementClient) GetResourceProviderSummary(arg0 context.Context, arg1, arg2 string) (v20231001preview0.ResourceProviderSummary, error)

GetResourceProviderSummary mocks base method.

func (*MockApplicationsManagementClient) ListApplications

ListApplications mocks base method.

func (*MockApplicationsManagementClient) ListEnvironments added in v0.34.0

ListEnvironments mocks base method.

func (*MockApplicationsManagementClient) ListEnvironmentsAll

ListEnvironmentsAll mocks base method.

func (*MockApplicationsManagementClient) ListResourceGroups added in v0.34.0

ListResourceGroups mocks base method.

func (*MockApplicationsManagementClient) ListResourceProviderSummaries added in v0.41.0

func (m *MockApplicationsManagementClient) ListResourceProviderSummaries(arg0 context.Context, arg1 string) ([]v20231001preview0.ResourceProviderSummary, error)

ListResourceProviderSummaries mocks base method.

func (*MockApplicationsManagementClient) ListResourceProviders added in v0.41.0

ListResourceProviders 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

type MockApplicationsManagementClientCreateApplicationIfNotFoundCall struct {
	*gomock.Call
}

MockApplicationsManagementClientCreateApplicationIfNotFoundCall wrap *gomock.Call

func (*MockApplicationsManagementClientCreateApplicationIfNotFoundCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientCreateApplicationIfNotFoundCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientCreateApplicationIfNotFoundCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientCreateOrUpdateAPIVersionCall added in v0.41.0

type MockApplicationsManagementClientCreateOrUpdateAPIVersionCall struct {
	*gomock.Call
}

MockApplicationsManagementClientCreateOrUpdateAPIVersionCall wrap *gomock.Call

func (*MockApplicationsManagementClientCreateOrUpdateAPIVersionCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientCreateOrUpdateAPIVersionCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientCreateOrUpdateAPIVersionCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientCreateOrUpdateApplicationCall added in v0.35.0

type MockApplicationsManagementClientCreateOrUpdateApplicationCall struct {
	*gomock.Call
}

MockApplicationsManagementClientCreateOrUpdateApplicationCall wrap *gomock.Call

func (*MockApplicationsManagementClientCreateOrUpdateApplicationCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientCreateOrUpdateApplicationCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientCreateOrUpdateApplicationCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientCreateOrUpdateEnvironmentCall added in v0.35.0

type MockApplicationsManagementClientCreateOrUpdateEnvironmentCall struct {
	*gomock.Call
}

MockApplicationsManagementClientCreateOrUpdateEnvironmentCall wrap *gomock.Call

func (*MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientCreateOrUpdateEnvironmentCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientCreateOrUpdateLocationCall added in v0.41.0

type MockApplicationsManagementClientCreateOrUpdateLocationCall struct {
	*gomock.Call
}

MockApplicationsManagementClientCreateOrUpdateLocationCall wrap *gomock.Call

func (*MockApplicationsManagementClientCreateOrUpdateLocationCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientCreateOrUpdateLocationCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientCreateOrUpdateLocationCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientCreateOrUpdateResourceCall added in v0.41.0

type MockApplicationsManagementClientCreateOrUpdateResourceCall struct {
	*gomock.Call
}

MockApplicationsManagementClientCreateOrUpdateResourceCall wrap *gomock.Call

func (*MockApplicationsManagementClientCreateOrUpdateResourceCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientCreateOrUpdateResourceCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientCreateOrUpdateResourceCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientCreateOrUpdateResourceGroupCall added in v0.35.0

type MockApplicationsManagementClientCreateOrUpdateResourceGroupCall struct {
	*gomock.Call
}

MockApplicationsManagementClientCreateOrUpdateResourceGroupCall wrap *gomock.Call

func (*MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientCreateOrUpdateResourceGroupCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientCreateOrUpdateResourceProviderCall added in v0.41.0

type MockApplicationsManagementClientCreateOrUpdateResourceProviderCall struct {
	*gomock.Call
}

MockApplicationsManagementClientCreateOrUpdateResourceProviderCall wrap *gomock.Call

func (*MockApplicationsManagementClientCreateOrUpdateResourceProviderCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientCreateOrUpdateResourceProviderCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientCreateOrUpdateResourceTypeCall added in v0.41.0

type MockApplicationsManagementClientCreateOrUpdateResourceTypeCall struct {
	*gomock.Call
}

MockApplicationsManagementClientCreateOrUpdateResourceTypeCall wrap *gomock.Call

func (*MockApplicationsManagementClientCreateOrUpdateResourceTypeCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientCreateOrUpdateResourceTypeCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientCreateOrUpdateResourceTypeCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientDeleteApplicationCall added in v0.35.0

type MockApplicationsManagementClientDeleteApplicationCall struct {
	*gomock.Call
}

MockApplicationsManagementClientDeleteApplicationCall wrap *gomock.Call

func (*MockApplicationsManagementClientDeleteApplicationCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientDeleteApplicationCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientDeleteApplicationCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientDeleteEnvironmentCall added in v0.35.0

type MockApplicationsManagementClientDeleteEnvironmentCall struct {
	*gomock.Call
}

MockApplicationsManagementClientDeleteEnvironmentCall wrap *gomock.Call

func (*MockApplicationsManagementClientDeleteEnvironmentCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientDeleteEnvironmentCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientDeleteEnvironmentCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientDeleteResourceCall added in v0.35.0

type MockApplicationsManagementClientDeleteResourceCall struct {
	*gomock.Call
}

MockApplicationsManagementClientDeleteResourceCall wrap *gomock.Call

func (*MockApplicationsManagementClientDeleteResourceCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientDeleteResourceCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientDeleteResourceCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientDeleteResourceGroupCall added in v0.35.0

type MockApplicationsManagementClientDeleteResourceGroupCall struct {
	*gomock.Call
}

MockApplicationsManagementClientDeleteResourceGroupCall wrap *gomock.Call

func (*MockApplicationsManagementClientDeleteResourceGroupCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientDeleteResourceGroupCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientDeleteResourceGroupCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientDeleteResourceProviderCall added in v0.41.0

type MockApplicationsManagementClientDeleteResourceProviderCall struct {
	*gomock.Call
}

MockApplicationsManagementClientDeleteResourceProviderCall wrap *gomock.Call

func (*MockApplicationsManagementClientDeleteResourceProviderCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientDeleteResourceProviderCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientDeleteResourceProviderCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientDeleteResourceTypeCall added in v0.41.0

type MockApplicationsManagementClientDeleteResourceTypeCall struct {
	*gomock.Call
}

MockApplicationsManagementClientDeleteResourceTypeCall wrap *gomock.Call

func (*MockApplicationsManagementClientDeleteResourceTypeCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientDeleteResourceTypeCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientDeleteResourceTypeCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientGetApplicationCall added in v0.35.0

type MockApplicationsManagementClientGetApplicationCall struct {
	*gomock.Call
}

MockApplicationsManagementClientGetApplicationCall wrap *gomock.Call

func (*MockApplicationsManagementClientGetApplicationCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientGetApplicationCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientGetApplicationCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientGetApplicationGraphCall added in v0.35.0

type MockApplicationsManagementClientGetApplicationGraphCall struct {
	*gomock.Call
}

MockApplicationsManagementClientGetApplicationGraphCall wrap *gomock.Call

func (*MockApplicationsManagementClientGetApplicationGraphCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientGetApplicationGraphCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientGetApplicationGraphCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientGetEnvironmentCall added in v0.35.0

type MockApplicationsManagementClientGetEnvironmentCall struct {
	*gomock.Call
}

MockApplicationsManagementClientGetEnvironmentCall wrap *gomock.Call

func (*MockApplicationsManagementClientGetEnvironmentCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientGetEnvironmentCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientGetEnvironmentCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientGetRecipeMetadataCall added in v0.35.0

type MockApplicationsManagementClientGetRecipeMetadataCall struct {
	*gomock.Call
}

MockApplicationsManagementClientGetRecipeMetadataCall wrap *gomock.Call

func (*MockApplicationsManagementClientGetRecipeMetadataCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientGetRecipeMetadataCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientGetRecipeMetadataCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientGetResourceCall added in v0.35.0

type MockApplicationsManagementClientGetResourceCall struct {
	*gomock.Call
}

MockApplicationsManagementClientGetResourceCall wrap *gomock.Call

func (*MockApplicationsManagementClientGetResourceCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientGetResourceCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientGetResourceCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientGetResourceGroupCall added in v0.35.0

type MockApplicationsManagementClientGetResourceGroupCall struct {
	*gomock.Call
}

MockApplicationsManagementClientGetResourceGroupCall wrap *gomock.Call

func (*MockApplicationsManagementClientGetResourceGroupCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientGetResourceGroupCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientGetResourceGroupCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientGetResourceProviderCall added in v0.41.0

type MockApplicationsManagementClientGetResourceProviderCall struct {
	*gomock.Call
}

MockApplicationsManagementClientGetResourceProviderCall wrap *gomock.Call

func (*MockApplicationsManagementClientGetResourceProviderCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientGetResourceProviderCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientGetResourceProviderCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientGetResourceProviderSummaryCall added in v0.41.0

type MockApplicationsManagementClientGetResourceProviderSummaryCall struct {
	*gomock.Call
}

MockApplicationsManagementClientGetResourceProviderSummaryCall wrap *gomock.Call

func (*MockApplicationsManagementClientGetResourceProviderSummaryCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientGetResourceProviderSummaryCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientGetResourceProviderSummaryCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListApplicationsCall added in v0.35.0

type MockApplicationsManagementClientListApplicationsCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListApplicationsCall wrap *gomock.Call

func (*MockApplicationsManagementClientListApplicationsCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListApplicationsCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListApplicationsCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListEnvironmentsAllCall added in v0.35.0

type MockApplicationsManagementClientListEnvironmentsAllCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListEnvironmentsAllCall wrap *gomock.Call

func (*MockApplicationsManagementClientListEnvironmentsAllCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListEnvironmentsAllCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListEnvironmentsAllCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListEnvironmentsCall added in v0.35.0

type MockApplicationsManagementClientListEnvironmentsCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListEnvironmentsCall wrap *gomock.Call

func (*MockApplicationsManagementClientListEnvironmentsCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListEnvironmentsCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListEnvironmentsCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListResourceGroupsCall added in v0.35.0

type MockApplicationsManagementClientListResourceGroupsCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListResourceGroupsCall wrap *gomock.Call

func (*MockApplicationsManagementClientListResourceGroupsCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListResourceGroupsCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListResourceGroupsCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListResourceProviderSummariesCall added in v0.41.0

type MockApplicationsManagementClientListResourceProviderSummariesCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListResourceProviderSummariesCall wrap *gomock.Call

func (*MockApplicationsManagementClientListResourceProviderSummariesCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListResourceProviderSummariesCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListResourceProviderSummariesCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListResourceProvidersCall added in v0.41.0

type MockApplicationsManagementClientListResourceProvidersCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListResourceProvidersCall wrap *gomock.Call

func (*MockApplicationsManagementClientListResourceProvidersCall) Do added in v0.41.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListResourceProvidersCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListResourceProvidersCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListResourcesInApplicationCall added in v0.35.0

type MockApplicationsManagementClientListResourcesInApplicationCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListResourcesInApplicationCall wrap *gomock.Call

func (*MockApplicationsManagementClientListResourcesInApplicationCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListResourcesInApplicationCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListResourcesInApplicationCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListResourcesInEnvironmentCall added in v0.35.0

type MockApplicationsManagementClientListResourcesInEnvironmentCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListResourcesInEnvironmentCall wrap *gomock.Call

func (*MockApplicationsManagementClientListResourcesInEnvironmentCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListResourcesInEnvironmentCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListResourcesInEnvironmentCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListResourcesOfTypeCall added in v0.35.0

type MockApplicationsManagementClientListResourcesOfTypeCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListResourcesOfTypeCall wrap *gomock.Call

func (*MockApplicationsManagementClientListResourcesOfTypeCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListResourcesOfTypeCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListResourcesOfTypeCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListResourcesOfTypeInApplicationCall added in v0.35.0

type MockApplicationsManagementClientListResourcesOfTypeInApplicationCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListResourcesOfTypeInApplicationCall wrap *gomock.Call

func (*MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListResourcesOfTypeInApplicationCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall added in v0.35.0

type MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall struct {
	*gomock.Call
}

MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall wrap *gomock.Call

func (*MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationsManagementClientListResourcesOfTypeInEnvironmentCall) Return added in v0.35.0

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

CreateApplicationIfNotFound indicates an expected call of CreateApplicationIfNotFound.

func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateAPIVersion added in v0.41.0

func (mr *MockApplicationsManagementClientMockRecorder) CreateOrUpdateAPIVersion(arg0, arg1, arg2, arg3, arg4, arg5 any) *MockApplicationsManagementClientCreateOrUpdateAPIVersionCall

CreateOrUpdateAPIVersion indicates an expected call of CreateOrUpdateAPIVersion.

func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateApplication

CreateOrUpdateApplication indicates an expected call of CreateOrUpdateApplication.

func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateEnvironment added in v0.34.0

CreateOrUpdateEnvironment indicates an expected call of CreateOrUpdateEnvironment.

func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateLocation added in v0.41.0

CreateOrUpdateLocation indicates an expected call of CreateOrUpdateLocation.

func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateResource added in v0.41.0

CreateOrUpdateResource indicates an expected call of CreateOrUpdateResource.

func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateResourceGroup added in v0.34.0

CreateOrUpdateResourceGroup indicates an expected call of CreateOrUpdateResourceGroup.

func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateResourceProvider added in v0.41.0

CreateOrUpdateResourceProvider indicates an expected call of CreateOrUpdateResourceProvider.

func (*MockApplicationsManagementClientMockRecorder) CreateOrUpdateResourceType added in v0.41.0

func (mr *MockApplicationsManagementClientMockRecorder) CreateOrUpdateResourceType(arg0, arg1, arg2, arg3, arg4 any) *MockApplicationsManagementClientCreateOrUpdateResourceTypeCall

CreateOrUpdateResourceType indicates an expected call of CreateOrUpdateResourceType.

func (*MockApplicationsManagementClientMockRecorder) DeleteApplication

DeleteApplication indicates an expected call of DeleteApplication.

func (*MockApplicationsManagementClientMockRecorder) DeleteEnvironment added in v0.34.0

DeleteEnvironment indicates an expected call of DeleteEnvironment.

func (*MockApplicationsManagementClientMockRecorder) DeleteResource

DeleteResource indicates an expected call of DeleteResource.

func (*MockApplicationsManagementClientMockRecorder) DeleteResourceGroup added in v0.34.0

DeleteResourceGroup indicates an expected call of DeleteResourceGroup.

func (*MockApplicationsManagementClientMockRecorder) DeleteResourceProvider added in v0.41.0

DeleteResourceProvider indicates an expected call of DeleteResourceProvider.

func (*MockApplicationsManagementClientMockRecorder) DeleteResourceType added in v0.41.0

DeleteResourceType indicates an expected call of DeleteResourceType.

func (*MockApplicationsManagementClientMockRecorder) GetApplication added in v0.34.0

GetApplication indicates an expected call of GetApplication.

func (*MockApplicationsManagementClientMockRecorder) GetApplicationGraph added in v0.34.0

GetApplicationGraph indicates an expected call of GetApplicationGraph.

func (*MockApplicationsManagementClientMockRecorder) GetEnvironment added in v0.34.0

GetEnvironment indicates an expected call of GetEnvironment.

func (*MockApplicationsManagementClientMockRecorder) GetRecipeMetadata added in v0.34.0

GetRecipeMetadata indicates an expected call of GetRecipeMetadata.

func (*MockApplicationsManagementClientMockRecorder) GetResource added in v0.34.0

GetResource indicates an expected call of GetResource.

func (*MockApplicationsManagementClientMockRecorder) GetResourceGroup added in v0.34.0

GetResourceGroup indicates an expected call of GetResourceGroup.

func (*MockApplicationsManagementClientMockRecorder) GetResourceProvider added in v0.41.0

GetResourceProvider indicates an expected call of GetResourceProvider.

func (*MockApplicationsManagementClientMockRecorder) GetResourceProviderSummary added in v0.41.0

GetResourceProviderSummary indicates an expected call of GetResourceProviderSummary.

func (*MockApplicationsManagementClientMockRecorder) ListApplications

ListApplications indicates an expected call of ListApplications.

func (*MockApplicationsManagementClientMockRecorder) ListEnvironments added in v0.34.0

ListEnvironments indicates an expected call of ListEnvironments.

func (*MockApplicationsManagementClientMockRecorder) ListEnvironmentsAll

ListEnvironmentsAll indicates an expected call of ListEnvironmentsAll.

func (*MockApplicationsManagementClientMockRecorder) ListResourceGroups added in v0.34.0

ListResourceGroups indicates an expected call of ListResourceGroups.

func (*MockApplicationsManagementClientMockRecorder) ListResourceProviderSummaries added in v0.41.0

ListResourceProviderSummaries indicates an expected call of ListResourceProviderSummaries.

func (*MockApplicationsManagementClientMockRecorder) ListResourceProviders added in v0.41.0

ListResourceProviders indicates an expected call of ListResourceProviders.

func (*MockApplicationsManagementClientMockRecorder) ListResourcesInApplication added in v0.34.0

ListResourcesInApplication indicates an expected call of ListResourcesInApplication.

func (*MockApplicationsManagementClientMockRecorder) ListResourcesInEnvironment added in v0.34.0

ListResourcesInEnvironment indicates an expected call of ListResourcesInEnvironment.

func (*MockApplicationsManagementClientMockRecorder) ListResourcesOfType added in v0.34.0

ListResourcesOfType indicates an expected call of ListResourcesOfType.

func (*MockApplicationsManagementClientMockRecorder) ListResourcesOfTypeInApplication added in v0.34.0

ListResourcesOfTypeInApplication indicates an expected call of ListResourcesOfTypeInApplication.

func (*MockApplicationsManagementClientMockRecorder) ListResourcesOfTypeInEnvironment added in v0.34.0

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

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

Logs mocks base method.

type MockDiagnosticsClientExposeCall added in v0.35.0

type MockDiagnosticsClientExposeCall struct {
	*gomock.Call
}

MockDiagnosticsClientExposeCall wrap *gomock.Call

func (*MockDiagnosticsClientExposeCall) Do added in v0.35.0

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

type MockDiagnosticsClientGetPublicEndpointCall struct {
	*gomock.Call
}

MockDiagnosticsClientGetPublicEndpointCall wrap *gomock.Call

func (*MockDiagnosticsClientGetPublicEndpointCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockDiagnosticsClientGetPublicEndpointCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockDiagnosticsClientGetPublicEndpointCall) Return added in v0.35.0

Return rewrite *gomock.Call.Return

type MockDiagnosticsClientLogsCall added in v0.35.0

type MockDiagnosticsClientLogsCall struct {
	*gomock.Call
}

MockDiagnosticsClientLogsCall wrap *gomock.Call

func (*MockDiagnosticsClientLogsCall) Do added in v0.35.0

Do rewrite *gomock.Call.Do

func (*MockDiagnosticsClientLogsCall) DoAndReturn added in v0.35.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockDiagnosticsClientLogsCall) Return added in v0.35.0

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

Expose indicates an expected call of Expose.

func (*MockDiagnosticsClientMockRecorder) GetPublicEndpoint

GetPublicEndpoint indicates an expected call of GetPublicEndpoint.

func (*MockDiagnosticsClientMockRecorder) Logs

Logs indicates an expected call of Logs.

type MockapiVersionClient added in v0.41.0

type MockapiVersionClient struct {
	// contains filtered or unexported fields
}

MockapiVersionClient is a mock of apiVersionClient interface.

func NewMockapiVersionClient added in v0.41.0

func NewMockapiVersionClient(ctrl *gomock.Controller) *MockapiVersionClient

NewMockapiVersionClient creates a new mock instance.

func (*MockapiVersionClient) BeginCreateOrUpdate added in v0.41.0

func (m *MockapiVersionClient) BeginCreateOrUpdate(ctx context.Context, planeName, resourceProviderName, resourceTypeName, apiVersionName string, resource v20231001preview0.APIVersionResource, options *v20231001preview0.APIVersionsClientBeginCreateOrUpdateOptions) (*runtime.Poller[v20231001preview0.APIVersionsClientCreateOrUpdateResponse], error)

BeginCreateOrUpdate mocks base method.

func (*MockapiVersionClient) EXPECT added in v0.41.0

EXPECT returns an object that allows the caller to indicate expected use.

type MockapiVersionClientBeginCreateOrUpdateCall added in v0.41.0

type MockapiVersionClientBeginCreateOrUpdateCall struct {
	*gomock.Call
}

MockapiVersionClientBeginCreateOrUpdateCall wrap *gomock.Call

func (*MockapiVersionClientBeginCreateOrUpdateCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockapiVersionClientMockRecorder added in v0.41.0

type MockapiVersionClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockapiVersionClientMockRecorder is the mock recorder for MockapiVersionClient.

func (*MockapiVersionClientMockRecorder) BeginCreateOrUpdate added in v0.41.0

func (mr *MockapiVersionClientMockRecorder) BeginCreateOrUpdate(ctx, planeName, resourceProviderName, resourceTypeName, apiVersionName, resource, options any) *MockapiVersionClientBeginCreateOrUpdateCall

BeginCreateOrUpdate indicates an expected call of BeginCreateOrUpdate.

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

CreateOrUpdate mocks base method.

func (*MockapplicationResourceClient) Delete added in v0.34.0

Delete mocks base method.

func (*MockapplicationResourceClient) EXPECT added in v0.34.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockapplicationResourceClient) Get added in v0.34.0

Get mocks base method.

func (*MockapplicationResourceClient) GetGraph added in v0.34.0

GetGraph mocks base method.

func (*MockapplicationResourceClient) NewListByScopePager added in v0.34.0

NewListByScopePager mocks base method.

type MockapplicationResourceClientCreateOrUpdateCall added in v0.34.0

type MockapplicationResourceClientCreateOrUpdateCall struct {
	*gomock.Call
}

MockapplicationResourceClientCreateOrUpdateCall wrap *gomock.Call

func (*MockapplicationResourceClientCreateOrUpdateCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockapplicationResourceClientDeleteCall added in v0.34.0

type MockapplicationResourceClientDeleteCall struct {
	*gomock.Call
}

MockapplicationResourceClientDeleteCall wrap *gomock.Call

func (*MockapplicationResourceClientDeleteCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockapplicationResourceClientDeleteCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockapplicationResourceClientGetCall added in v0.34.0

type MockapplicationResourceClientGetCall struct {
	*gomock.Call
}

MockapplicationResourceClientGetCall wrap *gomock.Call

func (*MockapplicationResourceClientGetCall) Do added in v0.34.0

Do rewrite *gomock.Call.Do

func (*MockapplicationResourceClientGetCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockapplicationResourceClientGetCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockapplicationResourceClientGetGraphCall added in v0.34.0

type MockapplicationResourceClientGetGraphCall struct {
	*gomock.Call
}

MockapplicationResourceClientGetGraphCall wrap *gomock.Call

func (*MockapplicationResourceClientGetGraphCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockapplicationResourceClientGetGraphCall) Return added in v0.34.0

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

Delete indicates an expected call of Delete.

func (*MockapplicationResourceClientMockRecorder) Get added in v0.34.0

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

NewListByScopePager indicates an expected call of NewListByScopePager.

type MockapplicationResourceClientNewListByScopePagerCall added in v0.34.0

type MockapplicationResourceClientNewListByScopePagerCall struct {
	*gomock.Call
}

MockapplicationResourceClientNewListByScopePagerCall wrap *gomock.Call

func (*MockapplicationResourceClientNewListByScopePagerCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockapplicationResourceClientNewListByScopePagerCall) Return added in v0.34.0

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

CreateOrUpdate mocks base method.

func (*MockenvironmentResourceClient) Delete added in v0.34.0

Delete mocks base method.

func (*MockenvironmentResourceClient) EXPECT added in v0.34.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockenvironmentResourceClient) Get added in v0.34.0

Get mocks base method.

func (*MockenvironmentResourceClient) GetMetadata added in v0.34.0

GetMetadata mocks base method.

func (*MockenvironmentResourceClient) NewListByScopePager added in v0.34.0

NewListByScopePager mocks base method.

type MockenvironmentResourceClientCreateOrUpdateCall added in v0.34.0

type MockenvironmentResourceClientCreateOrUpdateCall struct {
	*gomock.Call
}

MockenvironmentResourceClientCreateOrUpdateCall wrap *gomock.Call

func (*MockenvironmentResourceClientCreateOrUpdateCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockenvironmentResourceClientDeleteCall added in v0.34.0

type MockenvironmentResourceClientDeleteCall struct {
	*gomock.Call
}

MockenvironmentResourceClientDeleteCall wrap *gomock.Call

func (*MockenvironmentResourceClientDeleteCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockenvironmentResourceClientDeleteCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockenvironmentResourceClientGetCall added in v0.34.0

type MockenvironmentResourceClientGetCall struct {
	*gomock.Call
}

MockenvironmentResourceClientGetCall wrap *gomock.Call

func (*MockenvironmentResourceClientGetCall) Do added in v0.34.0

Do rewrite *gomock.Call.Do

func (*MockenvironmentResourceClientGetCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockenvironmentResourceClientGetCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockenvironmentResourceClientGetMetadataCall added in v0.34.0

type MockenvironmentResourceClientGetMetadataCall struct {
	*gomock.Call
}

MockenvironmentResourceClientGetMetadataCall wrap *gomock.Call

func (*MockenvironmentResourceClientGetMetadataCall) Return added in v0.34.0

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

Delete indicates an expected call of Delete.

func (*MockenvironmentResourceClientMockRecorder) Get added in v0.34.0

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

NewListByScopePager indicates an expected call of NewListByScopePager.

type MockenvironmentResourceClientNewListByScopePagerCall added in v0.34.0

type MockenvironmentResourceClientNewListByScopePagerCall struct {
	*gomock.Call
}

MockenvironmentResourceClientNewListByScopePagerCall wrap *gomock.Call

func (*MockenvironmentResourceClientNewListByScopePagerCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockenvironmentResourceClientNewListByScopePagerCall) Return added in v0.34.0

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

BeginCreateOrUpdate mocks base method.

func (*MockgenericResourceClient) BeginDelete added in v0.34.0

BeginDelete mocks base method.

func (*MockgenericResourceClient) EXPECT added in v0.34.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockgenericResourceClient) Get added in v0.34.0

Get mocks base method.

func (*MockgenericResourceClient) NewListByRootScopePager added in v0.34.0

NewListByRootScopePager mocks base method.

type MockgenericResourceClientBeginCreateOrUpdateCall added in v0.34.0

type MockgenericResourceClientBeginCreateOrUpdateCall struct {
	*gomock.Call
}

MockgenericResourceClientBeginCreateOrUpdateCall wrap *gomock.Call

func (*MockgenericResourceClientBeginCreateOrUpdateCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockgenericResourceClientBeginDeleteCall added in v0.34.0

type MockgenericResourceClientBeginDeleteCall struct {
	*gomock.Call
}

MockgenericResourceClientBeginDeleteCall wrap *gomock.Call

func (*MockgenericResourceClientBeginDeleteCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockgenericResourceClientBeginDeleteCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockgenericResourceClientGetCall added in v0.34.0

type MockgenericResourceClientGetCall struct {
	*gomock.Call
}

MockgenericResourceClientGetCall wrap *gomock.Call

func (*MockgenericResourceClientGetCall) Do added in v0.34.0

Do rewrite *gomock.Call.Do

func (*MockgenericResourceClientGetCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockgenericResourceClientGetCall) Return added in v0.34.0

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

NewListByRootScopePager indicates an expected call of NewListByRootScopePager.

type MockgenericResourceClientNewListByRootScopePagerCall added in v0.34.0

type MockgenericResourceClientNewListByRootScopePagerCall struct {
	*gomock.Call
}

MockgenericResourceClientNewListByRootScopePagerCall wrap *gomock.Call

func (*MockgenericResourceClientNewListByRootScopePagerCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockgenericResourceClientNewListByRootScopePagerCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MocklocationClient added in v0.41.0

type MocklocationClient struct {
	// contains filtered or unexported fields
}

MocklocationClient is a mock of locationClient interface.

func NewMocklocationClient added in v0.41.0

func NewMocklocationClient(ctrl *gomock.Controller) *MocklocationClient

NewMocklocationClient creates a new mock instance.

func (*MocklocationClient) BeginCreateOrUpdate added in v0.41.0

BeginCreateOrUpdate mocks base method.

func (*MocklocationClient) EXPECT added in v0.41.0

EXPECT returns an object that allows the caller to indicate expected use.

type MocklocationClientBeginCreateOrUpdateCall added in v0.41.0

type MocklocationClientBeginCreateOrUpdateCall struct {
	*gomock.Call
}

MocklocationClientBeginCreateOrUpdateCall wrap *gomock.Call

func (*MocklocationClientBeginCreateOrUpdateCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MocklocationClientMockRecorder added in v0.41.0

type MocklocationClientMockRecorder struct {
	// contains filtered or unexported fields
}

MocklocationClientMockRecorder is the mock recorder for MocklocationClient.

func (*MocklocationClientMockRecorder) BeginCreateOrUpdate added in v0.41.0

func (mr *MocklocationClientMockRecorder) BeginCreateOrUpdate(ctx, planeName, resourceProviderName, locationName, resource, options any) *MocklocationClientBeginCreateOrUpdateCall

BeginCreateOrUpdate indicates an expected call of BeginCreateOrUpdate.

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

CreateOrUpdate mocks base method.

func (*MockresourceGroupClient) Delete added in v0.34.0

Delete mocks base method.

func (*MockresourceGroupClient) EXPECT added in v0.34.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockresourceGroupClient) Get added in v0.34.0

Get mocks base method.

func (*MockresourceGroupClient) NewListPager added in v0.34.0

NewListPager mocks base method.

type MockresourceGroupClientCreateOrUpdateCall added in v0.34.0

type MockresourceGroupClientCreateOrUpdateCall struct {
	*gomock.Call
}

MockresourceGroupClientCreateOrUpdateCall wrap *gomock.Call

func (*MockresourceGroupClientCreateOrUpdateCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockresourceGroupClientDeleteCall added in v0.34.0

type MockresourceGroupClientDeleteCall struct {
	*gomock.Call
}

MockresourceGroupClientDeleteCall wrap *gomock.Call

func (*MockresourceGroupClientDeleteCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockresourceGroupClientDeleteCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockresourceGroupClientGetCall added in v0.34.0

type MockresourceGroupClientGetCall struct {
	*gomock.Call
}

MockresourceGroupClientGetCall wrap *gomock.Call

func (*MockresourceGroupClientGetCall) Do added in v0.34.0

Do rewrite *gomock.Call.Do

func (*MockresourceGroupClientGetCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockresourceGroupClientGetCall) Return added in v0.34.0

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

NewListPager indicates an expected call of NewListPager.

type MockresourceGroupClientNewListPagerCall added in v0.34.0

type MockresourceGroupClientNewListPagerCall struct {
	*gomock.Call
}

MockresourceGroupClientNewListPagerCall wrap *gomock.Call

func (*MockresourceGroupClientNewListPagerCall) DoAndReturn added in v0.34.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockresourceGroupClientNewListPagerCall) Return added in v0.34.0

Return rewrite *gomock.Call.Return

type MockresourceProviderClient added in v0.41.0

type MockresourceProviderClient struct {
	// contains filtered or unexported fields
}

MockresourceProviderClient is a mock of resourceProviderClient interface.

func NewMockresourceProviderClient added in v0.41.0

func NewMockresourceProviderClient(ctrl *gomock.Controller) *MockresourceProviderClient

NewMockresourceProviderClient creates a new mock instance.

func (*MockresourceProviderClient) BeginCreateOrUpdate added in v0.41.0

BeginCreateOrUpdate mocks base method.

func (*MockresourceProviderClient) BeginDelete added in v0.41.0

BeginDelete mocks base method.

func (*MockresourceProviderClient) EXPECT added in v0.41.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockresourceProviderClient) Get added in v0.41.0

Get mocks base method.

func (*MockresourceProviderClient) GetProviderSummary added in v0.41.0

GetProviderSummary mocks base method.

func (*MockresourceProviderClient) NewListPager added in v0.41.0

NewListPager mocks base method.

func (*MockresourceProviderClient) NewListProviderSummariesPager added in v0.41.0

NewListProviderSummariesPager mocks base method.

type MockresourceProviderClientBeginCreateOrUpdateCall added in v0.41.0

type MockresourceProviderClientBeginCreateOrUpdateCall struct {
	*gomock.Call
}

MockresourceProviderClientBeginCreateOrUpdateCall wrap *gomock.Call

func (*MockresourceProviderClientBeginCreateOrUpdateCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockresourceProviderClientBeginDeleteCall added in v0.41.0

type MockresourceProviderClientBeginDeleteCall struct {
	*gomock.Call
}

MockresourceProviderClientBeginDeleteCall wrap *gomock.Call

func (*MockresourceProviderClientBeginDeleteCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockresourceProviderClientBeginDeleteCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockresourceProviderClientGetCall added in v0.41.0

type MockresourceProviderClientGetCall struct {
	*gomock.Call
}

MockresourceProviderClientGetCall wrap *gomock.Call

func (*MockresourceProviderClientGetCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockresourceProviderClientGetCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockresourceProviderClientGetProviderSummaryCall added in v0.41.0

type MockresourceProviderClientGetProviderSummaryCall struct {
	*gomock.Call
}

MockresourceProviderClientGetProviderSummaryCall wrap *gomock.Call

func (*MockresourceProviderClientGetProviderSummaryCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockresourceProviderClientMockRecorder added in v0.41.0

type MockresourceProviderClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockresourceProviderClientMockRecorder is the mock recorder for MockresourceProviderClient.

func (*MockresourceProviderClientMockRecorder) BeginCreateOrUpdate added in v0.41.0

func (mr *MockresourceProviderClientMockRecorder) BeginCreateOrUpdate(ctx, planeName, resourceProviderName, resource, options any) *MockresourceProviderClientBeginCreateOrUpdateCall

BeginCreateOrUpdate indicates an expected call of BeginCreateOrUpdate.

func (*MockresourceProviderClientMockRecorder) BeginDelete added in v0.41.0

func (mr *MockresourceProviderClientMockRecorder) BeginDelete(ctx, planeName, resourceProviderName, options any) *MockresourceProviderClientBeginDeleteCall

BeginDelete indicates an expected call of BeginDelete.

func (*MockresourceProviderClientMockRecorder) Get added in v0.41.0

func (mr *MockresourceProviderClientMockRecorder) Get(ctx, planeName, resourceProviderName, options any) *MockresourceProviderClientGetCall

Get indicates an expected call of Get.

func (*MockresourceProviderClientMockRecorder) GetProviderSummary added in v0.41.0

func (mr *MockresourceProviderClientMockRecorder) GetProviderSummary(ctx, planeName, resourceProviderName, options any) *MockresourceProviderClientGetProviderSummaryCall

GetProviderSummary indicates an expected call of GetProviderSummary.

func (*MockresourceProviderClientMockRecorder) NewListPager added in v0.41.0

NewListPager indicates an expected call of NewListPager.

func (*MockresourceProviderClientMockRecorder) NewListProviderSummariesPager added in v0.41.0

NewListProviderSummariesPager indicates an expected call of NewListProviderSummariesPager.

type MockresourceProviderClientNewListPagerCall added in v0.41.0

type MockresourceProviderClientNewListPagerCall struct {
	*gomock.Call
}

MockresourceProviderClientNewListPagerCall wrap *gomock.Call

func (*MockresourceProviderClientNewListPagerCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockresourceProviderClientNewListPagerCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockresourceProviderClientNewListProviderSummariesPagerCall added in v0.41.0

type MockresourceProviderClientNewListProviderSummariesPagerCall struct {
	*gomock.Call
}

MockresourceProviderClientNewListProviderSummariesPagerCall wrap *gomock.Call

func (*MockresourceProviderClientNewListProviderSummariesPagerCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockresourceTypeClient added in v0.41.0

type MockresourceTypeClient struct {
	// contains filtered or unexported fields
}

MockresourceTypeClient is a mock of resourceTypeClient interface.

func NewMockresourceTypeClient added in v0.41.0

func NewMockresourceTypeClient(ctrl *gomock.Controller) *MockresourceTypeClient

NewMockresourceTypeClient creates a new mock instance.

func (*MockresourceTypeClient) BeginCreateOrUpdate added in v0.41.0

BeginCreateOrUpdate mocks base method.

func (*MockresourceTypeClient) BeginDelete added in v0.41.0

BeginDelete mocks base method.

func (*MockresourceTypeClient) EXPECT added in v0.41.0

EXPECT returns an object that allows the caller to indicate expected use.

type MockresourceTypeClientBeginCreateOrUpdateCall added in v0.41.0

type MockresourceTypeClientBeginCreateOrUpdateCall struct {
	*gomock.Call
}

MockresourceTypeClientBeginCreateOrUpdateCall wrap *gomock.Call

func (*MockresourceTypeClientBeginCreateOrUpdateCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockresourceTypeClientBeginDeleteCall added in v0.41.0

type MockresourceTypeClientBeginDeleteCall struct {
	*gomock.Call
}

MockresourceTypeClientBeginDeleteCall wrap *gomock.Call

func (*MockresourceTypeClientBeginDeleteCall) DoAndReturn added in v0.41.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockresourceTypeClientBeginDeleteCall) Return added in v0.41.0

Return rewrite *gomock.Call.Return

type MockresourceTypeClientMockRecorder added in v0.41.0

type MockresourceTypeClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockresourceTypeClientMockRecorder is the mock recorder for MockresourceTypeClient.

func (*MockresourceTypeClientMockRecorder) BeginCreateOrUpdate added in v0.41.0

func (mr *MockresourceTypeClientMockRecorder) BeginCreateOrUpdate(ctx, planeName, resourceProviderName, resourceTypeName, resource, options any) *MockresourceTypeClientBeginCreateOrUpdateCall

BeginCreateOrUpdate indicates an expected call of BeginCreateOrUpdate.

func (*MockresourceTypeClientMockRecorder) BeginDelete added in v0.41.0

func (mr *MockresourceTypeClientMockRecorder) BeginDelete(ctx, planeName, resourceProviderName, resourceTypeName, options any) *MockresourceTypeClientBeginDeleteCall

BeginDelete indicates an expected call of BeginDelete.

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 RadiusProvider struct {
	// Currently, we must provide an environment ID for deploying applications.
	EnvironmentID string
	// ApplicationID is the ID of the application to be deployed. This is optional.
	ApplicationID string
}

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) CreateOrUpdateAPIVersion added in v0.41.0

func (amc *UCPApplicationsManagementClient) CreateOrUpdateAPIVersion(ctx context.Context, planeName string, resourceProviderName string, resourceTypeName string, apiVersionName string, resource *ucpv20231001.APIVersionResource) (ucpv20231001.APIVersionResource, error)

CreateOrUpdateAPIVersion creates or updates an API version in the configured scope.

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) CreateOrUpdateLocation added in v0.41.0

func (amc *UCPApplicationsManagementClient) CreateOrUpdateLocation(ctx context.Context, planeName string, resourceProviderName string, locationName string, resource *ucpv20231001.LocationResource) (ucpv20231001.LocationResource, error)

CreateOrUpdateLocation creates or updates a resource provider location in the configured scope.

func (*UCPApplicationsManagementClient) CreateOrUpdateResource added in v0.41.0

func (amc *UCPApplicationsManagementClient) CreateOrUpdateResource(ctx context.Context, resourceType string, resourceNameOrID string, resource *generated.GenericResource) (generated.GenericResource, error)

CreateOrUpdateResource creates or updates a resource using its type 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) CreateOrUpdateResourceProvider added in v0.41.0

func (amc *UCPApplicationsManagementClient) CreateOrUpdateResourceProvider(ctx context.Context, planeName string, resourceProviderName string, resource *ucpv20231001.ResourceProviderResource) (ucpv20231001.ResourceProviderResource, error)

CreateOrUpdateResourceProvider creates or updates a resource provider in the configured scope.

func (*UCPApplicationsManagementClient) CreateOrUpdateResourceType added in v0.41.0

func (amc *UCPApplicationsManagementClient) CreateOrUpdateResourceType(ctx context.Context, planeName string, resourceProviderName string, resourceTypeName string, resource *ucpv20231001.ResourceTypeResource) (ucpv20231001.ResourceTypeResource, error)

CreateOrUpdateResourceType creates or updates a resource type in the configured scope.

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) DeleteResourceProvider added in v0.41.0

func (amc *UCPApplicationsManagementClient) DeleteResourceProvider(ctx context.Context, planeName string, resourceProviderName string) (bool, error)

DeleteResourceProvider deletes a resource provider in the configured scope.

func (*UCPApplicationsManagementClient) DeleteResourceType added in v0.41.0

func (amc *UCPApplicationsManagementClient) DeleteResourceType(ctx context.Context, planeName string, resourceProviderName string, resourceTypeName string) (bool, error)

DeleteResourceType deletes a resource type in the configured scope.

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

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) GetResourceProvider added in v0.41.0

func (amc *UCPApplicationsManagementClient) GetResourceProvider(ctx context.Context, planeName string, resourceProviderName string) (ucpv20231001.ResourceProviderResource, error)

GetResourceProvider gets the resource provider with the specified name in the configured scope.

func (*UCPApplicationsManagementClient) GetResourceProviderSummary added in v0.41.0

func (amc *UCPApplicationsManagementClient) GetResourceProviderSummary(ctx context.Context, planeName string, resourceProviderName string) (ucpv20231001.ResourceProviderSummary, error)

GetResourceProvider gets the resource provider summary with the specified name in the configured scope.

func (*UCPApplicationsManagementClient) ListApplications

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

ListEnvironments lists all environments in the configured scope (assumes configured scope is a resource group).

func (*UCPApplicationsManagementClient) ListEnvironmentsAll

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) ListResourceProviderSummaries added in v0.41.0

func (amc *UCPApplicationsManagementClient) ListResourceProviderSummaries(ctx context.Context, planeName string) ([]ucpv20231001.ResourceProviderSummary, error)

ListResourceProviderSummaries lists all resource provider summaries in the configured scope.

func (*UCPApplicationsManagementClient) ListResourceProviders added in v0.41.0

func (amc *UCPApplicationsManagementClient) ListResourceProviders(ctx context.Context, planeName string) ([]ucpv20231001.ResourceProviderResource, error)

ListResourceProviders lists all resource providers 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL