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: 1 module, 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

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