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" )
Variables ¶
This section is empty.
Functions ¶
func RolloutStatusString ¶
RolloutStatusString returns a status string to print in the STATUS column
Types ¶
type AnalysisRunInfo ¶
type ExperimentInfo ¶
type ExperimentInfo struct { Metadata Icon string Revision int Status string Message string ReplicaSets []ReplicaSetInfo AnalysisRuns []AnalysisRunInfo }
func NewExperimentInfo ¶
func NewExperimentInfo( exp *v1alpha1.Experiment, allReplicaSets []*appsv1.ReplicaSet, allAnalysisRuns []*v1alpha1.AnalysisRun, allPods []*corev1.Pod, ) *ExperimentInfo
func (*ExperimentInfo) Images ¶
func (r *ExperimentInfo) Images() []ImageInfo
Images returns a list of images that are currently running along with tags on which stack they belong to
type ReplicaSetInfo ¶
type RolloutInfo ¶
type RolloutInfo struct { Metadata Status string Icon string Strategy string Step string SetWeight string ActualWeight string Ready int32 Current int32 Desired int32 Updated int32 Available int32 ReplicaSets []ReplicaSetInfo Experiments []ExperimentInfo AnalysisRuns []AnalysisRunInfo }
func NewRolloutInfo ¶
func NewRolloutInfo( ro *v1alpha1.Rollout, allReplicaSets []*appsv1.ReplicaSet, allPods []*corev1.Pod, allExperiments []*v1alpha1.Experiment, allARs []*v1alpha1.AnalysisRun, ) *RolloutInfo
func (*RolloutInfo) AnalysisRunsByRevision ¶
func (r *RolloutInfo) AnalysisRunsByRevision(rev int) []AnalysisRunInfo
func (*RolloutInfo) ExperimentsByRevision ¶
func (r *RolloutInfo) ExperimentsByRevision(rev int) []ExperimentInfo
func (*RolloutInfo) Images ¶
func (r *RolloutInfo) Images() []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
func (*RolloutInfo) ReplicaSetsByRevision ¶
func (r *RolloutInfo) ReplicaSetsByRevision(rev int) []ReplicaSetInfo
func (*RolloutInfo) Revisions ¶
func (r *RolloutInfo) Revisions() []int
Click to show internal directories.
Click to hide internal directories.