package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Jan 17, 2021
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 App struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
Image string `json:"image"`
Args []string `json:"args"`
Env map[string]interface{} `json:"env"`
Ports map[string]interface{} `json:"ports"`
Replicas int `json:"replicas"`
Status *Status `json:"status"`
}
type AppConstructor struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
Image string `json:"image"`
Args []string `json:"args"`
Env map[string]interface{} `json:"env"`
Ports map[string]interface{} `json:"ports"`
Replicas int `json:"replicas"`
}
type AppUpdate struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
Image *string `json:"image"`
Args []string `json:"args"`
Env map[string]interface{} `json:"env"`
Ports map[string]interface{} `json:"ports"`
Replicas *int `json:"replicas"`
}
type Log struct {
Message string `json:"message"`
}
type Namespace struct {
Namespace string `json:"namespace"`
}
type Namespaces struct {
Namespaces []string `json:"namespaces"`
}
type Ref struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
}
type Replica struct {
Phase string `json:"phase"`
Condition string `json:"condition"`
Reason string `json:"reason"`
}
type Status struct {
Replicas []*Replica `json:"replicas"`
}
type Task struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
Image string `json:"image"`
Args []string `json:"args"`
Env map[string]interface{} `json:"env"`
Schedule string `json:"schedule"`
}
type TaskConstructor struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
Image string `json:"image"`
Args []string `json:"args"`
Env map[string]interface{} `json:"env"`
Schedule string `json:"schedule"`
}
type TaskUpdate struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
Image *string `json:"image"`
Args []string `json:"args"`
Env map[string]interface{} `json:"env"`
Schedule *string `json:"schedule"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.