fake

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIVersionsServer

type APIVersionsServer struct {
	// BeginCreateOrUpdate is the fake for method APIVersionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, planeName string, resourceProviderName string, resourceTypeName string, apiVersionName string, resource v20231001preview.APIVersionResource, options *v20231001preview.APIVersionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[v20231001preview.APIVersionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method APIVersionsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, planeName string, resourceProviderName string, resourceTypeName string, apiVersionName string, options *v20231001preview.APIVersionsClientBeginDeleteOptions) (resp azfake.PollerResponder[v20231001preview.APIVersionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method APIVersionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, planeName string, resourceProviderName string, resourceTypeName string, apiVersionName string, options *v20231001preview.APIVersionsClientGetOptions) (resp azfake.Responder[v20231001preview.APIVersionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method APIVersionsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(planeName string, resourceProviderName string, resourceTypeName string, options *v20231001preview.APIVersionsClientListOptions) (resp azfake.PagerResponder[v20231001preview.APIVersionsClientListResponse])
}

APIVersionsServer is a fake server for instances of the v20231001preview.APIVersionsClient type.

type APIVersionsServerTransport

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

APIVersionsServerTransport connects instances of v20231001preview.APIVersionsClient to instances of APIVersionsServer. Don't use this type directly, use NewAPIVersionsServerTransport instead.

func NewAPIVersionsServerTransport

func NewAPIVersionsServerTransport(srv *APIVersionsServer) *APIVersionsServerTransport

NewAPIVersionsServerTransport creates a new instance of APIVersionsServerTransport with the provided implementation. The returned APIVersionsServerTransport instance is connected to an instance of v20231001preview.APIVersionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*APIVersionsServerTransport) Do

Do implements the policy.Transporter interface for APIVersionsServerTransport.

type AwsCredentialsServer

type AwsCredentialsServer struct {
	// CreateOrUpdate is the fake for method AwsCredentialsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, planeName string, credentialName string, resource v20231001preview.AwsCredentialResource, options *v20231001preview.AwsCredentialsClientCreateOrUpdateOptions) (resp azfake.Responder[v20231001preview.AwsCredentialsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method AwsCredentialsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, planeName string, credentialName string, options *v20231001preview.AwsCredentialsClientDeleteOptions) (resp azfake.Responder[v20231001preview.AwsCredentialsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AwsCredentialsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, planeName string, credentialName string, options *v20231001preview.AwsCredentialsClientGetOptions) (resp azfake.Responder[v20231001preview.AwsCredentialsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AwsCredentialsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(planeName string, options *v20231001preview.AwsCredentialsClientListOptions) (resp azfake.PagerResponder[v20231001preview.AwsCredentialsClientListResponse])

	// Update is the fake for method AwsCredentialsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, planeName string, credentialName string, properties v20231001preview.AwsCredentialResourceTagsUpdate, options *v20231001preview.AwsCredentialsClientUpdateOptions) (resp azfake.Responder[v20231001preview.AwsCredentialsClientUpdateResponse], errResp azfake.ErrorResponder)
}

AwsCredentialsServer is a fake server for instances of the v20231001preview.AwsCredentialsClient type.

type AwsCredentialsServerTransport

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

AwsCredentialsServerTransport connects instances of v20231001preview.AwsCredentialsClient to instances of AwsCredentialsServer. Don't use this type directly, use NewAwsCredentialsServerTransport instead.

func NewAwsCredentialsServerTransport

func NewAwsCredentialsServerTransport(srv *AwsCredentialsServer) *AwsCredentialsServerTransport

NewAwsCredentialsServerTransport creates a new instance of AwsCredentialsServerTransport with the provided implementation. The returned AwsCredentialsServerTransport instance is connected to an instance of v20231001preview.AwsCredentialsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AwsCredentialsServerTransport) Do

Do implements the policy.Transporter interface for AwsCredentialsServerTransport.

type AwsPlanesServer

