Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationOperationsServer ¶
type AuthorizationOperationsServer struct { // NewListPager is the fake for method AuthorizationOperationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armlocks.AuthorizationOperationsClientListOptions) (resp azfake.PagerResponder[armlocks.AuthorizationOperationsClientListResponse]) }
AuthorizationOperationsServer is a fake server for instances of the armlocks.AuthorizationOperationsClient type.
type AuthorizationOperationsServerTransport ¶
type AuthorizationOperationsServerTransport struct {
// contains filtered or unexported fields
}
AuthorizationOperationsServerTransport connects instances of armlocks.AuthorizationOperationsClient to instances of AuthorizationOperationsServer. Don't use this type directly, use NewAuthorizationOperationsServerTransport instead.
func NewAuthorizationOperationsServerTransport ¶
func NewAuthorizationOperationsServerTransport(srv *AuthorizationOperationsServer) *AuthorizationOperationsServerTransport
NewAuthorizationOperationsServerTransport creates a new instance of AuthorizationOperationsServerTransport with the provided implementation. The returned AuthorizationOperationsServerTransport instance is connected to an instance of armlocks.AuthorizationOperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ManagementLocksServer ¶
type ManagementLocksServer struct { // CreateOrUpdateAtResourceGroupLevel is the fake for method ManagementLocksClient.CreateOrUpdateAtResourceGroupLevel // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdateAtResourceGroupLevel func(ctx context.Context, resourceGroupName string, lockName string, parameters armlocks.ManagementLockObject, options *armlocks.ManagementLocksClientCreateOrUpdateAtResourceGroupLevelOptions) (resp azfake.Responder[armlocks.ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResponse], errResp azfake.ErrorResponder) // CreateOrUpdateAtResourceLevel is the fake for method ManagementLocksClient.CreateOrUpdateAtResourceLevel // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdateAtResourceLevel func(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string, parameters armlocks.ManagementLockObject, options *armlocks.ManagementLocksClientCreateOrUpdateAtResourceLevelOptions) (resp azfake.Responder[armlocks.ManagementLocksClientCreateOrUpdateAtResourceLevelResponse], errResp azfake.ErrorResponder) // CreateOrUpdateAtSubscriptionLevel is the fake for method ManagementLocksClient.CreateOrUpdateAtSubscriptionLevel // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdateAtSubscriptionLevel func(ctx context.Context, lockName string, parameters armlocks.ManagementLockObject, options *armlocks.ManagementLocksClientCreateOrUpdateAtSubscriptionLevelOptions) (resp azfake.Responder[armlocks.ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResponse], errResp azfake.ErrorResponder) // CreateOrUpdateByScope is the fake for method ManagementLocksClient.CreateOrUpdateByScope // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdateByScope func(ctx context.Context, scope string, lockName string, parameters armlocks.ManagementLockObject, options *armlocks.ManagementLocksClientCreateOrUpdateByScopeOptions) (resp azfake.Responder[armlocks.ManagementLocksClientCreateOrUpdateByScopeResponse], errResp azfake.ErrorResponder) // DeleteAtResourceGroupLevel is the fake for method ManagementLocksClient.DeleteAtResourceGroupLevel // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent DeleteAtResourceGroupLevel func(ctx context.Context, resourceGroupName string, lockName string, options *armlocks.ManagementLocksClientDeleteAtResourceGroupLevelOptions) (resp azfake.Responder[armlocks.ManagementLocksClientDeleteAtResourceGroupLevelResponse], errResp azfake.ErrorResponder) // DeleteAtResourceLevel is the fake for method ManagementLocksClient.DeleteAtResourceLevel // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent DeleteAtResourceLevel func(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string, options *armlocks.ManagementLocksClientDeleteAtResourceLevelOptions) (resp azfake.Responder[armlocks.ManagementLocksClientDeleteAtResourceLevelResponse], errResp azfake.ErrorResponder) // DeleteAtSubscriptionLevel is the fake for method ManagementLocksClient.DeleteAtSubscriptionLevel // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent DeleteAtSubscriptionLevel func(ctx context.Context, lockName string, options *armlocks.ManagementLocksClientDeleteAtSubscriptionLevelOptions) (resp azfake.Responder[armlocks.ManagementLocksClientDeleteAtSubscriptionLevelResponse], errResp azfake.ErrorResponder) // DeleteByScope is the fake for method ManagementLocksClient.DeleteByScope // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent DeleteByScope func(ctx context.Context, scope string, lockName string, options *armlocks.ManagementLocksClientDeleteByScopeOptions) (resp azfake.Responder[armlocks.ManagementLocksClientDeleteByScopeResponse], errResp azfake.ErrorResponder) // GetAtResourceGroupLevel is the fake for method ManagementLocksClient.GetAtResourceGroupLevel // HTTP status codes to indicate success: http.StatusOK GetAtResourceGroupLevel func(ctx context.Context, resourceGroupName string, lockName string, options *armlocks.ManagementLocksClientGetAtResourceGroupLevelOptions) (resp azfake.Responder[armlocks.ManagementLocksClientGetAtResourceGroupLevelResponse], errResp azfake.ErrorResponder) // GetAtResourceLevel is the fake for method ManagementLocksClient.GetAtResourceLevel // HTTP status codes to indicate success: http.StatusOK GetAtResourceLevel func(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string, options *armlocks.ManagementLocksClientGetAtResourceLevelOptions) (resp azfake.Responder[armlocks.ManagementLocksClientGetAtResourceLevelResponse], errResp azfake.ErrorResponder) // GetAtSubscriptionLevel is the fake for method ManagementLocksClient.GetAtSubscriptionLevel // HTTP status codes to indicate success: http.StatusOK GetAtSubscriptionLevel func(ctx context.Context, lockName string, options *armlocks.ManagementLocksClientGetAtSubscriptionLevelOptions) (resp azfake.Responder[armlocks.ManagementLocksClientGetAtSubscriptionLevelResponse], errResp azfake.ErrorResponder) // GetByScope is the fake for method ManagementLocksClient.GetByScope // HTTP status codes to indicate success: http.StatusOK GetByScope func(ctx context.Context, scope string, lockName string, options *armlocks.ManagementLocksClientGetByScopeOptions) (resp azfake.Responder[armlocks.ManagementLocksClientGetByScopeResponse], errResp azfake.ErrorResponder) // NewListAtResourceGroupLevelPager is the fake for method ManagementLocksClient.NewListAtResourceGroupLevelPager // HTTP status codes to indicate success: http.StatusOK NewListAtResourceGroupLevelPager func(resourceGroupName string, options *armlocks.ManagementLocksClientListAtResourceGroupLevelOptions) (resp azfake.PagerResponder[armlocks.ManagementLocksClientListAtResourceGroupLevelResponse]) // NewListAtResourceLevelPager is the fake for method ManagementLocksClient.NewListAtResourceLevelPager // HTTP status codes to indicate success: http.StatusOK NewListAtResourceLevelPager func(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, options *armlocks.ManagementLocksClientListAtResourceLevelOptions) (resp azfake.PagerResponder[armlocks.ManagementLocksClientListAtResourceLevelResponse]) // NewListAtSubscriptionLevelPager is the fake for method ManagementLocksClient.NewListAtSubscriptionLevelPager // HTTP status codes to indicate success: http.StatusOK NewListAtSubscriptionLevelPager func(options *armlocks.ManagementLocksClientListAtSubscriptionLevelOptions) (resp azfake.PagerResponder[armlocks.ManagementLocksClientListAtSubscriptionLevelResponse]) // NewListByScopePager is the fake for method ManagementLocksClient.NewListByScopePager // HTTP status codes to indicate success: http.StatusOK NewListByScopePager func(scope string, options *armlocks.ManagementLocksClientListByScopeOptions) (resp azfake.PagerResponder[armlocks.ManagementLocksClientListByScopeResponse]) }
ManagementLocksServer is a fake server for instances of the armlocks.ManagementLocksClient type.
type ManagementLocksServerTransport ¶
type ManagementLocksServerTransport struct {
// contains filtered or unexported fields
}
ManagementLocksServerTransport connects instances of armlocks.ManagementLocksClient to instances of ManagementLocksServer. Don't use this type directly, use NewManagementLocksServerTransport instead.
func NewManagementLocksServerTransport ¶
func NewManagementLocksServerTransport(srv *ManagementLocksServer) *ManagementLocksServerTransport
NewManagementLocksServerTransport creates a new instance of ManagementLocksServerTransport with the provided implementation. The returned ManagementLocksServerTransport instance is connected to an instance of armlocks.ManagementLocksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { AuthorizationOperationsServer AuthorizationOperationsServer ManagementLocksServer ManagementLocksServer }
ServerFactory is a fake server for instances of the armlocks.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armlocks.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 armlocks.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.