fake

package
v0.1.0-beta.11 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 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 CapacitiesServer

type CapacitiesServer struct {
	// NewListCapacitiesPager is the fake for method CapacitiesClient.NewListCapacitiesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListCapacitiesPager func(options *core.CapacitiesClientListCapacitiesOptions) (resp azfake.PagerResponder[core.CapacitiesClientListCapacitiesResponse])
}

CapacitiesServer is a fake server for instances of the core.CapacitiesClient type.

type CapacitiesServerTransport

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

CapacitiesServerTransport connects instances of core.CapacitiesClient to instances of CapacitiesServer. Don't use this type directly, use NewCapacitiesServerTransport instead.

func NewCapacitiesServerTransport

func NewCapacitiesServerTransport(srv *CapacitiesServer) *CapacitiesServerTransport

NewCapacitiesServerTransport creates a new instance of CapacitiesServerTransport with the provided implementation. The returned CapacitiesServerTransport instance is connected to an instance of core.CapacitiesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CapacitiesServerTransport) Do

Do implements the policy.Transporter interface for CapacitiesServerTransport.

type ConnectionsServer

type ConnectionsServer struct {
	// AddConnectionRoleAssignment is the fake for method ConnectionsClient.AddConnectionRoleAssignment
	// HTTP status codes to indicate success: http.StatusCreated
	AddConnectionRoleAssignment func(ctx context.Context, connectionID string, addConnectionRoleAssignmentRequest core.AddConnectionRoleAssignmentRequest, options *core.ConnectionsClientAddConnectionRoleAssignmentOptions) (resp azfake.Responder[core.ConnectionsClientAddConnectionRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// CreateConnection is the fake for method ConnectionsClient.CreateConnection
	// HTTP status codes to indicate success: http.StatusCreated
	CreateConnection func(ctx context.Context, createConnectionRequest core.CreateConnectionRequestClassification, options *core.ConnectionsClientCreateConnectionOptions) (resp azfake.Responder[core.ConnectionsClientCreateConnectionResponse], errResp azfake.ErrorResponder)

	// DeleteConnection is the fake for method ConnectionsClient.DeleteConnection
	// HTTP status codes to indicate success: http.StatusOK
	DeleteConnection func(ctx context.Context, connectionID string, options *core.ConnectionsClientDeleteConnectionOptions) (resp azfake.Responder[core.ConnectionsClientDeleteConnectionResponse], errResp azfake.ErrorResponder)

	// DeleteConnectionRoleAssignment is the fake for method ConnectionsClient.DeleteConnectionRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK
	DeleteConnectionRoleAssignment func(ctx context.Context, connectionID string, connectionRoleAssignmentID string, options *core.ConnectionsClientDeleteConnectionRoleAssignmentOptions) (resp azfake.Responder[core.ConnectionsClientDeleteConnectionRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// GetConnection is the fake for method ConnectionsClient.GetConnection
	// HTTP status codes to indicate success: http.StatusOK
	GetConnection func(ctx context.Context, connectionID string, options *core.ConnectionsClientGetConnectionOptions) (resp azfake.Responder[core.ConnectionsClientGetConnectionResponse], errResp azfake.ErrorResponder)

	// GetConnectionRoleAssignment is the fake for method ConnectionsClient.GetConnectionRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK
	GetConnectionRoleAssignment func(ctx context.Context, connectionID string, connectionRoleAssignmentID string, options *core.ConnectionsClientGetConnectionRoleAssignmentOptions) (resp azfake.Responder[core.ConnectionsClientGetConnectionRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// NewListConnectionRoleAssignmentsPager is the fake for method ConnectionsClient.NewListConnectionRoleAssignmentsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListConnectionRoleAssignmentsPager func(connectionID string, options *core.ConnectionsClientListConnectionRoleAssignmentsOptions) (resp azfake.PagerResponder[core.ConnectionsClientListConnectionRoleAssignmentsResponse])

	// NewListConnectionsPager is the fake for method ConnectionsClient.NewListConnectionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListConnectionsPager func(options *core.ConnectionsClientListConnectionsOptions) (resp azfake.PagerResponder[core.ConnectionsClientListConnectionsResponse])

	// NewListSupportedConnectionTypesPager is the fake for method ConnectionsClient.NewListSupportedConnectionTypesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListSupportedConnectionTypesPager func(options *core.ConnectionsClientListSupportedConnectionTypesOptions) (resp azfake.PagerResponder[core.ConnectionsClientListSupportedConnectionTypesResponse])

	// UpdateConnection is the fake for method ConnectionsClient.UpdateConnection
	// HTTP status codes to indicate success: http.StatusOK
	UpdateConnection func(ctx context.Context, connectionID string, updateConnectionRequest core.UpdateConnectionRequestClassification, options *core.ConnectionsClientUpdateConnectionOptions) (resp azfake.Responder[core.ConnectionsClientUpdateConnectionResponse], errResp azfake.ErrorResponder)

	// UpdateConnectionRoleAssignment is the fake for method ConnectionsClient.UpdateConnectionRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK
	UpdateConnectionRoleAssignment func(ctx context.Context, connectionID string, connectionRoleAssignmentID string, updateConnectionRoleAssignmentRequest core.UpdateConnectionRoleAssignmentRequest, options *core.ConnectionsClientUpdateConnectionRoleAssignmentOptions) (resp azfake.Responder[core.ConnectionsClientUpdateConnectionRoleAssignmentResponse], errResp azfake.ErrorResponder)
}

ConnectionsServer is a fake server for instances of the core.ConnectionsClient type.

type ConnectionsServerTransport

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

ConnectionsServerTransport connects instances of core.ConnectionsClient to instances of ConnectionsServer. Don't use this type directly, use NewConnectionsServerTransport instead.

func NewConnectionsServerTransport

func NewConnectionsServerTransport(srv *ConnectionsServer) *ConnectionsServerTransport

NewConnectionsServerTransport creates a new instance of ConnectionsServerTransport with the provided implementation. The returned ConnectionsServerTransport instance is connected to an instance of core.ConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ConnectionsServerTransport) Do

Do implements the policy.Transporter interface for ConnectionsServerTransport.

type DeploymentPipelinesServer

type DeploymentPipelinesServer struct {
	// BeginDeployStageContent is the fake for method DeploymentPipelinesClient.BeginDeployStageContent
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginDeployStageContent func(ctx context.Context, deploymentPipelineID string, deployRequest core.DeployRequest, options *core.DeploymentPipelinesClientBeginDeployStageContentOptions) (resp azfake.PollerResponder[core.DeploymentPipelinesClientDeployStageContentResponse], errResp azfake.ErrorResponder)

	// GetDeploymentPipeline is the fake for method DeploymentPipelinesClient.GetDeploymentPipeline
	// HTTP status codes to indicate success: http.StatusOK
	GetDeploymentPipeline func(ctx context.Context, deploymentPipelineID string, options *core.DeploymentPipelinesClientGetDeploymentPipelineOptions) (resp azfake.Responder[core.DeploymentPipelinesClientGetDeploymentPipelineResponse], errResp azfake.ErrorResponder)

	// NewListDeploymentPipelineStageItemsPager is the fake for method DeploymentPipelinesClient.NewListDeploymentPipelineStageItemsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListDeploymentPipelineStageItemsPager func(deploymentPipelineID string, stageID string, options *core.DeploymentPipelinesClientListDeploymentPipelineStageItemsOptions) (resp azfake.PagerResponder[core.DeploymentPipelinesClientListDeploymentPipelineStageItemsResponse])

	// NewListDeploymentPipelineStagesPager is the fake for method DeploymentPipelinesClient.NewListDeploymentPipelineStagesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListDeploymentPipelineStagesPager func(deploymentPipelineID string, options *core.DeploymentPipelinesClientListDeploymentPipelineStagesOptions) (resp azfake.PagerResponder[core.DeploymentPipelinesClientListDeploymentPipelineStagesResponse])

	// NewListDeploymentPipelinesPager is the fake for method DeploymentPipelinesClient.NewListDeploymentPipelinesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListDeploymentPipelinesPager func(options *core.DeploymentPipelinesClientListDeploymentPipelinesOptions) (resp azfake.PagerResponder[core.DeploymentPipelinesClientListDeploymentPipelinesResponse])
}

DeploymentPipelinesServer is a fake server for instances of the core.DeploymentPipelinesClient type.

type DeploymentPipelinesServerTransport

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

DeploymentPipelinesServerTransport connects instances of core.DeploymentPipelinesClient to instances of DeploymentPipelinesServer. Don't use this type directly, use NewDeploymentPipelinesServerTransport instead.

func NewDeploymentPipelinesServerTransport

func NewDeploymentPipelinesServerTransport(srv *DeploymentPipelinesServer) *DeploymentPipelinesServerTransport

NewDeploymentPipelinesServerTransport creates a new instance of DeploymentPipelinesServerTransport with the provided implementation. The returned DeploymentPipelinesServerTransport instance is connected to an instance of core.DeploymentPipelinesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*DeploymentPipelinesServerTransport) Do

Do implements the policy.Transporter interface for DeploymentPipelinesServerTransport.

type ExternalDataSharesServer

type ExternalDataSharesServer struct {
	// CreateExternalDataShare is the fake for method ExternalDataSharesClient.CreateExternalDataShare
	// HTTP status codes to indicate success: http.StatusCreated
	CreateExternalDataShare func(ctx context.Context, workspaceID string, itemID string, createExternalDataShareRequest core.CreateExternalDataShareRequest, options *core.ExternalDataSharesClientCreateExternalDataShareOptions) (resp azfake.Responder[core.ExternalDataSharesClientCreateExternalDataShareResponse], errResp azfake.ErrorResponder)

	// GetExternalDataShare is the fake for method ExternalDataSharesClient.GetExternalDataShare
	// HTTP status codes to indicate success: http.StatusOK
	GetExternalDataShare func(ctx context.Context, workspaceID string, itemID string, externalDataShareID string, options *core.ExternalDataSharesClientGetExternalDataShareOptions) (resp azfake.Responder[core.ExternalDataSharesClientGetExternalDataShareResponse], errResp azfake.ErrorResponder)

	// NewListExternalDataSharesInItemPager is the fake for method ExternalDataSharesClient.NewListExternalDataSharesInItemPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListExternalDataSharesInItemPager func(workspaceID string, itemID string, options *core.ExternalDataSharesClientListExternalDataSharesInItemOptions) (resp azfake.PagerResponder[core.ExternalDataSharesClientListExternalDataSharesInItemResponse])

	// RevokeExternalDataShare is the fake for method ExternalDataSharesClient.RevokeExternalDataShare
	// HTTP status codes to indicate success: http.StatusOK
	RevokeExternalDataShare func(ctx context.Context, workspaceID string, itemID string, externalDataShareID string, options *core.ExternalDataSharesClientRevokeExternalDataShareOptions) (resp azfake.Responder[core.ExternalDataSharesClientRevokeExternalDataShareResponse], errResp azfake.ErrorResponder)
}

ExternalDataSharesServer is a fake server for instances of the core.ExternalDataSharesClient type.

type ExternalDataSharesServerTransport

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

ExternalDataSharesServerTransport connects instances of core.ExternalDataSharesClient to instances of ExternalDataSharesServer. Don't use this type directly, use NewExternalDataSharesServerTransport instead.

func NewExternalDataSharesServerTransport

func NewExternalDataSharesServerTransport(srv *ExternalDataSharesServer) *ExternalDataSharesServerTransport

NewExternalDataSharesServerTransport creates a new instance of ExternalDataSharesServerTransport with the provided implementation. The returned ExternalDataSharesServerTransport instance is connected to an instance of core.ExternalDataSharesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ExternalDataSharesServerTransport) Do

Do implements the policy.Transporter interface for ExternalDataSharesServerTransport.

type GatewaysServer

type GatewaysServer struct {
	// AddGatewayRoleAssignment is the fake for method GatewaysClient.AddGatewayRoleAssignment
	// HTTP status codes to indicate success: http.StatusCreated
	AddGatewayRoleAssignment func(ctx context.Context, gatewayID string, addGatewayRoleAssignmentRequest core.AddGatewayRoleAssignmentRequest, options *core.GatewaysClientAddGatewayRoleAssignmentOptions) (resp azfake.Responder[core.GatewaysClientAddGatewayRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// CreateGateway is the fake for method GatewaysClient.CreateGateway
	// HTTP status codes to indicate success: http.StatusCreated
	CreateGateway func(ctx context.Context, createGatewayRequest core.CreateGatewayRequestClassification, options *core.GatewaysClientCreateGatewayOptions) (resp azfake.Responder[core.GatewaysClientCreateGatewayResponse], errResp azfake.ErrorResponder)

	// DeleteGateway is the fake for method GatewaysClient.DeleteGateway
	// HTTP status codes to indicate success: http.StatusOK
	DeleteGateway func(ctx context.Context, gatewayID string, options *core.GatewaysClientDeleteGatewayOptions) (resp azfake.Responder[core.GatewaysClientDeleteGatewayResponse], errResp azfake.ErrorResponder)

	// DeleteGatewayMember is the fake for method GatewaysClient.DeleteGatewayMember
	// HTTP status codes to indicate success: http.StatusOK
	DeleteGatewayMember func(ctx context.Context, gatewayID string, gatewayMemberID string, options *core.GatewaysClientDeleteGatewayMemberOptions) (resp azfake.Responder[core.GatewaysClientDeleteGatewayMemberResponse], errResp azfake.ErrorResponder)

	// DeleteGatewayRoleAssignment is the fake for method GatewaysClient.DeleteGatewayRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK
	DeleteGatewayRoleAssignment func(ctx context.Context, gatewayID string, gatewayRoleAssignmentID string, options *core.GatewaysClientDeleteGatewayRoleAssignmentOptions) (resp azfake.Responder[core.GatewaysClientDeleteGatewayRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// GetGateway is the fake for method GatewaysClient.GetGateway
	// HTTP status codes to indicate success: http.StatusOK
	GetGateway func(ctx context.Context, gatewayID string, options *core.GatewaysClientGetGatewayOptions) (resp azfake.Responder[core.GatewaysClientGetGatewayResponse], errResp azfake.ErrorResponder)

	// GetGatewayRoleAssignment is the fake for method GatewaysClient.GetGatewayRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK
	GetGatewayRoleAssignment func(ctx context.Context, gatewayID string, gatewayRoleAssignmentID string, options *core.GatewaysClientGetGatewayRoleAssignmentOptions) (resp azfake.Responder[core.GatewaysClientGetGatewayRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// ListGatewayMembers is the fake for method GatewaysClient.ListGatewayMembers
	// HTTP status codes to indicate success: http.StatusOK
	ListGatewayMembers func(ctx context.Context, gatewayID string, options *core.GatewaysClientListGatewayMembersOptions) (resp azfake.Responder[core.GatewaysClientListGatewayMembersResponse], errResp azfake.ErrorResponder)

	// NewListGatewayRoleAssignmentsPager is the fake for method GatewaysClient.NewListGatewayRoleAssignmentsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListGatewayRoleAssignmentsPager func(gatewayID string, options *core.GatewaysClientListGatewayRoleAssignmentsOptions) (resp azfake.PagerResponder[core.GatewaysClientListGatewayRoleAssignmentsResponse])

	// NewListGatewaysPager is the fake for method GatewaysClient.NewListGatewaysPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListGatewaysPager func(options *core.GatewaysClientListGatewaysOptions) (resp azfake.PagerResponder[core.GatewaysClientListGatewaysResponse])

	// UpdateGateway is the fake for method GatewaysClient.UpdateGateway
	// HTTP status codes to indicate success: http.StatusOK
	UpdateGateway func(ctx context.Context, gatewayID string, updateGatewayRequest core.UpdateGatewayRequestClassification, options *core.GatewaysClientUpdateGatewayOptions) (resp azfake.Responder[core.GatewaysClientUpdateGatewayResponse], errResp azfake.ErrorResponder)

	// UpdateGatewayMember is the fake for method GatewaysClient.UpdateGatewayMember
	// HTTP status codes to indicate success: http.StatusOK
	UpdateGatewayMember func(ctx context.Context, gatewayID string, gatewayMemberID string, updateGatewayMemberRequest core.UpdateGatewayMemberRequest, options *core.GatewaysClientUpdateGatewayMemberOptions) (resp azfake.Responder[core.GatewaysClientUpdateGatewayMemberResponse], errResp azfake.ErrorResponder)

	// UpdateGatewayRoleAssignment is the fake for method GatewaysClient.UpdateGatewayRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK
	UpdateGatewayRoleAssignment func(ctx context.Context, gatewayID string, gatewayRoleAssignmentID string, updateGatewayRoleAssignmentRequest core.UpdateGatewayRoleAssignmentRequest, options *core.GatewaysClientUpdateGatewayRoleAssignmentOptions) (resp azfake.Responder[core.GatewaysClientUpdateGatewayRoleAssignmentResponse], errResp azfake.ErrorResponder)
}

GatewaysServer is a fake server for instances of the core.GatewaysClient type.

type GatewaysServerTransport

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

GatewaysServerTransport connects instances of core.GatewaysClient to instances of GatewaysServer. Don't use this type directly, use NewGatewaysServerTransport instead.

func NewGatewaysServerTransport

func NewGatewaysServerTransport(srv *GatewaysServer) *GatewaysServerTransport

NewGatewaysServerTransport creates a new instance of GatewaysServerTransport with the provided implementation. The returned GatewaysServerTransport instance is connected to an instance of core.GatewaysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GatewaysServerTransport) Do

Do implements the policy.Transporter interface for GatewaysServerTransport.

type GitServer

type GitServer struct {
	// BeginCommitToGit is the fake for method GitClient.BeginCommitToGit
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginCommitToGit func(ctx context.Context, workspaceID string, commitToGitRequest core.CommitToGitRequest, options *core.GitClientBeginCommitToGitOptions) (resp azfake.PollerResponder[core.GitClientCommitToGitResponse], errResp azfake.ErrorResponder)

	// Connect is the fake for method GitClient.Connect
	// HTTP status codes to indicate success: http.StatusOK
	Connect func(ctx context.Context, workspaceID string, gitConnectRequest core.GitConnectRequest, options *core.GitClientConnectOptions) (resp azfake.Responder[core.GitClientConnectResponse], errResp azfake.ErrorResponder)

	// Disconnect is the fake for method GitClient.Disconnect
	// HTTP status codes to indicate success: http.StatusOK
	Disconnect func(ctx context.Context, workspaceID string, options *core.GitClientDisconnectOptions) (resp azfake.Responder[core.GitClientDisconnectResponse], errResp azfake.ErrorResponder)

	// GetConnection is the fake for method GitClient.GetConnection
	// HTTP status codes to indicate success: http.StatusOK
	GetConnection func(ctx context.Context, workspaceID string, options *core.GitClientGetConnectionOptions) (resp azfake.Responder[core.GitClientGetConnectionResponse], errResp azfake.ErrorResponder)

	// GetMyGitCredentials is the fake for method GitClient.GetMyGitCredentials
	// HTTP status codes to indicate success: http.StatusOK
	GetMyGitCredentials func(ctx context.Context, workspaceID string, options *core.GitClientGetMyGitCredentialsOptions) (resp azfake.Responder[core.GitClientGetMyGitCredentialsResponse], errResp azfake.ErrorResponder)

	// BeginGetStatus is the fake for method GitClient.BeginGetStatus
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginGetStatus func(ctx context.Context, workspaceID string, options *core.GitClientBeginGetStatusOptions) (resp azfake.PollerResponder[core.GitClientGetStatusResponse], errResp azfake.ErrorResponder)

	// BeginInitializeConnection is the fake for method GitClient.BeginInitializeConnection
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginInitializeConnection func(ctx context.Context, workspaceID string, options *core.GitClientBeginInitializeConnectionOptions) (resp azfake.PollerResponder[core.GitClientInitializeConnectionResponse], errResp azfake.ErrorResponder)

	// BeginUpdateFromGit is the fake for method GitClient.BeginUpdateFromGit
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginUpdateFromGit func(ctx context.Context, workspaceID string, updateFromGitRequest core.UpdateFromGitRequest, options *core.GitClientBeginUpdateFromGitOptions) (resp azfake.PollerResponder[core.GitClientUpdateFromGitResponse], errResp azfake.ErrorResponder)

	// UpdateMyGitCredentials is the fake for method GitClient.UpdateMyGitCredentials
	// HTTP status codes to indicate success: http.StatusOK
	UpdateMyGitCredentials func(ctx context.Context, workspaceID string, updateGitCredentialsRequest core.UpdateGitCredentialsRequestClassification, options *core.GitClientUpdateMyGitCredentialsOptions) (resp azfake.Responder[core.GitClientUpdateMyGitCredentialsResponse], errResp azfake.ErrorResponder)
}

GitServer is a fake server for instances of the core.GitClient type.

type GitServerTransport

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

GitServerTransport connects instances of core.GitClient to instances of GitServer. Don't use this type directly, use NewGitServerTransport instead.

func NewGitServerTransport

func NewGitServerTransport(srv *GitServer) *GitServerTransport

NewGitServerTransport creates a new instance of GitServerTransport with the provided implementation. The returned GitServerTransport instance is connected to an instance of core.GitClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GitServerTransport) Do

Do implements the policy.Transporter interface for GitServerTransport.

type ItemsServer

type ItemsServer struct {
	// BeginCreateItem is the fake for method ItemsClient.BeginCreateItem
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted
	BeginCreateItem func(ctx context.Context, workspaceID string, createItemRequest core.CreateItemRequest, options *core.ItemsClientBeginCreateItemOptions) (resp azfake.PollerResponder[core.ItemsClientCreateItemResponse], errResp azfake.ErrorResponder)

	// DeleteItem is the fake for method ItemsClient.DeleteItem
	// HTTP status codes to indicate success: http.StatusOK
	DeleteItem func(ctx context.Context, workspaceID string, itemID string, options *core.ItemsClientDeleteItemOptions) (resp azfake.Responder[core.ItemsClientDeleteItemResponse], errResp azfake.ErrorResponder)

	// GetItem is the fake for method ItemsClient.GetItem
	// HTTP status codes to indicate success: http.StatusOK
	GetItem func(ctx context.Context, workspaceID string, itemID string, options *core.ItemsClientGetItemOptions) (resp azfake.Responder[core.ItemsClientGetItemResponse], errResp azfake.ErrorResponder)

	// BeginGetItemDefinition is the fake for method ItemsClient.BeginGetItemDefinition
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginGetItemDefinition func(ctx context.Context, workspaceID string, itemID string, options *core.ItemsClientBeginGetItemDefinitionOptions) (resp azfake.PollerResponder[core.ItemsClientGetItemDefinitionResponse], errResp azfake.ErrorResponder)

	// NewListItemConnectionsPager is the fake for method ItemsClient.NewListItemConnectionsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListItemConnectionsPager func(workspaceID string, itemID string, options *core.ItemsClientListItemConnectionsOptions) (resp azfake.PagerResponder[core.ItemsClientListItemConnectionsResponse])

	// NewListItemsPager is the fake for method ItemsClient.NewListItemsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListItemsPager func(workspaceID string, options *core.ItemsClientListItemsOptions) (resp azfake.PagerResponder[core.ItemsClientListItemsResponse])

	// UpdateItem is the fake for method ItemsClient.UpdateItem
	// HTTP status codes to indicate success: http.StatusOK
	UpdateItem func(ctx context.Context, workspaceID string, itemID string, updateItemRequest core.UpdateItemRequest, options *core.ItemsClientUpdateItemOptions) (resp azfake.Responder[core.ItemsClientUpdateItemResponse], errResp azfake.ErrorResponder)

	// BeginUpdateItemDefinition is the fake for method ItemsClient.BeginUpdateItemDefinition
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginUpdateItemDefinition func(ctx context.Context, workspaceID string, itemID string, updateItemDefinitionRequest core.UpdateItemDefinitionRequest, options *core.ItemsClientBeginUpdateItemDefinitionOptions) (resp azfake.PollerResponder[core.ItemsClientUpdateItemDefinitionResponse], errResp azfake.ErrorResponder)
}

ItemsServer is a fake server for instances of the core.ItemsClient type.

type ItemsServerTransport

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

ItemsServerTransport connects instances of core.ItemsClient to instances of ItemsServer. Don't use this type directly, use NewItemsServerTransport instead.

func NewItemsServerTransport

func NewItemsServerTransport(srv *ItemsServer) *ItemsServerTransport

NewItemsServerTransport creates a new instance of ItemsServerTransport with the provided implementation. The returned ItemsServerTransport instance is connected to an instance of core.ItemsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ItemsServerTransport) Do

Do implements the policy.Transporter interface for ItemsServerTransport.

type JobSchedulerServer

type JobSchedulerServer struct {
	// CancelItemJobInstance is the fake for method JobSchedulerClient.CancelItemJobInstance
	// HTTP status codes to indicate success: http.StatusAccepted
	CancelItemJobInstance func(ctx context.Context, workspaceID string, itemID string, jobInstanceID string, options *core.JobSchedulerClientCancelItemJobInstanceOptions) (resp azfake.Responder[core.JobSchedulerClientCancelItemJobInstanceResponse], errResp azfake.ErrorResponder)

	// CreateItemSchedule is the fake for method JobSchedulerClient.CreateItemSchedule
	// HTTP status codes to indicate success: http.StatusCreated
	CreateItemSchedule func(ctx context.Context, workspaceID string, itemID string, jobType string, createScheduleRequest core.CreateScheduleRequest, options *core.JobSchedulerClientCreateItemScheduleOptions) (resp azfake.Responder[core.JobSchedulerClientCreateItemScheduleResponse], errResp azfake.ErrorResponder)

	// GetItemJobInstance is the fake for method JobSchedulerClient.GetItemJobInstance
	// HTTP status codes to indicate success: http.StatusOK
	GetItemJobInstance func(ctx context.Context, workspaceID string, itemID string, jobInstanceID string, options *core.JobSchedulerClientGetItemJobInstanceOptions) (resp azfake.Responder[core.JobSchedulerClientGetItemJobInstanceResponse], errResp azfake.ErrorResponder)

	// GetItemSchedule is the fake for method JobSchedulerClient.GetItemSchedule
	// HTTP status codes to indicate success: http.StatusOK
	GetItemSchedule func(ctx context.Context, workspaceID string, itemID string, jobType string, scheduleID string, options *core.JobSchedulerClientGetItemScheduleOptions) (resp azfake.Responder[core.JobSchedulerClientGetItemScheduleResponse], errResp azfake.ErrorResponder)

	// NewListItemJobInstancesPager is the fake for method JobSchedulerClient.NewListItemJobInstancesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListItemJobInstancesPager func(workspaceID string, itemID string, options *core.JobSchedulerClientListItemJobInstancesOptions) (resp azfake.PagerResponder[core.JobSchedulerClientListItemJobInstancesResponse])

	// NewListItemSchedulesPager is the fake for method JobSchedulerClient.NewListItemSchedulesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListItemSchedulesPager func(workspaceID string, itemID string, jobType string, options *core.JobSchedulerClientListItemSchedulesOptions) (resp azfake.PagerResponder[core.JobSchedulerClientListItemSchedulesResponse])

	// RunOnDemandItemJob is the fake for method JobSchedulerClient.RunOnDemandItemJob
	// HTTP status codes to indicate success: http.StatusAccepted
	RunOnDemandItemJob func(ctx context.Context, workspaceID string, itemID string, jobType string, options *core.JobSchedulerClientRunOnDemandItemJobOptions) (resp azfake.Responder[core.JobSchedulerClientRunOnDemandItemJobResponse], errResp azfake.ErrorResponder)

	// UpdateItemSchedule is the fake for method JobSchedulerClient.UpdateItemSchedule
	// HTTP status codes to indicate success: http.StatusOK
	UpdateItemSchedule func(ctx context.Context, workspaceID string, itemID string, jobType string, scheduleID string, updateScheduleRequest core.UpdateScheduleRequest, options *core.JobSchedulerClientUpdateItemScheduleOptions) (resp azfake.Responder[core.JobSchedulerClientUpdateItemScheduleResponse], errResp azfake.ErrorResponder)
}

JobSchedulerServer is a fake server for instances of the core.JobSchedulerClient type.

type JobSchedulerServerTransport

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

JobSchedulerServerTransport connects instances of core.JobSchedulerClient to instances of JobSchedulerServer. Don't use this type directly, use NewJobSchedulerServerTransport instead.

func NewJobSchedulerServerTransport

func NewJobSchedulerServerTransport(srv *JobSchedulerServer) *JobSchedulerServerTransport

NewJobSchedulerServerTransport creates a new instance of JobSchedulerServerTransport with the provided implementation. The returned JobSchedulerServerTransport instance is connected to an instance of core.JobSchedulerClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*JobSchedulerServerTransport) Do

Do implements the policy.Transporter interface for JobSchedulerServerTransport.

type LongRunningOperationsServer

type LongRunningOperationsServer struct {
	// GetOperationResult is the fake for method LongRunningOperationsClient.GetOperationResult
	// HTTP status codes to indicate success: http.StatusOK
	GetOperationResult func(ctx context.Context, operationID string, options *core.LongRunningOperationsClientGetOperationResultOptions) (resp azfake.Responder[core.LongRunningOperationsClientGetOperationResultResponse], errResp azfake.ErrorResponder)

	// GetOperationState is the fake for method LongRunningOperationsClient.GetOperationState
	// HTTP status codes to indicate success: http.StatusOK
	GetOperationState func(ctx context.Context, operationID string, options *core.LongRunningOperationsClientGetOperationStateOptions) (resp azfake.Responder[core.LongRunningOperationsClientGetOperationStateResponse], errResp azfake.ErrorResponder)
}

LongRunningOperationsServer is a fake server for instances of the core.LongRunningOperationsClient type.

type LongRunningOperationsServerTransport

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

LongRunningOperationsServerTransport connects instances of core.LongRunningOperationsClient to instances of LongRunningOperationsServer. Don't use this type directly, use NewLongRunningOperationsServerTransport instead.

func NewLongRunningOperationsServerTransport

func NewLongRunningOperationsServerTransport(srv *LongRunningOperationsServer) *LongRunningOperationsServerTransport

NewLongRunningOperationsServerTransport creates a new instance of LongRunningOperationsServerTransport with the provided implementation. The returned LongRunningOperationsServerTransport instance is connected to an instance of core.LongRunningOperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LongRunningOperationsServerTransport) Do

Do implements the policy.Transporter interface for LongRunningOperationsServerTransport.

type ManagedPrivateEndpointsServer

type ManagedPrivateEndpointsServer struct {
	// CreateWorkspaceManagedPrivateEndpoint is the fake for method ManagedPrivateEndpointsClient.CreateWorkspaceManagedPrivateEndpoint
	// HTTP status codes to indicate success: http.StatusCreated
	CreateWorkspaceManagedPrivateEndpoint func(ctx context.Context, workspaceID string, createManagedPrivateEndpointRequest core.CreateManagedPrivateEndpointRequest, options *core.ManagedPrivateEndpointsClientCreateWorkspaceManagedPrivateEndpointOptions) (resp azfake.Responder[core.ManagedPrivateEndpointsClientCreateWorkspaceManagedPrivateEndpointResponse], errResp azfake.ErrorResponder)

	// DeleteWorkspaceManagedPrivateEndpoint is the fake for method ManagedPrivateEndpointsClient.DeleteWorkspaceManagedPrivateEndpoint
	// HTTP status codes to indicate success: http.StatusOK
	DeleteWorkspaceManagedPrivateEndpoint func(ctx context.Context, workspaceID string, managedPrivateEndpointID string, options *core.ManagedPrivateEndpointsClientDeleteWorkspaceManagedPrivateEndpointOptions) (resp azfake.Responder[core.ManagedPrivateEndpointsClientDeleteWorkspaceManagedPrivateEndpointResponse], errResp azfake.ErrorResponder)

	// GetWorkspaceManagedPrivateEndpoint is the fake for method ManagedPrivateEndpointsClient.GetWorkspaceManagedPrivateEndpoint
	// HTTP status codes to indicate success: http.StatusOK
	GetWorkspaceManagedPrivateEndpoint func(ctx context.Context, workspaceID string, managedPrivateEndpointID string, options *core.ManagedPrivateEndpointsClientGetWorkspaceManagedPrivateEndpointOptions) (resp azfake.Responder[core.ManagedPrivateEndpointsClientGetWorkspaceManagedPrivateEndpointResponse], errResp azfake.ErrorResponder)

	// NewListWorkspaceManagedPrivateEndpointsPager is the fake for method ManagedPrivateEndpointsClient.NewListWorkspaceManagedPrivateEndpointsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListWorkspaceManagedPrivateEndpointsPager func(workspaceID string, options *core.ManagedPrivateEndpointsClientListWorkspaceManagedPrivateEndpointsOptions) (resp azfake.PagerResponder[core.ManagedPrivateEndpointsClientListWorkspaceManagedPrivateEndpointsResponse])
}

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

type ManagedPrivateEndpointsServerTransport

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

ManagedPrivateEndpointsServerTransport connects instances of core.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 core.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 OneLakeDataAccessSecurityServer

type OneLakeDataAccessSecurityServer struct {
	// CreateOrUpdateDataAccessRoles is the fake for method OneLakeDataAccessSecurityClient.CreateOrUpdateDataAccessRoles
	// HTTP status codes to indicate success: http.StatusOK
	CreateOrUpdateDataAccessRoles func(ctx context.Context, workspaceID string, itemID string, createOrUpdateDataAccessRolesRequest core.CreateOrUpdateDataAccessRolesRequest, options *core.OneLakeDataAccessSecurityClientCreateOrUpdateDataAccessRolesOptions) (resp azfake.Responder[core.OneLakeDataAccessSecurityClientCreateOrUpdateDataAccessRolesResponse], errResp azfake.ErrorResponder)

	// ListDataAccessRoles is the fake for method OneLakeDataAccessSecurityClient.ListDataAccessRoles
	// HTTP status codes to indicate success: http.StatusOK
	ListDataAccessRoles func(ctx context.Context, workspaceID string, itemID string, options *core.OneLakeDataAccessSecurityClientListDataAccessRolesOptions) (resp azfake.Responder[core.OneLakeDataAccessSecurityClientListDataAccessRolesResponse], errResp azfake.ErrorResponder)
}

OneLakeDataAccessSecurityServer is a fake server for instances of the core.OneLakeDataAccessSecurityClient type.

type OneLakeDataAccessSecurityServerTransport

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

OneLakeDataAccessSecurityServerTransport connects instances of core.OneLakeDataAccessSecurityClient to instances of OneLakeDataAccessSecurityServer. Don't use this type directly, use NewOneLakeDataAccessSecurityServerTransport instead.

func NewOneLakeDataAccessSecurityServerTransport

func NewOneLakeDataAccessSecurityServerTransport(srv *OneLakeDataAccessSecurityServer) *OneLakeDataAccessSecurityServerTransport

NewOneLakeDataAccessSecurityServerTransport creates a new instance of OneLakeDataAccessSecurityServerTransport with the provided implementation. The returned OneLakeDataAccessSecurityServerTransport instance is connected to an instance of core.OneLakeDataAccessSecurityClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OneLakeDataAccessSecurityServerTransport) Do

Do implements the policy.Transporter interface for OneLakeDataAccessSecurityServerTransport.

type OneLakeShortcutsServer

type OneLakeShortcutsServer struct {
	// CreateShortcut is the fake for method OneLakeShortcutsClient.CreateShortcut
	// HTTP status codes to indicate success: http.StatusCreated
	CreateShortcut func(ctx context.Context, workspaceID string, itemID string, createShortcutRequest core.CreateShortcutRequest, options *core.OneLakeShortcutsClientCreateShortcutOptions) (resp azfake.Responder[core.OneLakeShortcutsClientCreateShortcutResponse], errResp azfake.ErrorResponder)

	// DeleteShortcut is the fake for method OneLakeShortcutsClient.DeleteShortcut
	// HTTP status codes to indicate success: http.StatusOK
	DeleteShortcut func(ctx context.Context, workspaceID string, itemID string, shortcutPath string, shortcutName string, options *core.OneLakeShortcutsClientDeleteShortcutOptions) (resp azfake.Responder[core.OneLakeShortcutsClientDeleteShortcutResponse], errResp azfake.ErrorResponder)

	// GetShortcut is the fake for method OneLakeShortcutsClient.GetShortcut
	// HTTP status codes to indicate success: http.StatusOK
	GetShortcut func(ctx context.Context, workspaceID string, itemID string, shortcutPath string, shortcutName string, options *core.OneLakeShortcutsClientGetShortcutOptions) (resp azfake.Responder[core.OneLakeShortcutsClientGetShortcutResponse], errResp azfake.ErrorResponder)

	// NewListShortcutsPager is the fake for method OneLakeShortcutsClient.NewListShortcutsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListShortcutsPager func(workspaceID string, itemID string, options *core.OneLakeShortcutsClientListShortcutsOptions) (resp azfake.PagerResponder[core.OneLakeShortcutsClientListShortcutsResponse])

	// BeginResetShortcutCache is the fake for method OneLakeShortcutsClient.BeginResetShortcutCache
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginResetShortcutCache func(ctx context.Context, workspaceID string, options *core.OneLakeShortcutsClientBeginResetShortcutCacheOptions) (resp azfake.PollerResponder[core.OneLakeShortcutsClientResetShortcutCacheResponse], errResp azfake.ErrorResponder)
}

OneLakeShortcutsServer is a fake server for instances of the core.OneLakeShortcutsClient type.

type OneLakeShortcutsServerTransport

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

OneLakeShortcutsServerTransport connects instances of core.OneLakeShortcutsClient to instances of OneLakeShortcutsServer. Don't use this type directly, use NewOneLakeShortcutsServerTransport instead.

func NewOneLakeShortcutsServerTransport

func NewOneLakeShortcutsServerTransport(srv *OneLakeShortcutsServer) *OneLakeShortcutsServerTransport

NewOneLakeShortcutsServerTransport creates a new instance of OneLakeShortcutsServerTransport with the provided implementation. The returned OneLakeShortcutsServerTransport instance is connected to an instance of core.OneLakeShortcutsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OneLakeShortcutsServerTransport) Do

Do implements the policy.Transporter interface for OneLakeShortcutsServerTransport.

type ServerFactory

type ServerFactory struct {
	CapacitiesServer                CapacitiesServer
	ConnectionsServer               ConnectionsServer
	DeploymentPipelinesServer       DeploymentPipelinesServer
	ExternalDataSharesServer        ExternalDataSharesServer
	GatewaysServer                  GatewaysServer
	GitServer                       GitServer
	ItemsServer                     ItemsServer
	JobSchedulerServer              JobSchedulerServer
	LongRunningOperationsServer     LongRunningOperationsServer
	ManagedPrivateEndpointsServer   ManagedPrivateEndpointsServer
	OneLakeDataAccessSecurityServer OneLakeDataAccessSecurityServer
	OneLakeShortcutsServer          OneLakeShortcutsServer
	WorkspacesServer                WorkspacesServer
}

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

type ServerFactoryTransport

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

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

type WorkspacesServer struct {
	// AddWorkspaceRoleAssignment is the fake for method WorkspacesClient.AddWorkspaceRoleAssignment
	// HTTP status codes to indicate success: http.StatusCreated
	AddWorkspaceRoleAssignment func(ctx context.Context, workspaceID string, workspaceRoleAssignmentRequest core.AddWorkspaceRoleAssignmentRequest, options *core.WorkspacesClientAddWorkspaceRoleAssignmentOptions) (resp azfake.Responder[core.WorkspacesClientAddWorkspaceRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// AssignToCapacity is the fake for method WorkspacesClient.AssignToCapacity
	// HTTP status codes to indicate success: http.StatusAccepted
	AssignToCapacity func(ctx context.Context, workspaceID string, assignWorkspaceToCapacityRequest core.AssignWorkspaceToCapacityRequest, options *core.WorkspacesClientAssignToCapacityOptions) (resp azfake.Responder[core.WorkspacesClientAssignToCapacityResponse], errResp azfake.ErrorResponder)

	// CreateWorkspace is the fake for method WorkspacesClient.CreateWorkspace
	// HTTP status codes to indicate success: http.StatusCreated
	CreateWorkspace func(ctx context.Context, createWorkspaceRequest core.CreateWorkspaceRequest, options *core.WorkspacesClientCreateWorkspaceOptions) (resp azfake.Responder[core.WorkspacesClientCreateWorkspaceResponse], errResp azfake.ErrorResponder)

	// DeleteWorkspace is the fake for method WorkspacesClient.DeleteWorkspace
	// HTTP status codes to indicate success: http.StatusOK
	DeleteWorkspace func(ctx context.Context, workspaceID string, options *core.WorkspacesClientDeleteWorkspaceOptions) (resp azfake.Responder[core.WorkspacesClientDeleteWorkspaceResponse], errResp azfake.ErrorResponder)

	// DeleteWorkspaceRoleAssignment is the fake for method WorkspacesClient.DeleteWorkspaceRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK
	DeleteWorkspaceRoleAssignment func(ctx context.Context, workspaceID string, workspaceRoleAssignmentID string, options *core.WorkspacesClientDeleteWorkspaceRoleAssignmentOptions) (resp azfake.Responder[core.WorkspacesClientDeleteWorkspaceRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// BeginDeprovisionIdentity is the fake for method WorkspacesClient.BeginDeprovisionIdentity
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent
	BeginDeprovisionIdentity func(ctx context.Context, workspaceID string, options *core.WorkspacesClientBeginDeprovisionIdentityOptions) (resp azfake.PollerResponder[core.WorkspacesClientDeprovisionIdentityResponse], errResp azfake.ErrorResponder)

	// GetWorkspace is the fake for method WorkspacesClient.GetWorkspace
	// HTTP status codes to indicate success: http.StatusOK
	GetWorkspace func(ctx context.Context, workspaceID string, options *core.WorkspacesClientGetWorkspaceOptions) (resp azfake.Responder[core.WorkspacesClientGetWorkspaceResponse], errResp azfake.ErrorResponder)

	// GetWorkspaceRoleAssignment is the fake for method WorkspacesClient.GetWorkspaceRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK
	GetWorkspaceRoleAssignment func(ctx context.Context, workspaceID string, workspaceRoleAssignmentID string, options *core.WorkspacesClientGetWorkspaceRoleAssignmentOptions) (resp azfake.Responder[core.WorkspacesClientGetWorkspaceRoleAssignmentResponse], errResp azfake.ErrorResponder)

	// NewListWorkspaceRoleAssignmentsPager is the fake for method WorkspacesClient.NewListWorkspaceRoleAssignmentsPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListWorkspaceRoleAssignmentsPager func(workspaceID string, options *core.WorkspacesClientListWorkspaceRoleAssignmentsOptions) (resp azfake.PagerResponder[core.WorkspacesClientListWorkspaceRoleAssignmentsResponse])

	// NewListWorkspacesPager is the fake for method WorkspacesClient.NewListWorkspacesPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListWorkspacesPager func(options *core.WorkspacesClientListWorkspacesOptions) (resp azfake.PagerResponder[core.WorkspacesClientListWorkspacesResponse])

	// BeginProvisionIdentity is the fake for method WorkspacesClient.BeginProvisionIdentity
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginProvisionIdentity func(ctx context.Context, workspaceID string, options *core.WorkspacesClientBeginProvisionIdentityOptions) (resp azfake.PollerResponder[core.WorkspacesClientProvisionIdentityResponse], errResp azfake.ErrorResponder)

	// UnassignFromCapacity is the fake for method WorkspacesClient.UnassignFromCapacity
	// HTTP status codes to indicate success: http.StatusAccepted
	UnassignFromCapacity func(ctx context.Context, workspaceID string, options *core.WorkspacesClientUnassignFromCapacityOptions) (resp azfake.Responder[core.WorkspacesClientUnassignFromCapacityResponse], errResp azfake.ErrorResponder)

	// UpdateWorkspace is the fake for method WorkspacesClient.UpdateWorkspace
	// HTTP status codes to indicate success: http.StatusOK
	UpdateWorkspace func(ctx context.Context, workspaceID string, updateWorkspaceRequest core.UpdateWorkspaceRequest, options *core.WorkspacesClientUpdateWorkspaceOptions) (resp azfake.Responder[core.WorkspacesClientUpdateWorkspaceResponse], errResp azfake.ErrorResponder)

	// UpdateWorkspaceRoleAssignment is the fake for method WorkspacesClient.UpdateWorkspaceRoleAssignment
	// HTTP status codes to indicate success: http.StatusOK
	UpdateWorkspaceRoleAssignment func(ctx context.Context, workspaceID string, workspaceRoleAssignmentID string, updateWorkspaceRoleAssignmentRequest core.UpdateWorkspaceRoleAssignmentRequest, options *core.WorkspacesClientUpdateWorkspaceRoleAssignmentOptions) (resp azfake.Responder[core.WorkspacesClientUpdateWorkspaceRoleAssignmentResponse], errResp azfake.ErrorResponder)
}

WorkspacesServer is a fake server for instances of the core.WorkspacesClient type.

type WorkspacesServerTransport

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

WorkspacesServerTransport connects instances of core.WorkspacesClient to instances of WorkspacesServer. Don't use this type directly, use NewWorkspacesServerTransport instead.

func NewWorkspacesServerTransport

func NewWorkspacesServerTransport(srv *WorkspacesServer) *WorkspacesServerTransport

NewWorkspacesServerTransport creates a new instance of WorkspacesServerTransport with the provided implementation. The returned WorkspacesServerTransport instance is connected to an instance of core.WorkspacesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*WorkspacesServerTransport) Do

Do implements the policy.Transporter interface for WorkspacesServerTransport.

Jump to

Keyboard shortcuts

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