Versions in this module Expand all Collapse all v3 v3.4.10 Aug 29, 2022 v3.4.8 Aug 29, 2022 Changes in this version + func InitializeVolumes(specVolumes []v1.Volume) (map[string]*KubeVolume, error) + func ToPodOpt(ctx context.Context, podName string, p entities.PodCreateOptions, ...) (entities.PodCreateOptions, error) + func ToSpecGen(ctx context.Context, opts *CtrSpecGenOptions) (*specgen.SpecGenerator, error) + type CtrSpecGenOptions struct + Annotations map[string]string + ConfigMaps []v1.ConfigMap + Container v1.Container + Image *libimage.Image + InitContainerType string + IsInfra bool + Labels map[string]string + LogDriver string + NetNSIsHost bool + PodID string + PodInfraID string + PodName string + RestartPolicy string + SeccompPaths *KubeSeccompPaths + SecretsManager *secrets.SecretsManager + Volumes map[string]*KubeVolume + type KubeSeccompPaths struct + func InitializeSeccompPaths(annotations map[string]string, profileRoot string) (*KubeSeccompPaths, error) + func (k *KubeSeccompPaths) FindForContainer(ctrName string) string + type KubeVolume struct + Source string + Type KubeVolumeType + func VolumeFromHostPath(hostPath *v1.HostPathVolumeSource) (*KubeVolume, error) + func VolumeFromPersistentVolumeClaim(claim *v1.PersistentVolumeClaimVolumeSource) (*KubeVolume, error) + func VolumeFromSource(volumeSource v1.VolumeSource) (*KubeVolume, error) + type KubeVolumeType int + const KubeVolumeTypeBindMount + const KubeVolumeTypeNamed