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" 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 ¶
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
Click to show internal directories.
Click to hide internal directories.