type setClusterOptions … var setClusterLong … var setClusterExample … // NewCmdConfigSetCluster returns a Command instance for 'config set-cluster' sub command func NewCmdConfigSetCluster(out io.Writer, configAccess clientcmd.ConfigAccess) *cobra.Command { … } func (o setClusterOptions) run() error { … } func (o *setClusterOptions) modifyCluster(existingCluster clientcmdapi.Cluster) clientcmdapi.Cluster { … } func (o *setClusterOptions) complete(cmd *cobra.Command) error { … } func (o setClusterOptions) validate() error { … }