config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigPath

func ConfigPath() (string, error)

Types

type Config

type Config map[string]ConfigEntry

func Parse

func Parse(ctx context.Context) (Config, error)

type ConfigEntry

type ConfigEntry struct {
	Description string
	Values      []EnvironmentValues
}

type EnvironmentValues

type EnvironmentValues struct {
	OutputType string            `yaml:"output,omitempty"`
	Values     map[string]Secret `yaml:"values"`
}

type Secret

type Secret struct {
	Type      string `yaml:"type"`
	RawConfig json.RawMessage
}

func (Secret) MarshalYAML

func (s Secret) MarshalYAML() ([]byte, error)

func (*Secret) UnmarshalYAML

func (s *Secret) UnmarshalYAML(data []byte) error

Jump to

Keyboard shortcuts

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