crypto

package
v0.0.0-...-5f55900 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagerKmip

type ManagerKmip struct {
	object.Common
}

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 (m ManagerKmip) GenerateKey(
	ctx context.Context,
	providerID string) (string, error)

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 (ManagerKmip) IsDefaultProviderNative

func (m ManagerKmip) IsDefaultProviderNative(
	ctx context.Context,
	entity *types.ManagedObjectReference,
	defaultsToParent bool) (bool, error)

func (ManagerKmip) IsNativeProvider

func (m ManagerKmip) IsNativeProvider(
	ctx context.Context,
	providerID string) (bool, error)

func (ManagerKmip) IsValidKey

func (m ManagerKmip) IsValidKey(
	ctx context.Context,
	keyID string) (bool, error)

func (ManagerKmip) IsValidProvider

func (m ManagerKmip) IsValidProvider(
	ctx context.Context,
	providerID string) (bool, error)

func (ManagerKmip) IsValidServer

func (m ManagerKmip) IsValidServer(
	ctx context.Context,
	providerID, serverName string) (bool, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL