sops

package
v2.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sops

type Sops interface {
	// RegenerateMacValues regenerates the config MAC values for all yaml files in a given directory. You can use this
	// function to fix the sops generated config files with invalid mac values. This usually occurs after merging the
	// configs in Git. This function works on a directory, and it will iterate over all .yaml files it finds.
	//
	// Parameters support are
	//     filePath (path to the config directory)
	RegenerateMacValues(filePath string) error
}

Sops is a wrapper around common sops functionality used for config management.

func New

func New(executor commands.Executor) Sops

New creates a new instance of Sops, which is a wrapper around common Sops functionality. Parameters:

executor (can be provided from hq.GetExecutor() or by instantiating your own),

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL