fake

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsServer

type AppsServer struct {
	// BeginCreateOrUpdate is the fake for method AppsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, appName string, appResource armappplatform.AppResource, options *armappplatform.AppsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappplatform.AppsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AppsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serviceName string, appName string, options *armappplatform.AppsClientBeginDeleteOptions) (resp azfake.PollerResponder[armappplatform.AppsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AppsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, appName string, options *armappplatform.AppsClientGetOptions) (resp azfake.Responder[armappplatform.AppsClientGetResponse], errResp azfake.ErrorResponder)

	// GetResourceUploadURL is the fake for method AppsClient.GetResourceUploadURL
	// HTTP status codes to indicate success: http.StatusOK
	GetResourceUploadURL func(ctx context.Context, resourceGroupName string, serviceName string, appName string, options *armappplatform.AppsClientGetResourceUploadURLOptions) (resp azfake.Responder[armappplatform.AppsClientGetResourceUploadURLResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method AppsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serviceName string, options *armappplatform.AppsClientListOptions) (resp azfake.PagerResponder[armappplatform.AppsClientListResponse])

	// BeginSetActiveDeployments is the fake for method AppsClient.BeginSetActiveDeployments
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginSetActiveDeployments func(ctx context.Context, resourceGroupName string, serviceName string, appName string, activeDeploymentCollection armappplatform.ActiveDeploymentCollection, options *armappplatform.AppsClientBeginSetActiveDeploymentsOptions) (resp azfake.PollerResponder[armappplatform.AppsClientSetActiveDeploymentsResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method AppsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serviceName string, appName string, appResource armappplatform.AppResource, options *armappplatform.AppsClientBeginUpdateOptions) (resp azfake.PollerResponder[armappplatform.AppsClientUpdateResponse], errResp azfake.ErrorResponder)

	// ValidateDomain is the fake for method AppsClient.ValidateDomain
	// HTTP status codes to indicate success: http.StatusOK
	ValidateDomain func(ctx context.Context, resourceGroupName string, serviceName string, appName string, validatePayload armappplatform.CustomDomainValidatePayload, options *armappplatform.AppsClientValidateDomainOptions) (resp azfake.Responder[armappplatform.AppsClientValidateDomainResponse], errResp azfake.ErrorResponder)
}

AppsServer is a fake server for instances of the armappplatform.AppsClient type.

type AppsServerTransport

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

AppsServerTransport connects instances of armappplatform.AppsClient to instances of AppsServer. Don't use this type directly, use NewAppsServerTransport instead.

func NewAppsServerTransport

func NewAppsServerTransport(srv *AppsServer) *AppsServerTransport

NewAppsServerTransport creates a new instance of AppsServerTransport with the provided implementation. The returned AppsServerTransport instance is connected to an instance of armappplatform.AppsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AppsServerTransport) Do

Do implements the policy.Transporter interface for AppsServerTransport.

type BindingsServer

type BindingsServer struct {
	// BeginCreateOrUpdate is the fake for method BindingsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, bindingResource armappplatform.BindingResource, options *armappplatform.BindingsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappplatform.BindingsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method BindingsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, options *armappplatform.BindingsClientBeginDeleteOptions) (resp azfake.PollerResponder[armappplatform.BindingsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method BindingsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, options *armappplatform.BindingsClientGetOptions) (resp azfake.Responder[armappplatform.BindingsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method BindingsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serviceName string, appName string, options *armappplatform.BindingsClientListOptions) (resp azfake.PagerResponder[armappplatform.BindingsClientListResponse])

	// BeginUpdate is the fake for method BindingsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, bindingResource armappplatform.BindingResource, options *armappplatform.BindingsClientBeginUpdateOptions) (resp azfake.PollerResponder[armappplatform.BindingsClientUpdateResponse], errResp azfake.ErrorResponder)
}

BindingsServer is a fake server for instances of the armappplatform.BindingsClient type.

type BindingsServerTransport

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

BindingsServerTransport connects instances of armappplatform.BindingsClient to instances of BindingsServer. Don't use this type directly, use NewBindingsServerTransport instead.

func NewBindingsServerTransport

func NewBindingsServerTransport(srv *BindingsServer) *BindingsServerTransport

NewBindingsServerTransport creates a new instance of BindingsServerTransport with the provided implementation. The returned BindingsServerTransport instance is connected to an instance of armappplatform.BindingsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BindingsServerTransport) Do

Do implements the policy.Transporter interface for BindingsServerTransport.

type BuildServiceAgentPoolServer

