fake

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachedDatabaseConfigurationsServer

type AttachedDatabaseConfigurationsServer struct {
	// CheckNameAvailability is the fake for method AttachedDatabaseConfigurationsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, resourceGroupName string, clusterName string, resourceName armkusto.AttachedDatabaseConfigurationsCheckNameRequest, options *armkusto.AttachedDatabaseConfigurationsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armkusto.AttachedDatabaseConfigurationsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method AttachedDatabaseConfigurationsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, attachedDatabaseConfigurationName string, parameters armkusto.AttachedDatabaseConfiguration, options *armkusto.AttachedDatabaseConfigurationsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkusto.AttachedDatabaseConfigurationsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method AttachedDatabaseConfigurationsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, attachedDatabaseConfigurationName string, options *armkusto.AttachedDatabaseConfigurationsClientBeginDeleteOptions) (resp azfake.PollerResponder[armkusto.AttachedDatabaseConfigurationsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method AttachedDatabaseConfigurationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, attachedDatabaseConfigurationName string, options *armkusto.AttachedDatabaseConfigurationsClientGetOptions) (resp azfake.Responder[armkusto.AttachedDatabaseConfigurationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByClusterPager is the fake for method AttachedDatabaseConfigurationsClient.NewListByClusterPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByClusterPager func(resourceGroupName string, clusterName string, options *armkusto.AttachedDatabaseConfigurationsClientListByClusterOptions) (resp azfake.PagerResponder[armkusto.AttachedDatabaseConfigurationsClientListByClusterResponse])
}

AttachedDatabaseConfigurationsServer is a fake server for instances of the armkusto.AttachedDatabaseConfigurationsClient type.

type AttachedDatabaseConfigurationsServerTransport

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

AttachedDatabaseConfigurationsServerTransport connects instances of armkusto.AttachedDatabaseConfigurationsClient to instances of AttachedDatabaseConfigurationsServer. Don't use this type directly, use NewAttachedDatabaseConfigurationsServerTransport instead.

func NewAttachedDatabaseConfigurationsServerTransport

func NewAttachedDatabaseConfigurationsServerTransport(srv *AttachedDatabaseConfigurationsServer) *AttachedDatabaseConfigurationsServerTransport

NewAttachedDatabaseConfigurationsServerTransport creates a new instance of AttachedDatabaseConfigurationsServerTransport with the provided implementation. The returned AttachedDatabaseConfigurationsServerTransport instance is connected to an instance of armkusto.AttachedDatabaseConfigurationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*AttachedDatabaseConfigurationsServerTransport) Do

Do implements the policy.Transporter interface for AttachedDatabaseConfigurationsServerTransport.

type ClusterPrincipalAssignmentsServer

type ClusterPrincipalAssignmentsServer struct {
	// CheckNameAvailability is the fake for method ClusterPrincipalAssignmentsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName armkusto.ClusterPrincipalAssignmentCheckNameRequest, options *armkusto.ClusterPrincipalAssignmentsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armkusto.ClusterPrincipalAssignmentsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method ClusterPrincipalAssignmentsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName string, parameters armkusto.ClusterPrincipalAssignment, options *armkusto.ClusterPrincipalAssignmentsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkusto.ClusterPrincipalAssignmentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ClusterPrincipalAssignmentsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName string, options *armkusto.ClusterPrincipalAssignmentsClientBeginDeleteOptions) (resp azfake.PollerResponder[armkusto.ClusterPrincipalAssignmentsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ClusterPrincipalAssignmentsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, principalAssignmentName string, options *armkusto.ClusterPrincipalAssignmentsClientGetOptions) (resp azfake.Responder[armkusto.ClusterPrincipalAssignmentsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ClusterPrincipalAssignmentsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, clusterName string, options *armkusto.ClusterPrincipalAssignmentsClientListOptions) (resp azfake.PagerResponder[armkusto.ClusterPrincipalAssignmentsClientListResponse])
}

ClusterPrincipalAssignmentsServer is a fake server for instances of the armkusto.ClusterPrincipalAssignmentsClient type.

type ClusterPrincipalAssignmentsServerTransport

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

ClusterPrincipalAssignmentsServerTransport connects instances of armkusto.ClusterPrincipalAssignmentsClient to instances of ClusterPrincipalAssignmentsServer. Don't use this type directly, use NewClusterPrincipalAssignmentsServerTransport instead.

