Documentation ¶
Index ¶
- type AliasServer
- type AliasServerTransport
- type BillingAccountServer
- type BillingAccountServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PolicyServer
- type PolicyServerTransport
- type Server
- type ServerFactory
- type ServerFactoryTransport
- type ServerTransport
- type SubscriptionsServer
- type SubscriptionsServerTransport
- type TenantsServer
- type TenantsServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasServer ¶
type AliasServer struct { // BeginCreate is the fake for method AliasClient.BeginCreate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreate func(ctx context.Context, aliasName string, body armsubscription.PutAliasRequest, options *armsubscription.AliasClientBeginCreateOptions) (resp azfake.PollerResponder[armsubscription.AliasClientCreateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method AliasClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, aliasName string, options *armsubscription.AliasClientDeleteOptions) (resp azfake.Responder[armsubscription.AliasClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method AliasClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, aliasName string, options *armsubscription.AliasClientGetOptions) (resp azfake.Responder[armsubscription.AliasClientGetResponse], errResp azfake.ErrorResponder) // List is the fake for method AliasClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, options *armsubscription.AliasClientListOptions) (resp azfake.Responder[armsubscription.AliasClientListResponse], errResp azfake.ErrorResponder) }
AliasServer is a fake server for instances of the armsubscription.AliasClient type.
type AliasServerTransport ¶
type AliasServerTransport struct {
// contains filtered or unexported fields
}
AliasServerTransport connects instances of armsubscription.AliasClient to instances of AliasServer. Don't use this type directly, use NewAliasServerTransport instead.
func NewAliasServerTransport ¶
func NewAliasServerTransport(srv *AliasServer) *AliasServerTransport
NewAliasServerTransport creates a new instance of AliasServerTransport with the provided implementation. The returned AliasServerTransport instance is connected to an instance of armsubscription.AliasClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type BillingAccountServer ¶
type BillingAccountServer struct { // GetPolicy is the fake for method BillingAccountClient.GetPolicy // HTTP status codes to indicate success: http.StatusOK GetPolicy func(ctx context.Context, billingAccountID string, options *armsubscription.BillingAccountClientGetPolicyOptions) (resp azfake.Responder[armsubscription.BillingAccountClientGetPolicyResponse], errResp azfake.ErrorResponder) }
BillingAccountServer is a fake server for instances of the armsubscription.BillingAccountClient type.
type BillingAccountServerTransport ¶
type BillingAccountServerTransport struct {
// contains filtered or unexported fields
}
BillingAccountServerTransport connects instances of armsubscription.BillingAccountClient to instances of BillingAccountServer. Don't use this type directly, use NewBillingAccountServerTransport instead.
func NewBillingAccountServerTransport ¶
func NewBillingAccountServerTransport(srv *BillingAccountServer) *BillingAccountServerTransport
NewBillingAccountServerTransport creates a new instance of BillingAccountServerTransport with the provided implementation. The returned BillingAccountServerTransport instance is connected to an instance of armsubscription.BillingAccountClient 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 *armsubscription.OperationsClientListOptions) (resp azfake.PagerResponder[armsubscription.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armsubscription.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armsubscription.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 armsubscription.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PolicyServer ¶
type PolicyServer struct { // AddUpdatePolicyForTenant is the fake for method PolicyClient.AddUpdatePolicyForTenant // HTTP status codes to indicate success: http.StatusOK AddUpdatePolicyForTenant func(ctx context.Context, body armsubscription.PutTenantPolicyRequestProperties, options *armsubscription.PolicyClientAddUpdatePolicyForTenantOptions) (resp azfake.Responder[armsubscription.PolicyClientAddUpdatePolicyForTenantResponse], errResp azfake.ErrorResponder) // GetPolicyForTenant is the fake for method PolicyClient.GetPolicyForTenant // HTTP status codes to indicate success: http.StatusOK GetPolicyForTenant func(ctx context.Context, options *armsubscription.PolicyClientGetPolicyForTenantOptions) (resp azfake.Responder[armsubscription.PolicyClientGetPolicyForTenantResponse], errResp azfake.ErrorResponder) // NewListPolicyForTenantPager is the fake for method PolicyClient.NewListPolicyForTenantPager // HTTP status codes to indicate success: http.StatusOK NewListPolicyForTenantPager func(options *armsubscription.PolicyClientListPolicyForTenantOptions) (resp azfake.PagerResponder[armsubscription.PolicyClientListPolicyForTenantResponse]) }
PolicyServer is a fake server for instances of the armsubscription.PolicyClient type.
type PolicyServerTransport ¶
type PolicyServerTransport struct {
// contains filtered or unexported fields
}
PolicyServerTransport connects instances of armsubscription.PolicyClient to instances of PolicyServer. Don't use this type directly, use NewPolicyServerTransport instead.
func NewPolicyServerTransport ¶
func NewPolicyServerTransport(srv *PolicyServer) *PolicyServerTransport
NewPolicyServerTransport creates a new instance of PolicyServerTransport with the provided implementation. The returned PolicyServerTransport instance is connected to an instance of armsubscription.PolicyClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type Server ¶
type Server struct { // BeginAcceptOwnership is the fake for method Client.BeginAcceptOwnership // HTTP status codes to indicate success: http.StatusAccepted BeginAcceptOwnership func(ctx context.Context, subscriptionID string, body armsubscription.AcceptOwnershipRequest, options *armsubscription.ClientBeginAcceptOwnershipOptions) (resp azfake.PollerResponder[armsubscription.ClientAcceptOwnershipResponse], errResp azfake.ErrorResponder) // AcceptOwnershipStatus is the fake for method Client.AcceptOwnershipStatus // HTTP status codes to indicate success: http.StatusOK AcceptOwnershipStatus func(ctx context.Context, subscriptionID string, options *armsubscription.ClientAcceptOwnershipStatusOptions) (resp azfake.Responder[armsubscription.ClientAcceptOwnershipStatusResponse], errResp azfake.ErrorResponder) // Cancel is the fake for method Client.Cancel // HTTP status codes to indicate success: http.StatusOK Cancel func(ctx context.Context, subscriptionID string, options *armsubscription.ClientCancelOptions) (resp azfake.Responder[armsubscription.ClientCancelResponse], errResp azfake.ErrorResponder) // Enable is the fake for method Client.Enable // HTTP status codes to indicate success: http.StatusOK Enable func(ctx context.Context, subscriptionID string, options *armsubscription.ClientEnableOptions) (resp azfake.Responder[armsubscription.ClientEnableResponse], errResp azfake.ErrorResponder) // Rename is the fake for method Client.Rename // HTTP status codes to indicate success: http.StatusOK Rename func(ctx context.Context, subscriptionID string, body armsubscription.Name, options *armsubscription.ClientRenameOptions) (resp azfake.Responder[armsubscription.ClientRenameResponse], errResp azfake.ErrorResponder) }
Server is a fake server for instances of the armsubscription.Client type.
type ServerFactory ¶
type ServerFactory struct { AliasServer AliasServer BillingAccountServer BillingAccountServer Server Server OperationsServer OperationsServer PolicyServer PolicyServer SubscriptionsServer SubscriptionsServer TenantsServer TenantsServer }
ServerFactory is a fake server for instances of the armsubscription.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armsubscription.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 armsubscription.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 armsubscription.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 armsubscription.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SubscriptionsServer ¶
type SubscriptionsServer struct { // Get is the fake for method SubscriptionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, subscriptionID string, options *armsubscription.SubscriptionsClientGetOptions) (resp azfake.Responder[armsubscription.SubscriptionsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method SubscriptionsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armsubscription.SubscriptionsClientListOptions) (resp azfake.PagerResponder[armsubscription.SubscriptionsClientListResponse]) // NewListLocationsPager is the fake for method SubscriptionsClient.NewListLocationsPager // HTTP status codes to indicate success: http.StatusOK NewListLocationsPager func(subscriptionID string, options *armsubscription.SubscriptionsClientListLocationsOptions) (resp azfake.PagerResponder[armsubscription.SubscriptionsClientListLocationsResponse]) }
SubscriptionsServer is a fake server for instances of the armsubscription.SubscriptionsClient type.
type SubscriptionsServerTransport ¶
type SubscriptionsServerTransport struct {
// contains filtered or unexported fields
}
SubscriptionsServerTransport connects instances of armsubscription.SubscriptionsClient to instances of SubscriptionsServer. Don't use this type directly, use NewSubscriptionsServerTransport instead.
func NewSubscriptionsServerTransport ¶
func NewSubscriptionsServerTransport(srv *SubscriptionsServer) *SubscriptionsServerTransport
NewSubscriptionsServerTransport creates a new instance of SubscriptionsServerTransport with the provided implementation. The returned SubscriptionsServerTransport instance is connected to an instance of armsubscription.SubscriptionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type TenantsServer ¶
type TenantsServer struct { // NewListPager is the fake for method TenantsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armsubscription.TenantsClientListOptions) (resp azfake.PagerResponder[armsubscription.TenantsClientListResponse]) }
TenantsServer is a fake server for instances of the armsubscription.TenantsClient type.
type TenantsServerTransport ¶
type TenantsServerTransport struct {
// contains filtered or unexported fields
}
TenantsServerTransport connects instances of armsubscription.TenantsClient to instances of TenantsServer. Don't use this type directly, use NewTenantsServerTransport instead.
func NewTenantsServerTransport ¶
func NewTenantsServerTransport(srv *TenantsServer) *TenantsServerTransport
NewTenantsServerTransport creates a new instance of TenantsServerTransport with the provided implementation. The returned TenantsServerTransport instance is connected to an instance of armsubscription.TenantsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.