Documentation
¶
Overview ¶
Package types contains shared types used across kr8+ packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdJsonnetOptions ¶
type CmdJsonnetOptions struct {
Prune bool
Cluster string
ClusterParams string
Component string
Format string
Color bool
}
Options for running the jsonnet command.
type Kr8Cluster ¶
An object that stores variables that can be referenced by components.
type VMConfig ¶
type VMConfig struct {
// Jpaths is a list of paths to search for Jsonnet libraries (libsonnet files)
Jpaths []string `json:"jpath" yaml:"jpath"`
// ExtVars is a list of external variables to pass to Jsonnet VM
ExtVars []string `json:"ext_str_file" yaml:"ext_str_files"`
// base directory for the project
BaseDir string `json:"base_dir" yaml:"base_dir"`
}
VMConfig describes configuration to initialize the Jsonnet VM with.
Click to show internal directories.
Click to hide internal directories.