pushtofile

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileTemplateForFormat

func FileTemplateForFormat(
	fileFormat string,
	secretSpecs secretsyml.SecretsMap,
) (string, error)

FileTemplateForFormat returns the template for a file format, after ensuring the standard template exists and validating secret spec aliases against it

Types

type SecretFile

type SecretFile struct {
	FileConfig secretsyml.FileConfig
	Ignores    []string
	IgnoreAll  bool
}

func (*SecretFile) SecretSpecs

func (secretFile *SecretFile) SecretSpecs() secretsyml.SecretsMap

func (*SecretFile) Write

func (secretFile *SecretFile) Write(providerResults []provider.Result) (absolutePath string, err error)

Jump to

Keyboard shortcuts

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