fake

package
v2.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatTranscriptsNoSubscriptionServer

type ChatTranscriptsNoSubscriptionServer struct {
	// Get is the fake for method ChatTranscriptsNoSubscriptionClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, supportTicketName string, chatTranscriptName string, options *armsupport.ChatTranscriptsNoSubscriptionClientGetOptions) (resp azfake.Responder[armsupport.ChatTranscriptsNoSubscriptionClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ChatTranscriptsNoSubscriptionClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(supportTicketName string, options *armsupport.ChatTranscriptsNoSubscriptionClientListOptions) (resp azfake.PagerResponder[armsupport.ChatTranscriptsNoSubscriptionClientListResponse])
}

ChatTranscriptsNoSubscriptionServer is a fake server for instances of the armsupport.ChatTranscriptsNoSubscriptionClient type.

type ChatTranscriptsNoSubscriptionServerTransport

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

ChatTranscriptsNoSubscriptionServerTransport connects instances of armsupport.ChatTranscriptsNoSubscriptionClient to instances of ChatTranscriptsNoSubscriptionServer. Don't use this type directly, use NewChatTranscriptsNoSubscriptionServerTransport instead.

func NewChatTranscriptsNoSubscriptionServerTransport

func NewChatTranscriptsNoSubscriptionServerTransport(srv *ChatTranscriptsNoSubscriptionServer) *ChatTranscriptsNoSubscriptionServerTransport

NewChatTranscriptsNoSubscriptionServerTransport creates a new instance of ChatTranscriptsNoSubscriptionServerTransport with the provided implementation. The returned ChatTranscriptsNoSubscriptionServerTransport instance is connected to an instance of armsupport.ChatTranscriptsNoSubscriptionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ChatTranscriptsNoSubscriptionServerTransport) Do

Do implements the policy.Transporter interface for ChatTranscriptsNoSubscriptionServerTransport.

type ChatTranscriptsServer

type ChatTranscriptsServer struct {
	// Get is the fake for method ChatTranscriptsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, supportTicketName string, chatTranscriptName string, options *armsupport.ChatTranscriptsClientGetOptions) (resp azfake.Responder[armsupport.ChatTranscriptsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ChatTranscriptsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(supportTicketName string, options *armsupport.ChatTranscriptsClientListOptions) (resp azfake.PagerResponder[armsupport.ChatTranscriptsClientListResponse])
}

ChatTranscriptsServer is a fake server for instances of the armsupport.ChatTranscriptsClient type.

type ChatTranscriptsServerTransport

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

ChatTranscriptsServerTransport connects instances of armsupport.ChatTranscriptsClient to instances of ChatTranscriptsServer. Don't use this type directly, use NewChatTranscriptsServerTransport instead.

func NewChatTranscriptsServerTransport

func NewChatTranscriptsServerTransport(srv *ChatTranscriptsServer) *ChatTranscriptsServerTransport

NewChatTranscriptsServerTransport creates a new instance of ChatTranscriptsServerTransport with the provided implementation. The returned ChatTranscriptsServerTransport instance is connected to an instance of armsupport.ChatTranscriptsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ChatTranscriptsServerTransport) Do

Do implements the policy.Transporter interface for ChatTranscriptsServerTransport.

type CommunicationsNoSubscriptionServer

type CommunicationsNoSubscriptionServer struct {
	// CheckNameAvailability is the fake for method CommunicationsNoSubscriptionClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, supportTicketName string, checkNameAvailabilityInput armsupport.CheckNameAvailabilityInput, options *armsupport.CommunicationsNoSubscriptionClientCheckNameAvailabilityOptions) (resp azfake.Responder[armsupport.CommunicationsNoSubscriptionClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreate is the fake for method CommunicationsNoSubscriptionClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, supportTicketName string, communicationName string, createCommunicationParameters armsupport.CommunicationDetails, options *armsupport.CommunicationsNoSubscriptionClientBeginCreateOptions) (resp azfake.PollerResponder[armsupport.CommunicationsNoSubscriptionClientCreateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CommunicationsNoSubscriptionClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, supportTicketName string, communicationName string, options *armsupport.CommunicationsNoSubscriptionClientGetOptions) (resp azfake.Responder[armsupport.CommunicationsNoSubscriptionClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method CommunicationsNoSubscriptionClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(supportTicketName string, options *armsupport.CommunicationsNoSubscriptionClientListOptions) (resp azfake.PagerResponder[armsupport.CommunicationsNoSubscriptionClientListResponse])
}

