Class CoordinationV1Api
java.lang.Object
io.kubernetes.client.openapi.apis.CoordinationV1Api
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNamespacedLease
(String namespace, V1Lease body) create a LeasedeleteCollectionNamespacedLease
(String namespace) delete collection of LeasedeleteNamespacedLease
(String name, String namespace) delete a Leaseget available resourcesint
list or watch objects of kind LeaselistNamespacedLease
(String namespace) list or watch objects of kind LeasepatchNamespacedLease
(String name, String namespace, V1Patch body) partially update the specified LeasereadNamespacedLease
(String name, String namespace) read the specified LeasereplaceNamespacedLease
(String name, String namespace, V1Lease body) replace the specified Leasevoid
setApiClient
(ApiClient apiClient) void
setCustomBaseUrl
(String customBaseUrl) void
setHostIndex
(int hostIndex)
-
Constructor Details
-
CoordinationV1Api
public CoordinationV1Api() -
CoordinationV1Api
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createNamespacedLease
public CoordinationV1Api.APIcreateNamespacedLeaseRequest createNamespacedLease(String namespace, V1Lease body) create a Lease- Parameters:
namespace
- object name and auth scope, such as for teams and projects (required)body
- (required)- Returns:
- APIcreateNamespacedLeaseRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 202 Accepted - 401 Unauthorized -
-
deleteCollectionNamespacedLease
public CoordinationV1Api.APIdeleteCollectionNamespacedLeaseRequest deleteCollectionNamespacedLease(String namespace) delete collection of Lease- Parameters:
namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIdeleteCollectionNamespacedLeaseRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
deleteNamespacedLease
public CoordinationV1Api.APIdeleteNamespacedLeaseRequest deleteNamespacedLease(String name, String namespace) delete a Lease- Parameters:
name
- name of the Lease (required)namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIdeleteNamespacedLeaseRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 202 Accepted - 401 Unauthorized -
-
getAPIResources
get available resources- Returns:
- APIgetAPIResourcesRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listLeaseForAllNamespaces
list or watch objects of kind Lease- Returns:
- APIlistLeaseForAllNamespacesRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listNamespacedLease
list or watch objects of kind Lease- Parameters:
namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIlistNamespacedLeaseRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
patchNamespacedLease
public CoordinationV1Api.APIpatchNamespacedLeaseRequest patchNamespacedLease(String name, String namespace, V1Patch body) partially update the specified Lease- Parameters:
name
- name of the Lease (required)namespace
- object name and auth scope, such as for teams and projects (required)body
- (required)- Returns:
- APIpatchNamespacedLeaseRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 401 Unauthorized -
-
readNamespacedLease
public CoordinationV1Api.APIreadNamespacedLeaseRequest readNamespacedLease(String name, String namespace) read the specified Lease- Parameters:
name
- name of the Lease (required)namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIreadNamespacedLeaseRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
replaceNamespacedLease
public CoordinationV1Api.APIreplaceNamespacedLeaseRequest replaceNamespacedLease(String name, String namespace, V1Lease body) replace the specified Lease- Parameters:
name
- name of the Lease (required)namespace
- object name and auth scope, such as for teams and projects (required)body
- (required)- Returns:
- APIreplaceNamespacedLeaseRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 401 Unauthorized -
-