type BuildServiceAgentPoolServer struct {
	// Get is the fake for method BuildServiceAgentPoolClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, agentPoolName string, options *armappplatform.BuildServiceAgentPoolClientGetOptions) (resp azfake.Responder[armappplatform.BuildServiceAgentPoolClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method BuildServiceAgentPoolClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serviceName string, buildServiceName string, options *armappplatform.BuildServiceAgentPoolClientListOptions) (resp azfake.PagerResponder[armappplatform.BuildServiceAgentPoolClientListResponse])

	// BeginUpdatePut is the fake for method BuildServiceAgentPoolClient.BeginUpdatePut
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginUpdatePut func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, agentPoolName string, agentPoolResource armappplatform.BuildServiceAgentPoolResource, options *armappplatform.BuildServiceAgentPoolClientBeginUpdatePutOptions) (resp azfake.PollerResponder[armappplatform.BuildServiceAgentPoolClientUpdatePutResponse], errResp azfake.ErrorResponder)
}

BuildServiceAgentPoolServer is a fake server for instances of the armappplatform.BuildServiceAgentPoolClient type.

type BuildServiceAgentPoolServerTransport

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

BuildServiceAgentPoolServerTransport connects instances of armappplatform.BuildServiceAgentPoolClient to instances of BuildServiceAgentPoolServer. Don't use this type directly, use NewBuildServiceAgentPoolServerTransport instead.

func NewBuildServiceAgentPoolServerTransport

func NewBuildServiceAgentPoolServerTransport(srv *BuildServiceAgentPoolServer) *BuildServiceAgentPoolServerTransport

NewBuildServiceAgentPoolServerTransport creates a new instance of BuildServiceAgentPoolServerTransport with the provided implementation. The returned BuildServiceAgentPoolServerTransport instance is connected to an instance of armappplatform.BuildServiceAgentPoolClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BuildServiceAgentPoolServerTransport) Do

Do implements the policy.Transporter interface for BuildServiceAgentPoolServerTransport.

type BuildServiceBuilderServer

type BuildServiceBuilderServer struct {
	// BeginCreateOrUpdate is the fake for method BuildServiceBuilderClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, builderResource armappplatform.BuilderResource, options *armappplatform.BuildServiceBuilderClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappplatform.BuildServiceBuilderClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method BuildServiceBuilderClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, options *armappplatform.BuildServiceBuilderClientBeginDeleteOptions) (resp azfake.PollerResponder[armappplatform.BuildServiceBuilderClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method BuildServiceBuilderClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, options *armappplatform.BuildServiceBuilderClientGetOptions) (resp azfake.Responder[armappplatform.BuildServiceBuilderClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method BuildServiceBuilderClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serviceName string, buildServiceName string, options *armappplatform.BuildServiceBuilderClientListOptions) (resp azfake.PagerResponder[armappplatform.BuildServiceBuilderClientListResponse])
}

BuildServiceBuilderServer is a fake server for instances of the armappplatform.BuildServiceBuilderClient type.

type BuildServiceBuilderServerTransport

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

BuildServiceBuilderServerTransport connects instances of armappplatform.BuildServiceBuilderClient to instances of BuildServiceBuilderServer. Don't use this type directly, use NewBuildServiceBuilderServerTransport instead.

func NewBuildServiceBuilderServerTransport

func NewBuildServiceBuilderServerTransport(srv *BuildServiceBuilderServer) *BuildServiceBuilderServerTransport

NewBuildServiceBuilderServerTransport creates a new instance of BuildServiceBuilderServerTransport with the provided implementation. The returned BuildServiceBuilderServerTransport instance is connected to an instance of armappplatform.BuildServiceBuilderClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BuildServiceBuilderServerTransport) Do

Do implements the policy.Transporter interface for BuildServiceBuilderServerTransport.

type BuildServiceServer

