Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsJSON ¶
func AsJSON(item interface{}) string
AsJSON serializes a given item into a JSON string. The item is assumed to be JSON-serializable as this function will panic otherwise.
func ParseParent ¶
func ParseParent(stringified string) gwv1alpha2.ParentReference
ParseParent deserializes a JSON string into a gwv1alpha2.ParentReference. The string is assumed to be a valid JSON representation as this function will panic otherwise.
func SupportedKindsFor ¶
func SupportedKindsFor(protocol gwv1beta1.ProtocolType) []gwv1beta1.RouteGroupKind
SupportedKindsFor returns the list of xRoute Kinds that support a given protocol
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.