Documentation ¶
Overview ¶
Package crypto provides access to CryptoManagerKmip methods used to manage cryptographic key providers. For creating and delete native providers, see package vapi/crypto.
Index ¶
- type ManagerKmip
- func (m ManagerKmip) GenerateKey(ctx context.Context, providerID string) (string, error)
- func (m ManagerKmip) GetClusterStatus(ctx context.Context, providerID string) (*types.CryptoManagerKmipClusterStatus, error)
- func (m ManagerKmip) GetDefaultKmsClusterID(ctx context.Context, entity *types.ManagedObjectReference, ...) (string, error)
- func (m ManagerKmip) GetServerStatus(ctx context.Context, providerID, serverName string) (*types.CryptoManagerKmipServerStatus, error)
- func (m ManagerKmip) GetStatus(ctx context.Context, clusters ...types.KmipClusterInfo) ([]types.CryptoManagerKmipClusterStatus, error)
- func (m ManagerKmip) IsDefaultProviderNative(ctx context.Context, entity *types.ManagedObjectReference, ...) (bool, error)
- func (m ManagerKmip) IsNativeProvider(ctx context.Context, providerID string) (bool, error)
- func (m ManagerKmip) IsValidKey(ctx context.Context, keyID string) (bool, error)
- func (m ManagerKmip) IsValidProvider(ctx context.Context, providerID string) (bool, error)
- func (m ManagerKmip) IsValidServer(ctx context.Context, providerID, serverName string) (bool, error)
- func (m ManagerKmip) ListKeys(ctx context.Context, limit *int32) ([]types.CryptoKeyId, error)
- func (m ManagerKmip) ListKmipServers(ctx context.Context, limit *int32) ([]types.KmipClusterInfo, error)
- func (m ManagerKmip) MarkDefault(ctx context.Context, providerID string) error
- func (m ManagerKmip) RegisterKmipServer(ctx context.Context, server types.KmipServerSpec) error
- func (m ManagerKmip) RegisterKmsCluster(ctx context.Context, providerID string, ...) error
- func (m ManagerKmip) RemoveKmipServer(ctx context.Context, providerID, serverName string) error
- func (m ManagerKmip) SetDefaultKmsClusterId(ctx context.Context, providerID string, entity *types.ManagedObjectReference) error
- func (m ManagerKmip) UnregisterKmsCluster(ctx context.Context, providerID string) error
- func (m ManagerKmip) UpdateKmipServer(ctx context.Context, server types.KmipServerSpec) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagerKmip ¶
func GetManagerKmip ¶
func GetManagerKmip(c *vim25.Client) (*ManagerKmip, error)
GetManagerKmip wraps NewManager, returning ErrNotSupported when the client is not connected to a vCenter instance.
func NewManagerKmip ¶
func NewManagerKmip(c *vim25.Client) *ManagerKmip
func (ManagerKmip) GenerateKey ¶
func (ManagerKmip) GetClusterStatus ¶
func (m ManagerKmip) GetClusterStatus( ctx context.Context, providerID string) (*types.CryptoManagerKmipClusterStatus, error)
func (ManagerKmip) GetDefaultKmsClusterID ¶
func (m ManagerKmip) GetDefaultKmsClusterID( ctx context.Context, entity *types.ManagedObjectReference, defaultsToParent bool) (string, error)
func (ManagerKmip) GetServerStatus ¶
func (m ManagerKmip) GetServerStatus( ctx context.Context, providerID, serverName string) (*types.CryptoManagerKmipServerStatus, error)
func (ManagerKmip) GetStatus ¶
func (m ManagerKmip) GetStatus( ctx context.Context, clusters ...types.KmipClusterInfo) ([]types.CryptoManagerKmipClusterStatus, error)
func (ManagerKmip) IsDefaultProviderNative ¶
func (m ManagerKmip) IsDefaultProviderNative( ctx context.Context, entity *types.ManagedObjectReference, defaultsToParent bool) (bool, error)
func (ManagerKmip) IsNativeProvider ¶
func (ManagerKmip) IsValidKey ¶
func (ManagerKmip) IsValidProvider ¶
func (ManagerKmip) IsValidServer ¶
func (ManagerKmip) ListKeys ¶
func (m ManagerKmip) ListKeys( ctx context.Context, limit *int32) ([]types.CryptoKeyId, error)
func (ManagerKmip) ListKmipServers ¶
func (m ManagerKmip) ListKmipServers( ctx context.Context, limit *int32) ([]types.KmipClusterInfo, error)
func (ManagerKmip) MarkDefault ¶
func (m ManagerKmip) MarkDefault( ctx context.Context, providerID string) error
func (ManagerKmip) RegisterKmipServer ¶
func (m ManagerKmip) RegisterKmipServer( ctx context.Context, server types.KmipServerSpec) error
func (ManagerKmip) RegisterKmsCluster ¶
func (m ManagerKmip) RegisterKmsCluster( ctx context.Context, providerID string, managementType types.KmipClusterInfoKmsManagementType) error
func (ManagerKmip) RemoveKmipServer ¶
func (m ManagerKmip) RemoveKmipServer( ctx context.Context, providerID, serverName string) error
func (ManagerKmip) SetDefaultKmsClusterId ¶
func (m ManagerKmip) SetDefaultKmsClusterId( ctx context.Context, providerID string, entity *types.ManagedObjectReference) error
func (ManagerKmip) UnregisterKmsCluster ¶
func (m ManagerKmip) UnregisterKmsCluster( ctx context.Context, providerID string) error
func (ManagerKmip) UpdateKmipServer ¶
func (m ManagerKmip) UpdateKmipServer( ctx context.Context, server types.KmipServerSpec) error
Click to show internal directories.
Click to hide internal directories.