type BuildServiceServer struct {
	// CreateOrUpdateBuild is the fake for method BuildServiceClient.CreateOrUpdateBuild
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	CreateOrUpdateBuild func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string, buildParam armappplatform.Build, options *armappplatform.BuildServiceClientCreateOrUpdateBuildOptions) (resp azfake.Responder[armappplatform.BuildServiceClientCreateOrUpdateBuildResponse], errResp azfake.ErrorResponder)

	// GetBuild is the fake for method BuildServiceClient.GetBuild
	// HTTP status codes to indicate success: http.StatusOK
	GetBuild func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string, options *armappplatform.BuildServiceClientGetBuildOptions) (resp azfake.Responder[armappplatform.BuildServiceClientGetBuildResponse], errResp azfake.ErrorResponder)

	// GetBuildResult is the fake for method BuildServiceClient.GetBuildResult
	// HTTP status codes to indicate success: http.StatusOK
	GetBuildResult func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string, buildResultName string, options *armappplatform.BuildServiceClientGetBuildResultOptions) (resp azfake.Responder[armappplatform.BuildServiceClientGetBuildResultResponse], errResp azfake.ErrorResponder)

	// GetBuildResultLog is the fake for method BuildServiceClient.GetBuildResultLog
	// HTTP status codes to indicate success: http.StatusOK
	GetBuildResultLog func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildName string, buildResultName string, options *armappplatform.BuildServiceClientGetBuildResultLogOptions) (resp azfake.Responder[armappplatform.BuildServiceClientGetBuildResultLogResponse], errResp azfake.ErrorResponder)

	// GetBuildService is the fake for method BuildServiceClient.GetBuildService
	// HTTP status codes to indicate success: http.StatusOK
	GetBuildService func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, options *armappplatform.BuildServiceClientGetBuildServiceOptions) (resp azfake.Responder[armappplatform.BuildServiceClientGetBuildServiceResponse], errResp azfake.ErrorResponder)

	// GetResourceUploadURL is the fake for method BuildServiceClient.GetResourceUploadURL
	// HTTP status codes to indicate success: http.StatusOK
	GetResourceUploadURL func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, options *armappplatform.BuildServiceClientGetResourceUploadURLOptions) (resp azfake.Responder[armappplatform.BuildServiceClientGetResourceUploadURLResponse], errResp azfake.ErrorResponder)

	// GetSupportedBuildpack is the fake for method BuildServiceClient.GetSupportedBuildpack
	// HTTP status codes to indicate success: http.StatusOK
	GetSupportedBuildpack func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, buildpackName string, options *armappplatform.BuildServiceClientGetSupportedBuildpackOptions) (resp azfake.Responder[armappplatform.BuildServiceClientGetSupportedBuildpackResponse], errResp azfake.ErrorResponder)

	// GetSupportedStack is the fake for method BuildServiceClient.GetSupportedStack
	// HTTP status codes to indicate success: http.StatusOK
	GetSupportedStack func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, stackName string, options *armappplatform.BuildServiceClientGetSupportedStackOptions) (resp azfake.Responder[armappplatform.BuildServiceClientGetSupportedStackResponse], errResp azfake.ErrorResponder)

	// NewListBuildResultsPager is the fake for method BuildServiceClient.NewListBuildResultsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBuildResultsPager func(resourceGroupName string, serviceName string, buildServiceName string, buildName string, options *armappplatform.BuildServiceClientListBuildResultsOptions) (resp azfake.PagerResponder[armappplatform.BuildServiceClientListBuildResultsResponse])

	// NewListBuildServicesPager is the fake for method BuildServiceClient.NewListBuildServicesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBuildServicesPager func(resourceGroupName string, serviceName string, options *armappplatform.BuildServiceClientListBuildServicesOptions) (resp azfake.PagerResponder[armappplatform.BuildServiceClientListBuildServicesResponse])

	// NewListBuildsPager is the fake for method BuildServiceClient.NewListBuildsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBuildsPager func(resourceGroupName string, serviceName string, buildServiceName string, options *armappplatform.BuildServiceClientListBuildsOptions) (resp azfake.PagerResponder[armappplatform.BuildServiceClientListBuildsResponse])

	// ListSupportedBuildpacks is the fake for method BuildServiceClient.ListSupportedBuildpacks
	// HTTP status codes to indicate success: http.StatusOK
	ListSupportedBuildpacks func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, options *armappplatform.BuildServiceClientListSupportedBuildpacksOptions) (resp azfake.Responder[armappplatform.BuildServiceClientListSupportedBuildpacksResponse], errResp azfake.ErrorResponder)

	// ListSupportedStacks is the fake for method BuildServiceClient.ListSupportedStacks
	// HTTP status codes to indicate success: http.StatusOK
	ListSupportedStacks func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, options *armappplatform.BuildServiceClientListSupportedStacksOptions) (resp azfake.Responder[armappplatform.BuildServiceClientListSupportedStacksResponse], errResp azfake.ErrorResponder)
}

BuildServiceServer is a fake server for instances of the armappplatform.BuildServiceClient type.

type BuildServiceServerTransport

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

BuildServiceServerTransport connects instances of armappplatform.BuildServiceClient to instances of BuildServiceServer. Don't use this type directly, use NewBuildServiceServerTransport instead.

func NewBuildServiceServerTransport

func NewBuildServiceServerTransport(srv *BuildServiceServer) *BuildServiceServerTransport

NewBuildServiceServerTransport creates a new instance of BuildServiceServerTransport with the provided implementation. The returned BuildServiceServerTransport instance is connected to an instance of armappplatform.BuildServiceClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BuildServiceServerTransport) Do

Do implements the policy.Transporter interface for BuildServiceServerTransport.

type BuildpackBindingServer

type BuildpackBindingServer struct {
	// BeginCreateOrUpdate is the fake for method BuildpackBindingClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, buildpackBindingName string, buildpackBinding armappplatform.BuildpackBindingResource, options *armappplatform.BuildpackBindingClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappplatform.BuildpackBindingClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method BuildpackBindingClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, buildpackBindingName string, options *armappplatform.BuildpackBindingClientBeginDeleteOptions) (resp azfake.PollerResponder[armappplatform.BuildpackBindingClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method BuildpackBindingClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, buildServiceName string, builderName string, buildpackBindingName string, options *armappplatform.BuildpackBindingClientGetOptions) (resp azfake.Responder[armappplatform.BuildpackBindingClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method BuildpackBindingClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serviceName string, buildServiceName string, builderName string, options *armappplatform.BuildpackBindingClientListOptions) (resp azfake.PagerResponder[armappplatform.BuildpackBindingClientListResponse])
}