CommunicationsNoSubscriptionServer is a fake server for instances of the armsupport.CommunicationsNoSubscriptionClient type.

type CommunicationsNoSubscriptionServerTransport

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

CommunicationsNoSubscriptionServerTransport connects instances of armsupport.CommunicationsNoSubscriptionClient to instances of CommunicationsNoSubscriptionServer. Don't use this type directly, use NewCommunicationsNoSubscriptionServerTransport instead.

func NewCommunicationsNoSubscriptionServerTransport

func NewCommunicationsNoSubscriptionServerTransport(srv *CommunicationsNoSubscriptionServer) *CommunicationsNoSubscriptionServerTransport

NewCommunicationsNoSubscriptionServerTransport creates a new instance of CommunicationsNoSubscriptionServerTransport with the provided implementation. The returned CommunicationsNoSubscriptionServerTransport instance is connected to an instance of armsupport.CommunicationsNoSubscriptionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CommunicationsNoSubscriptionServerTransport) Do

Do implements the policy.Transporter interface for CommunicationsNoSubscriptionServerTransport.

type CommunicationsServer

type CommunicationsServer struct {
	// CheckNameAvailability is the fake for method CommunicationsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, supportTicketName string, checkNameAvailabilityInput armsupport.CheckNameAvailabilityInput, options *armsupport.CommunicationsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armsupport.CommunicationsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreate is the fake for method CommunicationsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, supportTicketName string, communicationName string, createCommunicationParameters armsupport.CommunicationDetails, options *armsupport.CommunicationsClientBeginCreateOptions) (resp azfake.PollerResponder[armsupport.CommunicationsClientCreateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method CommunicationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, supportTicketName string, communicationName string, options *armsupport.CommunicationsClientGetOptions) (resp azfake.Responder[armsupport.CommunicationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method CommunicationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(supportTicketName string, options *armsupport.CommunicationsClientListOptions) (resp azfake.PagerResponder[armsupport.CommunicationsClientListResponse])
}

CommunicationsServer is a fake server for instances of the armsupport.CommunicationsClient type.

type CommunicationsServerTransport

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

CommunicationsServerTransport connects instances of armsupport.CommunicationsClient to instances of CommunicationsServer. Don't use this type directly, use NewCommunicationsServerTransport instead.

func NewCommunicationsServerTransport

func NewCommunicationsServerTransport(srv *CommunicationsServer) *CommunicationsServerTransport

NewCommunicationsServerTransport creates a new instance of CommunicationsServerTransport with the provided implementation. The returned CommunicationsServerTransport instance is connected to an instance of armsupport.CommunicationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*CommunicationsServerTransport) Do

Do implements the policy.Transporter interface for CommunicationsServerTransport.

type FileWorkspacesNoSubscriptionServer

type FileWorkspacesNoSubscriptionServer struct {
	// Create is the fake for method FileWorkspacesNoSubscriptionClient.Create
	// HTTP status codes to indicate success: http.StatusCreated
	Create func(ctx context.Context, fileWorkspaceName string, options *armsupport.FileWorkspacesNoSubscriptionClientCreateOptions) (resp azfake.Responder[armsupport.FileWorkspacesNoSubscriptionClientCreateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method FileWorkspacesNoSubscriptionClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, fileWorkspaceName string, options *armsupport.FileWorkspacesNoSubscriptionClientGetOptions) (resp azfake.Responder[armsupport.FileWorkspacesNoSubscriptionClientGetResponse], errResp azfake.ErrorResponder)
}

FileWorkspacesNoSubscriptionServer is a fake server for instances of the armsupport.FileWorkspacesNoSubscriptionClient type.

type FileWorkspacesNoSubscriptionServerTransport

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

FileWorkspacesNoSubscriptionServerTransport connects instances of armsupport.FileWorkspacesNoSubscriptionClient to instances of FileWorkspacesNoSubscriptionServer. Don't use this type directly, use NewFileWorkspacesNoSubscriptionServerTransport instead.

func NewFileWorkspacesNoSubscriptionServerTransport

func NewFileWorkspacesNoSubscriptionServerTransport(srv *FileWorkspacesNoSubscriptionServer) *FileWorkspacesNoSubscriptionServerTransport

NewFileWorkspacesNoSubscriptionServerTransport creates a new instance of FileWorkspacesNoSubscriptionServerTransport with the provided implementation. The returned FileWorkspacesNoSubscriptionServerTransport instance is connected to an instance of armsupport.FileWorkspacesNoSubscriptionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FileWorkspacesNoSubscriptionServerTransport) Do

