Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationsServer ¶
type OperationsServer struct { // List is the fake for method OperationsClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, options *armaddons.OperationsClientListOptions) (resp azfake.Responder[armaddons.OperationsClientListResponse], errResp azfake.ErrorResponder) }
OperationsServer is a fake server for instances of the armaddons.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armaddons.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 armaddons.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { OperationsServer OperationsServer SupportPlanTypesServer SupportPlanTypesServer }
ServerFactory is a fake server for instances of the armaddons.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armaddons.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 armaddons.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SupportPlanTypesServer ¶
type SupportPlanTypesServer struct { // BeginCreateOrUpdate is the fake for method SupportPlanTypesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusNotFound BeginCreateOrUpdate func(ctx context.Context, providerName string, planTypeName armaddons.PlanTypeName, options *armaddons.SupportPlanTypesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armaddons.SupportPlanTypesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method SupportPlanTypesClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, providerName string, planTypeName armaddons.PlanTypeName, options *armaddons.SupportPlanTypesClientBeginDeleteOptions) (resp azfake.PollerResponder[armaddons.SupportPlanTypesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method SupportPlanTypesClient.Get // HTTP status codes to indicate success: http.StatusOK, http.StatusNotFound Get func(ctx context.Context, providerName string, planTypeName armaddons.PlanTypeName, options *armaddons.SupportPlanTypesClientGetOptions) (resp azfake.Responder[armaddons.SupportPlanTypesClientGetResponse], errResp azfake.ErrorResponder) // ListInfo is the fake for method SupportPlanTypesClient.ListInfo // HTTP status codes to indicate success: http.StatusOK, http.StatusNotFound ListInfo func(ctx context.Context, options *armaddons.SupportPlanTypesClientListInfoOptions) (resp azfake.Responder[armaddons.SupportPlanTypesClientListInfoResponse], errResp azfake.ErrorResponder) }
SupportPlanTypesServer is a fake server for instances of the armaddons.SupportPlanTypesClient type.
type SupportPlanTypesServerTransport ¶
type SupportPlanTypesServerTransport struct {
// contains filtered or unexported fields
}
SupportPlanTypesServerTransport connects instances of armaddons.SupportPlanTypesClient to instances of SupportPlanTypesServer. Don't use this type directly, use NewSupportPlanTypesServerTransport instead.
func NewSupportPlanTypesServerTransport ¶
func NewSupportPlanTypesServerTransport(srv *SupportPlanTypesServer) *SupportPlanTypesServerTransport
NewSupportPlanTypesServerTransport creates a new instance of SupportPlanTypesServerTransport with the provided implementation. The returned SupportPlanTypesServerTransport instance is connected to an instance of armaddons.SupportPlanTypesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.