v3: go.mozilla.org/sops/v3/stores/yaml Index | Files

package yaml

import "go.mozilla.org/sops/v3/stores/yaml"

Index

Package Files

store.go

type Store Uses

type Store struct {
}

Store handles storage of YAML data

func (*Store) EmitEncryptedFile Uses

func (store *Store) EmitEncryptedFile(in sops.Tree) ([]byte, error)

EmitEncryptedFile returns the encrypted bytes of the yaml file corresponding to a sops.Tree runtime object

func (*Store) EmitExample Uses

func (store *Store) EmitExample() []byte

EmitExample returns the bytes corresponding to an example complex tree

func (*Store) EmitPlainFile Uses

func (store *Store) EmitPlainFile(branches sops.TreeBranches) ([]byte, error)

EmitPlainFile returns the plaintext bytes of the yaml file corresponding to a sops.TreeBranches runtime object

func (*Store) EmitValue Uses

func (store *Store) EmitValue(v interface{}) ([]byte, error)

EmitValue returns bytes corresponding to a single encoded value in a generic interface{} object

func (*Store) LoadEncryptedFile Uses

func (store *Store) LoadEncryptedFile(in []byte) (sops.Tree, error)

LoadEncryptedFile loads the contents of an encrypted yaml file onto a sops.Tree runtime object

func (*Store) LoadPlainFile Uses

func (store *Store) LoadPlainFile(in []byte) (sops.TreeBranches, error)

LoadPlainFile loads the contents of a plaintext yaml file onto a sops.Tree runtime obejct

Package yaml imports 4 packages (graph). Updated 2020-07-03. Refresh now. Tools for package owners.