info

package
v0.0.0-...-de69368 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

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

func Age(m v1.ObjectMeta) string

func AnalysisRunsByRevision

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

func ExperimentsByRevision

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

func GetReplicaSetInfo

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

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

func Revisions

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

func ScaleDownDelay

func ScaleDownDelay(rs rollout.ReplicaSetInfo) string

Types

type ImageInfo

type ImageInfo struct {
	Image string
	Tags  []string
}

func ExperimentImages

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

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