Class CoordinationV1alpha1Api
java.lang.Object
io.kubernetes.client.openapi.apis.CoordinationV1alpha1Api
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNamespacedLeaseCandidate
(String namespace, V1alpha1LeaseCandidate body) create a LeaseCandidatedeleteCollectionNamespacedLeaseCandidate
(String namespace) delete collection of LeaseCandidatedeleteNamespacedLeaseCandidate
(String name, String namespace) delete a LeaseCandidateget available resourcesint
list or watch objects of kind LeaseCandidatelistNamespacedLeaseCandidate
(String namespace) list or watch objects of kind LeaseCandidatepatchNamespacedLeaseCandidate
(String name, String namespace, V1Patch body) partially update the specified LeaseCandidatereadNamespacedLeaseCandidate
(String name, String namespace) read the specified LeaseCandidatereplaceNamespacedLeaseCandidate
(String name, String namespace, V1alpha1LeaseCandidate body) replace the specified LeaseCandidatevoid
setApiClient
(ApiClient apiClient) void
setCustomBaseUrl
(String customBaseUrl) void
setHostIndex
(int hostIndex)
-
Constructor Details
-
CoordinationV1alpha1Api
public CoordinationV1alpha1Api() -
CoordinationV1alpha1Api
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createNamespacedLeaseCandidate
public CoordinationV1alpha1Api.APIcreateNamespacedLeaseCandidateRequest createNamespacedLeaseCandidate(String namespace, V1alpha1LeaseCandidate body) create a LeaseCandidate- Parameters:
namespace
- object name and auth scope, such as for teams and projects (required)body
- (required)- Returns:
- APIcreateNamespacedLeaseCandidateRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 202 Accepted - 401 Unauthorized -
-
deleteCollectionNamespacedLeaseCandidate
public CoordinationV1alpha1Api.APIdeleteCollectionNamespacedLeaseCandidateRequest deleteCollectionNamespacedLeaseCandidate(String namespace) delete collection of LeaseCandidate- Parameters:
namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIdeleteCollectionNamespacedLeaseCandidateRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
deleteNamespacedLeaseCandidate
public CoordinationV1alpha1Api.APIdeleteNamespacedLeaseCandidateRequest deleteNamespacedLeaseCandidate(String name, String namespace) delete a LeaseCandidate- Parameters:
name
- name of the LeaseCandidate (required)namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIdeleteNamespacedLeaseCandidateRequest
- 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 -
-
listLeaseCandidateForAllNamespaces
public CoordinationV1alpha1Api.APIlistLeaseCandidateForAllNamespacesRequest listLeaseCandidateForAllNamespaces()list or watch objects of kind LeaseCandidate- Returns:
- APIlistLeaseCandidateForAllNamespacesRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listNamespacedLeaseCandidate
public CoordinationV1alpha1Api.APIlistNamespacedLeaseCandidateRequest listNamespacedLeaseCandidate(String namespace) list or watch objects of kind LeaseCandidate- Parameters:
namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIlistNamespacedLeaseCandidateRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
patchNamespacedLeaseCandidate
public CoordinationV1alpha1Api.APIpatchNamespacedLeaseCandidateRequest patchNamespacedLeaseCandidate(String name, String namespace, V1Patch body) partially update the specified LeaseCandidate- Parameters:
name
- name of the LeaseCandidate (required)namespace
- object name and auth scope, such as for teams and projects (required)body
- (required)- Returns:
- APIpatchNamespacedLeaseCandidateRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 401 Unauthorized -
-
readNamespacedLeaseCandidate
public CoordinationV1alpha1Api.APIreadNamespacedLeaseCandidateRequest readNamespacedLeaseCandidate(String name, String namespace) read the specified LeaseCandidate- Parameters:
name
- name of the LeaseCandidate (required)namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIreadNamespacedLeaseCandidateRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
replaceNamespacedLeaseCandidate
public CoordinationV1alpha1Api.APIreplaceNamespacedLeaseCandidateRequest replaceNamespacedLeaseCandidate(String name, String namespace, V1alpha1LeaseCandidate body) replace the specified LeaseCandidate- Parameters:
name
- name of the LeaseCandidate (required)namespace
- object name and auth scope, such as for teams and projects (required)body
- (required)- Returns:
- APIreplaceNamespacedLeaseCandidateRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 401 Unauthorized -
-