Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Deployment Deployment `yaml:"deployment,omitempty"` HPA HPA `yaml:"hpa,omitempty"` Secrets Secrets `yaml:"secrets,omitempty"` }
Config is used to configure goflux
func LoadConfig ¶
LoadConfig tries to load the config from the given path
type Deployment ¶
type Deployment struct { ImagePullSecret string `yaml:"imagePullSecret,omitempty"` Annotations Annotations `yaml:"annotations,omitempty"` Ressources Ressources `yaml:"ressources,omitempty"` }
Deployment is used to configure the creation of deployment files
type HPA ¶
type HPA struct { MinReplicas int `yaml:"minReplicas,omitempty"` MaxReplicas int `yaml:"maxReplicas,omitempty"` }
HPA is used to configure the creation of hpa files
type Ressources ¶
type Ressources struct { Limits Ressource `yaml:"limits,omitempty"` Requests Ressource `yaml:"requests,omitempty"` }
Ressources are used as ressources
Click to show internal directories.
Click to hide internal directories.