fake

package
v0.0.0-...-45adee8 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 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 GroupQuotaLimitsRequestServer

type GroupQuotaLimitsRequestServer struct {
	// BeginCreateOrUpdate is the fake for method GroupQuotaLimitsRequestClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, managementGroupID string, groupQuotaName string, resourceProviderName string, resourceName string, options *armquota.GroupQuotaLimitsRequestClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armquota.GroupQuotaLimitsRequestClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method GroupQuotaLimitsRequestClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, managementGroupID string, groupQuotaName string, requestID string, options *armquota.GroupQuotaLimitsRequestClientGetOptions) (resp azfake.Responder[armquota.GroupQuotaLimitsRequestClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method GroupQuotaLimitsRequestClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(managementGroupID string, groupQuotaName string, resourceProviderName string, filter string, options *armquota.GroupQuotaLimitsRequestClientListOptions) (resp azfake.PagerResponder[armquota.GroupQuotaLimitsRequestClientListResponse])

	// BeginUpdate is the fake for method GroupQuotaLimitsRequestClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, managementGroupID string, groupQuotaName string, resourceProviderName string, resourceName string, options *armquota.GroupQuotaLimitsRequestClientBeginUpdateOptions) (resp azfake.PollerResponder[armquota.GroupQuotaLimitsRequestClientUpdateResponse], errResp azfake.ErrorResponder)
}

GroupQuotaLimitsRequestServer is a fake server for instances of the armquota.GroupQuotaLimitsRequestClient type.

type GroupQuotaLimitsRequestServerTransport

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

GroupQuotaLimitsRequestServerTransport connects instances of armquota.GroupQuotaLimitsRequestClient to instances of GroupQuotaLimitsRequestServer. Don't use this type directly, use NewGroupQuotaLimitsRequestServerTransport instead.

func NewGroupQuotaLimitsRequestServerTransport

func NewGroupQuotaLimitsRequestServerTransport(srv *GroupQuotaLimitsRequestServer) *GroupQuotaLimitsRequestServerTransport

NewGroupQuotaLimitsRequestServerTransport creates a new instance of GroupQuotaLimitsRequestServerTransport with the provided implementation. The returned GroupQuotaLimitsRequestServerTransport instance is connected to an instance of armquota.GroupQuotaLimitsRequestClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GroupQuotaLimitsRequestServerTransport) Do

Do implements the policy.Transporter interface for GroupQuotaLimitsRequestServerTransport.

type GroupQuotaLimitsServer

type GroupQuotaLimitsServer struct {
	// Get is the fake for method GroupQuotaLimitsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, managementGroupID string, groupQuotaName string, resourceProviderName string, resourceName string, filter string, options *armquota.GroupQuotaLimitsClientGetOptions) (resp azfake.Responder[armquota.GroupQuotaLimitsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method GroupQuotaLimitsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(managementGroupID string, groupQuotaName string, resourceProviderName string, filter string, options *armquota.GroupQuotaLimitsClientListOptions) (resp azfake.PagerResponder[armquota.GroupQuotaLimitsClientListResponse])
}

GroupQuotaLimitsServer is a fake server for instances of the armquota.GroupQuotaLimitsClient type.

type GroupQuotaLimitsServerTransport

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

GroupQuotaLimitsServerTransport connects instances of armquota.GroupQuotaLimitsClient to instances of GroupQuotaLimitsServer. Don't use this type directly, use NewGroupQuotaLimitsServerTransport instead.

func NewGroupQuotaLimitsServerTransport

func NewGroupQuotaLimitsServerTransport(srv *GroupQuotaLimitsServer) *GroupQuotaLimitsServerTransport

NewGroupQuotaLimitsServerTransport creates a new instance of GroupQuotaLimitsServerTransport with the provided implementation. The returned GroupQuotaLimitsServerTransport instance is connected to an instance of armquota.GroupQuotaLimitsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GroupQuotaLimitsServerTransport) Do

Do implements the policy.Transporter interface for GroupQuotaLimitsServerTransport.

type GroupQuotaLocationSettingsServer