func NewClusterPrincipalAssignmentsServerTransport

func NewClusterPrincipalAssignmentsServerTransport(srv *ClusterPrincipalAssignmentsServer) *ClusterPrincipalAssignmentsServerTransport

NewClusterPrincipalAssignmentsServerTransport creates a new instance of ClusterPrincipalAssignmentsServerTransport with the provided implementation. The returned ClusterPrincipalAssignmentsServerTransport instance is connected to an instance of armkusto.ClusterPrincipalAssignmentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ClusterPrincipalAssignmentsServerTransport) Do

Do implements the policy.Transporter interface for ClusterPrincipalAssignmentsServerTransport.

type ClustersServer

type ClustersServer struct {
	// BeginAddLanguageExtensions is the fake for method ClustersClient.BeginAddLanguageExtensions
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginAddLanguageExtensions func(ctx context.Context, resourceGroupName string, clusterName string, languageExtensionsToAdd armkusto.LanguageExtensionsList, options *armkusto.ClustersClientBeginAddLanguageExtensionsOptions) (resp azfake.PollerResponder[armkusto.ClustersClientAddLanguageExtensionsResponse], errResp azfake.ErrorResponder)

	// CheckNameAvailability is the fake for method ClustersClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, location string, clusterName armkusto.ClusterCheckNameRequest, options *armkusto.ClustersClientCheckNameAvailabilityOptions) (resp azfake.Responder[armkusto.ClustersClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method ClustersClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, parameters armkusto.Cluster, options *armkusto.ClustersClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkusto.ClustersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ClustersClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, options *armkusto.ClustersClientBeginDeleteOptions) (resp azfake.PollerResponder[armkusto.ClustersClientDeleteResponse], errResp azfake.ErrorResponder)

	// BeginDetachFollowerDatabases is the fake for method ClustersClient.BeginDetachFollowerDatabases
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDetachFollowerDatabases func(ctx context.Context, resourceGroupName string, clusterName string, followerDatabaseToRemove armkusto.FollowerDatabaseDefinition, options *armkusto.ClustersClientBeginDetachFollowerDatabasesOptions) (resp azfake.PollerResponder[armkusto.ClustersClientDetachFollowerDatabasesResponse], errResp azfake.ErrorResponder)

	// BeginDiagnoseVirtualNetwork is the fake for method ClustersClient.BeginDiagnoseVirtualNetwork
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDiagnoseVirtualNetwork func(ctx context.Context, resourceGroupName string, clusterName string, options *armkusto.ClustersClientBeginDiagnoseVirtualNetworkOptions) (resp azfake.PollerResponder[armkusto.ClustersClientDiagnoseVirtualNetworkResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ClustersClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, options *armkusto.ClustersClientGetOptions) (resp azfake.Responder[armkusto.ClustersClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ClustersClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armkusto.ClustersClientListOptions) (resp azfake.PagerResponder[armkusto.ClustersClientListResponse])

	// NewListByResourceGroupPager is the fake for method ClustersClient.NewListByResourceGroupPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByResourceGroupPager func(resourceGroupName string, options *armkusto.ClustersClientListByResourceGroupOptions) (resp azfake.PagerResponder[armkusto.ClustersClientListByResourceGroupResponse])

	// NewListFollowerDatabasesPager is the fake for method ClustersClient.NewListFollowerDatabasesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListFollowerDatabasesPager func(resourceGroupName string, clusterName string, options *armkusto.ClustersClientListFollowerDatabasesOptions) (resp azfake.PagerResponder[armkusto.ClustersClientListFollowerDatabasesResponse])

	// NewListLanguageExtensionsPager is the fake for method ClustersClient.NewListLanguageExtensionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListLanguageExtensionsPager func(resourceGroupName string, clusterName string, options *armkusto.ClustersClientListLanguageExtensionsOptions) (resp azfake.PagerResponder[armkusto.ClustersClientListLanguageExtensionsResponse])

	// NewListOutboundNetworkDependenciesEndpointsPager is the fake for method ClustersClient.NewListOutboundNetworkDependenciesEndpointsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListOutboundNetworkDependenciesEndpointsPager func(resourceGroupName string, clusterName string, options *armkusto.ClustersClientListOutboundNetworkDependenciesEndpointsOptions) (resp azfake.PagerResponder[armkusto.ClustersClientListOutboundNetworkDependenciesEndpointsResponse])

	// NewListSKUsPager is the fake for method ClustersClient.NewListSKUsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSKUsPager func(options *armkusto.ClustersClientListSKUsOptions) (resp azfake.PagerResponder[armkusto.ClustersClientListSKUsResponse])

	// NewListSKUsByResourcePager is the fake for method ClustersClient.NewListSKUsByResourcePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSKUsByResourcePager func(resourceGroupName string, clusterName string, options *armkusto.ClustersClientListSKUsByResourceOptions) (resp azfake.PagerResponder[armkusto.ClustersClientListSKUsByResourceResponse])

	// BeginMigrate is the fake for method ClustersClient.BeginMigrate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginMigrate func(ctx context.Context, resourceGroupName string, clusterName string, clusterMigrateRequest armkusto.ClusterMigrateRequest, options *armkusto.ClustersClientBeginMigrateOptions) (resp azfake.PollerResponder[armkusto.ClustersClientMigrateResponse], errResp azfake.ErrorResponder)

	// BeginRemoveLanguageExtensions is the fake for method ClustersClient.BeginRemoveLanguageExtensions
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginRemoveLanguageExtensions func(ctx context.Context, resourceGroupName string, clusterName string, languageExtensionsToRemove armkusto.LanguageExtensionsList, options *armkusto.ClustersClientBeginRemoveLanguageExtensionsOptions) (resp azfake.PollerResponder[armkusto.ClustersClientRemoveLanguageExtensionsResponse], errResp azfake.ErrorResponder)

	// BeginStart is the fake for method ClustersClient.BeginStart
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStart func(ctx context.Context, resourceGroupName string, clusterName string, options *armkusto.ClustersClientBeginStartOptions) (resp azfake.PollerResponder[armkusto.ClustersClientStartResponse], errResp azfake.ErrorResponder)

	// BeginStop is the fake for method ClustersClient.BeginStop
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginStop func(ctx context.Context, resourceGroupName string, clusterName string, options *armkusto.ClustersClientBeginStopOptions) (resp azfake.PollerResponder[armkusto.ClustersClientStopResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method ClustersClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, parameters armkusto.ClusterUpdate, options *armkusto.ClustersClientBeginUpdateOptions) (resp azfake.PollerResponder[armkusto.ClustersClientUpdateResponse], errResp azfake.ErrorResponder)
}

ClustersServer is a fake server for instances of the armkusto.ClustersClient type.

type ClustersServerTransport

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

ClustersServerTransport connects instances of armkusto.ClustersClient to instances of ClustersServer. Don't use this type directly, use NewClustersServerTransport instead.

func NewClustersServerTransport

func NewClustersServerTransport(srv *ClustersServer) *ClustersServerTransport

NewClustersServerTransport creates a new instance of ClustersServerTransport with the provided implementation. The returned ClustersServerTransport instance is connected to an instance of armkusto.ClustersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ClustersServerTransport) Do

Do implements the policy.Transporter interface for ClustersServerTransport.

type DataConnectionsServer

type DataConnectionsServer struct {
	// CheckNameAvailability is the fake for method DataConnectionsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName armkusto.DataConnectionCheckNameRequest, options *armkusto.DataConnectionsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armkusto.DataConnectionsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method DataConnectionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string, parameters armkusto.DataConnectionClassification, options *armkusto.DataConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkusto.DataConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDataConnectionValidation is the fake for method DataConnectionsClient.BeginDataConnectionValidation
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDataConnectionValidation func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, parameters armkusto.DataConnectionValidation, options *armkusto.DataConnectionsClientBeginDataConnectionValidationOptions) (resp azfake.PollerResponder[armkusto.DataConnectionsClientDataConnectionValidationResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DataConnectionsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string, options *armkusto.DataConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armkusto.DataConnectionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DataConnectionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string, options *armkusto.DataConnectionsClientGetOptions) (resp azfake.Responder[armkusto.DataConnectionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByDatabasePager is the fake for method DataConnectionsClient.NewListByDatabasePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByDatabasePager func(resourceGroupName string, clusterName string, databaseName string, options *armkusto.DataConnectionsClientListByDatabaseOptions) (resp azfake.PagerResponder[armkusto.DataConnectionsClientListByDatabaseResponse])

	// BeginUpdate is the fake for method DataConnectionsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, dataConnectionName string, parameters armkusto.DataConnectionClassification, options *armkusto.DataConnectionsClientBeginUpdateOptions) (resp azfake.PollerResponder[armkusto.DataConnectionsClientUpdateResponse], errResp azfake.ErrorResponder)
}

DataConnectionsServer is a fake server for instances of the armkusto.DataConnectionsClient type.

type DataConnectionsServerTransport

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

DataConnectionsServerTransport connects instances of armkusto.DataConnectionsClient to instances of DataConnectionsServer. Don't use this type directly, use NewDataConnectionsServerTransport instead.

func NewDataConnectionsServerTransport

func NewDataConnectionsServerTransport(srv *DataConnectionsServer) *DataConnectionsServerTransport

NewDataConnectionsServerTransport creates a new instance of DataConnectionsServerTransport with the provided implementation. The returned DataConnectionsServerTransport instance is connected to an instance of armkusto.DataConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DataConnectionsServerTransport) Do

Do implements the policy.Transporter interface for DataConnectionsServerTransport.

type DatabasePrincipalAssignmentsServer

type DatabasePrincipalAssignmentsServer struct {
	// CheckNameAvailability is the fake for method DatabasePrincipalAssignmentsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName armkusto.DatabasePrincipalAssignmentCheckNameRequest, options *armkusto.DatabasePrincipalAssignmentsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armkusto.DatabasePrincipalAssignmentsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method DatabasePrincipalAssignmentsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName string, parameters armkusto.DatabasePrincipalAssignment, options *armkusto.DatabasePrincipalAssignmentsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkusto.DatabasePrincipalAssignmentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DatabasePrincipalAssignmentsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName string, options *armkusto.DatabasePrincipalAssignmentsClientBeginDeleteOptions) (resp azfake.PollerResponder[armkusto.DatabasePrincipalAssignmentsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DatabasePrincipalAssignmentsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, principalAssignmentName string, options *armkusto.DatabasePrincipalAssignmentsClientGetOptions) (resp azfake.Responder[armkusto.DatabasePrincipalAssignmentsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method DatabasePrincipalAssignmentsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, clusterName string, databaseName string, options *armkusto.DatabasePrincipalAssignmentsClientListOptions) (resp azfake.PagerResponder[armkusto.DatabasePrincipalAssignmentsClientListResponse])
}

DatabasePrincipalAssignmentsServer is a fake server for instances of the armkusto.DatabasePrincipalAssignmentsClient type.

type DatabasePrincipalAssignmentsServerTransport

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

DatabasePrincipalAssignmentsServerTransport connects instances of armkusto.DatabasePrincipalAssignmentsClient to instances of DatabasePrincipalAssignmentsServer. Don't use this type directly, use NewDatabasePrincipalAssignmentsServerTransport instead.

func NewDatabasePrincipalAssignmentsServerTransport

func NewDatabasePrincipalAssignmentsServerTransport(srv *DatabasePrincipalAssignmentsServer) *DatabasePrincipalAssignmentsServerTransport

NewDatabasePrincipalAssignmentsServerTransport creates a new instance of DatabasePrincipalAssignmentsServerTransport with the provided implementation. The returned DatabasePrincipalAssignmentsServerTransport instance is connected to an instance of armkusto.DatabasePrincipalAssignmentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DatabasePrincipalAssignmentsServerTransport) Do

Do implements the policy.Transporter interface for DatabasePrincipalAssignmentsServerTransport.

type DatabaseServer

type DatabaseServer struct {
	// InviteFollower is the fake for method DatabaseClient.InviteFollower
	// HTTP status codes to indicate success: http.StatusOK
	InviteFollower func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, parameters armkusto.DatabaseInviteFollowerRequest, options *armkusto.DatabaseClientInviteFollowerOptions) (resp azfake.Responder[armkusto.DatabaseClientInviteFollowerResponse], errResp azfake.ErrorResponder)
}

DatabaseServer is a fake server for instances of the armkusto.DatabaseClient type.

type DatabaseServerTransport

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

DatabaseServerTransport connects instances of armkusto.DatabaseClient to instances of DatabaseServer. Don't use this type directly, use NewDatabaseServerTransport instead.

func NewDatabaseServerTransport

func NewDatabaseServerTransport(srv *DatabaseServer) *DatabaseServerTransport

NewDatabaseServerTransport creates a new instance of DatabaseServerTransport with the provided implementation. The returned DatabaseServerTransport instance is connected to an instance of armkusto.DatabaseClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DatabaseServerTransport) Do

