Class InspectContainerData
java.lang.Object
io.github.alersrt.pod4j.openapi.model.InspectContainerData
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class InspectContainerData
extends Object
InspectContainerData provides a detailed record of a container's configuration and state as
viewed by Libpod. Large portions of this structure are defined such that the output is compatible
with `docker inspect` JSON, but additional fields have been added as required to share
information not in the original output.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArgsItem(String argsItem) addBoundingCapsItem(String boundingCapsItem) addDependenciesItem(String dependenciesItem) addEffectiveCapsItem(String effectiveCapsItem) addExecIDsItem(String execIDsItem) addMountsItem(InspectMount mountsItem) appArmorProfile(String appArmorProfile) boundingCaps(List<String> boundingCaps) config(InspectContainerConfig config) conmonPidFile(String conmonPidFile) created(OffsetDateTime created) dependencies(List<String> dependencies) effectiveCaps(List<String> effectiveCaps) booleanstatic InspectContainerDataCreate an instance of InspectContainerData given an JSON stringGet appArmorProfilegetArgs()Get argsGet boundingCapsGet configGet conmonPidFileGet createdGet dependenciesGet driverGet effectiveCapsGet execIDsGet graphDriverGet hostConfigGet hostnamePathGet hostsPathgetId()Get idgetImage()Get imageGet imageDigestGet imageNameGet isInfraGet isServiceGet kubeExitCodePropagationGet lockNumberGet mountLabelGet mountsgetName()Get nameGet namespaceGet networkSettingsGet ocIConfigPathGet ocIRuntimegetPath()Get pathGet pidFilegetPod()Get podGet processLabelGet resolvConfPathGet restartCountGet rootfsGet sizeRootFsGet sizeRwgetState()Get stateGet staticDirgraphDriver(DriverData graphDriver) inthashCode()hostConfig(InspectContainerHostConfig hostConfig) hostnamePath(String hostnamePath) imageDigest(String imageDigest) kubeExitCodePropagation(String kubeExitCodePropagation) lockNumber(Integer lockNumber) mountLabel(String mountLabel) mounts(List<InspectMount> mounts) networkSettings(InspectNetworkSettings networkSettings) ocIConfigPath(String ocIConfigPath) ocIRuntime(String ocIRuntime) processLabel(String processLabel) resolvConfPath(String resolvConfPath) restartCount(Integer restartCount) voidsetAppArmorProfile(String appArmorProfile) voidvoidsetBoundingCaps(List<String> boundingCaps) voidsetConfig(InspectContainerConfig config) voidsetConmonPidFile(String conmonPidFile) voidsetCreated(OffsetDateTime created) voidsetDependencies(List<String> dependencies) voidvoidsetEffectiveCaps(List<String> effectiveCaps) voidsetExecIDs(List<String> execIDs) voidsetGraphDriver(DriverData graphDriver) voidsetHostConfig(InspectContainerHostConfig hostConfig) voidsetHostnamePath(String hostnamePath) voidsetHostsPath(String hostsPath) voidvoidvoidsetImageDigest(String imageDigest) voidsetImageName(String imageName) voidsetIsInfra(Boolean isInfra) voidsetIsService(Boolean isService) voidsetKubeExitCodePropagation(String kubeExitCodePropagation) voidsetLockNumber(Integer lockNumber) voidsetMountLabel(String mountLabel) voidsetMounts(List<InspectMount> mounts) voidvoidsetNamespace(String namespace) voidsetNetworkSettings(InspectNetworkSettings networkSettings) voidsetOcIConfigPath(String ocIConfigPath) voidsetOcIRuntime(String ocIRuntime) voidvoidsetPidFile(String pidFile) voidvoidsetProcessLabel(String processLabel) voidsetResolvConfPath(String resolvConfPath) voidsetRestartCount(Integer restartCount) voidvoidsetSizeRootFs(Long sizeRootFs) voidvoidsetState(InspectContainerState state) voidsetStaticDir(String staticDir) sizeRootFs(Long sizeRootFs) state(InspectContainerState state) toJson()Convert an instance of InspectContainerData to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_APP_ARMOR_PROFILE
- See Also:
-
SERIALIZED_NAME_ARGS
- See Also:
-
SERIALIZED_NAME_BOUNDING_CAPS
- See Also:
-
SERIALIZED_NAME_CONFIG
- See Also:
-
SERIALIZED_NAME_CONMON_PID_FILE
- See Also:
-
SERIALIZED_NAME_CREATED
- See Also:
-
SERIALIZED_NAME_DEPENDENCIES
- See Also:
-
SERIALIZED_NAME_DRIVER
- See Also:
-
SERIALIZED_NAME_EFFECTIVE_CAPS
- See Also:
-
SERIALIZED_NAME_EXEC_I_DS
- See Also:
-
SERIALIZED_NAME_GRAPH_DRIVER
- See Also:
-
SERIALIZED_NAME_HOST_CONFIG
- See Also:
-
SERIALIZED_NAME_HOSTNAME_PATH
- See Also:
-
SERIALIZED_NAME_HOSTS_PATH
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_IMAGE
- See Also:
-
SERIALIZED_NAME_IMAGE_DIGEST
- See Also:
-
SERIALIZED_NAME_IMAGE_NAME
- See Also:
-
SERIALIZED_NAME_IS_INFRA
- See Also:
-
SERIALIZED_NAME_IS_SERVICE
- See Also:
-
SERIALIZED_NAME_KUBE_EXIT_CODE_PROPAGATION
- See Also:
-
SERIALIZED_NAME_MOUNT_LABEL
- See Also:
-
SERIALIZED_NAME_MOUNTS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
SERIALIZED_NAME_NETWORK_SETTINGS
- See Also:
-
SERIALIZED_NAME_OC_I_CONFIG_PATH
- See Also:
-
SERIALIZED_NAME_OC_I_RUNTIME
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_PID_FILE
- See Also:
-
SERIALIZED_NAME_POD
- See Also:
-
SERIALIZED_NAME_PROCESS_LABEL
- See Also:
-
SERIALIZED_NAME_RESOLV_CONF_PATH
- See Also:
-
SERIALIZED_NAME_RESTART_COUNT
- See Also:
-
SERIALIZED_NAME_ROOTFS
- See Also:
-
SERIALIZED_NAME_SIZE_ROOT_FS
- See Also:
-
SERIALIZED_NAME_SIZE_RW
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_STATIC_DIR
- See Also:
-
SERIALIZED_NAME_LOCK_NUMBER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
InspectContainerData
public InspectContainerData()
-
-
Method Details
-
appArmorProfile
-
getAppArmorProfile
Get appArmorProfile- Returns:
- appArmorProfile
-
setAppArmorProfile
-
args
-
addArgsItem
-
getArgs
Get args- Returns:
- args
-
setArgs
-
boundingCaps
-
addBoundingCapsItem
-
getBoundingCaps
Get boundingCaps- Returns:
- boundingCaps
-
setBoundingCaps
-
config
-
getConfig
Get config- Returns:
- config
-
setConfig
-
conmonPidFile
-
getConmonPidFile
Get conmonPidFile- Returns:
- conmonPidFile
-
setConmonPidFile
-
created
-
getCreated
Get created- Returns:
- created
-
setCreated
-
dependencies
-
addDependenciesItem
-
getDependencies
Get dependencies- Returns:
- dependencies
-
setDependencies
-
driver
-
getDriver
Get driver- Returns:
- driver
-
setDriver
-
effectiveCaps
-
addEffectiveCapsItem
-
getEffectiveCaps
Get effectiveCaps- Returns:
- effectiveCaps
-
setEffectiveCaps
-
execIDs
-
addExecIDsItem
-
getExecIDs
Get execIDs- Returns:
- execIDs
-
setExecIDs
-
graphDriver
-
getGraphDriver
Get graphDriver- Returns:
- graphDriver
-
setGraphDriver
-
hostConfig
-
getHostConfig
Get hostConfig- Returns:
- hostConfig
-
setHostConfig
-
hostnamePath
-
getHostnamePath
Get hostnamePath- Returns:
- hostnamePath
-
setHostnamePath
-
hostsPath
-
getHostsPath
Get hostsPath- Returns:
- hostsPath
-
setHostsPath
-
id
-
getId
Get id- Returns:
- id
-
setId
-
image
-
getImage
Get image- Returns:
- image
-
setImage
-
imageDigest
-
getImageDigest
Get imageDigest- Returns:
- imageDigest
-
setImageDigest
-
imageName
-
getImageName
Get imageName- Returns:
- imageName
-
setImageName
-
isInfra
-
getIsInfra
Get isInfra- Returns:
- isInfra
-
setIsInfra
-
isService
-
getIsService
Get isService- Returns:
- isService
-
setIsService
-
kubeExitCodePropagation
-
getKubeExitCodePropagation
Get kubeExitCodePropagation- Returns:
- kubeExitCodePropagation
-
setKubeExitCodePropagation
-
mountLabel
-
getMountLabel
Get mountLabel- Returns:
- mountLabel
-
setMountLabel
-
mounts
-
addMountsItem
-
getMounts
Get mounts- Returns:
- mounts
-
setMounts
-
name
-
getName
Get name- Returns:
- name
-
setName
-
namespace
-
getNamespace
Get namespace- Returns:
- namespace
-
setNamespace
-
networkSettings
-
getNetworkSettings
Get networkSettings- Returns:
- networkSettings
-
setNetworkSettings
-
ocIConfigPath
-
getOcIConfigPath
Get ocIConfigPath- Returns:
- ocIConfigPath
-
setOcIConfigPath
-
ocIRuntime
-
getOcIRuntime
Get ocIRuntime- Returns:
- ocIRuntime
-
setOcIRuntime
-
path
-
getPath
Get path- Returns:
- path
-
setPath
-
pidFile
-
getPidFile
Get pidFile- Returns:
- pidFile
-
setPidFile
-
pod
-
getPod
Get pod- Returns:
- pod
-
setPod
-
processLabel
-
getProcessLabel
Get processLabel- Returns:
- processLabel
-
setProcessLabel
-
resolvConfPath
-
getResolvConfPath
Get resolvConfPath- Returns:
- resolvConfPath
-
setResolvConfPath
-
restartCount
-
getRestartCount
Get restartCount- Returns:
- restartCount
-
setRestartCount
-
rootfs
-
getRootfs
Get rootfs- Returns:
- rootfs
-
setRootfs
-
sizeRootFs
-
getSizeRootFs
Get sizeRootFs- Returns:
- sizeRootFs
-
setSizeRootFs
-
sizeRw
-
getSizeRw
Get sizeRw- Returns:
- sizeRw
-
setSizeRw
-
state
-
getState
Get state- Returns:
- state
-
setState
-
staticDir
-
getStaticDir
Get staticDir- Returns:
- staticDir
-
setStaticDir
-
lockNumber
-
getLockNumber
Get lockNumber- Returns:
- lockNumber
-
setLockNumber
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to InspectContainerData
-
fromJson
Create an instance of InspectContainerData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of InspectContainerData
- Throws:
IOException- if the JSON string is invalid with respect to InspectContainerData
-
toJson
Convert an instance of InspectContainerData to an JSON string- Returns:
- JSON string
-