Class CustomObjectsApi
java.lang.Object
io.kubernetes.client.openapi.apis.CustomObjectsApi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateClusterCustomObject
(String group, String version, String plural, Object body) Creates a cluster scoped Custom objectcreateNamespacedCustomObject
(String group, String version, String namespace, String plural, Object body) Creates a namespace scoped Custom objectdeleteClusterCustomObject
(String group, String version, String plural, String name) Deletes the specified cluster scoped custom objectdeleteCollectionClusterCustomObject
(String group, String version, String plural) Delete collection of cluster scoped custom objectsdeleteCollectionNamespacedCustomObject
(String group, String version, String namespace, String plural) Delete collection of namespace scoped custom objectsdeleteNamespacedCustomObject
(String group, String version, String namespace, String plural, String name) Deletes the specified namespace scoped custom objectgetAPIResources
(String group, String version) get available resourcesgetClusterCustomObject
(String group, String version, String plural, String name) Returns a cluster scoped custom objectgetClusterCustomObjectScale
(String group, String version, String plural, String name) read scale of the specified custom objectgetClusterCustomObjectStatus
(String group, String version, String plural, String name) read status of the specified cluster scoped custom objectint
getNamespacedCustomObject
(String group, String version, String namespace, String plural, String name) Returns a namespace scoped custom objectgetNamespacedCustomObjectScale
(String group, String version, String namespace, String plural, String name) read scale of the specified namespace scoped custom objectgetNamespacedCustomObjectStatus
(String group, String version, String namespace, String plural, String name) read status of the specified namespace scoped custom objectlistClusterCustomObject
(String group, String version, String plural) list or watch cluster scoped custom objectslistNamespacedCustomObject
(String group, String version, String namespace, String plural) list or watch namespace scoped custom objectspatch the specified cluster scoped custom objectpatchClusterCustomObjectScale
(String group, String version, String plural, String name, Object body) partially update scale of the specified cluster scoped custom objectpatchClusterCustomObjectStatus
(String group, String version, String plural, String name, Object body) partially update status of the specified cluster scoped custom objectpatchNamespacedCustomObject
(String group, String version, String namespace, String plural, String name, Object body) patch the specified namespace scoped custom objectpatchNamespacedCustomObjectScale
(String group, String version, String namespace, String plural, String name, Object body) partially update scale of the specified namespace scoped custom objectpatchNamespacedCustomObjectStatus
(String group, String version, String namespace, String plural, String name, Object body) partially update status of the specified namespace scoped custom objectreplace the specified cluster scoped custom objectreplaceClusterCustomObjectScale
(String group, String version, String plural, String name, Object body) replace scale of the specified cluster scoped custom objectreplaceClusterCustomObjectStatus
(String group, String version, String plural, String name, Object body) replace status of the cluster scoped specified custom objectreplaceNamespacedCustomObject
(String group, String version, String namespace, String plural, String name, Object body) replace the specified namespace scoped custom objectreplaceNamespacedCustomObjectScale
(String group, String version, String namespace, String plural, String name, Object body) replace scale of the specified namespace scoped custom objectreplaceNamespacedCustomObjectStatus
(String group, String version, String namespace, String plural, String name, Object body) replace status of the specified namespace scoped custom objectvoid
setApiClient
(ApiClient apiClient) void
setCustomBaseUrl
(String customBaseUrl) void
setHostIndex
(int hostIndex)
-
Constructor Details
-
CustomObjectsApi
public CustomObjectsApi() -
CustomObjectsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createClusterCustomObject
public CustomObjectsApi.APIcreateClusterCustomObjectRequest createClusterCustomObject(String group, String version, String plural, Object body) Creates a cluster scoped Custom object- Parameters:
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)body
- The JSON schema of the Resource to create. (required)- Returns:
- APIcreateClusterCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized -
-
createNamespacedCustomObject
public CustomObjectsApi.APIcreateNamespacedCustomObjectRequest createNamespacedCustomObject(String group, String version, String namespace, String plural, Object body) Creates a namespace scoped Custom object- Parameters:
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)body
- The JSON schema of the Resource to create. (required)- Returns:
- APIcreateNamespacedCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized -
-
deleteClusterCustomObject
public CustomObjectsApi.APIdeleteClusterCustomObjectRequest deleteClusterCustomObject(String group, String version, String plural, String name) Deletes the specified cluster scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)- Returns:
- APIdeleteClusterCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
deleteCollectionClusterCustomObject
public CustomObjectsApi.APIdeleteCollectionClusterCustomObjectRequest deleteCollectionClusterCustomObject(String group, String version, String plural) Delete collection of cluster scoped custom objects- Parameters:
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)- Returns:
- APIdeleteCollectionClusterCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
deleteCollectionNamespacedCustomObject
public CustomObjectsApi.APIdeleteCollectionNamespacedCustomObjectRequest deleteCollectionNamespacedCustomObject(String group, String version, String namespace, String plural) Delete collection of namespace scoped custom objects- Parameters:
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)- Returns:
- APIdeleteCollectionNamespacedCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
deleteNamespacedCustomObject
public CustomObjectsApi.APIdeleteNamespacedCustomObjectRequest deleteNamespacedCustomObject(String group, String version, String namespace, String plural, String name) Deletes the specified namespace scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)- Returns:
- APIdeleteNamespacedCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
getAPIResources
get available resources- Parameters:
group
- The custom resource's group name (required)version
- The custom resource's version (required)- Returns:
- APIgetAPIResourcesRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
getClusterCustomObject
public CustomObjectsApi.APIgetClusterCustomObjectRequest getClusterCustomObject(String group, String version, String plural, String name) Returns a cluster scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)- Returns:
- APIgetClusterCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 A single Resource - 401 Unauthorized -
-
getClusterCustomObjectScale
public CustomObjectsApi.APIgetClusterCustomObjectScaleRequest getClusterCustomObjectScale(String group, String version, String plural, String name) read scale of the specified custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)- Returns:
- APIgetClusterCustomObjectScaleRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
getClusterCustomObjectStatus
public CustomObjectsApi.APIgetClusterCustomObjectStatusRequest getClusterCustomObjectStatus(String group, String version, String plural, String name) read status of the specified cluster scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)- Returns:
- APIgetClusterCustomObjectStatusRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
getNamespacedCustomObject
public CustomObjectsApi.APIgetNamespacedCustomObjectRequest getNamespacedCustomObject(String group, String version, String namespace, String plural, String name) Returns a namespace scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)- Returns:
- APIgetNamespacedCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 A single Resource - 401 Unauthorized -
-
getNamespacedCustomObjectScale
public CustomObjectsApi.APIgetNamespacedCustomObjectScaleRequest getNamespacedCustomObjectScale(String group, String version, String namespace, String plural, String name) read scale of the specified namespace scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)- Returns:
- APIgetNamespacedCustomObjectScaleRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
getNamespacedCustomObjectStatus
public CustomObjectsApi.APIgetNamespacedCustomObjectStatusRequest getNamespacedCustomObjectStatus(String group, String version, String namespace, String plural, String name) read status of the specified namespace scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)- Returns:
- APIgetNamespacedCustomObjectStatusRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listClusterCustomObject
public CustomObjectsApi.APIlistClusterCustomObjectRequest listClusterCustomObject(String group, String version, String plural) list or watch cluster scoped custom objects- Parameters:
group
- The custom resource's group name (required)version
- The custom resource's version (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)- Returns:
- APIlistClusterCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listNamespacedCustomObject
public CustomObjectsApi.APIlistNamespacedCustomObjectRequest listNamespacedCustomObject(String group, String version, String namespace, String plural) list or watch namespace scoped custom objects- Parameters:
group
- The custom resource's group name (required)version
- The custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)- Returns:
- APIlistNamespacedCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
patchClusterCustomObject
public CustomObjectsApi.APIpatchClusterCustomObjectRequest patchClusterCustomObject(String group, String version, String plural, String name, Object body) patch the specified cluster scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to patch. (required)- Returns:
- APIpatchClusterCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
patchClusterCustomObjectScale
public CustomObjectsApi.APIpatchClusterCustomObjectScaleRequest patchClusterCustomObjectScale(String group, String version, String plural, String name, Object body) partially update scale of the specified cluster scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)- Returns:
- APIpatchClusterCustomObjectScaleRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
patchClusterCustomObjectStatus
public CustomObjectsApi.APIpatchClusterCustomObjectStatusRequest patchClusterCustomObjectStatus(String group, String version, String plural, String name, Object body) partially update status of the specified cluster scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)- Returns:
- APIpatchClusterCustomObjectStatusRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
patchNamespacedCustomObject
public CustomObjectsApi.APIpatchNamespacedCustomObjectRequest patchNamespacedCustomObject(String group, String version, String namespace, String plural, String name, Object body) patch the specified namespace scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to patch. (required)- Returns:
- APIpatchNamespacedCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
patchNamespacedCustomObjectScale
public CustomObjectsApi.APIpatchNamespacedCustomObjectScaleRequest patchNamespacedCustomObjectScale(String group, String version, String namespace, String plural, String name, Object body) partially update scale of the specified namespace scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)- Returns:
- APIpatchNamespacedCustomObjectScaleRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
patchNamespacedCustomObjectStatus
public CustomObjectsApi.APIpatchNamespacedCustomObjectStatusRequest patchNamespacedCustomObjectStatus(String group, String version, String namespace, String plural, String name, Object body) partially update status of the specified namespace scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)- Returns:
- APIpatchNamespacedCustomObjectStatusRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
replaceClusterCustomObject
public CustomObjectsApi.APIreplaceClusterCustomObjectRequest replaceClusterCustomObject(String group, String version, String plural, String name, Object body) replace the specified cluster scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom object's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to replace. (required)- Returns:
- APIreplaceClusterCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
replaceClusterCustomObjectScale
public CustomObjectsApi.APIreplaceClusterCustomObjectScaleRequest replaceClusterCustomObjectScale(String group, String version, String plural, String name, Object body) replace scale of the specified cluster scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)- Returns:
- APIreplaceClusterCustomObjectScaleRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 401 Unauthorized -
-
replaceClusterCustomObjectStatus
public CustomObjectsApi.APIreplaceClusterCustomObjectStatusRequest replaceClusterCustomObjectStatus(String group, String version, String plural, String name, Object body) replace status of the cluster scoped specified custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)- Returns:
- APIreplaceClusterCustomObjectStatusRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 401 Unauthorized -
-
replaceNamespacedCustomObject
public CustomObjectsApi.APIreplaceNamespacedCustomObjectRequest replaceNamespacedCustomObject(String group, String version, String namespace, String plural, String name, Object body) replace the specified namespace scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- The JSON schema of the Resource to replace. (required)- Returns:
- APIreplaceNamespacedCustomObjectRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
replaceNamespacedCustomObjectScale
public CustomObjectsApi.APIreplaceNamespacedCustomObjectScaleRequest replaceNamespacedCustomObjectScale(String group, String version, String namespace, String plural, String name, Object body) replace scale of the specified namespace scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)- Returns:
- APIreplaceNamespacedCustomObjectScaleRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 401 Unauthorized -
-
replaceNamespacedCustomObjectStatus
public CustomObjectsApi.APIreplaceNamespacedCustomObjectStatusRequest replaceNamespacedCustomObjectStatus(String group, String version, String namespace, String plural, String name, Object body) replace status of the specified namespace scoped custom object- Parameters:
group
- the custom resource's group (required)version
- the custom resource's version (required)namespace
- The custom resource's namespace (required)plural
- the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)name
- the custom object's name (required)body
- (required)- Returns:
- APIreplaceNamespacedCustomObjectStatusRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 401 Unauthorized -
-