fake

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

Do implements the policy.Transporter interface for ChatTranscriptsNoSubscriptionServerTransport.

type ChatTranscriptsServer added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

Do implements the policy.Transporter interface for ChatTranscriptsServerTransport.

type CommunicationsNoSubscriptionServer added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

Do implements the policy.Transporter interface for FileWorkspacesNoSubscriptionServerTransport.

type FileWorkspacesServer added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

Do implements the policy.Transporter interface for FileWorkspacesServerTransport.

type FilesNoSubscriptionServer added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

Do implements the policy.Transporter interface for FilesNoSubscriptionServerTransport.

type FilesServer added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

Do implements the policy.Transporter interface for FilesServerTransport.

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 ProblemClassificationsServer

type ProblemClassificationsServer struct {
	// 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
	OperationsServer                    OperationsServer
	ProblemClassificationsServer        ProblemClassificationsServer
	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 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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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 added in v1.3.0

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