secret

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data map[string]string

Data represents the unsealed NON base 64 encoded key value pairs

type Metadata

type Metadata struct {
	Name      string `yaml:"name"`
	Namespace string `yaml:"namespace"`
}

Metadata is metadata

type Service

type Service interface {
	SealSecrets(path, certURL string) error
}

Service is used to seal secrets

func NewService

func NewService() Service

NewService creates a new instance of Service

type UnsealedData

type UnsealedData struct {
	APIVersion string   `yaml:"apiVersion"`
	Kind       string   `yaml:"kind"`
	Metadata   Metadata `yaml:"metadata"`
	Data       Data     `yaml:"data"`
	Type       string   `yaml:"type"`
}

UnsealedData represents a unsealed secret

Jump to

Keyboard shortcuts

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