type GroupQuotaLocationSettingsServer struct {
	// BeginCreateOrUpdate is the fake for method GroupQuotaLocationSettingsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, managementGroupID string, groupQuotaName string, resourceProviderName string, location string, options *armquota.GroupQuotaLocationSettingsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armquota.GroupQuotaLocationSettingsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method GroupQuotaLocationSettingsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, managementGroupID string, groupQuotaName string, resourceProviderName string, location string, options *armquota.GroupQuotaLocationSettingsClientGetOptions) (resp azfake.Responder[armquota.GroupQuotaLocationSettingsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method GroupQuotaLocationSettingsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(managementGroupID string, groupQuotaName string, resourceProviderName string, options *armquota.GroupQuotaLocationSettingsClientListOptions) (resp azfake.PagerResponder[armquota.GroupQuotaLocationSettingsClientListResponse])

	// BeginUpdate is the fake for method GroupQuotaLocationSettingsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, managementGroupID string, groupQuotaName string, resourceProviderName string, location string, options *armquota.GroupQuotaLocationSettingsClientBeginUpdateOptions) (resp azfake.PollerResponder[armquota.GroupQuotaLocationSettingsClientUpdateResponse], errResp azfake.ErrorResponder)
}

GroupQuotaLocationSettingsServer is a fake server for instances of the armquota.GroupQuotaLocationSettingsClient type.

type GroupQuotaLocationSettingsServerTransport

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

GroupQuotaLocationSettingsServerTransport connects instances of armquota.GroupQuotaLocationSettingsClient to instances of GroupQuotaLocationSettingsServer. Don't use this type directly, use NewGroupQuotaLocationSettingsServerTransport instead.

func NewGroupQuotaLocationSettingsServerTransport

func NewGroupQuotaLocationSettingsServerTransport(srv *GroupQuotaLocationSettingsServer) *GroupQuotaLocationSettingsServerTransport

NewGroupQuotaLocationSettingsServerTransport creates a new instance of GroupQuotaLocationSettingsServerTransport with the provided implementation. The returned GroupQuotaLocationSettingsServerTransport instance is connected to an instance of armquota.GroupQuotaLocationSettingsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GroupQuotaLocationSettingsServerTransport) Do

Do implements the policy.Transporter interface for GroupQuotaLocationSettingsServerTransport.

type GroupQuotaSubscriptionAllocationRequestServer

type GroupQuotaSubscriptionAllocationRequestServer struct {
	// BeginCreateOrUpdate is the fake for method GroupQuotaSubscriptionAllocationRequestClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, managementGroupID string, groupQuotaName string, resourceProviderName string, resourceName string, allocateQuotaRequest armquota.AllocationRequestStatus, options *armquota.GroupQuotaSubscriptionAllocationRequestClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armquota.GroupQuotaSubscriptionAllocationRequestClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method GroupQuotaSubscriptionAllocationRequestClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, managementGroupID string, groupQuotaName string, allocationID string, options *armquota.GroupQuotaSubscriptionAllocationRequestClientGetOptions) (resp azfake.Responder[armquota.GroupQuotaSubscriptionAllocationRequestClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method GroupQuotaSubscriptionAllocationRequestClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(managementGroupID string, groupQuotaName string, resourceProviderName string, filter string, options *armquota.GroupQuotaSubscriptionAllocationRequestClientListOptions) (resp azfake.PagerResponder[armquota.GroupQuotaSubscriptionAllocationRequestClientListResponse])

	// BeginUpdate is the fake for method GroupQuotaSubscriptionAllocationRequestClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, managementGroupID string, groupQuotaName string, resourceProviderName string, resourceName string, allocateQuotaRequest armquota.AllocationRequestStatus, options *armquota.GroupQuotaSubscriptionAllocationRequestClientBeginUpdateOptions) (resp azfake.PollerResponder[armquota.GroupQuotaSubscriptionAllocationRequestClientUpdateResponse], errResp azfake.ErrorResponder)
}

GroupQuotaSubscriptionAllocationRequestServer is a fake server for instances of the armquota.GroupQuotaSubscriptionAllocationRequestClient type.

type GroupQuotaSubscriptionAllocationRequestServerTransport

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

