factory

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKeyManagementProviderFromConfig

func CreateKeyManagementProviderFromConfig(keyManagementProviderConfig config.KeyManagementProviderConfig, configVersion string, pluginDirectory string) (keymanagementprovider.KeyManagementProvider, error)

CreateKeyManagementProviderFromConfig creates a key management provider from config

func Register

func Register(name string, factory KeyManagementProviderFactory)

Register registers a key management provider factory by name

Types

type KeyManagementProviderFactory

type KeyManagementProviderFactory interface {
	Create(version string, keyManagementProviderConfig config.KeyManagementProviderConfig, pluginDirectory string) (keymanagementprovider.KeyManagementProvider, error)
}

KeyManagementProviderFactory is an interface for creating key management provider providers

Jump to

Keyboard shortcuts

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