BuildpackBindingServer is a fake server for instances of the armappplatform.BuildpackBindingClient type.

type BuildpackBindingServerTransport

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

BuildpackBindingServerTransport connects instances of armappplatform.BuildpackBindingClient to instances of BuildpackBindingServer. Don't use this type directly, use NewBuildpackBindingServerTransport instead.

func NewBuildpackBindingServerTransport

func NewBuildpackBindingServerTransport(srv *BuildpackBindingServer) *BuildpackBindingServerTransport

NewBuildpackBindingServerTransport creates a new instance of BuildpackBindingServerTransport with the provided implementation. The returned BuildpackBindingServerTransport instance is connected to an instance of armappplatform.BuildpackBindingClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*BuildpackBindingServerTransport) Do

Do implements the policy.Transporter interface for BuildpackBindingServerTransport.

type CertificatesServer

type CertificatesServer struct {
	// BeginCreateOrUpdate is the fake for method CertificatesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, certificateName string, certificateResource armappplatform.CertificateResource, options *armappplatform.CertificatesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappplatform.CertificatesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method CertificatesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serviceName string, certificateName string, options *armappplatform.CertificatesClientBeginDeleteOptions) (resp azfake.PollerResponder[armappplatform.CertificatesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CertificatesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, certificateName string, options *armappplatform.CertificatesClientGetOptions) (resp azfake.Responder[armappplatform.CertificatesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method CertificatesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serviceName string, options *armappplatform.CertificatesClientListOptions) (resp azfake.PagerResponder[armappplatform.CertificatesClientListResponse])
}

CertificatesServer is a fake server for instances of the armappplatform.CertificatesClient type.

type CertificatesServerTransport

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

CertificatesServerTransport connects instances of armappplatform.CertificatesClient to instances of CertificatesServer. Don't use this type directly, use NewCertificatesServerTransport instead.

func NewCertificatesServerTransport

func NewCertificatesServerTransport(srv *CertificatesServer) *CertificatesServerTransport

NewCertificatesServerTransport creates a new instance of CertificatesServerTransport with the provided implementation. The returned CertificatesServerTransport instance is connected to an instance of armappplatform.CertificatesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CertificatesServerTransport) Do

Do implements the policy.Transporter interface for CertificatesServerTransport.

type ConfigServersServer

type ConfigServersServer struct {
	// Get is the fake for method ConfigServersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, options *armappplatform.ConfigServersClientGetOptions) (resp azfake.Responder[armappplatform.ConfigServersClientGetResponse], errResp azfake.ErrorResponder)

	// BeginUpdatePatch is the fake for method ConfigServersClient.BeginUpdatePatch
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdatePatch func(ctx context.Context, resourceGroupName string, serviceName string, configServerResource armappplatform.ConfigServerResource, options *armappplatform.ConfigServersClientBeginUpdatePatchOptions) (resp azfake.PollerResponder[armappplatform.ConfigServersClientUpdatePatchResponse], errResp azfake.ErrorResponder)

	// BeginUpdatePut is the fake for method ConfigServersClient.BeginUpdatePut
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdatePut func(ctx context.Context, resourceGroupName string, serviceName string, configServerResource armappplatform.ConfigServerResource, options *armappplatform.ConfigServersClientBeginUpdatePutOptions) (resp azfake.PollerResponder[armappplatform.ConfigServersClientUpdatePutResponse], errResp azfake.ErrorResponder)

	// BeginValidate is the fake for method ConfigServersClient.BeginValidate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginValidate func(ctx context.Context, resourceGroupName string, serviceName string, configServerSettings armappplatform.ConfigServerSettings, options *armappplatform.ConfigServersClientBeginValidateOptions) (resp azfake.PollerResponder[armappplatform.ConfigServersClientValidateResponse], errResp azfake.ErrorResponder)
}

ConfigServersServer is a fake server for instances of the armappplatform.ConfigServersClient type.

type ConfigServersServerTransport

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

ConfigServersServerTransport connects instances of armappplatform.ConfigServersClient to instances of ConfigServersServer. Don't use this type directly, use NewConfigServersServerTransport instead.

func NewConfigServersServerTransport

func NewConfigServersServerTransport(srv *ConfigServersServer) *ConfigServersServerTransport

NewConfigServersServerTransport creates a new instance of ConfigServersServerTransport with the provided implementation. The returned ConfigServersServerTransport instance is connected to an instance of armappplatform.ConfigServersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConfigServersServerTransport) Do

Do implements the policy.Transporter interface for ConfigServersServerTransport.

type ConfigurationServicesServer

