rule112

package
v0.6.16 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Each resource can have multiple labels, up to a maximum of 64. Each label must be a key-value pair. Keys have a minimum length of 1 character and a maximum length of 63 characters, and cannot be empty. Values can be empty, and have a maximum length of 63 characters. Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. The key portion of a label must be unique within a single resource. However, you can use the same key with multiple resources. Keys must start with a lowercase letter or international character.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRules

func AddRules(r lint.RuleRegistry) error

AddRules accepts a register function and registers each of this rules' checks to the RuleRegistry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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