Documentation ¶
Index ¶
- Constants
- func NewCmdGet(o *options.ArgoRolloutsOptions) *cobra.Command
- func NewCmdGetExperiment(o *options.ArgoRolloutsOptions) *cobra.Command
- func NewCmdGetRollout(o *options.ArgoRolloutsOptions) *cobra.Command
- func Watch(stopCh <-chan struct{}, rolloutUpdates chan *rollout.RolloutInfo, ...)
- type GetOptions
- func (o *GetOptions) Clear()
- func (o *GetOptions) PrintAnalysisRunInfo(w io.Writer, arInfo rollout.AnalysisRunInfo, prefix string, subpfx string)
- func (o *GetOptions) PrintExperiment(exInfo *rollout.ExperimentInfo)
- func (o *GetOptions) PrintExperimentInfo(w io.Writer, expInfo rollout.ExperimentInfo, prefix string, subpfx string)
- func (o *GetOptions) PrintExperimentTree(exInfo *rollout.ExperimentInfo)
- func (o *GetOptions) PrintHeader(w io.Writer)
- func (o *GetOptions) PrintJob(w io.Writer, jobInfo rollout.JobInfo, prefix string, subpfx string)
- func (o *GetOptions) PrintReplicaSetInfo(w io.Writer, rsInfo rollout.ReplicaSetInfo, prefix string, subpfx string)
- func (o *GetOptions) PrintRevision(w io.Writer, roInfo *rollout.RolloutInfo, revision int, prefix string, ...)
- func (o *GetOptions) PrintRollout(roInfo *rollout.RolloutInfo)
- func (o *GetOptions) PrintRolloutTree(roInfo *rollout.RolloutInfo)
- func (o *GetOptions) WatchExperiment(stopCh <-chan struct{}, expUpdates chan *rollout.ExperimentInfo)
- func (o *GetOptions) WatchRollout(stopCh <-chan struct{}, rolloutUpdates chan *rollout.RolloutInfo)
Constants ¶
View Source
const ( IconRollout = "⟳" IconRevision = "#" IconReplicaSet = "⧉" IconPod = "□" IconJob = "⊞" IconService = "⑃" // other options: ⋲ ⇶ ⋔ ⤨ IconExperiment = "Σ" // other options: ꀀ ⋃ ⨄ IconAnalysis = "α" // other options: ⚯ )
View Source
const ( Bold = 1 FgBlack = 30 FgRed = 31 FgGreen = 32 FgYellow = 33 FgBlue = 34 FgMagenta = 35 FgCyan = 36 FgWhite = 37 FgDefault = 39 FgHiBlue = 94 )
ANSI escape codes
Variables ¶
This section is empty.
Functions ¶
func NewCmdGet ¶
func NewCmdGet(o *options.ArgoRolloutsOptions) *cobra.Command
NewCmdGet returns a new instance of an `rollouts get` command
func NewCmdGetExperiment ¶
func NewCmdGetExperiment(o *options.ArgoRolloutsOptions) *cobra.Command
NewCmdGetExperiment returns a new instance of an `rollouts get experiment` command
func NewCmdGetRollout ¶
func NewCmdGetRollout(o *options.ArgoRolloutsOptions) *cobra.Command
NewCmdGetRollout returns a new instance of an `rollouts get rollout` command
func Watch ¶ added in v1.0.0
func Watch(stopCh <-chan struct{}, rolloutUpdates chan *rollout.RolloutInfo, callback func(*rollout.RolloutInfo))
Types ¶
type GetOptions ¶
type GetOptions struct { Watch bool NoColor bool TimeoutSeconds int options.ArgoRolloutsOptions }
func (*GetOptions) Clear ¶
func (o *GetOptions) Clear()
Clear clears the terminal for updates for live watching of objects
func (*GetOptions) PrintAnalysisRunInfo ¶
func (o *GetOptions) PrintAnalysisRunInfo(w io.Writer, arInfo rollout.AnalysisRunInfo, prefix string, subpfx string)
func (*GetOptions) PrintExperiment ¶
func (o *GetOptions) PrintExperiment(exInfo *rollout.ExperimentInfo)
func (*GetOptions) PrintExperimentInfo ¶
func (o *GetOptions) PrintExperimentInfo(w io.Writer, expInfo rollout.ExperimentInfo, prefix string, subpfx string)
func (*GetOptions) PrintExperimentTree ¶
func (o *GetOptions) PrintExperimentTree(exInfo *rollout.ExperimentInfo)
func (*GetOptions) PrintHeader ¶
func (o *GetOptions) PrintHeader(w io.Writer)
func (*GetOptions) PrintReplicaSetInfo ¶
func (o *GetOptions) PrintReplicaSetInfo(w io.Writer, rsInfo rollout.ReplicaSetInfo, prefix string, subpfx string)
func (*GetOptions) PrintRevision ¶
func (o *GetOptions) PrintRevision(w io.Writer, roInfo *rollout.RolloutInfo, revision int, prefix string, subpfx string)
func (*GetOptions) PrintRollout ¶
func (o *GetOptions) PrintRollout(roInfo *rollout.RolloutInfo)
func (*GetOptions) PrintRolloutTree ¶
func (o *GetOptions) PrintRolloutTree(roInfo *rollout.RolloutInfo)
func (*GetOptions) WatchExperiment ¶
func (o *GetOptions) WatchExperiment(stopCh <-chan struct{}, expUpdates chan *rollout.ExperimentInfo)
func (*GetOptions) WatchRollout ¶
func (o *GetOptions) WatchRollout(stopCh <-chan struct{}, rolloutUpdates chan *rollout.RolloutInfo)
Click to show internal directories.
Click to hide internal directories.