Do implements the policy.Transporter interface for DatabaseServerTransport.

type DatabasesServer

type DatabasesServer struct {
	// AddPrincipals is the fake for method DatabasesClient.AddPrincipals
	// HTTP status codes to indicate success: http.StatusOK
	AddPrincipals func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, databasePrincipalsToAdd armkusto.DatabasePrincipalListRequest, options *armkusto.DatabasesClientAddPrincipalsOptions) (resp azfake.Responder[armkusto.DatabasesClientAddPrincipalsResponse], errResp azfake.ErrorResponder)

	// CheckNameAvailability is the fake for method DatabasesClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, resourceGroupName string, clusterName string, resourceName armkusto.CheckNameRequest, options *armkusto.DatabasesClientCheckNameAvailabilityOptions) (resp azfake.Responder[armkusto.DatabasesClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method DatabasesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, parameters armkusto.DatabaseClassification, options *armkusto.DatabasesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkusto.DatabasesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method DatabasesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, options *armkusto.DatabasesClientBeginDeleteOptions) (resp azfake.PollerResponder[armkusto.DatabasesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method DatabasesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, options *armkusto.DatabasesClientGetOptions) (resp azfake.Responder[armkusto.DatabasesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByClusterPager is the fake for method DatabasesClient.NewListByClusterPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByClusterPager func(resourceGroupName string, clusterName string, options *armkusto.DatabasesClientListByClusterOptions) (resp azfake.PagerResponder[armkusto.DatabasesClientListByClusterResponse])

	// NewListPrincipalsPager is the fake for method DatabasesClient.NewListPrincipalsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPrincipalsPager func(resourceGroupName string, clusterName string, databaseName string, options *armkusto.DatabasesClientListPrincipalsOptions) (resp azfake.PagerResponder[armkusto.DatabasesClientListPrincipalsResponse])

	// RemovePrincipals is the fake for method DatabasesClient.RemovePrincipals
	// HTTP status codes to indicate success: http.StatusOK
	RemovePrincipals func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, databasePrincipalsToRemove armkusto.DatabasePrincipalListRequest, options *armkusto.DatabasesClientRemovePrincipalsOptions) (resp azfake.Responder[armkusto.DatabasesClientRemovePrincipalsResponse], errResp azfake.ErrorResponder)

	// BeginUpdate is the fake for method DatabasesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, parameters armkusto.DatabaseClassification, options *armkusto.DatabasesClientBeginUpdateOptions) (resp azfake.PollerResponder[armkusto.DatabasesClientUpdateResponse], errResp azfake.ErrorResponder)
}

