github.com/AbhinandanKurakure/podman/v3@v3.4.10/libpod/define/annotations.go (about) 1 package define 2 3 const ( 4 // InspectAnnotationCIDFile is used by Inspect to determine if a 5 // container ID file was created for the container. 6 // If an annotation with this key is found in the OCI spec, it will be 7 // used in the output of Inspect(). 8 InspectAnnotationCIDFile = "io.podman.annotations.cid-file" 9 // InspectAnnotationAutoremove is used by Inspect to determine if a 10 // container will be automatically removed on exit. 11 // If an annotation with this key is found in the OCI spec and is one of 12 // the two supported boolean values (InspectResponseTrue and 13 // InspectResponseFalse) it will be used in the output of Inspect(). 14 InspectAnnotationAutoremove = "io.podman.annotations.autoremove" 15 // InspectAnnotationVolumesFrom is used by Inspect to identify 16 // containers whose volumes are are being used by this container. 17 // It is expected to be a comma-separated list of container names and/or 18 // IDs. 19 // If an annotation with this key is found in the OCI spec, it will be 20 // used in the output of Inspect(). 21 InspectAnnotationVolumesFrom = "io.podman.annotations.volumes-from" 22 // InspectAnnotationPrivileged is used by Inspect to identify containers 23 // which are privileged (IE, running with elevated privileges). 24 // It is expected to be a boolean, populated by one of 25 // InspectResponseTrue or InspectResponseFalse. 26 // If an annotation with this key is found in the OCI spec, it will be 27 // used in the output of Inspect(). 28 InspectAnnotationPrivileged = "io.podman.annotations.privileged" 29 // InspectAnnotationPublishAll is used by Inspect to identify containers 30 // which have all the ports from their image published. 31 // It is expected to be a boolean, populated by one of 32 // InspectResponseTrue or InspectResponseFalse. 33 // If an annotation with this key is found in the OCI spec, it will be 34 // used in the output of Inspect(). 35 InspectAnnotationPublishAll = "io.podman.annotations.publish-all" 36 // InspectAnnotationInit is used by Inspect to identify containers that 37 // mount an init binary in. 38 // It is expected to be a boolean, populated by one of 39 // InspectResponseTrue or InspectResponseFalse. 40 // If an annotation with this key is found in the OCI spec, it will be 41 // used in the output of Inspect(). 42 InspectAnnotationInit = "io.podman.annotations.init" 43 // InspectAnnotationLabel is used by Inspect to identify containers with 44 // special SELinux-related settings. It is used to populate the output 45 // of the SecurityOpt setting. 46 // If an annotation with this key is found in the OCI spec, it will be 47 // used in the output of Inspect(). 48 InspectAnnotationLabel = "io.podman.annotations.label" 49 // InspectAnnotationSeccomp is used by Inspect to identify containers 50 // with special Seccomp-related settings. It is used to populate the 51 // output of the SecurityOpt setting in Inspect. 52 // If an annotation with this key is found in the OCI spec, it will be 53 // used in the output of Inspect(). 54 InspectAnnotationSeccomp = "io.podman.annotations.seccomp" 55 // InspectAnnotationApparmor is used by Inspect to identify containers 56 // with special Apparmor-related settings. It is used to populate the 57 // output of the SecurityOpt setting. 58 // If an annotation with this key is found in the OCI spec, it will be 59 // used in the output of Inspect(). 60 InspectAnnotationApparmor = "io.podman.annotations.apparmor" 61 62 // InspectResponseTrue is a boolean True response for an inspect 63 // annotation. 64 InspectResponseTrue = "TRUE" 65 // InspectResponseFalse is a boolean False response for an inspect 66 // annotation. 67 InspectResponseFalse = "FALSE" 68 )