pluginstore

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package pluginstore is an internal Porter package that implements the secret.Store interface via plugins.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecretsPluginConfig

func NewSecretsPluginConfig() pluggable.PluginTypeConfig

NewSecretsPluginConfig for secret sources.

Types

type Store

type Store struct {
	*config.Config
	*secrets.SecretStore
	// contains filtered or unexported fields
}

Store is a plugin-backed source of secrets. It resolves the appropriate plugin based on Porter's config and implements the secrets.Store interface using the backing plugin.

func NewStore

func NewStore(c *config.Config) *Store

func (*Store) Close

func (s *Store) Close() error

func (*Store) Connect

func (s *Store) Connect() error

Jump to

Keyboard shortcuts

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