DatabasesServer is a fake server for instances of the armkusto.DatabasesClient type.

type DatabasesServerTransport

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

DatabasesServerTransport connects instances of armkusto.DatabasesClient to instances of DatabasesServer. Don't use this type directly, use NewDatabasesServerTransport instead.

func NewDatabasesServerTransport

func NewDatabasesServerTransport(srv *DatabasesServer) *DatabasesServerTransport

NewDatabasesServerTransport creates a new instance of DatabasesServerTransport with the provided implementation. The returned DatabasesServerTransport instance is connected to an instance of armkusto.DatabasesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DatabasesServerTransport) Do

Do implements the policy.Transporter interface for DatabasesServerTransport.

type ManagedPrivateEndpointsServer

type ManagedPrivateEndpointsServer struct {
	// CheckNameAvailability is the fake for method ManagedPrivateEndpointsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, resourceGroupName string, clusterName string, resourceName armkusto.ManagedPrivateEndpointsCheckNameRequest, options *armkusto.ManagedPrivateEndpointsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armkusto.ManagedPrivateEndpointsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method ManagedPrivateEndpointsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, managedPrivateEndpointName string, parameters armkusto.ManagedPrivateEndpoint, options *armkusto.ManagedPrivateEndpointsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkusto.ManagedPrivateEndpointsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ManagedPrivateEndpointsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, managedPrivateEndpointName string, options *armkusto.ManagedPrivateEndpointsClientBeginDeleteOptions) (resp azfake.PollerResponder[armkusto.ManagedPrivateEndpointsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ManagedPrivateEndpointsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, managedPrivateEndpointName string, options *armkusto.ManagedPrivateEndpointsClientGetOptions) (resp azfake.Responder[armkusto.ManagedPrivateEndpointsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ManagedPrivateEndpointsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, clusterName string, options *armkusto.ManagedPrivateEndpointsClientListOptions) (resp azfake.PagerResponder[armkusto.ManagedPrivateEndpointsClientListResponse])

	// BeginUpdate is the fake for method ManagedPrivateEndpointsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, managedPrivateEndpointName string, parameters armkusto.ManagedPrivateEndpoint, options *armkusto.ManagedPrivateEndpointsClientBeginUpdateOptions) (resp azfake.PollerResponder[armkusto.ManagedPrivateEndpointsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ManagedPrivateEndpointsServer is a fake server for instances of the armkusto.ManagedPrivateEndpointsClient type.

type ManagedPrivateEndpointsServerTransport

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

ManagedPrivateEndpointsServerTransport connects instances of armkusto.ManagedPrivateEndpointsClient to instances of ManagedPrivateEndpointsServer. Don't use this type directly, use NewManagedPrivateEndpointsServerTransport instead.

func NewManagedPrivateEndpointsServerTransport

func NewManagedPrivateEndpointsServerTransport(srv *ManagedPrivateEndpointsServer) *ManagedPrivateEndpointsServerTransport

NewManagedPrivateEndpointsServerTransport creates a new instance of ManagedPrivateEndpointsServerTransport with the provided implementation. The returned ManagedPrivateEndpointsServerTransport instance is connected to an instance of armkusto.ManagedPrivateEndpointsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ManagedPrivateEndpointsServerTransport) Do

