[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

@@ -21,6 +21,6 @@ import (
// ContainerPort is a nested struct in eci response
type ContainerPort struct {
Port requests.Integer `json:"Port" xml:"Port" position:"Query" name:"Port"`
Protocol string `json:"Protocol" xml:"Protocol" position:"Query" name:"Protocol"`
Port requests.Integer `name:"Port"`
Protocol string `name:"Protocol"`
}