secrets

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const PREFIX = "FLY_SECRET"

Variables

This section is empty.

Functions

func IsUnchangedErr

func IsUnchangedErr(err error) bool

func ToSecretName

func ToSecretName(prefix string, n string) string

Types

type Entry

type Entry struct {
	Name string `json:"name" yaml:"name"`
	Path string `json:"path" yaml:"path"`
}

type Secrets

type Secrets struct {
	Input  []Entry `json:"input" yaml:"input"`
	Output []Entry `json:"output" yaml:"output"`
}

func (Secrets) PrepSetSecrets

func (s Secrets) PrepSetSecrets() (map[string]string, error)

func (Secrets) Push

func (s Secrets) Push(fly *client.Client, appName string) error

func (Secrets) WriteSecrets

func (s Secrets) WriteSecrets() error

Jump to

Keyboard shortcuts

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