Do implements the policy.Transporter interface for FileWorkspacesNoSubscriptionServerTransport.

type FileWorkspacesServer

type FileWorkspacesServer struct {
	// Create is the fake for method FileWorkspacesClient.Create
	// HTTP status codes to indicate success: http.StatusCreated
	Create func(ctx context.Context, fileWorkspaceName string, options *armsupport.FileWorkspacesClientCreateOptions) (resp azfake.Responder[armsupport.FileWorkspacesClientCreateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method FileWorkspacesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, fileWorkspaceName string, options *armsupport.FileWorkspacesClientGetOptions) (resp azfake.Responder[armsupport.FileWorkspacesClientGetResponse], errResp azfake.ErrorResponder)
}

FileWorkspacesServer is a fake server for instances of the armsupport.FileWorkspacesClient type.

type FileWorkspacesServerTransport

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

FileWorkspacesServerTransport connects instances of armsupport.FileWorkspacesClient to instances of FileWorkspacesServer. Don't use this type directly, use NewFileWorkspacesServerTransport instead.

func NewFileWorkspacesServerTransport

func NewFileWorkspacesServerTransport(srv *FileWorkspacesServer) *FileWorkspacesServerTransport

NewFileWorkspacesServerTransport creates a new instance of FileWorkspacesServerTransport with the provided implementation. The returned FileWorkspacesServerTransport instance is connected to an instance of armsupport.FileWorkspacesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FileWorkspacesServerTransport) Do

Do implements the policy.Transporter interface for FileWorkspacesServerTransport.

type FilesNoSubscriptionServer

