Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobCollectionsServer ¶
type JobCollectionsServer struct { // CreateOrUpdate is the fake for method JobCollectionsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, jobCollectionName string, jobCollection armscheduler.JobCollectionDefinition, options *armscheduler.JobCollectionsClientCreateOrUpdateOptions) (resp azfake.Responder[armscheduler.JobCollectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method JobCollectionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginDelete func(ctx context.Context, resourceGroupName string, jobCollectionName string, options *armscheduler.JobCollectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armscheduler.JobCollectionsClientDeleteResponse], errResp azfake.ErrorResponder) // BeginDisable is the fake for method JobCollectionsClient.BeginDisable // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginDisable func(ctx context.Context, resourceGroupName string, jobCollectionName string, options *armscheduler.JobCollectionsClientBeginDisableOptions) (resp azfake.PollerResponder[armscheduler.JobCollectionsClientDisableResponse], errResp azfake.ErrorResponder) // BeginEnable is the fake for method JobCollectionsClient.BeginEnable // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginEnable func(ctx context.Context, resourceGroupName string, jobCollectionName string, options *armscheduler.JobCollectionsClientBeginEnableOptions) (resp azfake.PollerResponder[armscheduler.JobCollectionsClientEnableResponse], errResp azfake.ErrorResponder) // Get is the fake for method JobCollectionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, jobCollectionName string, options *armscheduler.JobCollectionsClientGetOptions) (resp azfake.Responder[armscheduler.JobCollectionsClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method JobCollectionsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armscheduler.JobCollectionsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armscheduler.JobCollectionsClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method JobCollectionsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armscheduler.JobCollectionsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armscheduler.JobCollectionsClientListBySubscriptionResponse]) // Patch is the fake for method JobCollectionsClient.Patch // HTTP status codes to indicate success: http.StatusOK Patch func(ctx context.Context, resourceGroupName string, jobCollectionName string, jobCollection armscheduler.JobCollectionDefinition, options *armscheduler.JobCollectionsClientPatchOptions) (resp azfake.Responder[armscheduler.JobCollectionsClientPatchResponse], errResp azfake.ErrorResponder) }
JobCollectionsServer is a fake server for instances of the armscheduler.JobCollectionsClient type.
type JobCollectionsServerTransport ¶
type JobCollectionsServerTransport struct {
// contains filtered or unexported fields
}
JobCollectionsServerTransport connects instances of armscheduler.JobCollectionsClient to instances of JobCollectionsServer. Don't use this type directly, use NewJobCollectionsServerTransport instead.
func NewJobCollectionsServerTransport ¶
func NewJobCollectionsServerTransport(srv *JobCollectionsServer) *JobCollectionsServerTransport
NewJobCollectionsServerTransport creates a new instance of JobCollectionsServerTransport with the provided implementation. The returned JobCollectionsServerTransport instance is connected to an instance of armscheduler.JobCollectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type JobsServer ¶
type JobsServer struct { // CreateOrUpdate is the fake for method JobsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string, job armscheduler.JobDefinition, options *armscheduler.JobsClientCreateOrUpdateOptions) (resp azfake.Responder[armscheduler.JobsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method JobsClient.Delete // HTTP status codes to indicate success: http.StatusOK Delete func(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string, options *armscheduler.JobsClientDeleteOptions) (resp azfake.Responder[armscheduler.JobsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method JobsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string, options *armscheduler.JobsClientGetOptions) (resp azfake.Responder[armscheduler.JobsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method JobsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, jobCollectionName string, options *armscheduler.JobsClientListOptions) (resp azfake.PagerResponder[armscheduler.JobsClientListResponse]) // NewListJobHistoryPager is the fake for method JobsClient.NewListJobHistoryPager // HTTP status codes to indicate success: http.StatusOK NewListJobHistoryPager func(resourceGroupName string, jobCollectionName string, jobName string, options *armscheduler.JobsClientListJobHistoryOptions) (resp azfake.PagerResponder[armscheduler.JobsClientListJobHistoryResponse]) // Patch is the fake for method JobsClient.Patch // HTTP status codes to indicate success: http.StatusOK Patch func(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string, job armscheduler.JobDefinition, options *armscheduler.JobsClientPatchOptions) (resp azfake.Responder[armscheduler.JobsClientPatchResponse], errResp azfake.ErrorResponder) // Run is the fake for method JobsClient.Run // HTTP status codes to indicate success: http.StatusOK Run func(ctx context.Context, resourceGroupName string, jobCollectionName string, jobName string, options *armscheduler.JobsClientRunOptions) (resp azfake.Responder[armscheduler.JobsClientRunResponse], errResp azfake.ErrorResponder) }
JobsServer is a fake server for instances of the armscheduler.JobsClient type.
type JobsServerTransport ¶
type JobsServerTransport struct {
// contains filtered or unexported fields
}
JobsServerTransport connects instances of armscheduler.JobsClient to instances of JobsServer. Don't use this type directly, use NewJobsServerTransport instead.
func NewJobsServerTransport ¶
func NewJobsServerTransport(srv *JobsServer) *JobsServerTransport
NewJobsServerTransport creates a new instance of JobsServerTransport with the provided implementation. The returned JobsServerTransport instance is connected to an instance of armscheduler.JobsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { JobCollectionsServer JobCollectionsServer JobsServer JobsServer }
ServerFactory is a fake server for instances of the armscheduler.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armscheduler.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 armscheduler.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.