type AwsPlanesServer struct {
	// BeginCreateOrUpdate is the fake for method AwsPlanesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, planeName string, resource v20231001preview.AwsPlaneResource, options *v20231001preview.AwsPlanesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[v20231001preview.AwsPlanesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AwsPlanesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, planeName string, options *v20231001preview.AwsPlanesClientBeginDeleteOptions) (resp azfake.PollerResponder[v20231001preview.AwsPlanesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AwsPlanesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, planeName string, options *v20231001preview.AwsPlanesClientGetOptions) (resp azfake.Responder[v20231001preview.AwsPlanesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AwsPlanesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *v20231001preview.AwsPlanesClientListOptions) (resp azfake.PagerResponder[v20231001preview.AwsPlanesClientListResponse])

	// BeginUpdate is the fake for method AwsPlanesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, planeName string, properties v20231001preview.AwsPlaneResourceTagsUpdate, options *v20231001preview.AwsPlanesClientBeginUpdateOptions) (resp azfake.PollerResponder[v20231001preview.AwsPlanesClientUpdateResponse], errResp azfake.ErrorResponder)
}

AwsPlanesServer is a fake server for instances of the v20231001preview.AwsPlanesClient type.

type AwsPlanesServerTransport

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

AwsPlanesServerTransport connects instances of v20231001preview.AwsPlanesClient to instances of AwsPlanesServer. Don't use this type directly, use NewAwsPlanesServerTransport instead.

func NewAwsPlanesServerTransport

func NewAwsPlanesServerTransport(srv *AwsPlanesServer) *AwsPlanesServerTransport

NewAwsPlanesServerTransport creates a new instance of AwsPlanesServerTransport with the provided implementation. The returned AwsPlanesServerTransport instance is connected to an instance of v20231001preview.AwsPlanesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AwsPlanesServerTransport) Do

Do implements the policy.Transporter interface for AwsPlanesServerTransport.

type AzureCredentialsServer

type AzureCredentialsServer struct {
	// CreateOrUpdate is the fake for method AzureCredentialsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, planeName string, credentialName string, resource v20231001preview.AzureCredentialResource, options *v20231001preview.AzureCredentialsClientCreateOrUpdateOptions) (resp azfake.Responder[v20231001preview.AzureCredentialsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method AzureCredentialsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, planeName string, credentialName string, options *v20231001preview.AzureCredentialsClientDeleteOptions) (resp azfake.Responder[v20231001preview.AzureCredentialsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AzureCredentialsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, planeName string, credentialName string, options *v20231001preview.AzureCredentialsClientGetOptions) (resp azfake.Responder[v20231001preview.AzureCredentialsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AzureCredentialsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(planeName string, options *v20231001preview.AzureCredentialsClientListOptions) (resp azfake.PagerResponder[v20231001preview.AzureCredentialsClientListResponse])

	// Update is the fake for method AzureCredentialsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, planeName string, credentialName string, properties v20231001preview.AzureCredentialResourceTagsUpdate, options *v20231001preview.AzureCredentialsClientUpdateOptions) (resp azfake.Responder[v20231001preview.AzureCredentialsClientUpdateResponse], errResp azfake.ErrorResponder)
}

AzureCredentialsServer is a fake server for instances of the v20231001preview.AzureCredentialsClient type.

type AzureCredentialsServerTransport

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

AzureCredentialsServerTransport connects instances of v20231001preview.AzureCredentialsClient to instances of AzureCredentialsServer. Don't use this type directly, use NewAzureCredentialsServerTransport instead.

func NewAzureCredentialsServerTransport

func NewAzureCredentialsServerTransport(srv *AzureCredentialsServer) *AzureCredentialsServerTransport

NewAzureCredentialsServerTransport creates a new instance of AzureCredentialsServerTransport with the provided implementation. The returned AzureCredentialsServerTransport instance is connected to an instance of v20231001preview.AzureCredentialsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AzureCredentialsServerTransport) Do

Do implements the policy.Transporter interface for AzureCredentialsServerTransport.

type AzurePlanesServer