Do implements the policy.Transporter interface for ManagedPrivateEndpointsServerTransport.

type OperationsResultsLocationServer

type OperationsResultsLocationServer struct {
	// Get is the fake for method OperationsResultsLocationClient.Get
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	Get func(ctx context.Context, location string, operationID string, options *armkusto.OperationsResultsLocationClientGetOptions) (resp azfake.Responder[armkusto.OperationsResultsLocationClientGetResponse], errResp azfake.ErrorResponder)
}

OperationsResultsLocationServer is a fake server for instances of the armkusto.OperationsResultsLocationClient type.

type OperationsResultsLocationServerTransport

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

OperationsResultsLocationServerTransport connects instances of armkusto.OperationsResultsLocationClient to instances of OperationsResultsLocationServer. Don't use this type directly, use NewOperationsResultsLocationServerTransport instead.

func NewOperationsResultsLocationServerTransport

func NewOperationsResultsLocationServerTransport(srv *OperationsResultsLocationServer) *OperationsResultsLocationServerTransport

NewOperationsResultsLocationServerTransport creates a new instance of OperationsResultsLocationServerTransport with the provided implementation. The returned OperationsResultsLocationServerTransport instance is connected to an instance of armkusto.OperationsResultsLocationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationsResultsLocationServerTransport) Do

