secrets

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSecretSize

func GetSecretSize(secret Secret, deploymentWD string) (size int64, err error)

Types

type Owner

type Owner struct {
	Group string
	User  string
}

type Secret

type Secret struct {
	Source      string
	Destination string
	Owner       Owner
	Permissions string
	Action      []string
	MkDirs      bool
	UploadAt    string
}

func (*Secret) String added in v1.2.0

func (s *Secret) String() string

type SecretError

type SecretError struct {
	Err   error
	Fatal bool
}

func UploadSecret

func UploadSecret(ctx ssh.Context, host ssh.Host, secret Secret, deploymentWD string) *SecretError

func (SecretError) Error

func (e SecretError) Error() string

Jump to

Keyboard shortcuts

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