type AzurePlanesServer struct {
	// BeginCreateOrUpdate is the fake for method AzurePlanesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, planeName string, resource v20231001preview.AzurePlaneResource, options *v20231001preview.AzurePlanesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[v20231001preview.AzurePlanesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AzurePlanesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, planeName string, options *v20231001preview.AzurePlanesClientBeginDeleteOptions) (resp azfake.PollerResponder[v20231001preview.AzurePlanesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AzurePlanesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, planeName string, options *v20231001preview.AzurePlanesClientGetOptions) (resp azfake.Responder[v20231001preview.AzurePlanesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AzurePlanesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *v20231001preview.AzurePlanesClientListOptions) (resp azfake.PagerResponder[v20231001preview.AzurePlanesClientListResponse])

	// BeginUpdate is the fake for method AzurePlanesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, planeName string, properties v20231001preview.AzurePlaneResourceTagsUpdate, options *v20231001preview.AzurePlanesClientBeginUpdateOptions) (resp azfake.PollerResponder[v20231001preview.AzurePlanesClientUpdateResponse], errResp azfake.ErrorResponder)
}

AzurePlanesServer is a fake server for instances of the v20231001preview.AzurePlanesClient type.

type AzurePlanesServerTransport

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

AzurePlanesServerTransport connects instances of v20231001preview.AzurePlanesClient to instances of AzurePlanesServer. Don't use this type directly, use NewAzurePlanesServerTransport instead.

func NewAzurePlanesServerTransport

func NewAzurePlanesServerTransport(srv *AzurePlanesServer) *AzurePlanesServerTransport

NewAzurePlanesServerTransport creates a new instance of AzurePlanesServerTransport with the provided implementation. The returned AzurePlanesServerTransport instance is connected to an instance of v20231001preview.AzurePlanesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AzurePlanesServerTransport) Do

Do implements the policy.Transporter interface for AzurePlanesServerTransport.

type LocationsServer

type LocationsServer struct {
	// BeginCreateOrUpdate is the fake for method LocationsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, planeName string, resourceProviderName string, locationName string, resource v20231001preview.LocationResource, options *v20231001preview.LocationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[v20231001preview.LocationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method LocationsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, planeName string, resourceProviderName string, locationName string, options *v20231001preview.LocationsClientBeginDeleteOptions) (resp azfake.PollerResponder[v20231001preview.LocationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method LocationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, planeName string, resourceProviderName string, locationName string, options *v20231001preview.LocationsClientGetOptions) (resp azfake.Responder[v20231001preview.LocationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method LocationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(planeName string, resourceProviderName string, options *v20231001preview.LocationsClientListOptions) (resp azfake.PagerResponder[v20231001preview.LocationsClientListResponse])
}

LocationsServer is a fake server for instances of the v20231001preview.LocationsClient type.

type LocationsServerTransport

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

LocationsServerTransport connects instances of v20231001preview.LocationsClient to instances of LocationsServer. Don't use this type directly, use NewLocationsServerTransport instead.

func NewLocationsServerTransport

func NewLocationsServerTransport(srv *LocationsServer) *LocationsServerTransport

NewLocationsServerTransport creates a new instance of LocationsServerTransport with the provided implementation. The returned LocationsServerTransport instance is connected to an instance of v20231001preview.LocationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LocationsServerTransport) Do

Do implements the policy.Transporter interface for LocationsServerTransport.

type PlanesServer

type PlanesServer struct {
	// NewListPlanesPager is the fake for method PlanesClient.NewListPlanesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPlanesPager func(options *v20231001preview.PlanesClientListPlanesOptions) (resp azfake.PagerResponder[v20231001preview.PlanesClientListPlanesResponse])
}

PlanesServer is a fake server for instances of the v20231001preview.PlanesClient type.

type PlanesServerTransport

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

PlanesServerTransport connects instances of v20231001preview.PlanesClient to instances of PlanesServer. Don't use this type directly, use NewPlanesServerTransport instead.

