Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartValues ¶
type ChartValues struct {
Core CoreValues `yaml:"core"`
Gpu GPUValues `yaml:"gpu"`
Ingress IngressValues `yaml:"ingress"`
}
type Client ¶
type Client struct {
KubeClient *kubernetes.Clientset
Configuration *action.Configuration
Username string
Password string
Settings *cli.EnvSettings
Url string
}
func NewClient ¶
func NewClient(namespace string) (*Client, error)
NewClient registers and configures a new kubernetes and helm client
func (*Client) ChartDeployed ¶
func (c *Client) ChartDeployed() (*release.Release, error)
type CoreValues ¶
type CoreValues struct {
Enabled bool `yaml:"enabled"`
Nginx NginxValues `yaml:"nginx"`
PHP PHPValues `yaml:"php"`
Postgres PGValues `yaml:"postgres"`
}
type GPUValues ¶
type GPUValues struct {
Enabled bool `yaml:"enabled"`
NumberOfGPUs int `yaml:"numberOfGPUs"`
}
type IngressValues ¶
type IngressValues struct {
Enabled bool `yaml:"enabled"`
Annotations map[string]string `yaml:"annotations"`
ClassName string `yaml:"className"`
Host string `yaml:"host"`
TLS []TLSValues `yaml:"tls"`
}
type NginxValues ¶
type NginxValues struct {
Image RepoTagValues `yaml:"image"`
ExporterImage RepoTagValues `yaml:"exporterImage"`
Resources ResourceValues `yaml:"resources"`
}
type PDValues ¶
type PDValues struct {
Enabled bool `yaml:"enabled"`
StorageClassName string `yaml:"storageClassName"`
}
type PGValues ¶
type PGValues struct {
Image RepoTagValues `yaml:"image"`
StatefulSet StatefulSetValues `yaml:"statefulSet"`
}
type RepoTagValues ¶ added in v0.1.9
type RepoTagValues struct {
Repo string `yaml:"repo"`
Tag string `yaml:"tag"`
}
type RequestValues ¶
type RequestValues struct {
Cpu string `yaml:"cpu"`
Memory string `yaml:"memory"`
}
type ResourceValues ¶
type ResourceValues struct {
Requests RequestValues `yaml:"requests"`
}
type StatefulSetValues ¶
type StatefulSetValues struct {
PersistentData PDValues `yaml:"persistentData"`
}
Click to show internal directories.
Click to hide internal directories.