package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Sep 20, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
APIVersion string `json:"apiVersion"`
Kind string `json:"kind"`
Metadata Metadata `json:"metadata"`
Spec Spec `json:"spec"`
}
Config holds the configuration variables for config version v1alpha1
ApiVersion and Kind are currently unused, this may change in the future.
New creates a new Config object with internal values already set
type Metadata struct {
Name string `json:"name,omitempty"`
Labels map[string]interface{} `json:"labels,omitempty"`
}
Metadata is meant for humans and not parsed
type Spec struct {
APIServer string `json:"apiServer"`
Namespace string `json:"namespace"`
DiffStrategy string `json:"diffStrategy,omitempty"`
}
Spec defines Kubernetes properties
Source Files
¶
Click to show internal directories.
Click to hide internal directories.