type ConfigurationServicesServer struct {
	// BeginCreateOrUpdate is the fake for method ConfigurationServicesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string, configurationServiceResource armappplatform.ConfigurationServiceResource, options *armappplatform.ConfigurationServicesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappplatform.ConfigurationServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ConfigurationServicesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string, options *armappplatform.ConfigurationServicesClientBeginDeleteOptions) (resp azfake.PollerResponder[armappplatform.ConfigurationServicesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ConfigurationServicesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string, options *armappplatform.ConfigurationServicesClientGetOptions) (resp azfake.Responder[armappplatform.ConfigurationServicesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ConfigurationServicesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serviceName string, options *armappplatform.ConfigurationServicesClientListOptions) (resp azfake.PagerResponder[armappplatform.ConfigurationServicesClientListResponse])

	// BeginValidate is the fake for method ConfigurationServicesClient.BeginValidate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginValidate func(ctx context.Context, resourceGroupName string, serviceName string, configurationServiceName string, settings armappplatform.ConfigurationServiceSettings, options *armappplatform.ConfigurationServicesClientBeginValidateOptions) (resp azfake.PollerResponder[armappplatform.ConfigurationServicesClientValidateResponse], errResp azfake.ErrorResponder)
}

ConfigurationServicesServer is a fake server for instances of the armappplatform.ConfigurationServicesClient type.

type ConfigurationServicesServerTransport

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

ConfigurationServicesServerTransport connects instances of armappplatform.ConfigurationServicesClient to instances of ConfigurationServicesServer. Don't use this type directly, use NewConfigurationServicesServerTransport instead.

func NewConfigurationServicesServerTransport

func NewConfigurationServicesServerTransport(srv *ConfigurationServicesServer) *ConfigurationServicesServerTransport

NewConfigurationServicesServerTransport creates a new instance of ConfigurationServicesServerTransport with the provided implementation. The returned ConfigurationServicesServerTransport instance is connected to an instance of armappplatform.ConfigurationServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConfigurationServicesServerTransport) Do

Do implements the policy.Transporter interface for ConfigurationServicesServerTransport.

type CustomDomainsServer

type CustomDomainsServer struct {
	// BeginCreateOrUpdate is the fake for method CustomDomainsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, domainResource armappplatform.CustomDomainResource, options *armappplatform.CustomDomainsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappplatform.CustomDomainsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method CustomDomainsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, options *armappplatform.CustomDomainsClientBeginDeleteOptions) (resp azfake.PollerResponder[armappplatform.CustomDomainsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CustomDomainsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, options *armappplatform.CustomDomainsClientGetOptions) (resp azfake.Responder[armappplatform.CustomDomainsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method CustomDomainsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serviceName string, appName string, options *armappplatform.CustomDomainsClientListOptions) (resp azfake.PagerResponder[armappplatform.CustomDomainsClientListResponse])

	// BeginUpdate is the fake for method CustomDomainsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, domainResource armappplatform.CustomDomainResource, options *armappplatform.CustomDomainsClientBeginUpdateOptions) (resp azfake.PollerResponder[armappplatform.CustomDomainsClientUpdateResponse], errResp azfake.ErrorResponder)
}

CustomDomainsServer is a fake server for instances of the armappplatform.CustomDomainsClient type.

type CustomDomainsServerTransport

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

CustomDomainsServerTransport connects instances of armappplatform.CustomDomainsClient to instances of CustomDomainsServer. Don't use this type directly, use NewCustomDomainsServerTransport instead.

func NewCustomDomainsServerTransport

func NewCustomDomainsServerTransport(srv *CustomDomainsServer) *CustomDomainsServerTransport

NewCustomDomainsServerTransport creates a new instance of CustomDomainsServerTransport with the provided implementation. The returned CustomDomainsServerTransport instance is connected to an instance of armappplatform.CustomDomainsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CustomDomainsServerTransport) Do

Do implements the policy.Transporter interface for CustomDomainsServerTransport.

type DeploymentsServer