func NewPlanesServerTransport

func NewPlanesServerTransport(srv *PlanesServer) *PlanesServerTransport

NewPlanesServerTransport creates a new instance of PlanesServerTransport with the provided implementation. The returned PlanesServerTransport instance is connected to an instance of v20231001preview.PlanesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PlanesServerTransport) Do

Do implements the policy.Transporter interface for PlanesServerTransport.

type RadiusPlanesServer

type RadiusPlanesServer struct {
	// BeginCreateOrUpdate is the fake for method RadiusPlanesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, planeName string, resource v20231001preview.RadiusPlaneResource, options *v20231001preview.RadiusPlanesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[v20231001preview.RadiusPlanesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method RadiusPlanesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, planeName string, options *v20231001preview.RadiusPlanesClientBeginDeleteOptions) (resp azfake.PollerResponder[v20231001preview.RadiusPlanesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method RadiusPlanesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, planeName string, options *v20231001preview.RadiusPlanesClientGetOptions) (resp azfake.Responder[v20231001preview.RadiusPlanesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method RadiusPlanesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *v20231001preview.RadiusPlanesClientListOptions) (resp azfake.PagerResponder[v20231001preview.RadiusPlanesClientListResponse])

	// BeginUpdate is the fake for method RadiusPlanesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, planeName string, properties v20231001preview.RadiusPlaneResourceTagsUpdate, options *v20231001preview.RadiusPlanesClientBeginUpdateOptions) (resp azfake.PollerResponder[v20231001preview.RadiusPlanesClientUpdateResponse], errResp azfake.ErrorResponder)
}

RadiusPlanesServer is a fake server for instances of the v20231001preview.RadiusPlanesClient type.

type RadiusPlanesServerTransport

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

RadiusPlanesServerTransport connects instances of v20231001preview.RadiusPlanesClient to instances of RadiusPlanesServer. Don't use this type directly, use NewRadiusPlanesServerTransport instead.

func NewRadiusPlanesServerTransport

func NewRadiusPlanesServerTransport(srv *RadiusPlanesServer) *RadiusPlanesServerTransport

NewRadiusPlanesServerTransport creates a new instance of RadiusPlanesServerTransport with the provided implementation. The returned RadiusPlanesServerTransport instance is connected to an instance of v20231001preview.RadiusPlanesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RadiusPlanesServerTransport) Do

Do implements the policy.Transporter interface for RadiusPlanesServerTransport.

type ResourceGroupsServer

type ResourceGroupsServer struct {
	// CreateOrUpdate is the fake for method ResourceGroupsClient.CreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdate func(ctx context.Context, planeName string, resourceGroupName string, resource v20231001preview.ResourceGroupResource, options *v20231001preview.ResourceGroupsClientCreateOrUpdateOptions) (resp azfake.Responder[v20231001preview.ResourceGroupsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Delete is the fake for method ResourceGroupsClient.Delete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	Delete func(ctx context.Context, planeName string, resourceGroupName string, options *v20231001preview.ResourceGroupsClientDeleteOptions) (resp azfake.Responder[v20231001preview.ResourceGroupsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ResourceGroupsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, planeName string, resourceGroupName string, options *v20231001preview.ResourceGroupsClientGetOptions) (resp azfake.Responder[v20231001preview.ResourceGroupsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ResourceGroupsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(planeName string, options *v20231001preview.ResourceGroupsClientListOptions) (resp azfake.PagerResponder[v20231001preview.ResourceGroupsClientListResponse])

	// Update is the fake for method ResourceGroupsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, planeName string, resourceGroupName string, properties v20231001preview.ResourceGroupResourceTagsUpdate, options *v20231001preview.ResourceGroupsClientUpdateOptions) (resp azfake.Responder[v20231001preview.ResourceGroupsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ResourceGroupsServer is a fake server for instances of the v20231001preview.ResourceGroupsClient type.

type ResourceGroupsServerTransport

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

ResourceGroupsServerTransport connects instances of v20231001preview.ResourceGroupsClient to instances of ResourceGroupsServer. Don't use this type directly, use NewResourceGroupsServerTransport instead.

func NewResourceGroupsServerTransport

func NewResourceGroupsServerTransport(srv *ResourceGroupsServer) *ResourceGroupsServerTransport

NewResourceGroupsServerTransport creates a new instance of ResourceGroupsServerTransport with the provided implementation. The returned ResourceGroupsServerTransport instance is connected to an instance of v20231001preview.ResourceGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ResourceGroupsServerTransport) Do