GroupQuotaSubscriptionAllocationRequestServerTransport connects instances of armquota.GroupQuotaSubscriptionAllocationRequestClient to instances of GroupQuotaSubscriptionAllocationRequestServer. Don't use this type directly, use NewGroupQuotaSubscriptionAllocationRequestServerTransport instead.

func NewGroupQuotaSubscriptionAllocationRequestServerTransport

func NewGroupQuotaSubscriptionAllocationRequestServerTransport(srv *GroupQuotaSubscriptionAllocationRequestServer) *GroupQuotaSubscriptionAllocationRequestServerTransport

NewGroupQuotaSubscriptionAllocationRequestServerTransport creates a new instance of GroupQuotaSubscriptionAllocationRequestServerTransport with the provided implementation. The returned GroupQuotaSubscriptionAllocationRequestServerTransport instance is connected to an instance of armquota.GroupQuotaSubscriptionAllocationRequestClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GroupQuotaSubscriptionAllocationRequestServerTransport) Do

Do implements the policy.Transporter interface for GroupQuotaSubscriptionAllocationRequestServerTransport.

type GroupQuotaSubscriptionAllocationServer

type GroupQuotaSubscriptionAllocationServer struct {
	// Get is the fake for method GroupQuotaSubscriptionAllocationClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, managementGroupID string, groupQuotaName string, resourceName string, filter string, options *armquota.GroupQuotaSubscriptionAllocationClientGetOptions) (resp azfake.Responder[armquota.GroupQuotaSubscriptionAllocationClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method GroupQuotaSubscriptionAllocationClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(managementGroupID string, groupQuotaName string, filter string, options *armquota.GroupQuotaSubscriptionAllocationClientListOptions) (resp azfake.PagerResponder[armquota.GroupQuotaSubscriptionAllocationClientListResponse])
}

GroupQuotaSubscriptionAllocationServer is a fake server for instances of the armquota.GroupQuotaSubscriptionAllocationClient type.

type GroupQuotaSubscriptionAllocationServerTransport

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

GroupQuotaSubscriptionAllocationServerTransport connects instances of armquota.GroupQuotaSubscriptionAllocationClient to instances of GroupQuotaSubscriptionAllocationServer. Don't use this type directly, use NewGroupQuotaSubscriptionAllocationServerTransport instead.

func NewGroupQuotaSubscriptionAllocationServerTransport

func NewGroupQuotaSubscriptionAllocationServerTransport(srv *GroupQuotaSubscriptionAllocationServer) *GroupQuotaSubscriptionAllocationServerTransport

NewGroupQuotaSubscriptionAllocationServerTransport creates a new instance of GroupQuotaSubscriptionAllocationServerTransport with the provided implementation. The returned GroupQuotaSubscriptionAllocationServerTransport instance is connected to an instance of armquota.GroupQuotaSubscriptionAllocationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GroupQuotaSubscriptionAllocationServerTransport) Do

Do implements the policy.Transporter interface for GroupQuotaSubscriptionAllocationServerTransport.

type GroupQuotaSubscriptionRequestsServer

type GroupQuotaSubscriptionRequestsServer struct {
	// Get is the fake for method GroupQuotaSubscriptionRequestsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, managementGroupID string, groupQuotaName string, requestID string, options *armquota.GroupQuotaSubscriptionRequestsClientGetOptions) (resp azfake.Responder[armquota.GroupQuotaSubscriptionRequestsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method GroupQuotaSubscriptionRequestsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(managementGroupID string, groupQuotaName string, options *armquota.GroupQuotaSubscriptionRequestsClientListOptions) (resp azfake.PagerResponder[armquota.GroupQuotaSubscriptionRequestsClientListResponse])
}

GroupQuotaSubscriptionRequestsServer is a fake server for instances of the armquota.GroupQuotaSubscriptionRequestsClient type.

type GroupQuotaSubscriptionRequestsServerTransport

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

GroupQuotaSubscriptionRequestsServerTransport connects instances of armquota.GroupQuotaSubscriptionRequestsClient to instances of GroupQuotaSubscriptionRequestsServer. Don't use this type directly, use NewGroupQuotaSubscriptionRequestsServerTransport instead.

func NewGroupQuotaSubscriptionRequestsServerTransport

