# Functions
Register registers all definitions for CRD generation to the given registry.
# Variables
AllDefinitions contains all marker definitions for this package.
CRDMarkers lists all markers that directly modify the CRD (not validation schemas).
FieldOnlyMarkers list field-specific validation markers (i.e.
TopologyMarkers specify topology markers (i.e.
ValidationIshMarkers are field-and-type markers that don't fall under the :validation: prefix, and/or don't have a name that directly matches their type.
ValidationMarkers lists all available markers that affect CRD schema generation, except for the few that don't make sense as type-level markers (see FieldOnlyMarkers).
# Structs
+controllertools:marker:generateHelp:category="CRD validation" Default sets the default value for this field.
DeprecatedVersion marks this version as deprecated.
+controllertools:marker:generateHelp:category="CRD validation" Nullable marks this field as allowing the "null" value.
PrintColumn adds a column to "kubectl get" output for this CRD.
Resource configures naming and scope for a CRD.
SkipVersion removes the particular version of the CRD from the CRDs spec.
StorageVersion marks this version as the "storage version" for the CRD for conversion.
SubresourceScale enables the "/scale" subresource on a CRD.
SubresourceStatus enables the "/status" subresource on a CRD.
UnservedVersion does not serve this version.
+controllertools:marker:generateHelp:category="CRD validation" EmbeddedResource marks a fields as an embedded resource with apiVersion, kind and metadata fields.
+controllertools:marker:generateHelp:category="CRD processing" PreserveUnknownFields stops the apiserver from pruning fields which are not specified.
# Type aliases
+controllertools:marker:generateHelp:category="CRD validation" Enum specifies that this (scalar) field is restricted to the *exact* values specified here.
+controllertools:marker:generateHelp:category="CRD validation" ExclusiveMaximum indicates that the maximum is "up to" but not including that value.
+controllertools:marker:generateHelp:category="CRD validation" ExclusiveMinimum indicates that the minimum is "up to" but not including that value.
+controllertools:marker:generateHelp:category="CRD validation" Format specifies additional "complex" formatting for this field.
ListMapKey specifies the keys to map listTypes.
ListType specifies the type of data-structure that the list represents (map, set, atomic).
MapType specifies the level of atomicity of the map; i.e.
+controllertools:marker:generateHelp:category="CRD validation" Maximum specifies the maximum numeric value that this field can have.
+controllertools:marker:generateHelp:category="CRD validation" MaxItems specifies the maximum length for this list.
+controllertools:marker:generateHelp:category="CRD validation" MaxLength specifies the maximum length for this string.
+controllertools:marker:generateHelp:category="CRD validation" MaxProperties restricts the number of keys in an object.
+controllertools:marker:generateHelp:category="CRD validation" Minimum specifies the minimum numeric value that this field can have.
+controllertools:marker:generateHelp:category="CRD validation" MinItems specifies the minimun length for this list.
+controllertools:marker:generateHelp:category="CRD validation" MinLength specifies the minimum length for this string.
+controllertools:marker:generateHelp:category="CRD validation" MinProperties restricts the number of keys in an object.
+controllertools:marker:generateHelp:category="CRD validation" MultipleOf specifies that this field must have a numeric value that's a multiple of this one.
+controllertools:marker:generateHelp:category="CRD validation" Pattern specifies that this string must match the given regular expression.
StructType specifies the level of atomicity of the struct; i.e.
+controllertools:marker:generateHelp:category="CRD validation" Type overrides the type for this field (which defaults to the equivalent of the Go type).
+controllertools:marker:generateHelp:category="CRD validation" UniqueItems specifies that all items in this list must be unique.