Documentation ¶
Index ¶
- func List(client k8s.IK8S, namespace string) (map[string]*Service, *e.Err)
- func Logs(client k8s.IK8S, namespace string, opts *ServiceLogsOption, close chan bool) *e.Err
- func Update(client k8s.IK8S, namespace, name string, config *ServiceConfig) *e.Err
- type Container
- type Env
- type Pod
- type Port
- type Service
- type ServiceConfig
- type ServiceLogsOption
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct { Name string `json:"name"` Namespace string `json:"namespace"` Labels map[string]string `json:"labels"` Scale int32 `json:"scale"` Template struct { ContainerList []Container `json:"containers"` } `json:"tempalte"` PodList []Pod `json:"pods"` }
type ServiceConfig ¶
type ServiceLogsOption ¶
Click to show internal directories.
Click to hide internal directories.