annotations

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotation

type Annotation struct {
	Key   string
	Value string
}

func Parse

func Parse(s string) (Annotation, error)

Parse parses an annotation. Amazingly there doesn't seem to be a function in client-go or similar that does this

func ParseAll

func ParseAll(annotations []string) ([]Annotation, error)

ParseAll parses all the given annotations and returns a collection of parsed annotations

Jump to

Keyboard shortcuts

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