Documentation ¶
Index ¶
- type ApplicationsServer
- type ApplicationsServerTransport
- type OperationServer
- type OperationServerTransport
- type OperationsServer
- type OperationsServerTransport
- type ResourcesServer
- type ResourcesServerTransport
- type Server
- type ServerFactory
- type ServerFactoryTransport
- type ServerTransport
- type SubscriptionLevelServer
- type SubscriptionLevelServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationsServer ¶
type ApplicationsServer struct { // NewListPager is the fake for method ApplicationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, options *armsaas.ApplicationsClientListOptions) (resp azfake.PagerResponder[armsaas.ApplicationsClientListResponse]) }
ApplicationsServer is a fake server for instances of the armsaas.ApplicationsClient type.
type ApplicationsServerTransport ¶
type ApplicationsServerTransport struct {
// contains filtered or unexported fields
}
ApplicationsServerTransport connects instances of armsaas.ApplicationsClient to instances of ApplicationsServer. Don't use this type directly, use NewApplicationsServerTransport instead.
func NewApplicationsServerTransport ¶
func NewApplicationsServerTransport(srv *ApplicationsServer) *ApplicationsServerTransport
NewApplicationsServerTransport creates a new instance of ApplicationsServerTransport with the provided implementation. The returned ApplicationsServerTransport instance is connected to an instance of armsaas.ApplicationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationServer ¶
type OperationServer struct { // BeginGet is the fake for method OperationClient.BeginGet // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginGet func(ctx context.Context, operationID string, options *armsaas.OperationClientBeginGetOptions) (resp azfake.PollerResponder[armsaas.OperationClientGetResponse], errResp azfake.ErrorResponder) }
OperationServer is a fake server for instances of the armsaas.OperationClient type.
type OperationServerTransport ¶
type OperationServerTransport struct {
// contains filtered or unexported fields
}
OperationServerTransport connects instances of armsaas.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 armsaas.OperationClient 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 *armsaas.OperationsClientListOptions) (resp azfake.PagerResponder[armsaas.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armsaas.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armsaas.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 armsaas.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ResourcesServer ¶
type ResourcesServer struct { // NewListPager is the fake for method ResourcesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armsaas.ResourcesClientListOptions) (resp azfake.PagerResponder[armsaas.ResourcesClientListResponse]) // ListAccessToken is the fake for method ResourcesClient.ListAccessToken // HTTP status codes to indicate success: http.StatusOK ListAccessToken func(ctx context.Context, resourceID string, options *armsaas.ResourcesClientListAccessTokenOptions) (resp azfake.Responder[armsaas.ResourcesClientListAccessTokenResponse], errResp azfake.ErrorResponder) }
ResourcesServer is a fake server for instances of the armsaas.ResourcesClient type.
type ResourcesServerTransport ¶
type ResourcesServerTransport struct {
// contains filtered or unexported fields
}
ResourcesServerTransport connects instances of armsaas.ResourcesClient to instances of ResourcesServer. Don't use this type directly, use NewResourcesServerTransport instead.
func NewResourcesServerTransport ¶
func NewResourcesServerTransport(srv *ResourcesServer) *ResourcesServerTransport
NewResourcesServerTransport creates a new instance of ResourcesServerTransport with the provided implementation. The returned ResourcesServerTransport instance is connected to an instance of armsaas.ResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type Server ¶
type Server struct { // BeginCreateResource is the fake for method Client.BeginCreateResource // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateResource func(ctx context.Context, parameters armsaas.ResourceCreation, options *armsaas.ClientBeginCreateResourceOptions) (resp azfake.PollerResponder[armsaas.ClientCreateResourceResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method Client.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent BeginDelete func(ctx context.Context, resourceID string, parameters armsaas.DeleteOptions, options *armsaas.ClientBeginDeleteOptions) (resp azfake.PollerResponder[armsaas.ClientDeleteResponse], errResp azfake.ErrorResponder) // GetResource is the fake for method Client.GetResource // HTTP status codes to indicate success: http.StatusOK GetResource func(ctx context.Context, resourceID string, options *armsaas.ClientGetResourceOptions) (resp azfake.Responder[armsaas.ClientGetResourceResponse], errResp azfake.ErrorResponder) // BeginUpdateResource is the fake for method Client.BeginUpdateResource // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginUpdateResource func(ctx context.Context, resourceID string, parameters armsaas.ResourceCreation, options *armsaas.ClientBeginUpdateResourceOptions) (resp azfake.PollerResponder[armsaas.ClientUpdateResourceResponse], errResp azfake.ErrorResponder) }
Server is a fake server for instances of the armsaas.Client type.
type ServerFactory ¶
type ServerFactory struct { ApplicationsServer ApplicationsServer Server Server OperationServer OperationServer OperationsServer OperationsServer ResourcesServer ResourcesServer SubscriptionLevelServer SubscriptionLevelServer }
ServerFactory is a fake server for instances of the armsaas.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armsaas.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 armsaas.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 armsaas.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 armsaas.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SubscriptionLevelServer ¶
type SubscriptionLevelServer struct { // BeginCreateOrUpdate is the fake for method SubscriptionLevelClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceName string, parameters armsaas.ResourceCreation, options *armsaas.SubscriptionLevelClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armsaas.SubscriptionLevelClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method SubscriptionLevelClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, resourceName string, options *armsaas.SubscriptionLevelClientBeginDeleteOptions) (resp azfake.PollerResponder[armsaas.SubscriptionLevelClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method SubscriptionLevelClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceName string, options *armsaas.SubscriptionLevelClientGetOptions) (resp azfake.Responder[armsaas.SubscriptionLevelClientGetResponse], errResp azfake.ErrorResponder) // ListAccessToken is the fake for method SubscriptionLevelClient.ListAccessToken // HTTP status codes to indicate success: http.StatusOK ListAccessToken func(ctx context.Context, resourceGroupName string, resourceName string, options *armsaas.SubscriptionLevelClientListAccessTokenOptions) (resp azfake.Responder[armsaas.SubscriptionLevelClientListAccessTokenResponse], errResp azfake.ErrorResponder) // NewListByAzureSubscriptionPager is the fake for method SubscriptionLevelClient.NewListByAzureSubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListByAzureSubscriptionPager func(options *armsaas.SubscriptionLevelClientListByAzureSubscriptionOptions) (resp azfake.PagerResponder[armsaas.SubscriptionLevelClientListByAzureSubscriptionResponse]) // NewListByResourceGroupPager is the fake for method SubscriptionLevelClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armsaas.SubscriptionLevelClientListByResourceGroupOptions) (resp azfake.PagerResponder[armsaas.SubscriptionLevelClientListByResourceGroupResponse]) // BeginMoveResources is the fake for method SubscriptionLevelClient.BeginMoveResources // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginMoveResources func(ctx context.Context, resourceGroupName string, moveResourceParameter armsaas.MoveResource, options *armsaas.SubscriptionLevelClientBeginMoveResourcesOptions) (resp azfake.PollerResponder[armsaas.SubscriptionLevelClientMoveResourcesResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method SubscriptionLevelClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginUpdate func(ctx context.Context, resourceGroupName string, resourceName string, parameters armsaas.ResourceCreation, options *armsaas.SubscriptionLevelClientBeginUpdateOptions) (resp azfake.PollerResponder[armsaas.SubscriptionLevelClientUpdateResponse], errResp azfake.ErrorResponder) // BeginUpdateToUnsubscribed is the fake for method SubscriptionLevelClient.BeginUpdateToUnsubscribed // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginUpdateToUnsubscribed func(ctx context.Context, resourceGroupName string, resourceName string, parameters armsaas.DeleteOptions, options *armsaas.SubscriptionLevelClientBeginUpdateToUnsubscribedOptions) (resp azfake.PollerResponder[armsaas.SubscriptionLevelClientUpdateToUnsubscribedResponse], errResp azfake.ErrorResponder) // ValidateMoveResources is the fake for method SubscriptionLevelClient.ValidateMoveResources // HTTP status codes to indicate success: http.StatusOK ValidateMoveResources func(ctx context.Context, resourceGroupName string, moveResourceParameter armsaas.MoveResource, options *armsaas.SubscriptionLevelClientValidateMoveResourcesOptions) (resp azfake.Responder[armsaas.SubscriptionLevelClientValidateMoveResourcesResponse], errResp azfake.ErrorResponder) }
SubscriptionLevelServer is a fake server for instances of the armsaas.SubscriptionLevelClient type.
type SubscriptionLevelServerTransport ¶
type SubscriptionLevelServerTransport struct {
// contains filtered or unexported fields
}
SubscriptionLevelServerTransport connects instances of armsaas.SubscriptionLevelClient to instances of SubscriptionLevelServer. Don't use this type directly, use NewSubscriptionLevelServerTransport instead.
func NewSubscriptionLevelServerTransport ¶
func NewSubscriptionLevelServerTransport(srv *SubscriptionLevelServer) *SubscriptionLevelServerTransport
NewSubscriptionLevelServerTransport creates a new instance of SubscriptionLevelServerTransport with the provided implementation. The returned SubscriptionLevelServerTransport instance is connected to an instance of armsaas.SubscriptionLevelClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.