Do implements the policy.Transporter interface for ResourceGroupsServerTransport.

type ResourceProvidersServer

type ResourceProvidersServer struct {
	// BeginCreateOrUpdate is the fake for method ResourceProvidersClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, planeName string, resourceProviderName string, resource v20231001preview.ResourceProviderResource, options *v20231001preview.ResourceProvidersClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[v20231001preview.ResourceProvidersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ResourceProvidersClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, planeName string, resourceProviderName string, options *v20231001preview.ResourceProvidersClientBeginDeleteOptions) (resp azfake.PollerResponder[v20231001preview.ResourceProvidersClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ResourceProvidersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, planeName string, resourceProviderName string, options *v20231001preview.ResourceProvidersClientGetOptions) (resp azfake.Responder[v20231001preview.ResourceProvidersClientGetResponse], errResp azfake.ErrorResponder)

	// GetProviderSummary is the fake for method ResourceProvidersClient.GetProviderSummary
	// HTTP status codes to indicate success: http.StatusOK
	GetProviderSummary func(ctx context.Context, planeName string, resourceProviderName string, options *v20231001preview.ResourceProvidersClientGetProviderSummaryOptions) (resp azfake.Responder[v20231001preview.ResourceProvidersClientGetProviderSummaryResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ResourceProvidersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(planeName string, options *v20231001preview.ResourceProvidersClientListOptions) (resp azfake.PagerResponder[v20231001preview.ResourceProvidersClientListResponse])

	// NewListProviderSummariesPager is the fake for method ResourceProvidersClient.NewListProviderSummariesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListProviderSummariesPager func(planeName string, options *v20231001preview.ResourceProvidersClientListProviderSummariesOptions) (resp azfake.PagerResponder[v20231001preview.ResourceProvidersClientListProviderSummariesResponse])
}

ResourceProvidersServer is a fake server for instances of the v20231001preview.ResourceProvidersClient type.

type ResourceProvidersServerTransport

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

ResourceProvidersServerTransport connects instances of v20231001preview.ResourceProvidersClient to instances of ResourceProvidersServer. Don't use this type directly, use NewResourceProvidersServerTransport instead.

func NewResourceProvidersServerTransport

func NewResourceProvidersServerTransport(srv *ResourceProvidersServer) *ResourceProvidersServerTransport

NewResourceProvidersServerTransport creates a new instance of ResourceProvidersServerTransport with the provided implementation. The returned ResourceProvidersServerTransport instance is connected to an instance of v20231001preview.ResourceProvidersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ResourceProvidersServerTransport) Do

Do implements the policy.Transporter interface for ResourceProvidersServerTransport.

type ResourceTypesServer

type ResourceTypesServer struct {
	// BeginCreateOrUpdate is the fake for method ResourceTypesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, planeName string, resourceProviderName string, resourceTypeName string, resource v20231001preview.ResourceTypeResource, options *v20231001preview.ResourceTypesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[v20231001preview.ResourceTypesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ResourceTypesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, planeName string, resourceProviderName string, resourceTypeName string, options *v20231001preview.ResourceTypesClientBeginDeleteOptions) (resp azfake.PollerResponder[v20231001preview.ResourceTypesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ResourceTypesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, planeName string, resourceProviderName string, resourceTypeName string, options *v20231001preview.ResourceTypesClientGetOptions) (resp azfake.Responder[v20231001preview.ResourceTypesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ResourceTypesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(planeName string, resourceProviderName string, options *v20231001preview.ResourceTypesClientListOptions) (resp azfake.PagerResponder[v20231001preview.ResourceTypesClientListResponse])
}

ResourceTypesServer is a fake server for instances of the v20231001preview.ResourceTypesClient type.

type ResourceTypesServerTransport

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

ResourceTypesServerTransport connects instances of v20231001preview.ResourceTypesClient to instances of ResourceTypesServer. Don't use this type directly, use NewResourceTypesServerTransport instead.

func NewResourceTypesServerTransport

func NewResourceTypesServerTransport(srv *ResourceTypesServer) *ResourceTypesServerTransport

NewResourceTypesServerTransport creates a new instance of ResourceTypesServerTransport with the provided implementation. The returned ResourceTypesServerTransport instance is connected to an instance of v20231001preview.ResourceTypesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ResourceTypesServerTransport) Do

