views

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Name             string                           `json:"name"`
	Template         string                           `json:"template"`
	TerraHelmfileRef string                           `json:"terraHelmfileRef,omitempty" yaml:"terraHelmfileRef,omitempty"`
	Hybrid           bool                             `json:"hybrid"`
	Fiab             Fiab                             `json:"fiab,omitempty" yaml:",omitempty"`
	Overrides        map[string]*statebucket.Override `json:"overrides,omitempty" yaml:",omitempty"`
}

Environment struct used for presenting environments in yaml & json output generated by bee commands

func ForTerraEnv

func ForTerraEnv(environment terra.Environment) Environment

func ForTerraEnvWithOverride added in v0.0.35

func ForTerraEnvWithOverride(environment terra.Environment, dynamicEnv statebucket.DynamicEnvironment) Environment

func ForTerraEnvs

func ForTerraEnvs(environments []terra.Environment) []Environment

func ForTerraEnvsWithOverrides added in v0.0.35

func ForTerraEnvsWithOverrides(environments []terra.Environment, dynamicEnvs []statebucket.DynamicEnvironment) []Environment

type Fiab

type Fiab struct {
	Name string `json:"name,omitempty" yaml:",omitempty"`
	IP   string `json:"ip,omitempty" yaml:",omitempty"`
}

Jump to

Keyboard shortcuts

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