type FilesNoSubscriptionServer struct {
	// Create is the fake for method FilesNoSubscriptionClient.Create
	// HTTP status codes to indicate success: http.StatusCreated
	Create func(ctx context.Context, fileWorkspaceName string, fileName string, createFileParameters armsupport.FileDetails, options *armsupport.FilesNoSubscriptionClientCreateOptions) (resp azfake.Responder[armsupport.FilesNoSubscriptionClientCreateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method FilesNoSubscriptionClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, fileWorkspaceName string, fileName string, options *armsupport.FilesNoSubscriptionClientGetOptions) (resp azfake.Responder[armsupport.FilesNoSubscriptionClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method FilesNoSubscriptionClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(fileWorkspaceName string, options *armsupport.FilesNoSubscriptionClientListOptions) (resp azfake.PagerResponder[armsupport.FilesNoSubscriptionClientListResponse])

	// Upload is the fake for method FilesNoSubscriptionClient.Upload
	// HTTP status codes to indicate success: http.StatusNoContent
	Upload func(ctx context.Context, fileWorkspaceName string, fileName string, uploadFile armsupport.UploadFile, options *armsupport.FilesNoSubscriptionClientUploadOptions) (resp azfake.Responder[armsupport.FilesNoSubscriptionClientUploadResponse], errResp azfake.ErrorResponder)
}

FilesNoSubscriptionServer is a fake server for instances of the armsupport.FilesNoSubscriptionClient type.

type FilesNoSubscriptionServerTransport

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

FilesNoSubscriptionServerTransport connects instances of armsupport.FilesNoSubscriptionClient to instances of FilesNoSubscriptionServer. Don't use this type directly, use NewFilesNoSubscriptionServerTransport instead.

func NewFilesNoSubscriptionServerTransport

func NewFilesNoSubscriptionServerTransport(srv *FilesNoSubscriptionServer) *FilesNoSubscriptionServerTransport

NewFilesNoSubscriptionServerTransport creates a new instance of FilesNoSubscriptionServerTransport with the provided implementation. The returned FilesNoSubscriptionServerTransport instance is connected to an instance of armsupport.FilesNoSubscriptionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FilesNoSubscriptionServerTransport) Do

Do implements the policy.Transporter interface for FilesNoSubscriptionServerTransport.

type FilesServer

type FilesServer struct {
	// Create is the fake for method FilesClient.Create
	// HTTP status codes to indicate success: http.StatusCreated
	Create func(ctx context.Context, fileWorkspaceName string, fileName string, createFileParameters armsupport.FileDetails, options *armsupport.FilesClientCreateOptions) (resp azfake.Responder[armsupport.FilesClientCreateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method FilesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, fileWorkspaceName string, fileName string, options *armsupport.FilesClientGetOptions) (resp azfake.Responder[armsupport.FilesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method FilesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(fileWorkspaceName string, options *armsupport.FilesClientListOptions) (resp azfake.PagerResponder[armsupport.FilesClientListResponse])

	// Upload is the fake for method FilesClient.Upload
	// HTTP status codes to indicate success: http.StatusNoContent
	Upload func(ctx context.Context, fileWorkspaceName string, fileName string, uploadFile armsupport.UploadFile, options *armsupport.FilesClientUploadOptions) (resp azfake.Responder[armsupport.FilesClientUploadResponse], errResp azfake.ErrorResponder)
}

FilesServer is a fake server for instances of the armsupport.FilesClient type.

type FilesServerTransport

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

FilesServerTransport connects instances of armsupport.FilesClient to instances of FilesServer. Don't use this type directly, use NewFilesServerTransport instead.

func NewFilesServerTransport

func NewFilesServerTransport(srv *FilesServer) *FilesServerTransport

NewFilesServerTransport creates a new instance of FilesServerTransport with the provided implementation. The returned FilesServerTransport instance is connected to an instance of armsupport.FilesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*FilesServerTransport) Do

Do implements the policy.Transporter interface for FilesServerTransport.

type LookUpResourceIDServer

type LookUpResourceIDServer struct {
	// Post is the fake for method LookUpResourceIDClient.Post
	// HTTP status codes to indicate success: http.StatusOK
	Post func(ctx context.Context, lookUpResourceIDRequest armsupport.LookUpResourceIDRequest, options *armsupport.LookUpResourceIDClientPostOptions) (resp azfake.Responder[armsupport.LookUpResourceIDClientPostResponse], errResp azfake.ErrorResponder)
}

LookUpResourceIDServer is a fake server for instances of the armsupport.LookUpResourceIDClient type.

type LookUpResourceIDServerTransport

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

LookUpResourceIDServerTransport connects instances of armsupport.LookUpResourceIDClient to instances of LookUpResourceIDServer. Don't use this type directly, use NewLookUpResourceIDServerTransport instead.

func NewLookUpResourceIDServerTransport

func NewLookUpResourceIDServerTransport(srv *LookUpResourceIDServer) *LookUpResourceIDServerTransport

NewLookUpResourceIDServerTransport creates a new instance of LookUpResourceIDServerTransport with the provided implementation. The returned LookUpResourceIDServerTransport instance is connected to an instance of armsupport.LookUpResourceIDClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*LookUpResourceIDServerTransport) Do

Do implements the policy.Transporter interface for LookUpResourceIDServerTransport.

type OperationsServer

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

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

type OperationsServerTransport

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

OperationsServerTransport connects instances of armsupport.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 armsupport.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 ProblemClassificationsNoSubscriptionServer

type ProblemClassificationsNoSubscriptionServer struct {
	// ClassifyProblems is the fake for method ProblemClassificationsNoSubscriptionClient.ClassifyProblems
	// HTTP status codes to indicate success: http.StatusOK
	ClassifyProblems func(ctx context.Context, problemServiceName string, problemClassificationsClassificationInput armsupport.ProblemClassificationsClassificationInput, options *armsupport.ProblemClassificationsNoSubscriptionClientClassifyProblemsOptions) (resp azfake.Responder[armsupport.ProblemClassificationsNoSubscriptionClientClassifyProblemsResponse], errResp azfake.ErrorResponder)
}

ProblemClassificationsNoSubscriptionServer is a fake server for instances of the armsupport.ProblemClassificationsNoSubscriptionClient type.

type ProblemClassificationsNoSubscriptionServerTransport

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

ProblemClassificationsNoSubscriptionServerTransport connects instances of armsupport.ProblemClassificationsNoSubscriptionClient to instances of ProblemClassificationsNoSubscriptionServer. Don't use this type directly, use NewProblemClassificationsNoSubscriptionServerTransport instead.

func NewProblemClassificationsNoSubscriptionServerTransport

func NewProblemClassificationsNoSubscriptionServerTransport(srv *ProblemClassificationsNoSubscriptionServer) *ProblemClassificationsNoSubscriptionServerTransport

NewProblemClassificationsNoSubscriptionServerTransport creates a new instance of ProblemClassificationsNoSubscriptionServerTransport with the provided implementation. The returned ProblemClassificationsNoSubscriptionServerTransport instance is connected to an instance of armsupport.ProblemClassificationsNoSubscriptionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ProblemClassificationsNoSubscriptionServerTransport) Do

Do implements the policy.Transporter interface for ProblemClassificationsNoSubscriptionServerTransport.

type ProblemClassificationsServer

type ProblemClassificationsServer struct {
	// ClassifyProblems is the fake for method ProblemClassificationsClient.ClassifyProblems
	// HTTP status codes to indicate success: http.StatusOK
	ClassifyProblems func(ctx context.Context, problemServiceName string, problemClassificationsClassificationInput armsupport.ProblemClassificationsClassificationInput, options *armsupport.ProblemClassificationsClientClassifyProblemsOptions) (resp azfake.Responder[armsupport.ProblemClassificationsClientClassifyProblemsResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method ProblemClassificationsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, serviceName string, problemClassificationName string, options *armsupport.ProblemClassificationsClientGetOptions) (resp azfake.Responder[armsupport.ProblemClassificationsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method ProblemClassificationsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(serviceName string, options *armsupport.ProblemClassificationsClientListOptions) (resp azfake.PagerResponder[armsupport.ProblemClassificationsClientListResponse])
}

ProblemClassificationsServer is a fake server for instances of the armsupport.ProblemClassificationsClient type.

type ProblemClassificationsServerTransport

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

ProblemClassificationsServerTransport connects instances of armsupport.ProblemClassificationsClient to instances of ProblemClassificationsServer. Don't use this type directly, use NewProblemClassificationsServerTransport instead.

func NewProblemClassificationsServerTransport

func NewProblemClassificationsServerTransport(srv *ProblemClassificationsServer) *ProblemClassificationsServerTransport

NewProblemClassificationsServerTransport creates a new instance of ProblemClassificationsServerTransport with the provided implementation. The returned ProblemClassificationsServerTransport instance is connected to an instance of armsupport.ProblemClassificationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ProblemClassificationsServerTransport) Do

Do implements the policy.Transporter interface for ProblemClassificationsServerTransport.

type ServerFactory

type ServerFactory struct {
	ChatTranscriptsServer                      ChatTranscriptsServer
	ChatTranscriptsNoSubscriptionServer        ChatTranscriptsNoSubscriptionServer
	CommunicationsServer                       CommunicationsServer
	CommunicationsNoSubscriptionServer         CommunicationsNoSubscriptionServer
	FileWorkspacesServer                       FileWorkspacesServer
	FileWorkspacesNoSubscriptionServer         FileWorkspacesNoSubscriptionServer
	FilesServer                                FilesServer
	FilesNoSubscriptionServer                  FilesNoSubscriptionServer
	LookUpResourceIDServer                     LookUpResourceIDServer
	OperationsServer                           OperationsServer
	ProblemClassificationsServer               ProblemClassificationsServer
	ProblemClassificationsNoSubscriptionServer ProblemClassificationsNoSubscriptionServer
	ServiceClassificationsServer               ServiceClassificationsServer
	ServiceClassificationsNoSubscriptionServer ServiceClassificationsNoSubscriptionServer
	ServicesServer                             ServicesServer
	TicketsServer                              TicketsServer
	TicketsNoSubscriptionServer                TicketsNoSubscriptionServer
}

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

type ServerFactoryTransport

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

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

type ServiceClassificationsNoSubscriptionServer struct {
	// ClassifyServices is the fake for method ServiceClassificationsNoSubscriptionClient.ClassifyServices
	// HTTP status codes to indicate success: http.StatusOK
	ClassifyServices func(ctx context.Context, serviceClassificationRequest armsupport.ServiceClassificationRequest, options *armsupport.ServiceClassificationsNoSubscriptionClientClassifyServicesOptions) (resp azfake.Responder[armsupport.ServiceClassificationsNoSubscriptionClientClassifyServicesResponse], errResp azfake.ErrorResponder)
}

ServiceClassificationsNoSubscriptionServer is a fake server for instances of the armsupport.ServiceClassificationsNoSubscriptionClient type.

type ServiceClassificationsNoSubscriptionServerTransport

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

ServiceClassificationsNoSubscriptionServerTransport connects instances of armsupport.ServiceClassificationsNoSubscriptionClient to instances of ServiceClassificationsNoSubscriptionServer. Don't use this type directly, use NewServiceClassificationsNoSubscriptionServerTransport instead.

func NewServiceClassificationsNoSubscriptionServerTransport

func NewServiceClassificationsNoSubscriptionServerTransport(srv *ServiceClassificationsNoSubscriptionServer) *ServiceClassificationsNoSubscriptionServerTransport

NewServiceClassificationsNoSubscriptionServerTransport creates a new instance of ServiceClassificationsNoSubscriptionServerTransport with the provided implementation. The returned ServiceClassificationsNoSubscriptionServerTransport instance is connected to an instance of armsupport.ServiceClassificationsNoSubscriptionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServiceClassificationsNoSubscriptionServerTransport) Do

Do implements the policy.Transporter interface for ServiceClassificationsNoSubscriptionServerTransport.

type ServiceClassificationsServer

type ServiceClassificationsServer struct {
	// ClassifyServices is the fake for method ServiceClassificationsClient.ClassifyServices
	// HTTP status codes to indicate success: http.StatusOK
	ClassifyServices func(ctx context.Context, serviceClassificationRequest armsupport.ServiceClassificationRequest, options *armsupport.ServiceClassificationsClientClassifyServicesOptions) (resp azfake.Responder[armsupport.ServiceClassificationsClientClassifyServicesResponse], errResp azfake.ErrorResponder)
}

ServiceClassificationsServer is a fake server for instances of the armsupport.ServiceClassificationsClient type.

type ServiceClassificationsServerTransport

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

ServiceClassificationsServerTransport connects instances of armsupport.ServiceClassificationsClient to instances of ServiceClassificationsServer. Don't use this type directly, use NewServiceClassificationsServerTransport instead.

func NewServiceClassificationsServerTransport

func NewServiceClassificationsServerTransport(srv *ServiceClassificationsServer) *ServiceClassificationsServerTransport

NewServiceClassificationsServerTransport creates a new instance of ServiceClassificationsServerTransport with the provided implementation. The returned ServiceClassificationsServerTransport instance is connected to an instance of armsupport.ServiceClassificationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServiceClassificationsServerTransport) Do

Do implements the policy.Transporter interface for ServiceClassificationsServerTransport.

type ServicesServer

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

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

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

type ServicesServerTransport

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

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

func NewServicesServerTransport

func NewServicesServerTransport(srv *ServicesServer) *ServicesServerTransport

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

func (*ServicesServerTransport) Do

Do implements the policy.Transporter interface for ServicesServerTransport.

type TicketsNoSubscriptionServer

type TicketsNoSubscriptionServer struct {
	// CheckNameAvailability is the fake for method TicketsNoSubscriptionClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, checkNameAvailabilityInput armsupport.CheckNameAvailabilityInput, options *armsupport.TicketsNoSubscriptionClientCheckNameAvailabilityOptions) (resp azfake.Responder[armsupport.TicketsNoSubscriptionClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreate is the fake for method TicketsNoSubscriptionClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, supportTicketName string, createSupportTicketParameters armsupport.TicketDetails, options *armsupport.TicketsNoSubscriptionClientBeginCreateOptions) (resp azfake.PollerResponder[armsupport.TicketsNoSubscriptionClientCreateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method TicketsNoSubscriptionClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, supportTicketName string, options *armsupport.TicketsNoSubscriptionClientGetOptions) (resp azfake.Responder[armsupport.TicketsNoSubscriptionClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method TicketsNoSubscriptionClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armsupport.TicketsNoSubscriptionClientListOptions) (resp azfake.PagerResponder[armsupport.TicketsNoSubscriptionClientListResponse])

	// Update is the fake for method TicketsNoSubscriptionClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, supportTicketName string, updateSupportTicket armsupport.UpdateSupportTicket, options *armsupport.TicketsNoSubscriptionClientUpdateOptions) (resp azfake.Responder[armsupport.TicketsNoSubscriptionClientUpdateResponse], errResp azfake.ErrorResponder)
}

TicketsNoSubscriptionServer is a fake server for instances of the armsupport.TicketsNoSubscriptionClient type.

type TicketsNoSubscriptionServerTransport

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

TicketsNoSubscriptionServerTransport connects instances of armsupport.TicketsNoSubscriptionClient to instances of TicketsNoSubscriptionServer. Don't use this type directly, use NewTicketsNoSubscriptionServerTransport instead.

func NewTicketsNoSubscriptionServerTransport

func NewTicketsNoSubscriptionServerTransport(srv *TicketsNoSubscriptionServer) *TicketsNoSubscriptionServerTransport

NewTicketsNoSubscriptionServerTransport creates a new instance of TicketsNoSubscriptionServerTransport with the provided implementation. The returned TicketsNoSubscriptionServerTransport instance is connected to an instance of armsupport.TicketsNoSubscriptionClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TicketsNoSubscriptionServerTransport) Do

Do implements the policy.Transporter interface for TicketsNoSubscriptionServerTransport.

type TicketsServer

type TicketsServer struct {
	// CheckNameAvailability is the fake for method TicketsClient.CheckNameAvailability
	// HTTP status codes to indicate success: http.StatusOK
	CheckNameAvailability func(ctx context.Context, checkNameAvailabilityInput armsupport.CheckNameAvailabilityInput, options *armsupport.TicketsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armsupport.TicketsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder)

	// BeginCreate is the fake for method TicketsClient.BeginCreate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreate func(ctx context.Context, supportTicketName string, createSupportTicketParameters armsupport.TicketDetails, options *armsupport.TicketsClientBeginCreateOptions) (resp azfake.PollerResponder[armsupport.TicketsClientCreateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method TicketsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, supportTicketName string, options *armsupport.TicketsClientGetOptions) (resp azfake.Responder[armsupport.TicketsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method TicketsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armsupport.TicketsClientListOptions) (resp azfake.PagerResponder[armsupport.TicketsClientListResponse])

	// Update is the fake for method TicketsClient.Update
	// HTTP status codes to indicate success: http.StatusOK
	Update func(ctx context.Context, supportTicketName string, updateSupportTicket armsupport.UpdateSupportTicket, options *armsupport.TicketsClientUpdateOptions) (resp azfake.Responder[armsupport.TicketsClientUpdateResponse], errResp azfake.ErrorResponder)
}

TicketsServer is a fake server for instances of the armsupport.TicketsClient type.

type TicketsServerTransport

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

TicketsServerTransport connects instances of armsupport.TicketsClient to instances of TicketsServer. Don't use this type directly, use NewTicketsServerTransport instead.

func NewTicketsServerTransport

func NewTicketsServerTransport(srv *TicketsServer) *TicketsServerTransport

NewTicketsServerTransport creates a new instance of TicketsServerTransport with the provided implementation. The returned TicketsServerTransport instance is connected to an instance of armsupport.TicketsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*TicketsServerTransport) Do

Do implements the policy.Transporter interface for TicketsServerTransport.

Jump to

Keyboard shortcuts

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