Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunConfigmap ¶
func RunConfigmap(option ConfigmapOptions) error
Types ¶
type ConfigmapOptions ¶
type ConfigmapOptions struct {
DryRun bool
History int
ChartName string
Namespace string
KubeContext string
}
type History ¶
type History struct {
Revision int `json:"revision"`
Updated string `json:"updated"`
Status string `json:"status"`
Chart string `json:"chart"`
AppVersion string `json:"app_version"`
}
func GetHistory ¶
func GetHistory(name, namespace, kubeCtx string, count int) ([]History, error)
type Manifest ¶ added in v0.2.0
type Manifest struct {
APIVersion string `yaml:"apiVersion"`
Kind string
Metadata struct {
Namespace string
Name string
Annotations map[string]string
}
}
func GetManifests ¶ added in v0.2.0
func GetManifests(name, namespace, kubeCtx string) ([]Manifest, error)
Click to show internal directories.
Click to hide internal directories.