Do implements the policy.Transporter interface for ResourceTypesServerTransport.

type ResourcesServer

type ResourcesServer struct {
	// NewListPager is the fake for method ResourcesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(planeName string, resourceGroupName string, options *v20231001preview.ResourcesClientListOptions) (resp azfake.PagerResponder[v20231001preview.ResourcesClientListResponse])
}

ResourcesServer is a fake server for instances of the v20231001preview.ResourcesClient type.

type ResourcesServerTransport

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

ResourcesServerTransport connects instances of v20231001preview.ResourcesClient to instances of ResourcesServer. Don't use this type directly, use NewResourcesServerTransport instead.

func NewResourcesServerTransport

func NewResourcesServerTransport(srv *ResourcesServer) *ResourcesServerTransport

NewResourcesServerTransport creates a new instance of ResourcesServerTransport with the provided implementation. The returned ResourcesServerTransport instance is connected to an instance of v20231001preview.ResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ResourcesServerTransport) Do

Do implements the policy.Transporter interface for ResourcesServerTransport.

type ServerFactory

type ServerFactory struct {
	// APIVersionsServer contains the fakes for client APIVersionsClient
	APIVersionsServer APIVersionsServer

	// AwsCredentialsServer contains the fakes for client AwsCredentialsClient
	AwsCredentialsServer AwsCredentialsServer

	// AwsPlanesServer contains the fakes for client AwsPlanesClient
	AwsPlanesServer AwsPlanesServer

	// AzureCredentialsServer contains the fakes for client AzureCredentialsClient
	AzureCredentialsServer AzureCredentialsServer

	// AzurePlanesServer contains the fakes for client AzurePlanesClient
	AzurePlanesServer AzurePlanesServer

	// LocationsServer contains the fakes for client LocationsClient
	LocationsServer LocationsServer

	// PlanesServer contains the fakes for client PlanesClient
	PlanesServer PlanesServer

	// RadiusPlanesServer contains the fakes for client RadiusPlanesClient
	RadiusPlanesServer RadiusPlanesServer

	// ResourceGroupsServer contains the fakes for client ResourceGroupsClient
	ResourceGroupsServer ResourceGroupsServer

	// ResourceProvidersServer contains the fakes for client ResourceProvidersClient
	ResourceProvidersServer ResourceProvidersServer

	// ResourceTypesServer contains the fakes for client ResourceTypesClient
	ResourceTypesServer ResourceTypesServer

	// ResourcesServer contains the fakes for client ResourcesClient
	ResourcesServer ResourcesServer
}

ServerFactory is a fake server for instances of the v20231001preview.ClientFactory type.

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of v20231001preview.ClientFactory to instances of ServerFactory. Don't use this type directly, use NewServerFactoryTransport instead.

func NewServerFactoryTransport

func NewServerFactoryTransport(srv *ServerFactory) *ServerFactoryTransport

NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport instance is connected to an instance of v20231001preview.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerFactoryTransport) Do

Do implements the policy.Transporter interface for ServerFactoryTransport.

Jump to

Keyboard shortcuts

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