formater

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CheckTextAllFormat        = "$a"
	CheckTextErrorCountFormat = "$e"
	CheckTextHealthyFormat    = "$h"
	CheckTextErrorFormat      = "$E"
)
View Source
const (
	ConfigTextErrorFormat      = "$E"
	ConfigTextAllFormat        = "$a"
	ConfigTextPersistentFormat = "$p"
	ConfigTextGardenerFormat   = "$g"
	ConfigTextGCPFormat        = "$G"
)
View Source
const (
	GardenerTextAllFormat          = "$a"
	GardenerTextUnknownFormat      = "$u"
	GardenerTextHealthyFormat      = "$r"
	GardenerTextHibernatedFormat   = "$h"
	GardenerTextEmptyFormat        = "$e"
	GardenerTextEmptyUnknownFormat = "$x"
	GardenerTextErrorFormat        = "$E"
)

Variables

This section is empty.

Functions

func NewCheck added in v0.5.0

func NewConfig added in v0.4.5

func NewConfig(err error, cfg *config.Config) output.Formater

func NewGardener added in v0.4.4

func NewGardener(shoots map[string]*cloud_agent.ShootList, filters Filters) output.Formater

Types

type Filters

type Filters struct {
	CreatedBy     string
	Project       string
	Condition     string
	LabelSelector string
	UpdatedAfter  time.Time
	UpdatedBefore time.Time
	CreatedAfter  time.Time
	CreatedBefore time.Time
}

Jump to

Keyboard shortcuts

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