const MsgNotLabeled …
const MsgLabeled …
const MsgUnLabeled …
type LabelOptions …
var labelLong …
var labelExample …
func NewLabelOptions(ioStreams genericiooptions.IOStreams) *LabelOptions { … }
func NewCmdLabel(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command { … }
func (o *LabelOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error { … }
func (o *LabelOptions) Validate() error { … }
func (o *LabelOptions) RunLabel() error { … }
func updateDataChangeMsg(oldObj []byte, newObj []byte, overwrite bool) string { … }
func validateNoOverwrites(accessor metav1.Object, labels map[string]string) error { … }
func parseLabels(spec []string) (map[string]string, []string, error) { … }
func labelFunc(obj runtime.Object, overwrite bool, resourceVersion string, labels map[string]string, remove []string) error { … }