type DeploymentsServer struct {
	// BeginCreateOrUpdate is the fake for method DeploymentsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, deploymentResource armappplatform.DeploymentResource, options *armappplatform.DeploymentsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappplatform.DeploymentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DeploymentsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *armappplatform.DeploymentsClientBeginDeleteOptions) (resp azfake.PollerResponder[armappplatform.DeploymentsClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginGenerateHeapDump is the fake for method DeploymentsClient.BeginGenerateHeapDump
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginGenerateHeapDump func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters armappplatform.DiagnosticParameters, options *armappplatform.DeploymentsClientBeginGenerateHeapDumpOptions) (resp azfake.PollerResponder[armappplatform.DeploymentsClientGenerateHeapDumpResponse], errResp azfake.ErrorResponder)

	// BeginGenerateThreadDump is the fake for method DeploymentsClient.BeginGenerateThreadDump
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginGenerateThreadDump func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters armappplatform.DiagnosticParameters, options *armappplatform.DeploymentsClientBeginGenerateThreadDumpOptions) (resp azfake.PollerResponder[armappplatform.DeploymentsClientGenerateThreadDumpResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DeploymentsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *armappplatform.DeploymentsClientGetOptions) (resp azfake.Responder[armappplatform.DeploymentsClientGetResponse], errResp azfake.ErrorResponder)

	// GetLogFileURL is the fake for method DeploymentsClient.GetLogFileURL
	// HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent
	GetLogFileURL func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *armappplatform.DeploymentsClientGetLogFileURLOptions) (resp azfake.Responder[armappplatform.DeploymentsClientGetLogFileURLResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method DeploymentsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serviceName string, appName string, options *armappplatform.DeploymentsClientListOptions) (resp azfake.PagerResponder[armappplatform.DeploymentsClientListResponse])

	// NewListForClusterPager is the fake for method DeploymentsClient.NewListForClusterPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListForClusterPager func(resourceGroupName string, serviceName string, options *armappplatform.DeploymentsClientListForClusterOptions) (resp azfake.PagerResponder[armappplatform.DeploymentsClientListForClusterResponse])

	// BeginRestart is the fake for method DeploymentsClient.BeginRestart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRestart func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *armappplatform.DeploymentsClientBeginRestartOptions) (resp azfake.PollerResponder[armappplatform.DeploymentsClientRestartResponse], errResp azfake.ErrorResponder)

	// BeginStart is the fake for method DeploymentsClient.BeginStart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStart func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *armappplatform.DeploymentsClientBeginStartOptions) (resp azfake.PollerResponder[armappplatform.DeploymentsClientStartResponse], errResp azfake.ErrorResponder)

	// BeginStartJFR is the fake for method DeploymentsClient.BeginStartJFR
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStartJFR func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters armappplatform.DiagnosticParameters, options *armappplatform.DeploymentsClientBeginStartJFROptions) (resp azfake.PollerResponder[armappplatform.DeploymentsClientStartJFRResponse], errResp azfake.ErrorResponder)

	// BeginStop is the fake for method DeploymentsClient.BeginStop
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStop func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *armappplatform.DeploymentsClientBeginStopOptions) (resp azfake.PollerResponder[armappplatform.DeploymentsClientStopResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method DeploymentsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, deploymentResource armappplatform.DeploymentResource, options *armappplatform.DeploymentsClientBeginUpdateOptions) (resp azfake.PollerResponder[armappplatform.DeploymentsClientUpdateResponse], errResp azfake.ErrorResponder)
}

DeploymentsServer is a fake server for instances of the armappplatform.DeploymentsClient type.

type DeploymentsServerTransport

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

DeploymentsServerTransport connects instances of armappplatform.DeploymentsClient to instances of DeploymentsServer. Don't use this type directly, use NewDeploymentsServerTransport instead.

func NewDeploymentsServerTransport

func NewDeploymentsServerTransport(srv *DeploymentsServer) *DeploymentsServerTransport

NewDeploymentsServerTransport creates a new instance of DeploymentsServerTransport with the provided implementation. The returned DeploymentsServerTransport instance is connected to an instance of armappplatform.DeploymentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DeploymentsServerTransport) Do

Do implements the policy.Transporter interface for DeploymentsServerTransport.

type MonitoringSettingsServer

type MonitoringSettingsServer struct {
	// Get is the fake for method MonitoringSettingsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, options *armappplatform.MonitoringSettingsClientGetOptions) (resp azfake.Responder[armappplatform.MonitoringSettingsClientGetResponse], errResp azfake.ErrorResponder)

	// BeginUpdatePatch is the fake for method MonitoringSettingsClient.BeginUpdatePatch
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdatePatch func(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource armappplatform.MonitoringSettingResource, options *armappplatform.MonitoringSettingsClientBeginUpdatePatchOptions) (resp azfake.PollerResponder[armappplatform.MonitoringSettingsClientUpdatePatchResponse], errResp azfake.ErrorResponder)

	// BeginUpdatePut is the fake for method MonitoringSettingsClient.BeginUpdatePut
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdatePut func(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource armappplatform.MonitoringSettingResource, options *armappplatform.MonitoringSettingsClientBeginUpdatePutOptions) (resp azfake.PollerResponder[armappplatform.MonitoringSettingsClientUpdatePutResponse], errResp azfake.ErrorResponder)
}

MonitoringSettingsServer is a fake server for instances of the armappplatform.MonitoringSettingsClient type.

type MonitoringSettingsServerTransport

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

MonitoringSettingsServerTransport connects instances of armappplatform.MonitoringSettingsClient to instances of MonitoringSettingsServer. Don't use this type directly, use NewMonitoringSettingsServerTransport instead.

func NewMonitoringSettingsServerTransport

func NewMonitoringSettingsServerTransport(srv *MonitoringSettingsServer) *MonitoringSettingsServerTransport

NewMonitoringSettingsServerTransport creates a new instance of MonitoringSettingsServerTransport with the provided implementation. The returned MonitoringSettingsServerTransport instance is connected to an instance of armappplatform.MonitoringSettingsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*MonitoringSettingsServerTransport) Do

