Documentation ¶
Index ¶
- func ExtractConfigEncryptFiles(data *yaml.MapSlice) ([]string, error)
- func FindConfigFile(start string) (string, error)
- func GetConfigEncryptFiles(basePath string) ([]string, error)
- func LoadConfigFile(confPath string) (*yaml.MapSlice, error)
- func ReplaceConfigEncryptFiles(data *yaml.MapSlice, encFiles []string) (*yaml.MapSlice, error)
- func WriteConfigFile(confPath string, yamlMap *yaml.MapSlice) error
- func WriteEncryptFilesToDisk(confPath string, data *yaml.MapSlice, encFiles []string) error
- type SopsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractConfigEncryptFiles ¶
ExtractConfigEncryptFiles pulls the files we want to manipulate out of the map
func FindConfigFile ¶
FindConfigFile looks for a sops config file in the current working directory and on parent directories, up to the limit defined by the maxDepth constant.
func GetConfigEncryptFiles ¶
GetConfigEncryptFiles is a shortcut for getting the file list when no other list data is required
func LoadConfigFile ¶
LoadConfigFile loads a yaml file path into a yaml map
func ReplaceConfigEncryptFiles ¶
ReplaceConfigEncryptFiles pulls the files we want to manipulate out of the map
func WriteConfigFile ¶
WriteConfigFile writes out a yaml file
Types ¶
Click to show internal directories.
Click to hide internal directories.