Documentation ¶
Index ¶
- type KeysServer
- type KeysServerTransport
- type MHSMPrivateEndpointConnectionsServer
- type MHSMPrivateEndpointConnectionsServerTransport
- type MHSMPrivateLinkResourcesServer
- type MHSMPrivateLinkResourcesServerTransport
- type MHSMRegionsServer
- type MHSMRegionsServerTransport
- type ManagedHsmKeysServer
- type ManagedHsmKeysServerTransport
- type ManagedHsmsServer
- type ManagedHsmsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrivateEndpointConnectionsServer
- type PrivateEndpointConnectionsServerTransport
- type PrivateLinkResourcesServer
- type PrivateLinkResourcesServerTransport
- type SecretsServer
- type SecretsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type VaultsServer
- type VaultsServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeysServer ¶
type KeysServer struct { // CreateIfNotExist is the fake for method KeysClient.CreateIfNotExist // HTTP status codes to indicate success: http.StatusOK CreateIfNotExist func(ctx context.Context, resourceGroupName string, vaultName string, keyName string, parameters armkeyvault.KeyCreateParameters, options *armkeyvault.KeysClientCreateIfNotExistOptions) (resp azfake.Responder[armkeyvault.KeysClientCreateIfNotExistResponse], errResp azfake.ErrorResponder) // Get is the fake for method KeysClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, vaultName string, keyName string, options *armkeyvault.KeysClientGetOptions) (resp azfake.Responder[armkeyvault.KeysClientGetResponse], errResp azfake.ErrorResponder) // GetVersion is the fake for method KeysClient.GetVersion // HTTP status codes to indicate success: http.StatusOK GetVersion func(ctx context.Context, resourceGroupName string, vaultName string, keyName string, keyVersion string, options *armkeyvault.KeysClientGetVersionOptions) (resp azfake.Responder[armkeyvault.KeysClientGetVersionResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method KeysClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, vaultName string, options *armkeyvault.KeysClientListOptions) (resp azfake.PagerResponder[armkeyvault.KeysClientListResponse]) // NewListVersionsPager is the fake for method KeysClient.NewListVersionsPager // HTTP status codes to indicate success: http.StatusOK NewListVersionsPager func(resourceGroupName string, vaultName string, keyName string, options *armkeyvault.KeysClientListVersionsOptions) (resp azfake.PagerResponder[armkeyvault.KeysClientListVersionsResponse]) }
KeysServer is a fake server for instances of the armkeyvault.KeysClient type.
type KeysServerTransport ¶
type KeysServerTransport struct {
// contains filtered or unexported fields
}
KeysServerTransport connects instances of armkeyvault.KeysClient to instances of KeysServer. Don't use this type directly, use NewKeysServerTransport instead.
func NewKeysServerTransport ¶
func NewKeysServerTransport(srv *KeysServer) *KeysServerTransport
NewKeysServerTransport creates a new instance of KeysServerTransport with the provided implementation. The returned KeysServerTransport instance is connected to an instance of armkeyvault.KeysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type MHSMPrivateEndpointConnectionsServer ¶
type MHSMPrivateEndpointConnectionsServer struct { // BeginDelete is the fake for method MHSMPrivateEndpointConnectionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *armkeyvault.MHSMPrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armkeyvault.MHSMPrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method MHSMPrivateEndpointConnectionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, options *armkeyvault.MHSMPrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armkeyvault.MHSMPrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourcePager is the fake for method MHSMPrivateEndpointConnectionsClient.NewListByResourcePager // HTTP status codes to indicate success: http.StatusOK NewListByResourcePager func(resourceGroupName string, name string, options *armkeyvault.MHSMPrivateEndpointConnectionsClientListByResourceOptions) (resp azfake.PagerResponder[armkeyvault.MHSMPrivateEndpointConnectionsClientListByResourceResponse]) // Put is the fake for method MHSMPrivateEndpointConnectionsClient.Put // HTTP status codes to indicate success: http.StatusOK Put func(ctx context.Context, resourceGroupName string, name string, privateEndpointConnectionName string, properties armkeyvault.MHSMPrivateEndpointConnection, options *armkeyvault.MHSMPrivateEndpointConnectionsClientPutOptions) (resp azfake.Responder[armkeyvault.MHSMPrivateEndpointConnectionsClientPutResponse], errResp azfake.ErrorResponder) }
MHSMPrivateEndpointConnectionsServer is a fake server for instances of the armkeyvault.MHSMPrivateEndpointConnectionsClient type.
type MHSMPrivateEndpointConnectionsServerTransport ¶
type MHSMPrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
MHSMPrivateEndpointConnectionsServerTransport connects instances of armkeyvault.MHSMPrivateEndpointConnectionsClient to instances of MHSMPrivateEndpointConnectionsServer. Don't use this type directly, use NewMHSMPrivateEndpointConnectionsServerTransport instead.
func NewMHSMPrivateEndpointConnectionsServerTransport ¶
func NewMHSMPrivateEndpointConnectionsServerTransport(srv *MHSMPrivateEndpointConnectionsServer) *MHSMPrivateEndpointConnectionsServerTransport
NewMHSMPrivateEndpointConnectionsServerTransport creates a new instance of MHSMPrivateEndpointConnectionsServerTransport with the provided implementation. The returned MHSMPrivateEndpointConnectionsServerTransport instance is connected to an instance of armkeyvault.MHSMPrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type MHSMPrivateLinkResourcesServer ¶
type MHSMPrivateLinkResourcesServer struct { // ListByMHSMResource is the fake for method MHSMPrivateLinkResourcesClient.ListByMHSMResource // HTTP status codes to indicate success: http.StatusOK ListByMHSMResource func(ctx context.Context, resourceGroupName string, name string, options *armkeyvault.MHSMPrivateLinkResourcesClientListByMHSMResourceOptions) (resp azfake.Responder[armkeyvault.MHSMPrivateLinkResourcesClientListByMHSMResourceResponse], errResp azfake.ErrorResponder) }
MHSMPrivateLinkResourcesServer is a fake server for instances of the armkeyvault.MHSMPrivateLinkResourcesClient type.
type MHSMPrivateLinkResourcesServerTransport ¶
type MHSMPrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
MHSMPrivateLinkResourcesServerTransport connects instances of armkeyvault.MHSMPrivateLinkResourcesClient to instances of MHSMPrivateLinkResourcesServer. Don't use this type directly, use NewMHSMPrivateLinkResourcesServerTransport instead.
func NewMHSMPrivateLinkResourcesServerTransport ¶
func NewMHSMPrivateLinkResourcesServerTransport(srv *MHSMPrivateLinkResourcesServer) *MHSMPrivateLinkResourcesServerTransport
NewMHSMPrivateLinkResourcesServerTransport creates a new instance of MHSMPrivateLinkResourcesServerTransport with the provided implementation. The returned MHSMPrivateLinkResourcesServerTransport instance is connected to an instance of armkeyvault.MHSMPrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type MHSMRegionsServer ¶
type MHSMRegionsServer struct { // NewListByResourcePager is the fake for method MHSMRegionsClient.NewListByResourcePager // HTTP status codes to indicate success: http.StatusOK NewListByResourcePager func(resourceGroupName string, name string, options *armkeyvault.MHSMRegionsClientListByResourceOptions) (resp azfake.PagerResponder[armkeyvault.MHSMRegionsClientListByResourceResponse]) }
MHSMRegionsServer is a fake server for instances of the armkeyvault.MHSMRegionsClient type.
type MHSMRegionsServerTransport ¶
type MHSMRegionsServerTransport struct {
// contains filtered or unexported fields
}
MHSMRegionsServerTransport connects instances of armkeyvault.MHSMRegionsClient to instances of MHSMRegionsServer. Don't use this type directly, use NewMHSMRegionsServerTransport instead.
func NewMHSMRegionsServerTransport ¶
func NewMHSMRegionsServerTransport(srv *MHSMRegionsServer) *MHSMRegionsServerTransport
NewMHSMRegionsServerTransport creates a new instance of MHSMRegionsServerTransport with the provided implementation. The returned MHSMRegionsServerTransport instance is connected to an instance of armkeyvault.MHSMRegionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ManagedHsmKeysServer ¶
type ManagedHsmKeysServer struct { // CreateIfNotExist is the fake for method ManagedHsmKeysClient.CreateIfNotExist // HTTP status codes to indicate success: http.StatusOK CreateIfNotExist func(ctx context.Context, resourceGroupName string, name string, keyName string, parameters armkeyvault.ManagedHsmKeyCreateParameters, options *armkeyvault.ManagedHsmKeysClientCreateIfNotExistOptions) (resp azfake.Responder[armkeyvault.ManagedHsmKeysClientCreateIfNotExistResponse], errResp azfake.ErrorResponder) // Get is the fake for method ManagedHsmKeysClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, name string, keyName string, options *armkeyvault.ManagedHsmKeysClientGetOptions) (resp azfake.Responder[armkeyvault.ManagedHsmKeysClientGetResponse], errResp azfake.ErrorResponder) // GetVersion is the fake for method ManagedHsmKeysClient.GetVersion // HTTP status codes to indicate success: http.StatusOK GetVersion func(ctx context.Context, resourceGroupName string, name string, keyName string, keyVersion string, options *armkeyvault.ManagedHsmKeysClientGetVersionOptions) (resp azfake.Responder[armkeyvault.ManagedHsmKeysClientGetVersionResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ManagedHsmKeysClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, name string, options *armkeyvault.ManagedHsmKeysClientListOptions) (resp azfake.PagerResponder[armkeyvault.ManagedHsmKeysClientListResponse]) // NewListVersionsPager is the fake for method ManagedHsmKeysClient.NewListVersionsPager // HTTP status codes to indicate success: http.StatusOK NewListVersionsPager func(resourceGroupName string, name string, keyName string, options *armkeyvault.ManagedHsmKeysClientListVersionsOptions) (resp azfake.PagerResponder[armkeyvault.ManagedHsmKeysClientListVersionsResponse]) }
ManagedHsmKeysServer is a fake server for instances of the armkeyvault.ManagedHsmKeysClient type.
type ManagedHsmKeysServerTransport ¶
type ManagedHsmKeysServerTransport struct {
// contains filtered or unexported fields
}
ManagedHsmKeysServerTransport connects instances of armkeyvault.ManagedHsmKeysClient to instances of ManagedHsmKeysServer. Don't use this type directly, use NewManagedHsmKeysServerTransport instead.
func NewManagedHsmKeysServerTransport ¶
func NewManagedHsmKeysServerTransport(srv *ManagedHsmKeysServer) *ManagedHsmKeysServerTransport
NewManagedHsmKeysServerTransport creates a new instance of ManagedHsmKeysServerTransport with the provided implementation. The returned ManagedHsmKeysServerTransport instance is connected to an instance of armkeyvault.ManagedHsmKeysClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ManagedHsmsServer ¶
type ManagedHsmsServer struct { // CheckMhsmNameAvailability is the fake for method ManagedHsmsClient.CheckMhsmNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckMhsmNameAvailability func(ctx context.Context, mhsmName armkeyvault.CheckMhsmNameAvailabilityParameters, options *armkeyvault.ManagedHsmsClientCheckMhsmNameAvailabilityOptions) (resp azfake.Responder[armkeyvault.ManagedHsmsClientCheckMhsmNameAvailabilityResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method ManagedHsmsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, name string, parameters armkeyvault.ManagedHsm, options *armkeyvault.ManagedHsmsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkeyvault.ManagedHsmsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ManagedHsmsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, name string, options *armkeyvault.ManagedHsmsClientBeginDeleteOptions) (resp azfake.PollerResponder[armkeyvault.ManagedHsmsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ManagedHsmsClient.Get // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Get func(ctx context.Context, resourceGroupName string, name string, options *armkeyvault.ManagedHsmsClientGetOptions) (resp azfake.Responder[armkeyvault.ManagedHsmsClientGetResponse], errResp azfake.ErrorResponder) // GetDeleted is the fake for method ManagedHsmsClient.GetDeleted // HTTP status codes to indicate success: http.StatusOK GetDeleted func(ctx context.Context, name string, location string, options *armkeyvault.ManagedHsmsClientGetDeletedOptions) (resp azfake.Responder[armkeyvault.ManagedHsmsClientGetDeletedResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method ManagedHsmsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armkeyvault.ManagedHsmsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armkeyvault.ManagedHsmsClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method ManagedHsmsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armkeyvault.ManagedHsmsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armkeyvault.ManagedHsmsClientListBySubscriptionResponse]) // NewListDeletedPager is the fake for method ManagedHsmsClient.NewListDeletedPager // HTTP status codes to indicate success: http.StatusOK NewListDeletedPager func(options *armkeyvault.ManagedHsmsClientListDeletedOptions) (resp azfake.PagerResponder[armkeyvault.ManagedHsmsClientListDeletedResponse]) // BeginPurgeDeleted is the fake for method ManagedHsmsClient.BeginPurgeDeleted // HTTP status codes to indicate success: http.StatusAccepted BeginPurgeDeleted func(ctx context.Context, name string, location string, options *armkeyvault.ManagedHsmsClientBeginPurgeDeletedOptions) (resp azfake.PollerResponder[armkeyvault.ManagedHsmsClientPurgeDeletedResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method ManagedHsmsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, name string, parameters armkeyvault.ManagedHsm, options *armkeyvault.ManagedHsmsClientBeginUpdateOptions) (resp azfake.PollerResponder[armkeyvault.ManagedHsmsClientUpdateResponse], errResp azfake.ErrorResponder) }
ManagedHsmsServer is a fake server for instances of the armkeyvault.ManagedHsmsClient type.
type ManagedHsmsServerTransport ¶
type ManagedHsmsServerTransport struct {
// contains filtered or unexported fields
}
ManagedHsmsServerTransport connects instances of armkeyvault.ManagedHsmsClient to instances of ManagedHsmsServer. Don't use this type directly, use NewManagedHsmsServerTransport instead.
func NewManagedHsmsServerTransport ¶
func NewManagedHsmsServerTransport(srv *ManagedHsmsServer) *ManagedHsmsServerTransport
NewManagedHsmsServerTransport creates a new instance of ManagedHsmsServerTransport with the provided implementation. The returned ManagedHsmsServerTransport instance is connected to an instance of armkeyvault.ManagedHsmsClient 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 *armkeyvault.OperationsClientListOptions) (resp azfake.PagerResponder[armkeyvault.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armkeyvault.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armkeyvault.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 armkeyvault.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateEndpointConnectionsServer ¶
type PrivateEndpointConnectionsServer struct { // BeginDelete is the fake for method PrivateEndpointConnectionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, vaultName string, privateEndpointConnectionName string, options *armkeyvault.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armkeyvault.PrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method PrivateEndpointConnectionsClient.Get // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Get func(ctx context.Context, resourceGroupName string, vaultName string, privateEndpointConnectionName string, options *armkeyvault.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armkeyvault.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourcePager is the fake for method PrivateEndpointConnectionsClient.NewListByResourcePager // HTTP status codes to indicate success: http.StatusOK NewListByResourcePager func(resourceGroupName string, vaultName string, options *armkeyvault.PrivateEndpointConnectionsClientListByResourceOptions) (resp azfake.PagerResponder[armkeyvault.PrivateEndpointConnectionsClientListByResourceResponse]) // Put is the fake for method PrivateEndpointConnectionsClient.Put // HTTP status codes to indicate success: http.StatusOK Put func(ctx context.Context, resourceGroupName string, vaultName string, privateEndpointConnectionName string, properties armkeyvault.PrivateEndpointConnection, options *armkeyvault.PrivateEndpointConnectionsClientPutOptions) (resp azfake.Responder[armkeyvault.PrivateEndpointConnectionsClientPutResponse], errResp azfake.ErrorResponder) }
PrivateEndpointConnectionsServer is a fake server for instances of the armkeyvault.PrivateEndpointConnectionsClient type.
type PrivateEndpointConnectionsServerTransport ¶
type PrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsServerTransport connects instances of armkeyvault.PrivateEndpointConnectionsClient to instances of PrivateEndpointConnectionsServer. Don't use this type directly, use NewPrivateEndpointConnectionsServerTransport instead.
func NewPrivateEndpointConnectionsServerTransport ¶
func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport
NewPrivateEndpointConnectionsServerTransport creates a new instance of PrivateEndpointConnectionsServerTransport with the provided implementation. The returned PrivateEndpointConnectionsServerTransport instance is connected to an instance of armkeyvault.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateLinkResourcesServer ¶
type PrivateLinkResourcesServer struct { // ListByVault is the fake for method PrivateLinkResourcesClient.ListByVault // HTTP status codes to indicate success: http.StatusOK ListByVault func(ctx context.Context, resourceGroupName string, vaultName string, options *armkeyvault.PrivateLinkResourcesClientListByVaultOptions) (resp azfake.Responder[armkeyvault.PrivateLinkResourcesClientListByVaultResponse], errResp azfake.ErrorResponder) }
PrivateLinkResourcesServer is a fake server for instances of the armkeyvault.PrivateLinkResourcesClient type.
type PrivateLinkResourcesServerTransport ¶
type PrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
PrivateLinkResourcesServerTransport connects instances of armkeyvault.PrivateLinkResourcesClient to instances of PrivateLinkResourcesServer. Don't use this type directly, use NewPrivateLinkResourcesServerTransport instead.
func NewPrivateLinkResourcesServerTransport ¶
func NewPrivateLinkResourcesServerTransport(srv *PrivateLinkResourcesServer) *PrivateLinkResourcesServerTransport
NewPrivateLinkResourcesServerTransport creates a new instance of PrivateLinkResourcesServerTransport with the provided implementation. The returned PrivateLinkResourcesServerTransport instance is connected to an instance of armkeyvault.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SecretsServer ¶
type SecretsServer struct { // CreateOrUpdate is the fake for method SecretsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, vaultName string, secretName string, parameters armkeyvault.SecretCreateOrUpdateParameters, options *armkeyvault.SecretsClientCreateOrUpdateOptions) (resp azfake.Responder[armkeyvault.SecretsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Get is the fake for method SecretsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, vaultName string, secretName string, options *armkeyvault.SecretsClientGetOptions) (resp azfake.Responder[armkeyvault.SecretsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method SecretsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, vaultName string, options *armkeyvault.SecretsClientListOptions) (resp azfake.PagerResponder[armkeyvault.SecretsClientListResponse]) // Update is the fake for method SecretsClient.Update // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Update func(ctx context.Context, resourceGroupName string, vaultName string, secretName string, parameters armkeyvault.SecretPatchParameters, options *armkeyvault.SecretsClientUpdateOptions) (resp azfake.Responder[armkeyvault.SecretsClientUpdateResponse], errResp azfake.ErrorResponder) }
SecretsServer is a fake server for instances of the armkeyvault.SecretsClient type.
type SecretsServerTransport ¶
type SecretsServerTransport struct {
// contains filtered or unexported fields
}
SecretsServerTransport connects instances of armkeyvault.SecretsClient to instances of SecretsServer. Don't use this type directly, use NewSecretsServerTransport instead.
func NewSecretsServerTransport ¶
func NewSecretsServerTransport(srv *SecretsServer) *SecretsServerTransport
NewSecretsServerTransport creates a new instance of SecretsServerTransport with the provided implementation. The returned SecretsServerTransport instance is connected to an instance of armkeyvault.SecretsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { KeysServer KeysServer MHSMPrivateEndpointConnectionsServer MHSMPrivateEndpointConnectionsServer MHSMPrivateLinkResourcesServer MHSMPrivateLinkResourcesServer MHSMRegionsServer MHSMRegionsServer ManagedHsmKeysServer ManagedHsmKeysServer ManagedHsmsServer ManagedHsmsServer OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer PrivateLinkResourcesServer PrivateLinkResourcesServer SecretsServer SecretsServer VaultsServer VaultsServer }
ServerFactory is a fake server for instances of the armkeyvault.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armkeyvault.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 armkeyvault.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VaultsServer ¶
type VaultsServer struct { // CheckNameAvailability is the fake for method VaultsClient.CheckNameAvailability // HTTP status codes to indicate success: http.StatusOK CheckNameAvailability func(ctx context.Context, vaultName armkeyvault.VaultCheckNameAvailabilityParameters, options *armkeyvault.VaultsClientCheckNameAvailabilityOptions) (resp azfake.Responder[armkeyvault.VaultsClientCheckNameAvailabilityResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method VaultsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, vaultName string, parameters armkeyvault.VaultCreateOrUpdateParameters, options *armkeyvault.VaultsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armkeyvault.VaultsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method VaultsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, vaultName string, options *armkeyvault.VaultsClientDeleteOptions) (resp azfake.Responder[armkeyvault.VaultsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method VaultsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, vaultName string, options *armkeyvault.VaultsClientGetOptions) (resp azfake.Responder[armkeyvault.VaultsClientGetResponse], errResp azfake.ErrorResponder) // GetDeleted is the fake for method VaultsClient.GetDeleted // HTTP status codes to indicate success: http.StatusOK GetDeleted func(ctx context.Context, vaultName string, location string, options *armkeyvault.VaultsClientGetDeletedOptions) (resp azfake.Responder[armkeyvault.VaultsClientGetDeletedResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method VaultsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armkeyvault.VaultsClientListOptions) (resp azfake.PagerResponder[armkeyvault.VaultsClientListResponse]) // NewListByResourceGroupPager is the fake for method VaultsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armkeyvault.VaultsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armkeyvault.VaultsClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method VaultsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armkeyvault.VaultsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armkeyvault.VaultsClientListBySubscriptionResponse]) // NewListDeletedPager is the fake for method VaultsClient.NewListDeletedPager // HTTP status codes to indicate success: http.StatusOK NewListDeletedPager func(options *armkeyvault.VaultsClientListDeletedOptions) (resp azfake.PagerResponder[armkeyvault.VaultsClientListDeletedResponse]) // BeginPurgeDeleted is the fake for method VaultsClient.BeginPurgeDeleted // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginPurgeDeleted func(ctx context.Context, vaultName string, location string, options *armkeyvault.VaultsClientBeginPurgeDeletedOptions) (resp azfake.PollerResponder[armkeyvault.VaultsClientPurgeDeletedResponse], errResp azfake.ErrorResponder) // Update is the fake for method VaultsClient.Update // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated Update func(ctx context.Context, resourceGroupName string, vaultName string, parameters armkeyvault.VaultPatchParameters, options *armkeyvault.VaultsClientUpdateOptions) (resp azfake.Responder[armkeyvault.VaultsClientUpdateResponse], errResp azfake.ErrorResponder) // UpdateAccessPolicy is the fake for method VaultsClient.UpdateAccessPolicy // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated UpdateAccessPolicy func(ctx context.Context, resourceGroupName string, vaultName string, operationKind armkeyvault.AccessPolicyUpdateKind, parameters armkeyvault.VaultAccessPolicyParameters, options *armkeyvault.VaultsClientUpdateAccessPolicyOptions) (resp azfake.Responder[armkeyvault.VaultsClientUpdateAccessPolicyResponse], errResp azfake.ErrorResponder) }
VaultsServer is a fake server for instances of the armkeyvault.VaultsClient type.
type VaultsServerTransport ¶
type VaultsServerTransport struct {
// contains filtered or unexported fields
}
VaultsServerTransport connects instances of armkeyvault.VaultsClient to instances of VaultsServer. Don't use this type directly, use NewVaultsServerTransport instead.
func NewVaultsServerTransport ¶
func NewVaultsServerTransport(srv *VaultsServer) *VaultsServerTransport
NewVaultsServerTransport creates a new instance of VaultsServerTransport with the provided implementation. The returned VaultsServerTransport instance is connected to an instance of armkeyvault.VaultsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
Source Files ¶
- internal.go
- keys_server.go
- managedhsmkeys_server.go
- managedhsms_server.go
- mhsmprivateendpointconnections_server.go
- mhsmprivatelinkresources_server.go
- mhsmregions_server.go
- operations_server.go
- privateendpointconnections_server.go
- privatelinkresources_server.go
- secrets_server.go
- server_factory.go
- time_rfc3339.go
- time_unix.go
- vaults_server.go