Do implements the policy.Transporter interface for MonitoringSettingsServerTransport.

type OperationsServer

type OperationsServer struct {
	// NewListPager is the fake for method OperationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armappplatform.OperationsClientListOptions) (resp azfake.PagerResponder[armappplatform.OperationsClientListResponse])
}

OperationsServer is a fake server for instances of the armappplatform.OperationsClient type.

type OperationsServerTransport

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

OperationsServerTransport connects instances of armappplatform.OperationsClient to instances of OperationsServer. Don't use this type directly, use NewOperationsServerTransport instead.

func NewOperationsServerTransport

func NewOperationsServerTransport(srv *OperationsServer) *OperationsServerTransport

NewOperationsServerTransport creates a new instance of OperationsServerTransport with the provided implementation. The returned OperationsServerTransport instance is connected to an instance of armappplatform.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationsServerTransport) Do

Do implements the policy.Transporter interface for OperationsServerTransport.

type RuntimeVersionsServer

type RuntimeVersionsServer struct {
	// ListRuntimeVersions is the fake for method RuntimeVersionsClient.ListRuntimeVersions
	// HTTP status codes to indicate success: http.StatusOK
	ListRuntimeVersions func(ctx context.Context, options *armappplatform.RuntimeVersionsClientListRuntimeVersionsOptions) (resp azfake.Responder[armappplatform.RuntimeVersionsClientListRuntimeVersionsResponse], errResp azfake.ErrorResponder)
}

RuntimeVersionsServer is a fake server for instances of the armappplatform.RuntimeVersionsClient type.

type RuntimeVersionsServerTransport

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

RuntimeVersionsServerTransport connects instances of armappplatform.RuntimeVersionsClient to instances of RuntimeVersionsServer. Don't use this type directly, use NewRuntimeVersionsServerTransport instead.

func NewRuntimeVersionsServerTransport

func NewRuntimeVersionsServerTransport(srv *RuntimeVersionsServer) *RuntimeVersionsServerTransport

NewRuntimeVersionsServerTransport creates a new instance of RuntimeVersionsServerTransport with the provided implementation. The returned RuntimeVersionsServerTransport instance is connected to an instance of armappplatform.RuntimeVersionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RuntimeVersionsServerTransport) Do

Do implements the policy.Transporter interface for RuntimeVersionsServerTransport.

type SKUsServer

type SKUsServer struct {
	// NewListPager is the fake for method SKUsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armappplatform.SKUsClientListOptions) (resp azfake.PagerResponder[armappplatform.SKUsClientListResponse])
}

SKUsServer is a fake server for instances of the armappplatform.SKUsClient type.

type SKUsServerTransport

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

SKUsServerTransport connects instances of armappplatform.SKUsClient to instances of SKUsServer. Don't use this type directly, use NewSKUsServerTransport instead.

func NewSKUsServerTransport

func NewSKUsServerTransport(srv *SKUsServer) *SKUsServerTransport

NewSKUsServerTransport creates a new instance of SKUsServerTransport with the provided implementation. The returned SKUsServerTransport instance is connected to an instance of armappplatform.SKUsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SKUsServerTransport) Do

Do implements the policy.Transporter interface for SKUsServerTransport.

type ServerFactory

type ServerFactory struct {
	AppsServer                  AppsServer
	BindingsServer              BindingsServer
	BuildServiceAgentPoolServer BuildServiceAgentPoolServer
	BuildServiceBuilderServer   BuildServiceBuilderServer
	BuildServiceServer          BuildServiceServer
	BuildpackBindingServer      BuildpackBindingServer
	CertificatesServer          CertificatesServer
	ConfigServersServer         ConfigServersServer
	ConfigurationServicesServer ConfigurationServicesServer
	CustomDomainsServer         CustomDomainsServer
	DeploymentsServer           DeploymentsServer
	MonitoringSettingsServer    MonitoringSettingsServer
	OperationsServer            OperationsServer
	RuntimeVersionsServer       RuntimeVersionsServer
	SKUsServer                  SKUsServer
	ServiceRegistriesServer     ServiceRegistriesServer
	ServicesServer              ServicesServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armappplatform.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 armappplatform.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerFactoryTransport) Do

Do implements the policy.Transporter interface for ServerFactoryTransport.

type ServiceRegistriesServer

type ServiceRegistriesServer struct {
	// BeginCreateOrUpdate is the fake for method ServiceRegistriesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, serviceRegistryName string, options *armappplatform.ServiceRegistriesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappplatform.ServiceRegistriesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ServiceRegistriesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serviceName string, serviceRegistryName string, options *armappplatform.ServiceRegistriesClientBeginDeleteOptions) (resp azfake.PollerResponder[armappplatform.ServiceRegistriesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ServiceRegistriesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, serviceRegistryName string, options *armappplatform.ServiceRegistriesClientGetOptions) (resp azfake.Responder[armappplatform.ServiceRegistriesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ServiceRegistriesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, serviceName string, options *armappplatform.ServiceRegistriesClientListOptions) (resp azfake.PagerResponder[armappplatform.ServiceRegistriesClientListResponse])
}