func NewGroupQuotaSubscriptionRequestsServerTransport(srv *GroupQuotaSubscriptionRequestsServer) *GroupQuotaSubscriptionRequestsServerTransport

NewGroupQuotaSubscriptionRequestsServerTransport creates a new instance of GroupQuotaSubscriptionRequestsServerTransport with the provided implementation. The returned GroupQuotaSubscriptionRequestsServerTransport instance is connected to an instance of armquota.GroupQuotaSubscriptionRequestsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GroupQuotaSubscriptionRequestsServerTransport) Do

Do implements the policy.Transporter interface for GroupQuotaSubscriptionRequestsServerTransport.

type GroupQuotaSubscriptionsServer

type GroupQuotaSubscriptionsServer struct {
	// BeginCreateOrUpdate is the fake for method GroupQuotaSubscriptionsClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, managementGroupID string, groupQuotaName string, options *armquota.GroupQuotaSubscriptionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armquota.GroupQuotaSubscriptionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method GroupQuotaSubscriptionsClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, managementGroupID string, groupQuotaName string, options *armquota.GroupQuotaSubscriptionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armquota.GroupQuotaSubscriptionsClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method GroupQuotaSubscriptionsClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, managementGroupID string, groupQuotaName string, options *armquota.GroupQuotaSubscriptionsClientGetOptions) (resp azfake.Responder[armquota.GroupQuotaSubscriptionsClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method GroupQuotaSubscriptionsClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(managementGroupID string, groupQuotaName string, options *armquota.GroupQuotaSubscriptionsClientListOptions) (resp azfake.PagerResponder[armquota.GroupQuotaSubscriptionsClientListResponse])

	// BeginUpdate is the fake for method GroupQuotaSubscriptionsClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, managementGroupID string, groupQuotaName string, options *armquota.GroupQuotaSubscriptionsClientBeginUpdateOptions) (resp azfake.PollerResponder[armquota.GroupQuotaSubscriptionsClientUpdateResponse], errResp azfake.ErrorResponder)
}

GroupQuotaSubscriptionsServer is a fake server for instances of the armquota.GroupQuotaSubscriptionsClient type.

type GroupQuotaSubscriptionsServerTransport

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

GroupQuotaSubscriptionsServerTransport connects instances of armquota.GroupQuotaSubscriptionsClient to instances of GroupQuotaSubscriptionsServer. Don't use this type directly, use NewGroupQuotaSubscriptionsServerTransport instead.

func NewGroupQuotaSubscriptionsServerTransport

func NewGroupQuotaSubscriptionsServerTransport(srv *GroupQuotaSubscriptionsServer) *GroupQuotaSubscriptionsServerTransport

NewGroupQuotaSubscriptionsServerTransport creates a new instance of GroupQuotaSubscriptionsServerTransport with the provided implementation. The returned GroupQuotaSubscriptionsServerTransport instance is connected to an instance of armquota.GroupQuotaSubscriptionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GroupQuotaSubscriptionsServerTransport) Do

Do implements the policy.Transporter interface for GroupQuotaSubscriptionsServerTransport.

type GroupQuotaUsagesServer

type GroupQuotaUsagesServer struct {
	// NewListPager is the fake for method GroupQuotaUsagesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(managementGroupID string, groupQuotaName string, resourceProviderName string, location string, options *armquota.GroupQuotaUsagesClientListOptions) (resp azfake.PagerResponder[armquota.GroupQuotaUsagesClientListResponse])
}

GroupQuotaUsagesServer is a fake server for instances of the armquota.GroupQuotaUsagesClient type.

type GroupQuotaUsagesServerTransport

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

GroupQuotaUsagesServerTransport connects instances of armquota.GroupQuotaUsagesClient to instances of GroupQuotaUsagesServer. Don't use this type directly, use NewGroupQuotaUsagesServerTransport instead.

func NewGroupQuotaUsagesServerTransport

func NewGroupQuotaUsagesServerTransport(srv *GroupQuotaUsagesServer) *GroupQuotaUsagesServerTransport

NewGroupQuotaUsagesServerTransport creates a new instance of GroupQuotaUsagesServerTransport with the provided implementation. The returned GroupQuotaUsagesServerTransport instance is connected to an instance of armquota.GroupQuotaUsagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GroupQuotaUsagesServerTransport) Do