Do implements the policy.Transporter interface for OperationsResultsLocationServerTransport.

type OperationsResultsServer

type OperationsResultsServer struct {
	// Get is the fake for method OperationsResultsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, location string, operationID string, options *armkusto.OperationsResultsClientGetOptions) (resp azfake.Responder[armkusto.OperationsResultsClientGetResponse], errResp azfake.ErrorResponder)
}

OperationsResultsServer is a fake server for instances of the armkusto.OperationsResultsClient type.

type OperationsResultsServerTransport

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

OperationsResultsServerTransport connects instances of armkusto.OperationsResultsClient to instances of OperationsResultsServer. Don't use this type directly, use NewOperationsResultsServerTransport instead.

func NewOperationsResultsServerTransport

func NewOperationsResultsServerTransport(srv *OperationsResultsServer) *OperationsResultsServerTransport

NewOperationsResultsServerTransport creates a new instance of OperationsResultsServerTransport with the provided implementation. The returned OperationsResultsServerTransport instance is connected to an instance of armkusto.OperationsResultsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationsResultsServerTransport) Do

Do implements the policy.Transporter interface for OperationsResultsServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armkusto.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 armkusto.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 PrivateEndpointConnectionsServer

type PrivateEndpointConnectionsServer struct {
	// BeginCreateOrUpdate is the fake for method PrivateEndpointConnectionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, privateEndpointConnectionName string, parameters armkusto.PrivateEndpointConnection, options *armkusto.PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkusto.PrivateEndpointConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method PrivateEndpointConnectionsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, privateEndpointConnectionName string, options *armkusto.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armkusto.PrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method PrivateEndpointConnectionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, privateEndpointConnectionName string, options *armkusto.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armkusto.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method PrivateEndpointConnectionsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, clusterName string, options *armkusto.PrivateEndpointConnectionsClientListOptions) (resp azfake.PagerResponder[armkusto.PrivateEndpointConnectionsClientListResponse])
}

