public class Docker extends AbstractModel
Constructor and Description |
---|
Docker() |
Docker(Docker source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getDelayOnRetry()
Get Docker image loading timeout period (in seconds).
|
String |
getDockerRunOption()
Get Docker command execution parameter
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getImage()
Get For Docker Hub, enter "[user/repo]:[tag]"; for Tencent Registry, enter "ccr.ccs.tencentyun.com/[namespace/repo]:[tag]"
|
Long |
getMaxRetryCount()
Get Maximum retry attempts to load docket images.
|
String |
getPassword()
Get Docker Hub password or Tencent Registry password
|
String |
getServer()
Get For Docker Hub, this can be left blank, but please ensure public network access is present.
|
String |
getUser()
Get Docker Hub username or Tencent Registry username
|
void |
setDelayOnRetry(Long DelayOnRetry)
Set Docker image loading timeout period (in seconds).
|
void |
setDockerRunOption(String DockerRunOption)
Set Docker command execution parameter
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setImage(String Image)
Set For Docker Hub, enter "[user/repo]:[tag]"; for Tencent Registry, enter "ccr.ccs.tencentyun.com/[namespace/repo]:[tag]"
|
void |
setMaxRetryCount(Long MaxRetryCount)
Set Maximum retry attempts to load docket images.
|
void |
setPassword(String Password)
Set Docker Hub password or Tencent Registry password
|
void |
setServer(String Server)
Set For Docker Hub, this can be left blank, but please ensure public network access is present.
|
void |
setUser(String User)
Set Docker Hub username or Tencent Registry username
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Docker()
public Docker(Docker source)
public String getUser()
public void setUser(String User)
User
- Docker Hub username or Tencent Registry usernamepublic String getPassword()
public void setPassword(String Password)
Password
- Docker Hub password or Tencent Registry passwordpublic String getImage()
public void setImage(String Image)
Image
- For Docker Hub, enter "[user/repo]:[tag]"; for Tencent Registry, enter "ccr.ccs.tencentyun.com/[namespace/repo]:[tag]"public String getServer()
public void setServer(String Server)
Server
- For Docker Hub, this can be left blank, but please ensure public network access is present. For Tencent Registry, the server address is "ccr.ccs.tencentyun.com"public Long getMaxRetryCount()
public void setMaxRetryCount(Long MaxRetryCount)
MaxRetryCount
- Maximum retry attempts to load docket images. Range: 0 - 10. Default: `0`public Long getDelayOnRetry()
public void setDelayOnRetry(Long DelayOnRetry)
DelayOnRetry
- Docker image loading timeout period (in seconds). Range: 1 - 360public String getDockerRunOption()
public void setDockerRunOption(String DockerRunOption)
DockerRunOption
- Docker command execution parameter
Note: This field may return `null`, indicating that no valid value was found.Copyright © 2023. All rights reserved.