factory

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecretManager

func NewSecretManager(kind string, f jxfactory.Factory, requirements *config.RequirementsConfig) (secretmgr.SecretManager, error)

NewSecretManager creates a secret manager from a kind string

Types

type KindResolver

type KindResolver struct {
	Factory jxfactory.Factory
	Kind    string
	Dir     string
	GitURL  string

	// outputs which can be useful
	DevEnvironment *v1.Environment
	Requirements   *config.RequirementsConfig
}

KindResolver provides a simple way to resolve what kind of Secret Manager to use

func (*KindResolver) CreateSecretManager

func (r *KindResolver) CreateSecretManager() (secretmgr.SecretManager, error)

CreateSecretManager detects from the current cluster which kind of SecretManager to use and then creates it

Jump to

Keyboard shortcuts

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