PrivateEndpointConnectionsServer is a fake server for instances of the armkusto.PrivateEndpointConnectionsClient type.

type PrivateEndpointConnectionsServerTransport

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

PrivateEndpointConnectionsServerTransport connects instances of armkusto.PrivateEndpointConnectionsClient to instances of PrivateEndpointConnectionsServer. Don't use this type directly, use NewPrivateEndpointConnectionsServerTransport instead.

func NewPrivateEndpointConnectionsServerTransport

func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport

NewPrivateEndpointConnectionsServerTransport creates a new instance of PrivateEndpointConnectionsServerTransport with the provided implementation. The returned PrivateEndpointConnectionsServerTransport instance is connected to an instance of armkusto.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateEndpointConnectionsServerTransport) Do

Do implements the policy.Transporter interface for PrivateEndpointConnectionsServerTransport.

type PrivateLinkResourcesServer

type PrivateLinkResourcesServer struct {
	// Get is the fake for method PrivateLinkResourcesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, privateLinkResourceName string, options *armkusto.PrivateLinkResourcesClientGetOptions) (resp azfake.Responder[armkusto.PrivateLinkResourcesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method PrivateLinkResourcesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(resourceGroupName string, clusterName string, options *armkusto.PrivateLinkResourcesClientListOptions) (resp azfake.PagerResponder[armkusto.PrivateLinkResourcesClientListResponse])
}

PrivateLinkResourcesServer is a fake server for instances of the armkusto.PrivateLinkResourcesClient type.

type PrivateLinkResourcesServerTransport

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

PrivateLinkResourcesServerTransport connects instances of armkusto.PrivateLinkResourcesClient to instances of PrivateLinkResourcesServer. Don't use this type directly, use NewPrivateLinkResourcesServerTransport instead.

func NewPrivateLinkResourcesServerTransport

func NewPrivateLinkResourcesServerTransport(srv *PrivateLinkResourcesServer) *PrivateLinkResourcesServerTransport

NewPrivateLinkResourcesServerTransport creates a new instance of PrivateLinkResourcesServerTransport with the provided implementation. The returned PrivateLinkResourcesServerTransport instance is connected to an instance of armkusto.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*PrivateLinkResourcesServerTransport) Do

Do implements the policy.Transporter interface for PrivateLinkResourcesServerTransport.

type SKUsServer

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

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

type SKUsServerTransport

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

SKUsServerTransport connects instances of armkusto.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 armkusto.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 SandboxCustomImagesServer

type SandboxCustomImagesServer struct {
	// CheckNameAvailability is the fake for method SandboxCustomImagesClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, resourceGroupName string, clusterName string, resourceName armkusto.SandboxCustomImagesCheckNameRequest, options *armkusto.SandboxCustomImagesClientCheckNameAvailabilityOptions) (resp azfake.Responder[armkusto.SandboxCustomImagesClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method SandboxCustomImagesClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, sandboxCustomImageName string, parameters armkusto.SandboxCustomImage, options *armkusto.SandboxCustomImagesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkusto.SandboxCustomImagesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method SandboxCustomImagesClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, sandboxCustomImageName string, options *armkusto.SandboxCustomImagesClientBeginDeleteOptions) (resp azfake.PollerResponder[armkusto.SandboxCustomImagesClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method SandboxCustomImagesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, sandboxCustomImageName string, options *armkusto.SandboxCustomImagesClientGetOptions) (resp azfake.Responder[armkusto.SandboxCustomImagesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByClusterPager is the fake for method SandboxCustomImagesClient.NewListByClusterPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByClusterPager func(resourceGroupName string, clusterName string, options *armkusto.SandboxCustomImagesClientListByClusterOptions) (resp azfake.PagerResponder[armkusto.SandboxCustomImagesClientListByClusterResponse])

	// BeginUpdate is the fake for method SandboxCustomImagesClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, sandboxCustomImageName string, parameters armkusto.SandboxCustomImage, options *armkusto.SandboxCustomImagesClientBeginUpdateOptions) (resp azfake.PollerResponder[armkusto.SandboxCustomImagesClientUpdateResponse], errResp azfake.ErrorResponder)
}

