Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.
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.
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 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.
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.
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.