Documentation ¶
Index ¶
- Constants
- func Age(m v1.ObjectMeta) string
- func AnalysisRunsByRevision(r *rollout.RolloutInfo, rev int) []*rollout.AnalysisRunInfo
- func ExperimentsByRevision(r *rollout.RolloutInfo, rev int) []*rollout.ExperimentInfo
- func GetReplicaSetInfo(ownerUID types.UID, ro *v1alpha1.Rollout, allReplicaSets []*appsv1.ReplicaSet, ...) []*rollout.ReplicaSetInfo
- func NewExperimentInfo(exp *v1alpha1.Experiment, allReplicaSets []*appsv1.ReplicaSet, ...) *rollout.ExperimentInfo
- func NewRolloutInfo(ro *v1alpha1.Rollout, allReplicaSets []*appsv1.ReplicaSet, ...) *rollout.RolloutInfo
- func ReplicaSetsByRevision(r *rollout.RolloutInfo, rev int) []*rollout.ReplicaSetInfo
- func Revisions(r *rollout.RolloutInfo) []int
- func ScaleDownDelay(rs rollout.ReplicaSetInfo) string
- type ImageInfo
- type Metadata
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 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, ) *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 ¶
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
Click to show internal directories.
Click to hide internal directories.