Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddContainer ¶ added in v0.0.6
type Config ¶
type Config struct {
App string `json:"app" yaml:"app"`
Project string `json:"project" yaml:"project"`
Service string `json:"service" yaml:"service"`
Version string `json:"version" yaml:"version"`
Hpa Hpa `json:"hpa" yaml:"hpa"`
CronJob CronJob `json:"cronJob" yaml:"cronJob"`
Resources map[string]Resource `json:"resources" yaml:"resources"`
Replicas uint `json:"replicas" yaml:"replicas"`
TestReplicas uint `json:"testReplicas" yaml:"testReplicas"`
ServiceAccount bool `json:"serviceAccount" yaml:"serviceAccount"`
ServiceAccountName string `json:"serviceAccountName" yaml:"serviceAccountName"`
Image Image `json:"image" yaml:"image"`
Ports []Port `json:"ports" yaml:"ports"`
Metrics Metrics `json:"metrics" yaml:"metrics"`
ImportEnvNames []string `json:"importEnvNames" yaml:"importEnvNames"`
Config []ConfigmapData `json:"config" yaml:"config"`
ConfigmapResource ConfigmapResource `json:"configmapResource" yaml:"configmapResource"`
Secret []SecretData `json:"secret" yaml:"secret"`
SecretResource SecretResource `json:"secretResource" yaml:"secretResource"`
Storages []Storage `json:"storages" yaml:"storages"`
WorkloadType string `json:"workloadType" yaml:"workloadType"`
Command []*string `json:"command" yaml:"command"`
Args []*string `json:"args" yaml:"args"`
Containers []Container `json:"containers" yaml:"containers"`
NodeSelector map[string]*string `json:"nodeSelector" yaml:"nodeSelector"`
AddContainers []AddContainer `json:"addContainers" yaml:"addContainers"`
}
var Cfg Config
type ConfigmapData ¶
type ConfigmapResource ¶ added in v0.0.9
type ConfigmapResource struct {
Name string `json:"name" yaml:"name"`
ConfigData []Data `json:"configData" yaml:"configData"`
StageConfigs []StageConfig `json:"stageConfigs" yaml:"stageConfigs"`
}
type Container ¶
type Container struct {
Image string `json:"image" yaml:"image"`
Name string `json:"name" yaml:"name"`
Ports []ContainerPort `json:"ports" yaml:"ports"`
}
type ContainerPort ¶
type CronJob ¶
type CronJob struct {
FailedJobsHistoryLimit float64 `json:"failedJobsHistoryLimit" yaml:"failedJobsHistoryLimit"`
RestartPolicy string `json:"restartPolicy" yaml:"restartPolicy"`
Schedule string `json:"schedule" yaml:"schedule"`
SuccessfulJobsHistoryLimit float64 `json:"successfulJobsHistoryLimit" yaml:"successfulJobsHistoryLimit"`
}
type Image ¶
type SecretData ¶
type SecretResource ¶ added in v0.0.9
type SecretResource struct {
Name string `json:"name" yaml:"name"`
SecretData []Data `json:"secretData" yaml:"secretData"`
StageSecrets []StageSecret `json:"stageSecrets" yaml:"stageSecrets"`
}
type StageConfig ¶ added in v0.0.9
type StageSecret ¶ added in v0.0.9
type Storage ¶
type Storage struct {
Name string `json:"name" yaml:"name"`
Path string `json:"path" yaml:"path"`
SubPath string `json:"subPath" yaml:"subPath"`
Size string `json:"size" yaml:"size"`
StorageClass string `json:"storageClass" yaml:"storageClass"`
AccessModes string `json:"accessModes" yaml:"accessModes"`
}
Click to show internal directories.
Click to hide internal directories.