env

package
v0.0.0-...-3948096 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvInputs

type EnvInputs struct {
	DeployISO                 string `envconfig:"DEPLOY_ISO" required:"true"`
	DeployInitrd              string `envconfig:"DEPLOY_INITRD" required:"true"`
	IronicBaseURL             string `envconfig:"IRONIC_BASE_URL"`
	IronicInspectorBaseURL    string `envconfig:"IRONIC_INSPECTOR_BASE_URL"`
	IronicAgentImage          string `envconfig:"IRONIC_AGENT_IMAGE" required:"true"`
	IronicAgentPullSecret     string `envconfig:"IRONIC_AGENT_PULL_SECRET"`
	IronicAgentVlanInterfaces string `envconfig:"IRONIC_AGENT_VLAN_INTERFACES"`
	IronicRAMDiskSSHKey       string `envconfig:"IRONIC_RAMDISK_SSH_KEY"`
	RegistriesConfPath        string `envconfig:"REGISTRIES_CONF_PATH"`
	IpOptions                 string `envconfig:"IP_OPTIONS"`
	HttpProxy                 string `envconfig:"HTTP_PROXY"`
	HttpsProxy                string `envconfig:"HTTPS_PROXY"`
	NoProxy                   string `envconfig:"NO_PROXY"`
}

func New

func New() (*EnvInputs, error)

func (*EnvInputs) RegistriesConf

func (env *EnvInputs) RegistriesConf() (data []byte, err error)

Jump to

Keyboard shortcuts

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