Documentation
¶
Index ¶
- func GetAPIVersion(node *yaml.RNode) (string, error)
- func GetAnnotations(node *yaml.RNode) (map[string]string, error)
- func GetCRDGroup(node *yaml.RNode) (string, error)
- func GetCRDKind(node *yaml.RNode) (string, error)
- func GetCRDScope(node *yaml.RNode) (string, error)
- func GetCRDVersions(node *yaml.RNode) ([]string, error)
- func GetGVK(node *yaml.RNode) (gvk schema.GroupVersionKind, err error)
- func GetKind(node *yaml.RNode) (string, error)
- func GetName(node *yaml.RNode) (string, error)
- func GetNamespace(node *yaml.RNode) (string, error)
- func GetStringField(node *yaml.RNode, fields ...string) (string, error)
- func IsWhitespaceOrComments(input string) bool
- func Pluralise(lowercaseKind string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAPIVersion ¶
func GetAPIVersion(node *yaml.RNode) (string, error)
func GetAnnotations ¶
func GetAnnotations(node *yaml.RNode) (map[string]string, error)
func GetCRDGroup ¶
func GetCRDGroup(node *yaml.RNode) (string, error)
func GetCRDKind ¶
func GetCRDKind(node *yaml.RNode) (string, error)
func GetCRDScope ¶
func GetCRDScope(node *yaml.RNode) (string, error)
func GetCRDVersions ¶
func GetCRDVersions(node *yaml.RNode) ([]string, error)
func GetNamespace ¶
func GetNamespace(node *yaml.RNode) (string, error)
func GetStringField ¶
func GetStringField(node *yaml.RNode, fields ...string) (string, error)
func IsWhitespaceOrComments ¶
func IsWhitespaceOrComments(input string) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.