Do implements the policy.Transporter interface for GroupQuotaUsagesServerTransport.

type GroupQuotasServer

type GroupQuotasServer struct {
	// BeginCreateOrUpdate is the fake for method GroupQuotasClient.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusCreated
	BeginCreateOrUpdate func(ctx context.Context, managementGroupID string, groupQuotaName string, options *armquota.GroupQuotasClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armquota.GroupQuotasClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// BeginDelete is the fake for method GroupQuotasClient.BeginDelete
	// HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent
	BeginDelete func(ctx context.Context, managementGroupID string, groupQuotaName string, options *armquota.GroupQuotasClientBeginDeleteOptions) (resp azfake.PollerResponder[armquota.GroupQuotasClientDeleteResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method GroupQuotasClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, managementGroupID string, groupQuotaName string, options *armquota.GroupQuotasClientGetOptions) (resp azfake.Responder[armquota.GroupQuotasClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method GroupQuotasClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(managementGroupID string, options *armquota.GroupQuotasClientListOptions) (resp azfake.PagerResponder[armquota.GroupQuotasClientListResponse])

	// BeginUpdate is the fake for method GroupQuotasClient.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, managementGroupID string, groupQuotaName string, options *armquota.GroupQuotasClientBeginUpdateOptions) (resp azfake.PollerResponder[armquota.GroupQuotasClientUpdateResponse], errResp azfake.ErrorResponder)
}

GroupQuotasServer is a fake server for instances of the armquota.GroupQuotasClient type.

type GroupQuotasServerTransport

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

GroupQuotasServerTransport connects instances of armquota.GroupQuotasClient to instances of GroupQuotasServer. Don't use this type directly, use NewGroupQuotasServerTransport instead.

func NewGroupQuotasServerTransport

func NewGroupQuotasServerTransport(srv *GroupQuotasServer) *GroupQuotasServerTransport

NewGroupQuotasServerTransport creates a new instance of GroupQuotasServerTransport with the provided implementation. The returned GroupQuotasServerTransport instance is connected to an instance of armquota.GroupQuotasClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*GroupQuotasServerTransport) Do

Do implements the policy.Transporter interface for GroupQuotasServerTransport.

type OperationServer

type OperationServer struct {
	// NewListPager is the fake for method OperationClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(options *armquota.OperationClientListOptions) (resp azfake.PagerResponder[armquota.OperationClientListResponse])
}

OperationServer is a fake server for instances of the armquota.OperationClient type.

type OperationServerTransport

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

OperationServerTransport connects instances of armquota.OperationClient to instances of OperationServer. Don't use this type directly, use NewOperationServerTransport instead.

func NewOperationServerTransport

func NewOperationServerTransport(srv *OperationServer) *OperationServerTransport

NewOperationServerTransport creates a new instance of OperationServerTransport with the provided implementation. The returned OperationServerTransport instance is connected to an instance of armquota.OperationClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*OperationServerTransport) Do

Do implements the policy.Transporter interface for OperationServerTransport.

type RequestStatusServer

type RequestStatusServer struct {
	// Get is the fake for method RequestStatusClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, id string, scope string, options *armquota.RequestStatusClientGetOptions) (resp azfake.Responder[armquota.RequestStatusClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method RequestStatusClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(scope string, options *armquota.RequestStatusClientListOptions) (resp azfake.PagerResponder[armquota.RequestStatusClientListResponse])
}

RequestStatusServer is a fake server for instances of the armquota.RequestStatusClient type.

type RequestStatusServerTransport

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

RequestStatusServerTransport connects instances of armquota.RequestStatusClient to instances of RequestStatusServer. Don't use this type directly, use NewRequestStatusServerTransport instead.

func NewRequestStatusServerTransport

func NewRequestStatusServerTransport(srv *RequestStatusServer) *RequestStatusServerTransport

NewRequestStatusServerTransport creates a new instance of RequestStatusServerTransport with the provided implementation. The returned RequestStatusServerTransport instance is connected to an instance of armquota.RequestStatusClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*RequestStatusServerTransport) Do

Do implements the policy.Transporter interface for RequestStatusServerTransport.

type Server

type Server struct {
	// BeginCreateOrUpdate is the fake for method Client.BeginCreateOrUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginCreateOrUpdate func(ctx context.Context, resourceName string, scope string, createQuotaRequest armquota.CurrentQuotaLimitBase, options *armquota.ClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armquota.ClientCreateOrUpdateResponse], errResp azfake.ErrorResponder)

	// Get is the fake for method Client.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceName string, scope string, options *armquota.ClientGetOptions) (resp azfake.Responder[armquota.ClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method Client.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(scope string, options *armquota.ClientListOptions) (resp azfake.PagerResponder[armquota.ClientListResponse])

	// BeginUpdate is the fake for method Client.BeginUpdate
	// HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted
	BeginUpdate func(ctx context.Context, resourceName string, scope string, createQuotaRequest armquota.CurrentQuotaLimitBase, options *armquota.ClientBeginUpdateOptions) (resp azfake.PollerResponder[armquota.ClientUpdateResponse], errResp azfake.ErrorResponder)
}

Server is a fake server for instances of the armquota.Client type.

type ServerFactory

type ServerFactory struct {
	Server                                        Server
	GroupQuotaLimitsServer                        GroupQuotaLimitsServer
	GroupQuotaLimitsRequestServer                 GroupQuotaLimitsRequestServer
	GroupQuotaLocationSettingsServer              GroupQuotaLocationSettingsServer
	GroupQuotaSubscriptionAllocationServer        GroupQuotaSubscriptionAllocationServer
	GroupQuotaSubscriptionAllocationRequestServer GroupQuotaSubscriptionAllocationRequestServer
	GroupQuotaSubscriptionRequestsServer          GroupQuotaSubscriptionRequestsServer
	GroupQuotaSubscriptionsServer                 GroupQuotaSubscriptionsServer
	GroupQuotaUsagesServer                        GroupQuotaUsagesServer
	GroupQuotasServer                             GroupQuotasServer
	OperationServer                               OperationServer
	RequestStatusServer                           RequestStatusServer
	UsagesServer                                  UsagesServer
}

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

type ServerFactoryTransport

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

ServerFactoryTransport connects instances of armquota.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 armquota.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 ServerTransport

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

ServerTransport connects instances of armquota.Client to instances of Server. Don't use this type directly, use NewServerTransport instead.

func NewServerTransport

func NewServerTransport(srv *Server) *ServerTransport

NewServerTransport creates a new instance of ServerTransport with the provided implementation. The returned ServerTransport instance is connected to an instance of armquota.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*ServerTransport) Do

