Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownloadGenerator ¶
type DownloadGenerator struct {
Url string `yaml:"url"`
}
func (DownloadGenerator) Generate ¶
func (g DownloadGenerator) Generate() (*GeneratorResult, error)
type Generator ¶
type Generator interface {
Generate() (*GeneratorResult, error)
}
func LoadGenerator ¶
type GeneratorResource ¶
type GeneratorResult ¶
type GeneratorResult struct {
Resources []GeneratorResource
}
type HelmGenerator ¶
type HelmGenerator struct {
Registry string `yaml:"registry"`
Chart string `yaml:"chart"`
Version string `yaml:"version"`
Name string `yaml:"name"`
Namespace string `yaml:"namespace"`
ApiVersions []string `yaml:"apiVersions"`
Args []string `yaml:"args"`
Values map[string]interface{} `yaml:"values"`
}
func (HelmGenerator) Generate ¶
func (g HelmGenerator) Generate() (*GeneratorResult, error)
type KubernetesResource ¶
type KubernetesResource struct {
ApiVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Metadata KubernetesResourceMetadata `yaml:"metadata"`
}
func (KubernetesResource) NonEmpty ¶
func (r KubernetesResource) NonEmpty() bool
type KubernetesResourceMetadata ¶
type KubernetesResourceMetadata struct {
Name string `yaml:"name"`
}
type Kustomization ¶
type Kustomization struct {
Resources []string `yaml:"resources"`
}
type KustomizeGenerator ¶
func (KustomizeGenerator) Generate ¶
func (g KustomizeGenerator) Generate() (*GeneratorResult, error)
Click to show internal directories.
Click to hide internal directories.