Documentation ¶
Index ¶
Constants ¶
View Source
const ( PartOfLabelKey = "app.kubernetes.io/part-of" PartOfLabelValue = "kjournal" InstanceLabelKey = "app.kubernetes.io/instance" VersionLabelKey = "app.kubernetes.io/version" )
View Source
const GenWarning = "# This manifest was generated by kjournal. DO NOT EDIT."
Variables ¶
This section is empty.
Functions ¶
func MkdirTempAbs ¶
MkdirTempAbs creates a tmp dir and returns the absolute path to the dir. This is required since certain OSes like MacOS create temporary files in e.g. `/private/var`, to which `/var` is a symlink.
Types ¶
type Manifest ¶
type Manifest struct { // Relative path to the YAML file Path string // Content in YAML format Content string }
Manifest holds the data of a multi-doc YAML
Click to show internal directories.
Click to hide internal directories.