func (s *ServerTransport) Do(req *http.Request) (*http.Response, error)

Do implements the policy.Transporter interface for ServerTransport.

type UsagesServer

type UsagesServer struct {
	// Get is the fake for method UsagesClient.Get
	// HTTP status codes to indicate success: http.StatusOK
	Get func(ctx context.Context, resourceName string, scope string, options *armquota.UsagesClientGetOptions) (resp azfake.Responder[armquota.UsagesClientGetResponse], errResp azfake.ErrorResponder)

	// NewListPager is the fake for method UsagesClient.NewListPager
	// HTTP status codes to indicate success: http.StatusOK
	NewListPager func(scope string, options *armquota.UsagesClientListOptions) (resp azfake.PagerResponder[armquota.UsagesClientListResponse])
}

UsagesServer is a fake server for instances of the armquota.UsagesClient type.

type UsagesServerTransport

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

UsagesServerTransport connects instances of armquota.UsagesClient to instances of UsagesServer. Don't use this type directly, use NewUsagesServerTransport instead.

func NewUsagesServerTransport

func NewUsagesServerTransport(srv *UsagesServer) *UsagesServerTransport

NewUsagesServerTransport creates a new instance of UsagesServerTransport with the provided implementation. The returned UsagesServerTransport instance is connected to an instance of armquota.UsagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.

func (*UsagesServerTransport) Do

Do implements the policy.Transporter interface for UsagesServerTransport.

Jump to

Keyboard shortcuts

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