Documentation ¶
Index ¶
- func NewTraceId() string
- type AgentClient
- type KubeClient
- func (k *KubeClient) Apply(clusterId string, params interface{}) *utils.Response
- func (k *KubeClient) Create(clusterId, resType string, params interface{}) *utils.Response
- func (k *KubeClient) Delete(clusterId, resType string, params interface{}) *utils.Response
- func (k *KubeClient) Get(clusterId, resType string, params interface{}) *utils.Response
- func (k *KubeClient) List(clusterId, resType string, params interface{}) *utils.Response
- func (k *KubeClient) Patch(clusterId, resType string, params interface{}) *utils.Response
- func (k *KubeClient) Pods(clusterId string) (PodClient, error)
- func (k *KubeClient) Request(clusterId, resType, action string, params interface{}) *utils.Response
- func (k *KubeClient) Update(clusterId, resType string, params interface{}) *utils.Response
- func (k *KubeClient) Watch(clusterId, resType string, params interface{}) (Outer, error)
- type Outer
- type PodClient
- type PodExec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTraceId ¶
func NewTraceId() string
Types ¶
type AgentClient ¶
type AgentClient struct {
// contains filtered or unexported fields
}
func NewAgentClient ¶
func NewAgentClient(models *model.Models) *AgentClient
type KubeClient ¶
type KubeClient struct {
// contains filtered or unexported fields
}
func NewKubeClient ¶
func NewKubeClient(models *model.Models) *KubeClient
func (*KubeClient) Apply ¶
func (k *KubeClient) Apply(clusterId string, params interface{}) *utils.Response
func (*KubeClient) Create ¶
func (k *KubeClient) Create(clusterId, resType string, params interface{}) *utils.Response
func (*KubeClient) Delete ¶
func (k *KubeClient) Delete(clusterId, resType string, params interface{}) *utils.Response
func (*KubeClient) Get ¶
func (k *KubeClient) Get(clusterId, resType string, params interface{}) *utils.Response
func (*KubeClient) List ¶
func (k *KubeClient) List(clusterId, resType string, params interface{}) *utils.Response
func (*KubeClient) Patch ¶
func (k *KubeClient) Patch(clusterId, resType string, params interface{}) *utils.Response
func (*KubeClient) Request ¶
func (k *KubeClient) Request(clusterId, resType, action string, params interface{}) *utils.Response
Click to show internal directories.
Click to hide internal directories.