SandboxCustomImagesServer is a fake server for instances of the armkusto.SandboxCustomImagesClient type.

type SandboxCustomImagesServerTransport

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

SandboxCustomImagesServerTransport connects instances of armkusto.SandboxCustomImagesClient to instances of SandboxCustomImagesServer. Don't use this type directly, use NewSandboxCustomImagesServerTransport instead.

func NewSandboxCustomImagesServerTransport

func NewSandboxCustomImagesServerTransport(srv *SandboxCustomImagesServer) *SandboxCustomImagesServerTransport

NewSandboxCustomImagesServerTransport creates a new instance of SandboxCustomImagesServerTransport with the provided implementation. The returned SandboxCustomImagesServerTransport instance is connected to an instance of armkusto.SandboxCustomImagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*SandboxCustomImagesServerTransport) Do

Do implements the policy.Transporter interface for SandboxCustomImagesServerTransport.

type ScriptsServer

type ScriptsServer struct {
	// CheckNameAvailability is the fake for method ScriptsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, scriptName armkusto.ScriptCheckNameRequest, options *armkusto.ScriptsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armkusto.ScriptsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreateOrUpdate is the fake for method ScriptsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, scriptName string, parameters armkusto.Script, options *armkusto.ScriptsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkusto.ScriptsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method ScriptsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, scriptName string, options *armkusto.ScriptsClientBeginDeleteOptions) (resp azfake.PollerResponder[armkusto.ScriptsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ScriptsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, scriptName string, options *armkusto.ScriptsClientGetOptions) (resp azfake.Responder[armkusto.ScriptsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListByDatabasePager is the fake for method ScriptsClient.NewListByDatabasePager
	// HTTP status codes to indicate success: http.StatusOK
	NewListByDatabasePager func(resourceGroupName string, clusterName string, databaseName string, options *armkusto.ScriptsClientListByDatabaseOptions) (resp azfake.PagerResponder[armkusto.ScriptsClientListByDatabaseResponse])

	// BeginUpdate is the fake for method ScriptsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceGroupName string, clusterName string, databaseName string, scriptName string, parameters armkusto.Script, options *armkusto.ScriptsClientBeginUpdateOptions) (resp azfake.PollerResponder[armkusto.ScriptsClientUpdateResponse], errResp azfake.ErrorResponder)
}

ScriptsServer is a fake server for instances of the armkusto.ScriptsClient type.

type ScriptsServerTransport

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

ScriptsServerTransport connects instances of armkusto.ScriptsClient to instances of ScriptsServer. Don't use this type directly, use NewScriptsServerTransport instead.

func NewScriptsServerTransport

func NewScriptsServerTransport(srv *ScriptsServer) *ScriptsServerTransport

NewScriptsServerTransport creates a new instance of ScriptsServerTransport with the provided implementation. The returned ScriptsServerTransport instance is connected to an instance of armkusto.ScriptsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ScriptsServerTransport) Do

Do implements the policy.Transporter interface for ScriptsServerTransport.

type ServerFactory

type ServerFactory struct {
	AttachedDatabaseConfigurationsServer AttachedDatabaseConfigurationsServer
	ClusterPrincipalAssignmentsServer    ClusterPrincipalAssignmentsServer
	ClustersServer                       ClustersServer
	DataConnectionsServer                DataConnectionsServer
	DatabaseServer                       DatabaseServer
	DatabasePrincipalAssignmentsServer   DatabasePrincipalAssignmentsServer
	DatabasesServer                      DatabasesServer
	ManagedPrivateEndpointsServer        ManagedPrivateEndpointsServer
	OperationsServer                     OperationsServer
	OperationsResultsServer              OperationsResultsServer
	OperationsResultsLocationServer      OperationsResultsLocationServer
	PrivateEndpointConnectionsServer     PrivateEndpointConnectionsServer
	PrivateLinkResourcesServer           PrivateLinkResourcesServer
	SKUsServer                           SKUsServer
	SandboxCustomImagesServer            SandboxCustomImagesServer
	ScriptsServer                        ScriptsServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armkusto.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 armkusto.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