views

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 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"`
	PreventDeletion      bool                     `json:"preventDeletion,omitempty" yaml:"preventDeletion,omitempty"`
	DeleteAfter          time.Time                `json:"deleteAfter,omitempty" yaml:"deleteAfter,omitempty"`
	TerraHelmfileRef     string                   `json:"terraHelmfileRef,omitempty" yaml:"terraHelmfileRef,omitempty"`
	UniqueResourcePrefix string                   `json:"uniqueResourcePrefix" yaml:"uniqueResourcePrefix"`
	Versions             map[string]string        `json:"overrides,omitempty" yaml:",omitempty"`
	Services             map[string]ReleaseDetail `json:",omitempty" yaml:",omitempty"`
	Logs                 string                   `json:",omitempty" yaml:",omitempty"`
}

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

func DescribeBee

func DescribeBee(bee *bee.Bee) BeeDetail

func DescribeBeeEnv added in v1.0.8

func DescribeBeeEnv(bee terra.Environment, opts ...DescribeOption) 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 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
	OmitVersions     bool
}

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"`
	AppVersion       string         `yaml:"appVersion,omitempty" json:"appVersion,omitempty"`
	ChartVersion     string         `yaml:"chartVersion,omitempty" json:"chartVersion,omitempty"`
	TerraHelmfileRef string         `yaml:"terraHelmfileRef,omitempty" json:"terraHelmfileRef,omitempty"`
}

Jump to

Keyboard shortcuts

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