Versions in this module Expand all Collapse all v0 v0.7.0 Oct 28, 2016 v0.6.2 Aug 29, 2016 Changes in this version + type PortmappingWhiteList struct + ExternalNetworks []string + InternalNetworks []string type UserContainer + Labels map[string]string type UserPod + PortmappingWhiteLists *PortmappingWhiteList type UserVolumeOption + BytesPerSec int + Iops int v0.6.0 May 25, 2016 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 + Labels map[string]string + 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 PodLogConfig struct + Config map[string]string + Type string + type UserContainer struct + Command []string + Entrypoint []string + Envs []UserEnvironmentVar + Files []UserFileReference + Image string + Name string + Ports []UserContainerPort + RestartPolicy string + Sysctl map[string]string + Tty bool + User UserUser + Volumes []UserVolumeReference + Workdir string + func ConvertOCF2UserContainer(s *specs.Spec) *UserContainer + 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 UserInterface struct + Bridge string + Gw string + Ifname string + Ip string + Mac string + type UserPod struct + Containers []UserContainer + Dns []string + Files []UserFile + Hostname string + Interfaces []UserInterface + Labels map[string]string + LogConfig PodLogConfig + Name string + Resource UserResource + RestartPolicy string + Services []UserService + Tty bool + Type string + Volumes []UserVolume + func ConvertOCF2PureUserPod(s *specs.Spec) *UserPod + 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 UserService struct + Hosts []UserServiceBackend + Protocol string + ServiceIP string + ServicePort int + type UserServiceBackend struct + HostIP string + HostPort int + type UserUser struct + AdditionalGroups []string + Group string + Name string + type UserVolume struct + Driver string + Name string + Option UserVolumeOption + Source string + type UserVolumeOption struct + Keyring string + Monitors []string + User string + type UserVolumeReference struct + Path string + ReadOnly bool + Volume string v0.5.0 Feb 5, 2016 v0.4.0 Sep 15, 2015