kms

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func GetManager

func GetManager(ops ...Option) (*Manager, error)

func (*Manager) GetPlugin

func (m *Manager) GetPlugin(pluginKind kmstypes.PluginKind, storeKind kmstypes.StoreKind) (kmstypes.Plugin, error)

func (*Manager) GetStore

func (m *Manager) GetStore(storeKind kmstypes.StoreKind) (kmstypes.Store, error)

type Option

type Option func(*Manager)

func WithPluginConfigs

func WithPluginConfigs(configs map[string]string) Option

func WithStoreConfigs

func WithStoreConfigs(configs map[string]string) Option

Directories

Path Synopsis
kms package 提供统一加密服务。
kms package 提供统一加密服务。
plugins
stores

Jump to

Keyboard shortcuts

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