container

package
v4.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct{}

func (*Container) Command

func (c *Container) Command(d []string) []string

merges default parameters and user set parameters

func (*Container) EnvToFile

func (c *Container) EnvToFile(env string, path string) error

converts an environment variable to a file

func (*Container) FileContentReplace

func (c *Container) FileContentReplace(file string, r map[string]interface{}) error

replaces variables inside a file

func (*Container) GetSecret

func (c *Container) GetSecret(env string, envPath string) (string, error)

tries to get a secret either from environment variable or from a secrets file set by environment variable

Jump to

Keyboard shortcuts

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