Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigFilename = ".yamlcrypt.yaml"
Variables ¶
View Source
var DefaultSuffixesConfig = SuffixesConfig{
Encrypted: "encrypted.yaml",
Decrypted: "decrypted.yaml",
Plain: "plain.yaml",
}
Functions ¶
func FindRepoRoot ¶
Types ¶
type Config ¶
type Config struct { Provider crypto.Provider Suffixes SuffixesConfig Root string }
func LoadConfig ¶
func (*Config) UnmarshalYAML ¶
type SuffixesConfig ¶
func (*SuffixesConfig) GitignoreSet ¶
func (c *SuffixesConfig) GitignoreSet() map[string]bool
func (*SuffixesConfig) UnmarshalYAML ¶
func (c *SuffixesConfig) UnmarshalYAML(node *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.