Versions in this module Expand all Collapse all v0 v0.2.1 Jul 6, 2015 Changes in this version + func InterfaceSlice(slice interface{}) ([]interface{}, error) + func RandStr(strSize int, randType string) string + type KContainer struct + Args []string + CPU int + Command []string + Env []*KEnv + Image string + Memory int64 + Name string + Ports []*KPort + Resources map[string]interface{} + Volumes []*KVolumeReference + WorkingDir string + type KEmptyDir struct + type KEnv struct + Name string + Value string + type KGCEPersistentDisk struct + type KHostDir struct + Path string + type KMeta struct + Name string + type KPod struct + Kind string + Meta *KMeta + Spec *KSpec + func (kp *KPod) Convert() (*UserPod, error) + type KPort struct + ContainerPort int + HostPort int + Name string + Protocol string + type KSpec struct + Containers []*KContainer + DNSPolicy []string + RestartPolicy string + Volumes []*KVolume + type KVolume struct + Name string + Source *KVolumeSource + type KVolumeReference struct + MountPath string + Name string + ReadOnly bool + type KVolumeSource struct + EmptyDir *KEmptyDir + GCEPersistentDisk *KGCEPersistentDisk + HostDir *KHostDir + type UserContainer struct + Command []string + Entrypoint []string + Envs []UserEnvironmentVar + Files []UserFileReference + Image string + Name string + Ports []UserContainerPort + RestartPolicy string + Volumes []UserVolumeReference + Workdir string + type UserContainerPort struct + ContainerPort int + HostPort int + Protocol string + ServicePort int + type UserEnvironmentVar struct + Env string + Value string + type UserFile struct + Contents string + Encoding string + Name string + Uri string + type UserFileReference struct + Filename string + Group string + Path string + Perm string + User string + type UserPod struct + Containers []UserContainer + Files []UserFile + Name string + Resource UserResource + Tty bool + Type string + Volumes []UserVolume + func ProcessPodBytes(body []byte) (*UserPod, error) + func ProcessPodFile(jsonFile string) (*UserPod, error) + func (pod *UserPod) Validate() error + type UserResource struct + Memory int + Vcpu int + type UserVolume struct + Driver string + Name string + Source string + type UserVolumeReference struct + Path string + ReadOnly bool + Volume string