|
- package cloud
-
- type RespErr struct {
- Code int32 `json:"code"`
- Message string `json:"message"`
- }
-
- type Resp struct {
- Code int32 `json:"code"`
- Message string `json:"msg"`
- Data interface{} `json:"data"`
- }
-
- type CreateParam struct {
- ContainerGroupName string `json:"containerGroupName"`
- ImageRegistry string `json:"imageRegistry,omitempty"`
- ImageUsername string `json:"imageUsername,omitempty"`
- ImagePassword string `json:"imagePassword,omitempty"`
- ImagePullSecrets string `json:"imagePullSecrets,omitempty"`
- Description string `json:"description,omitempty"`
- Name string `json:"name"`
- Image string `json:"image"`
- Cpu string `json:"cpu,omitempty"`
- Memory string `json:"memory,omitempty"`
- Port int32 `json:"port,omitempty"`
- NodePort int32 `json:"nodePort,omitempty"`
- MountPath string `json:"mountPath,omitempty"`
- Args []string `json:"args,omitempty"`
- Envs []struct {
- Name string `json:"name,omitempty"`
- Value string `json:"value,omitempty"`
- } `json:"envs,omitempty"`
- CreateParameter interface{} `json:"createParameter,omitempty"`
- }
-
- type DeleteParam struct {
- Name string `json:"name,omitempty"`
- DeleteParameter interface{} `json:"deleteParameter,omitempty"`
- }
- type GetParam struct {
- Name string `json:"name,omitempty"`
- GetParameter interface{} `json:"getParameter,omitempty"`
- }
- type LogParam struct {
- Name string `json:"name,omitempty"`
- GetParameter interface{} `json:"getParameter,omitempty"`
- }
-
- type EciLogParam struct {
- ContainerGroupId string `json:"containerGroupId"`
- }
-
- type EciRequestParam struct {
- RequestId string `json:"RequestId"`
- ContainerGroupId string `json:"ContainerGroupId"`
- }
|