Documentation ¶
Index ¶
- type Store
- func (store *Store) EmitEncryptedFile(in sops.Tree) ([]byte, error)
- func (store *Store) EmitExample() []byte
- func (store *Store) EmitPlainFile(branches sops.TreeBranches) ([]byte, error)
- func (store *Store) EmitValue(v interface{}) ([]byte, error)
- func (store *Store) LoadEncryptedFile(in []byte) (sops.Tree, error)
- func (store *Store) LoadPlainFile(in []byte) (sops.TreeBranches, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { }
Store handles storage of YAML data
func (*Store) EmitEncryptedFile ¶
EmitEncryptedFile returns the encrypted bytes of the yaml file corresponding to a sops.Tree runtime object
func (*Store) EmitExample ¶
EmitExample returns the bytes corresponding to an example complex tree
func (*Store) EmitPlainFile ¶
EmitPlainFile returns the plaintext bytes of the yaml file corresponding to a sops.TreeBranches runtime object
func (*Store) EmitValue ¶
EmitValue returns bytes corresponding to a single encoded value in a generic interface{} object
func (*Store) LoadEncryptedFile ¶
LoadEncryptedFile loads the contents of an encrypted yaml file onto a sops.Tree runtime object
func (*Store) LoadPlainFile ¶
LoadPlainFile loads the contents of a plaintext yaml file onto a sops.Tree runtime object
Click to show internal directories.
Click to hide internal directories.