var statusLong … var statusExample … type RolloutStatusOptions … // NewRolloutStatusOptions returns an initialized RolloutStatusOptions instance func NewRolloutStatusOptions(streams genericiooptions.IOStreams) *RolloutStatusOptions { … } // NewCmdRolloutStatus returns a Command instance for the 'rollout status' sub command func NewCmdRolloutStatus(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command { … } // Complete completes all the required options func (o *RolloutStatusOptions) Complete(f cmdutil.Factory, args []string) error { … } // Validate makes sure all the provided values for command-line options are valid func (o *RolloutStatusOptions) Validate() error { … } // Run performs the execution of 'rollout status' sub command func (o *RolloutStatusOptions) Run() error { … }