Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// ConfigPath is an optional path to a .sops.yaml file. When set, files are
// only required to be encrypted if they match a creation rule in the config.
ConfigPath string
// Files contains the files to check.
Files []string
// Globs contains file glob patterns to check. When set, Files is ignored.
Globs []string
// RequireAll requires every file in Files to be encrypted, independent of
// any .sops.yaml creation rules.
RequireAll bool
// WorkDir is used to resolve relative file and config paths. It defaults to
// the current working directory.
WorkDir string
}
Options configures a SOPS encryption check.
Click to show internal directories.
Click to hide internal directories.