Documentation ¶
Overview ¶
Provides interfaces and adapters for the KeyManager service
Generated code. Do not modify by hand.
Index ¶
- Constants
- Variables
- func PluginServer(server KeyManagerServer) catalog.PluginServer
- type FetchPrivateKeyRequest
- type FetchPrivateKeyResponse
- type GenerateKeyPairRequest
- type GenerateKeyPairResponse
- type KeyManager
- type KeyManagerClient
- type KeyManagerServer
- type Plugin
- type StorePrivateKeyRequest
- type StorePrivateKeyResponse
- type UnimplementedKeyManagerServer
- type UnsafeKeyManagerServer
Constants ¶
View Source
const (
Type = "KeyManager"
)
Variables ¶
View Source
var PluginClient catalog.PluginClient = pluginClient{}
PluginClient is a catalog PluginClient implementation for the KeyManager plugin.
Functions ¶
func PluginServer ¶
func PluginServer(server KeyManagerServer) catalog.PluginServer
PluginServer returns a catalog PluginServer implementation for the KeyManager plugin.
Types ¶
type FetchPrivateKeyRequest ¶
type FetchPrivateKeyRequest = keymanager.FetchPrivateKeyRequest //nolint: golint
type FetchPrivateKeyResponse ¶
type FetchPrivateKeyResponse = keymanager.FetchPrivateKeyResponse //nolint: golint
type GenerateKeyPairRequest ¶
type GenerateKeyPairRequest = keymanager.GenerateKeyPairRequest //nolint: golint
type GenerateKeyPairResponse ¶
type GenerateKeyPairResponse = keymanager.GenerateKeyPairResponse //nolint: golint
type KeyManager ¶
type KeyManager interface { FetchPrivateKey(context.Context, *FetchPrivateKeyRequest) (*FetchPrivateKeyResponse, error) GenerateKeyPair(context.Context, *GenerateKeyPairRequest) (*GenerateKeyPairResponse, error) StorePrivateKey(context.Context, *StorePrivateKeyRequest) (*StorePrivateKeyResponse, error) }
KeyManager is the client interface for the service type KeyManager interface.
func AdaptPluginClient ¶
func AdaptPluginClient(client KeyManagerClient) KeyManager
type KeyManagerClient ¶
type KeyManagerClient = keymanager.KeyManagerClient //nolint: golint
type KeyManagerServer ¶
type KeyManagerServer = keymanager.KeyManagerServer //nolint: golint
type Plugin ¶
type Plugin interface { Configure(context.Context, *spi.ConfigureRequest) (*spi.ConfigureResponse, error) FetchPrivateKey(context.Context, *FetchPrivateKeyRequest) (*FetchPrivateKeyResponse, error) GenerateKeyPair(context.Context, *GenerateKeyPairRequest) (*GenerateKeyPairResponse, error) GetPluginInfo(context.Context, *spi.GetPluginInfoRequest) (*spi.GetPluginInfoResponse, error) StorePrivateKey(context.Context, *StorePrivateKeyRequest) (*StorePrivateKeyResponse, error) }
Plugin is the client interface for the service with the plugin related methods used by the catalog to initialize the plugin.
type StorePrivateKeyRequest ¶
type StorePrivateKeyRequest = keymanager.StorePrivateKeyRequest //nolint: golint
type StorePrivateKeyResponse ¶
type StorePrivateKeyResponse = keymanager.StorePrivateKeyResponse //nolint: golint
type UnimplementedKeyManagerServer ¶
type UnimplementedKeyManagerServer = keymanager.UnimplementedKeyManagerServer //nolint: golint
type UnsafeKeyManagerServer ¶ added in v0.12.0
type UnsafeKeyManagerServer = keymanager.UnsafeKeyManagerServer //nolint: golint
Click to show internal directories.
Click to hide internal directories.