views

package
v1.0.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeeDetail

type BeeDetail struct {
	Name                 string                           `json:"name"`
	Template             string                           `json:"template"`
	TerraHelmfileRef     string                           `json:"terraHelmfileRef,omitempty" yaml:"terraHelmfileRef,omitempty"`
	UniqueResourcePrefix string                           `json:"uniqueResourcePrefix" yaml:"uniqueResourcePrefix"`
	Overrides            map[string]*statebucket.Override `json:"overrides,omitempty" yaml:",omitempty"`
}

BeeDetail struct used for presenting BEEs in yaml & json output generated by bee commands

func DescribeBeeEnv added in v1.0.8

func DescribeBeeEnv(bee terra.Environment) BeeDetail

func DescribeBeeWithReleaseOverrides

func DescribeBeeWithReleaseOverrides(bee terra.Environment, dynamicEnv statebucket.DynamicEnvironment) BeeDetail

type BeeSummary

type BeeSummary struct {
	Name string
}

BeeSummary struct used for presenting BEEs in yaml & json output

func SummarizeBees

func SummarizeBees(bees []terra.Environment) []BeeSummary

type BeeWithOperationalDetails added in v1.0.8

type BeeWithOperationalDetails struct {
	BeeDetail `yaml:",inline"`
	Services  map[string]ReleaseDetail `json:",omitempty" yaml:",omitempty"`
	Logs      string                   `json:",omitempty" yaml:",omitempty"`
}

BeeWithOperationalDetails struct used for presenting BEEs with release detail information in yaml & json output generated by bee commands

func DescribeBee

func DescribeBee(bee *bee.Bee) BeeWithOperationalDetails

func DescribeBeeWith added in v1.0.8

func DescribeBeeWith(env terra.Environment, opts ...DescribeOption) BeeWithOperationalDetails

type DescribeOption added in v1.0.8

type DescribeOption func(options *DescribeOptions)

type DescribeOptions added in v1.0.8

type DescribeOptions struct {
	Status           map[terra.Release]status.Status
	ContainerLogsURL string
}

type LogsDetail added in v1.0.8

type LogsDetail struct {
	ContainerLogs string `json:",omitempty" yaml:",omitempty"`
	CloudLogging  string `json:",omitempty" yaml:",omitempty"`
}

type ReleaseDetail added in v1.0.8

type ReleaseDetail struct {
	Status *status.Status `yaml:",omitempty" json:",omitempty"`
}

Jump to

Keyboard shortcuts

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