set

package
v5.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Copyright 2023 The Kubernetes Authors. SPDX-License-Identifier: Apache-2.0

Copyright 2023 The Kubernetes Authors. SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

View Source
var IsValidKey = regexp.MustCompile(`^([a-zA-Z](([-a-zA-Z0-9.]{0,251})[a-zA-Z0-9])?\/)?[a-zA-Z0-9]([-a-zA-Z0-9_.]{0,61}[a-zA-Z0-9])?$`).MatchString

IsValidKey checks key against regex. First part for prefix segment (DNS1123Label) of an annotation followed by a slash, second part for name segment of an annotation see https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/

Functions

func NewCmdSet

func NewCmdSet(
	fSys filesys.FileSystem,
	ldr ifc.KvLoader,
	v ifc.Validator,
	rf *resource.Factory,
) *cobra.Command

NewCmdSet returns an instance of 'set' subcommand.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL