secret

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SSLCertificateChainKey = "ca_chain"
	SSLPrivateKeyKey       = "private_key"
)
View Source
const (
	GoogleAnnotationKey = "gloo.solo.io/google_secret_ref"
)
View Source
const (
	ServiceAccountJsonKeyFile = "json_key_file"
)

Variables

This section is empty.

Functions

func CreateAWS

func CreateAWS(si dependencies.SecretStorage, opts *AWSOptions) error

func CreateCertificate

func CreateCertificate(si dependencies.SecretStorage, opts *CertificateOptions) error

func CreateGoogle

func CreateGoogle(si dependencies.SecretStorage, opts *GoogleOptions) error

func PrintTableWithUsage

func PrintTableWithUsage(list []*dependencies.Secret, w io.Writer, u []*v1.Upstream, v []*v1.VirtualHost)

func SecretRefs

func SecretRefs(si dependencies.SecretStorage, filter func(*dependencies.Secret) bool) ([]string, error)

Types

type AWSOptions

type AWSOptions struct {
	Name      string
	Filename  string
	KeyID     string
	SecretKey string
	UseEnv    bool
}

type CertificateOptions

type CertificateOptions struct {
	Name       string
	CAChain    string
	PrivateKey string
}

type GoogleOptions

type GoogleOptions struct {
	Name     string
	Filename string
}

Jump to

Keyboard shortcuts

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