step

package
v0.0.0-...-214fdee Latest Latest
Warning

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

Go to latest
Published: Jun 19, 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 Config

type Config struct {
	EnvVars       []EnvVar
	AppURL        string
	BuildSlug     string
	BuildAPIToken string
}

func (Config) APIEnvVars

func (c Config) APIEnvVars() []api.SharedEnvVar

type EnvVar

type EnvVar struct {
	Key       string
	Value     string
	Sensitive bool
}

type EnvVarSharer

type EnvVarSharer struct {
	// contains filtered or unexported fields
}

func NewEnvVarSharer

func NewEnvVarSharer(logger log.Logger, inputParser stepconf.InputParser, envRepository env.Repository, secretKeysProvider secretkeys.Manager) EnvVarSharer

func (EnvVarSharer) ProcessConfig

func (e EnvVarSharer) ProcessConfig() (*Config, error)

func (EnvVarSharer) Run

func (e EnvVarSharer) Run(config Config) error

type Input

type Input struct {
	EnvVars       string `env:"variables,required"`
	AppURL        string `env:"app_url,required"`
	BuildSlug     string `env:"build_slug,required"`
	BuildAPIToken string `env:"build_api_token,required"`
}

Jump to

Keyboard shortcuts

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