Documentation ¶
Index ¶
- type Store
- func (store *Store) EmitEncryptedFile(in sops.Tree) ([]byte, error)
- func (store *Store) EmitExample() []byte
- func (store *Store) EmitPlainFile(in sops.TreeBranches) ([]byte, error)
- func (store *Store) EmitValue(v interface{}) ([]byte, error)
- func (store *Store) HasSopsTopLevelKey(branch sops.TreeBranch) bool
- 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 {
// contains filtered or unexported fields
}
Store handles storage of ini data.
func NewStore ¶
func NewStore(c *config.INIStoreConfig) *Store
func (*Store) EmitEncryptedFile ¶
EmitEncryptedFile returns encrypted INI file bytes corresponding to a sops.Tree runtime object
func (*Store) EmitExample ¶
EmitExample returns the plaintext INI file bytes corresponding to the SimpleTree example
func (*Store) EmitPlainFile ¶
EmitPlainFile returns the plaintext INI file bytes corresponding to a sops.TreeBranches object
func (*Store) EmitValue ¶
EmitValue returns a single value encoded in a generic interface{} as bytes
func (*Store) HasSopsTopLevelKey ¶
HasSopsTopLevelKey checks whether a top-level "sops" key exists.
func (*Store) LoadEncryptedFile ¶
LoadEncryptedFile loads encrypted INI file's bytes onto a sops.Tree runtime object
func (*Store) LoadPlainFile ¶
LoadPlainFile loads a plaintext INI file's bytes onto a sops.TreeBranches runtime object
Click to show internal directories.
Click to hide internal directories.