Documentation ¶
Index ¶
- Constants
- func NewCmdGet(o *options.ArgoRolloutsOptions) *cobra.Command
- func NewCmdGetExperiment(o *options.ArgoRolloutsOptions) *cobra.Command
- func NewCmdGetRollout(o *options.ArgoRolloutsOptions) *cobra.Command
- type GetOptions
- func (o *GetOptions) Clear()
- func (o *GetOptions) PrintAnalysisRunInfo(w io.Writer, arInfo info.AnalysisRunInfo, prefix string, subpfx string)
- func (o *GetOptions) PrintExperiment(exInfo *info.ExperimentInfo)
- func (o *GetOptions) PrintExperimentInfo(w io.Writer, expInfo info.ExperimentInfo, prefix string, subpfx string)
- func (o *GetOptions) PrintExperimentTree(exInfo *info.ExperimentInfo)
- func (o *GetOptions) PrintHeader(w io.Writer)
- func (o *GetOptions) PrintJob(w io.Writer, jobInfo info.JobInfo, prefix string, subpfx string)
- func (o *GetOptions) PrintReplicaSetInfo(w io.Writer, rsInfo info.ReplicaSetInfo, prefix string, subpfx string)
- func (o *GetOptions) PrintRevision(w io.Writer, roInfo *info.RolloutInfo, revision int, prefix string, ...)
- func (o *GetOptions) PrintRollout(roInfo *info.RolloutInfo)
- func (o *GetOptions) PrintRolloutTree(roInfo *info.RolloutInfo)
- func (o *GetOptions) WatchExperiment(stopCh <-chan struct{}, expUpdates chan *info.ExperimentInfo)
- func (o *GetOptions) WatchRollout(stopCh <-chan struct{}, rolloutUpdates chan *info.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
Types ¶
type GetOptions ¶
type GetOptions struct { Watch bool NoColor bool 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 info.AnalysisRunInfo, prefix string, subpfx string)
func (*GetOptions) PrintExperiment ¶
func (o *GetOptions) PrintExperiment(exInfo *info.ExperimentInfo)
func (*GetOptions) PrintExperimentInfo ¶
func (o *GetOptions) PrintExperimentInfo(w io.Writer, expInfo info.ExperimentInfo, prefix string, subpfx string)
func (*GetOptions) PrintExperimentTree ¶
func (o *GetOptions) PrintExperimentTree(exInfo *info.ExperimentInfo)
func (*GetOptions) PrintHeader ¶
func (o *GetOptions) PrintHeader(w io.Writer)
func (*GetOptions) PrintReplicaSetInfo ¶
func (o *GetOptions) PrintReplicaSetInfo(w io.Writer, rsInfo info.ReplicaSetInfo, prefix string, subpfx string)
func (*GetOptions) PrintRevision ¶
func (o *GetOptions) PrintRevision(w io.Writer, roInfo *info.RolloutInfo, revision int, prefix string, subpfx string)
func (*GetOptions) PrintRollout ¶
func (o *GetOptions) PrintRollout(roInfo *info.RolloutInfo)
func (*GetOptions) PrintRolloutTree ¶
func (o *GetOptions) PrintRolloutTree(roInfo *info.RolloutInfo)
func (*GetOptions) WatchExperiment ¶
func (o *GetOptions) WatchExperiment(stopCh <-chan struct{}, expUpdates chan *info.ExperimentInfo)
func (*GetOptions) WatchRollout ¶
func (o *GetOptions) WatchRollout(stopCh <-chan struct{}, rolloutUpdates chan *info.RolloutInfo)
Click to show internal directories.
Click to hide internal directories.