public class ComputeResourceAdvanceParams extends AbstractModel
header, skipSign
Constructor and Description |
---|
ComputeResourceAdvanceParams() |
ComputeResourceAdvanceParams(ComputeResourceAdvanceParams 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 |
---|---|
TkeLabel[] |
getLabels()
Get Node label array.
|
String |
getPreStartUserScript()
Get Base64-encoded user script: executed before node initializing.
|
Taint[] |
getTaints()
Get Node taint.
|
String |
getUserScript()
Get Base64-encoded user script.
|
void |
setLabels(TkeLabel[] Labels)
Set Node label array.
|
void |
setPreStartUserScript(String PreStartUserScript)
Set Base64-encoded user script: executed before node initializing.
|
void |
setTaints(Taint[] Taints)
Set Node taint.
|
void |
setUserScript(String UserScript)
Set Base64-encoded user script.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ComputeResourceAdvanceParams()
public ComputeResourceAdvanceParams(ComputeResourceAdvanceParams source)
public TkeLabel[] getLabels()
public void setLabels(TkeLabel[] Labels)
Labels
- Node label array.public Taint[] getTaints()
public void setTaints(Taint[] Taints)
Taints
- Node taint.public String getPreStartUserScript()
public void setPreStartUserScript(String PreStartUserScript)
PreStartUserScript
- Base64-encoded user script: executed before node initializing.public String getUserScript()
public void setUserScript(String UserScript)
UserScript
- Base64-encoded user script. This script executes after Kubernetes components initialize. Users should ensure script reentrancy and implement retry logic. Both the script and its generated log files are accessible at the node path: /data/ccs_userscript/.Copyright © 2025. All rights reserved.