ServiceRegistriesServer is a fake server for instances of the armappplatform.ServiceRegistriesClient type.

type ServiceRegistriesServerTransport

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

ServiceRegistriesServerTransport connects instances of armappplatform.ServiceRegistriesClient to instances of ServiceRegistriesServer. Don't use this type directly, use NewServiceRegistriesServerTransport instead.

func NewServiceRegistriesServerTransport

func NewServiceRegistriesServerTransport(srv *ServiceRegistriesServer) *ServiceRegistriesServerTransport

NewServiceRegistriesServerTransport creates a new instance of ServiceRegistriesServerTransport with the provided implementation. The returned ServiceRegistriesServerTransport instance is connected to an instance of armappplatform.ServiceRegistriesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServiceRegistriesServerTransport) Do

Do implements the policy.Transporter interface for ServiceRegistriesServerTransport.

type ServicesServer

type ServicesServer struct {
	// CheckNameAvailability is the fake for method ServicesClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, location string, availabilityParameters armappplatform.NameAvailabilityParameters, options *armappplatform.ServicesClientCheckNameAvailabilityOptions) (resp azfake.Responder[armappplatform.ServicesClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method ServicesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, serviceName string, resource armappplatform.ServiceResource, options *armappplatform.ServicesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armappplatform.ServicesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ServicesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, serviceName string, options *armappplatform.ServicesClientBeginDeleteOptions) (resp azfake.PollerResponder[armappplatform.ServicesClientDeleteResponse], errResp azfake.ErrorResponder)

	// DisableTestEndpoint is the fake for method ServicesClient.DisableTestEndpoint
	// HTTP status codes to indicate success: http.StatusOK
	DisableTestEndpoint func(ctx context.Context, resourceGroupName string, serviceName string, options *armappplatform.ServicesClientDisableTestEndpointOptions) (resp azfake.Responder[armappplatform.ServicesClientDisableTestEndpointResponse], errResp azfake.ErrorResponder)

	// EnableTestEndpoint is the fake for method ServicesClient.EnableTestEndpoint
	// HTTP status codes to indicate success: http.StatusOK
	EnableTestEndpoint func(ctx context.Context, resourceGroupName string, serviceName string, options *armappplatform.ServicesClientEnableTestEndpointOptions) (resp azfake.Responder[armappplatform.ServicesClientEnableTestEndpointResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ServicesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, serviceName string, options *armappplatform.ServicesClientGetOptions) (resp azfake.Responder[armappplatform.ServicesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ServicesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, options *armappplatform.ServicesClientListOptions) (resp azfake.PagerResponder[armappplatform.ServicesClientListResponse])

	// NewListBySubscriptionPager is the fake for method ServicesClient.NewListBySubscriptionPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListBySubscriptionPager func(options *armappplatform.ServicesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armappplatform.ServicesClientListBySubscriptionResponse])

	// ListTestKeys is the fake for method ServicesClient.ListTestKeys
	// HTTP status codes to indicate success: http.StatusOK
	ListTestKeys func(ctx context.Context, resourceGroupName string, serviceName string, options *armappplatform.ServicesClientListTestKeysOptions) (resp azfake.Responder[armappplatform.ServicesClientListTestKeysResponse], errResp azfake.ErrorResponder)

	// RegenerateTestKey is the fake for method ServicesClient.RegenerateTestKey
	// HTTP status codes to indicate success: http.StatusOK
	RegenerateTestKey func(ctx context.Context, resourceGroupName string, serviceName string, regenerateTestKeyRequest armappplatform.RegenerateTestKeyRequestPayload, options *armappplatform.ServicesClientRegenerateTestKeyOptions) (resp azfake.Responder[armappplatform.ServicesClientRegenerateTestKeyResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method ServicesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, serviceName string, resource armappplatform.ServiceResource, options *armappplatform.ServicesClientBeginUpdateOptions) (resp azfake.PollerResponder[armappplatform.ServicesClientUpdateResponse], errResp azfake.ErrorResponder)
}

ServicesServer is a fake server for instances of the armappplatform.ServicesClient type.

type ServicesServerTransport

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

ServicesServerTransport connects instances of armappplatform.ServicesClient to instances of ServicesServer. Don't use this type directly, use NewServicesServerTransport instead.

func NewServicesServerTransport

func NewServicesServerTransport(srv *ServicesServer) *ServicesServerTransport

NewServicesServerTransport creates a new instance of ServicesServerTransport with the provided implementation. The returned ServicesServerTransport instance is connected to an instance of armappplatform.ServicesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServicesServerTransport) Do

Do implements the policy.Transporter interface for ServicesServerTransport.

Jump to

Keyboard shortcuts

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