input

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeFile = "file"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FileConfig

type FileConfig struct {
	Path     string `json:"path"`
	Relative bool   `json:"relative"`
}

FileConfig represents the configuration for using a file as secret input

func (*FileConfig) GetSecretsData

func (c *FileConfig) GetSecretsData() (map[string]string, error)

GetSecretsData returns the secrets data from the input file

type Input

type Input struct {
	Type   string                 `json:"type"`
	Config map[string]interface{} `json:"config"`
}

Input represents a secret input

Jump to

Keyboard shortcuts

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