info

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

View Source
const (
	IconWaiting     = "◷"
	IconProgressing = "◌"
	IconWarning     = "⚠"
	IconUnknown     = "?"
	IconOK          = "✔"
	IconBad         = "✖"
	IconPaused      = "॥"
	IconNeutral     = "•"
)
View Source
const (
	InfoTagCanary  = "canary"
	InfoTagStable  = "stable"
	InfoTagActive  = "active"
	InfoTagPreview = "preview"
	InfoTagPing    = "ping"
	InfoTagPong    = "pong"
)

Variables

This section is empty.

Functions

func Age added in v1.0.0

func Age(m v1.ObjectMeta) string

func AnalysisRunsByRevision added in v1.0.0

func AnalysisRunsByRevision(r *rollout.RolloutInfo, rev int) []*rollout.AnalysisRunInfo

func ExperimentsByRevision added in v1.0.0

func ExperimentsByRevision(r *rollout.RolloutInfo, rev int) []*rollout.ExperimentInfo

func GetReplicaSetInfo added in v1.0.0

func GetReplicaSetInfo(ownerUID types.UID, ro *v1alpha1.Rollout, allReplicaSets []*appsv1.ReplicaSet, allPods []*corev1.Pod) []*rollout.ReplicaSetInfo

func NewExperimentInfo

func NewExperimentInfo(
	exp *v1alpha1.Experiment,
	allReplicaSets []*appsv1.ReplicaSet,
	allAnalysisRuns []*v1alpha1.AnalysisRun,
	allPods []*corev1.Pod,
) *rollout.ExperimentInfo

func NewRolloutInfo

func NewRolloutInfo(
	ro *v1alpha1.Rollout,
	allReplicaSets []*appsv1.ReplicaSet,
	allPods []*corev1.Pod,
	allExperiments []*v1alpha1.Experiment,
	allARs []*v1alpha1.AnalysisRun,
	workloadRef *appsv1.Deployment,
) *rollout.RolloutInfo

func ReplicaSetsByRevision added in v1.0.0

func ReplicaSetsByRevision(r *rollout.RolloutInfo, rev int) []*rollout.ReplicaSetInfo

func Revisions added in v1.0.0

func Revisions(r *rollout.RolloutInfo) []int

func ScaleDownDelay added in v1.0.0

func ScaleDownDelay(rs rollout.ReplicaSetInfo) string

Types

type ImageInfo

type ImageInfo struct {
	Image string
	Tags  []string
}

func ExperimentImages added in v1.0.0

func ExperimentImages(r *rollout.ExperimentInfo) []ImageInfo

Images returns a list of images that are currently running along with tags on which stack they belong to

func Images added in v1.0.0

func Images(r *rollout.RolloutInfo) []ImageInfo

Images returns a list of images that are currently running along with informational tags about 1. which stack they belong to (canary, stable, active, preview) 2. which experiment template they are part of

type Metadata

type Metadata v1.ObjectMeta

Jump to

Keyboard shortcuts

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