Type Alias AnnotationKey

Source
pub type AnnotationKey = String;
Expand description

AnnotationKey is the key of an annotation in Gateway API. This is used for validation of maps such as TLS options. This matches the Kubernetes “qualified name” validation that is used for annotations and other common values.

Valid values include:

  • example
  • example.com
  • example.com/path
  • example.com/path.html

Invalid values include:

  • example~ - “~” is an invalid character
  • example.com. - can not start or end with “.”

Aliased Type§

struct AnnotationKey { /* private fields */ }