github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/pkg/bindings/play/types.go (about) 1 package play 2 3 import ( 4 "net" 5 ) 6 7 //go:generate go run ../generator/generator.go KubeOptions 8 // KubeOptions are optional options for replaying kube YAML files 9 type KubeOptions struct { 10 // Annotations - Annotations to add to Pods 11 Annotations map[string]string 12 // Authfile - path to an authentication file. 13 Authfile *string 14 // CertDir - to a directory containing TLS certifications and keys. 15 CertDir *string 16 // Username for authenticating against the registry. 17 Username *string 18 // Password for authenticating against the registry. 19 Password *string 20 // Network - name of the networks to connect to. 21 Network *[]string 22 // NoHosts - do not generate /etc/hosts file in pod's containers 23 NoHosts *bool 24 // Quiet - suppress output when pulling images. 25 Quiet *bool 26 // SignaturePolicy - path to a signature-policy file. 27 SignaturePolicy *string 28 // SkipTLSVerify - skip https and certificate validation when 29 // contacting container registries. 30 SkipTLSVerify *bool 31 // SeccompProfileRoot - path to a directory containing seccomp 32 // profiles. 33 SeccompProfileRoot *string 34 // StaticIPs - Static IP address used by the pod(s). 35 StaticIPs *[]net.IP 36 // StaticMACs - Static MAC address used by the pod(s). 37 StaticMACs *[]net.HardwareAddr 38 // ConfigMaps - slice of pathnames to kubernetes configmap YAMLs. 39 ConfigMaps *[]string 40 // LogDriver for the container. For example: journald 41 LogDriver *string 42 // LogOptions for the container. For example: journald 43 LogOptions *[]string 44 // Start - don't start the pod if false 45 Start *bool 46 // Userns - define the user namespace to use. 47 Userns *string 48 }