Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemsServer ¶
type ItemsServer struct { // BeginCreateReport is the fake for method ItemsClient.BeginCreateReport // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreateReport func(ctx context.Context, workspaceID string, createReportRequest report.CreateReportRequest, options *report.ItemsClientBeginCreateReportOptions) (resp azfake.PollerResponder[report.ItemsClientCreateReportResponse], errResp azfake.ErrorResponder) // DeleteReport is the fake for method ItemsClient.DeleteReport // HTTP status codes to indicate success: http.StatusOK DeleteReport func(ctx context.Context, workspaceID string, reportID string, options *report.ItemsClientDeleteReportOptions) (resp azfake.Responder[report.ItemsClientDeleteReportResponse], errResp azfake.ErrorResponder) // GetReport is the fake for method ItemsClient.GetReport // HTTP status codes to indicate success: http.StatusOK GetReport func(ctx context.Context, workspaceID string, reportID string, options *report.ItemsClientGetReportOptions) (resp azfake.Responder[report.ItemsClientGetReportResponse], errResp azfake.ErrorResponder) // BeginGetReportDefinition is the fake for method ItemsClient.BeginGetReportDefinition // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginGetReportDefinition func(ctx context.Context, workspaceID string, reportID string, options *report.ItemsClientBeginGetReportDefinitionOptions) (resp azfake.PollerResponder[report.ItemsClientGetReportDefinitionResponse], errResp azfake.ErrorResponder) // NewListReportsPager is the fake for method ItemsClient.NewListReportsPager // HTTP status codes to indicate success: http.StatusOK NewListReportsPager func(workspaceID string, options *report.ItemsClientListReportsOptions) (resp azfake.PagerResponder[report.ItemsClientListReportsResponse]) // UpdateReport is the fake for method ItemsClient.UpdateReport // HTTP status codes to indicate success: http.StatusOK UpdateReport func(ctx context.Context, workspaceID string, reportID string, updateReportRequest report.UpdateReportRequest, options *report.ItemsClientUpdateReportOptions) (resp azfake.Responder[report.ItemsClientUpdateReportResponse], errResp azfake.ErrorResponder) // BeginUpdateReportDefinition is the fake for method ItemsClient.BeginUpdateReportDefinition // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginUpdateReportDefinition func(ctx context.Context, workspaceID string, reportID string, updateReportDefinitionRequest report.UpdateReportDefinitionRequest, options *report.ItemsClientBeginUpdateReportDefinitionOptions) (resp azfake.PollerResponder[report.ItemsClientUpdateReportDefinitionResponse], errResp azfake.ErrorResponder) }
ItemsServer is a fake server for instances of the report.ItemsClient type.
type ItemsServerTransport ¶
type ItemsServerTransport struct {
// contains filtered or unexported fields
}
ItemsServerTransport connects instances of report.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 report.ItemsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct {
ItemsServer ItemsServer
}
ServerFactory is a fake server for instances of the report.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of report.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 report.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.