status

package
v0.49.3 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

Types

type ObjectiveResult

type ObjectiveResult struct {
	Name      string          `json:"name" yaml:"name"`
	Labels    entities.Labels `json:"labels" yaml:"labels"`
	Current   Percent         `json:"current" yaml:"current"`
	Budget    Percent         `json:"budget" yaml:"budget"`
	Target    Percent         `json:"target" yaml:"target"`
	Window    core.Duration   `json:"window" yaml:"window"`
	HasBudget bool            `json:"has_budget" yaml:"has_budget"`
}

type ObjectiveScore

type ObjectiveScore struct {
	Name           string          `json:"name" yaml:"name"`
	Labels         entities.Labels `json:"labels" yaml:"labels"`
	Score          Percent         `json:"score" yaml:"score"`
	Delta          Percent         `json:"delta" yaml:"delta"`
	HistoryAverage Percent         `json:"history_average" yaml:"history_average"`
}

type Percent

type Percent float64

func (Percent) MarshalJSON

func (p Percent) MarshalJSON() ([]byte, error)

type ScoreCard

type ScoreCard struct {
	Name             string          `json:"name" yaml:"name"`
	Labels           entities.Labels `json:"labels" yaml:"labels"`
	ReliabilityScore Percent         `json:"score" yaml:"score"`
}

type StatusOptions

type StatusOptions struct {
	IO       *iostreams.IOStreams
	Kind     string
	Selector string
	Format   string
}

Jump to

Keyboard shortcuts

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