indicators

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormatTableElemOptions

type FormatTableElemOptions struct {
	// Show previous value as progressing OLD_VALUE->NEW_VALUE if the value has changed
	ShowProgress bool

	// Disable yellow and red colors for resources with fail-mode=IgnoreAndContinueDeployProcess
	DisableWarningColors bool

	// Show target value in format VALUE/TARGET, show only VALUE by default
	WithTargetValue bool

	// Do not use colors for old resources. Old resource is the resource
	// related to old ReplicaSets of Deployment for example
	IsResourceNew bool
}

type Int32EqualConditionIndicator

type Int32EqualConditionIndicator struct {
	Value       int32
	TargetValue int32
}

func (*Int32EqualConditionIndicator) FormatTableElem

func (indicator *Int32EqualConditionIndicator) FormatTableElem(prevIndicator *Int32EqualConditionIndicator, opts FormatTableElemOptions) string

func (*Int32EqualConditionIndicator) IsProgressing

func (indicator *Int32EqualConditionIndicator) IsProgressing(prevIndicator *Int32EqualConditionIndicator) bool

func (*Int32EqualConditionIndicator) IsReady

func (indicator *Int32EqualConditionIndicator) IsReady() bool

type Int32MultipleEqualConditionIndicator

type Int32MultipleEqualConditionIndicator struct {
	Value        int32
	TargetValues []int32
}

func (*Int32MultipleEqualConditionIndicator) FormatTableElem

func (*Int32MultipleEqualConditionIndicator) IsProgressing

func (indicator *Int32MultipleEqualConditionIndicator) IsProgressing(prevIndicator *Int32MultipleEqualConditionIndicator) bool

func (*Int32MultipleEqualConditionIndicator) IsReady

func (indicator *Int32MultipleEqualConditionIndicator) IsReady() bool

type Int64GreaterOrEqualConditionIndicator

type Int64GreaterOrEqualConditionIndicator struct {
	Value       int64
	TargetValue int64
}

func (*Int64GreaterOrEqualConditionIndicator) FormatTableElem

func (*Int64GreaterOrEqualConditionIndicator) IsProgressing

func (indicator *Int64GreaterOrEqualConditionIndicator) IsProgressing(prevIndicator *Int64GreaterOrEqualConditionIndicator) bool

func (*Int64GreaterOrEqualConditionIndicator) IsReady

func (indicator *Int64GreaterOrEqualConditionIndicator) IsReady() bool

type StringEqualConditionIndicator

type StringEqualConditionIndicator struct {
	Value       string
	TargetValue string
	FailedValue string
}

func (*StringEqualConditionIndicator) FormatTableElem

func (indicator *StringEqualConditionIndicator) FormatTableElem(prevIndicator *StringEqualConditionIndicator, opts FormatTableElemOptions) string

func (*StringEqualConditionIndicator) IsFailed

func (indicator *StringEqualConditionIndicator) IsFailed() bool

func (*StringEqualConditionIndicator) IsProgressing

func (indicator *StringEqualConditionIndicator) IsProgressing(prevIndicator *StringEqualConditionIndicator) bool

func (*StringEqualConditionIndicator) IsReady

func (indicator *StringEqualConditionIndicator) IsReady() bool

Jump to

Keyboard shortcuts

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