Versions in this module Expand all Collapse all v1 v1.1.0 Sep 17, 2018 v1.1.0-rc1 Aug 16, 2018 v1.0.0 Nov 1, 2017 v0 v0.8.1 May 10, 2017 v0.8.0 Mar 21, 2017 Changes in this version + type PodLogConfig struct + Config map[string]string + Type string + type PortmappingWhiteList struct + ExternalNetworks []string + InternalNetworks []string + type UserContainer struct + Command []string + Entrypoint []string + Envs []UserEnvironmentVar + Files []UserFileReference + Image string + Labels map[string]string + Name string + Ports []UserContainerPort + RestartPolicy string + Sysctl map[string]string + Tty bool + User UserUser + 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 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 + PortmappingWhiteLists *PortmappingWhiteList + Resource UserResource + RestartPolicy string + Services []UserService + Tty bool + Type string + Volumes []UserVolume + func ProcessPodBytes(body []byte) (*UserPod, error) + func ProcessPodFile(jsonFile string) (*UserPod, 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 + BytesPerSec int + Iops int + Keyring string + Monitors []string + User string + type UserVolumeReference struct + Path string + ReadOnly bool + Volume string