Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarketplaceAgreementsServer ¶
type MarketplaceAgreementsServer struct { // Cancel is the fake for method MarketplaceAgreementsClient.Cancel // HTTP status codes to indicate success: http.StatusOK Cancel func(ctx context.Context, publisherID string, offerID string, planID string, options *armmarketplaceordering.MarketplaceAgreementsClientCancelOptions) (resp azfake.Responder[armmarketplaceordering.MarketplaceAgreementsClientCancelResponse], errResp azfake.ErrorResponder) // Create is the fake for method MarketplaceAgreementsClient.Create // HTTP status codes to indicate success: http.StatusOK Create func(ctx context.Context, offerType armmarketplaceordering.OfferType, publisherID string, offerID string, planID string, parameters armmarketplaceordering.AgreementTerms, options *armmarketplaceordering.MarketplaceAgreementsClientCreateOptions) (resp azfake.Responder[armmarketplaceordering.MarketplaceAgreementsClientCreateResponse], errResp azfake.ErrorResponder) // Get is the fake for method MarketplaceAgreementsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, offerType armmarketplaceordering.OfferType, publisherID string, offerID string, planID string, options *armmarketplaceordering.MarketplaceAgreementsClientGetOptions) (resp azfake.Responder[armmarketplaceordering.MarketplaceAgreementsClientGetResponse], errResp azfake.ErrorResponder) // GetAgreement is the fake for method MarketplaceAgreementsClient.GetAgreement // HTTP status codes to indicate success: http.StatusOK GetAgreement func(ctx context.Context, publisherID string, offerID string, planID string, options *armmarketplaceordering.MarketplaceAgreementsClientGetAgreementOptions) (resp azfake.Responder[armmarketplaceordering.MarketplaceAgreementsClientGetAgreementResponse], errResp azfake.ErrorResponder) // List is the fake for method MarketplaceAgreementsClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, options *armmarketplaceordering.MarketplaceAgreementsClientListOptions) (resp azfake.Responder[armmarketplaceordering.MarketplaceAgreementsClientListResponse], errResp azfake.ErrorResponder) // Sign is the fake for method MarketplaceAgreementsClient.Sign // HTTP status codes to indicate success: http.StatusOK Sign func(ctx context.Context, publisherID string, offerID string, planID string, options *armmarketplaceordering.MarketplaceAgreementsClientSignOptions) (resp azfake.Responder[armmarketplaceordering.MarketplaceAgreementsClientSignResponse], errResp azfake.ErrorResponder) }
MarketplaceAgreementsServer is a fake server for instances of the armmarketplaceordering.MarketplaceAgreementsClient type.
type MarketplaceAgreementsServerTransport ¶
type MarketplaceAgreementsServerTransport struct {
// contains filtered or unexported fields
}
MarketplaceAgreementsServerTransport connects instances of armmarketplaceordering.MarketplaceAgreementsClient to instances of MarketplaceAgreementsServer. Don't use this type directly, use NewMarketplaceAgreementsServerTransport instead.
func NewMarketplaceAgreementsServerTransport ¶
func NewMarketplaceAgreementsServerTransport(srv *MarketplaceAgreementsServer) *MarketplaceAgreementsServerTransport
NewMarketplaceAgreementsServerTransport creates a new instance of MarketplaceAgreementsServerTransport with the provided implementation. The returned MarketplaceAgreementsServerTransport instance is connected to an instance of armmarketplaceordering.MarketplaceAgreementsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationsServer ¶
type OperationsServer struct { // NewListPager is the fake for method OperationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armmarketplaceordering.OperationsClientListOptions) (resp azfake.PagerResponder[armmarketplaceordering.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armmarketplaceordering.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armmarketplaceordering.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 armmarketplaceordering.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { MarketplaceAgreementsServer MarketplaceAgreementsServer OperationsServer OperationsServer }
ServerFactory is a fake server for instances of the armmarketplaceordering.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armmarketplaceordering.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 armmarketplaceordering.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.