annotations

package
v1.4.6-1264 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

README

This directory will be used to define a package that provides generic parsing of Annotations files that have been created by Kubernetes via the Kubernetes Downward API. This package will read in files that contain entries of the form <key>=<value>, and will create a Golang map of the form map[string]string.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnnotationsFromFile

func NewAnnotationsFromFile(path string) (map[string]string, error)

NewAnnotationsFromFile reads and parses an annotations file that has been created by Kubernetes via the Downward API, based on Pod annotations that are defined in a deployment manifest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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