[AliCloud] Add init container (#382)

* clean up eci sdk code

remove unnecessary code

* add init containers support
This commit is contained in:
shidao-ytt
2018-11-02 06:57:30 +08:00
committed by Robbie Zhang
parent a9ff4fed4a
commit 77c3315da4
9 changed files with 59 additions and 52 deletions

View File

@@ -19,7 +19,7 @@ import "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
// VolumeMount is a nested struct in eci response
type VolumeMount struct {
MountPath string `json:"MountPath" xml:"MountPath" position:"Query" name:"MountPath"`
ReadOnly requests.Boolean `json:"ReadOnly" xml:"ReadOnly" position:"Query" name:"ReadOnly"`
Name string `json:"Name" xml:"Name" position:"Query" name:"Name"`
MountPath string `name:"MountPath"`
ReadOnly requests.Boolean `name:"ReadOnly"`
Name string `name:"Name"`
}