Class DiscoveryV1Api
java.lang.Object
io.kubernetes.client.openapi.apis.DiscoveryV1Api
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNamespacedEndpointSlice
(String namespace, V1EndpointSlice body) create an EndpointSlicedeleteCollectionNamespacedEndpointSlice
(String namespace) delete collection of EndpointSlicedeleteNamespacedEndpointSlice
(String name, String namespace) delete an EndpointSliceget available resourcesint
list or watch objects of kind EndpointSlicelistNamespacedEndpointSlice
(String namespace) list or watch objects of kind EndpointSlicepatchNamespacedEndpointSlice
(String name, String namespace, V1Patch body) partially update the specified EndpointSlicereadNamespacedEndpointSlice
(String name, String namespace) read the specified EndpointSlicereplaceNamespacedEndpointSlice
(String name, String namespace, V1EndpointSlice body) replace the specified EndpointSlicevoid
setApiClient
(ApiClient apiClient) void
setCustomBaseUrl
(String customBaseUrl) void
setHostIndex
(int hostIndex)
-
Constructor Details
-
DiscoveryV1Api
public DiscoveryV1Api() -
DiscoveryV1Api
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createNamespacedEndpointSlice
public DiscoveryV1Api.APIcreateNamespacedEndpointSliceRequest createNamespacedEndpointSlice(String namespace, V1EndpointSlice body) create an EndpointSlice- Parameters:
namespace
- object name and auth scope, such as for teams and projects (required)body
- (required)- Returns:
- APIcreateNamespacedEndpointSliceRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 202 Accepted - 401 Unauthorized -
-
deleteCollectionNamespacedEndpointSlice
public DiscoveryV1Api.APIdeleteCollectionNamespacedEndpointSliceRequest deleteCollectionNamespacedEndpointSlice(String namespace) delete collection of EndpointSlice- Parameters:
namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIdeleteCollectionNamespacedEndpointSliceRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
deleteNamespacedEndpointSlice
public DiscoveryV1Api.APIdeleteNamespacedEndpointSliceRequest deleteNamespacedEndpointSlice(String name, String namespace) delete an EndpointSlice- Parameters:
name
- name of the EndpointSlice (required)namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIdeleteNamespacedEndpointSliceRequest
- 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 -
-
listEndpointSliceForAllNamespaces
public DiscoveryV1Api.APIlistEndpointSliceForAllNamespacesRequest listEndpointSliceForAllNamespaces()list or watch objects of kind EndpointSlice- Returns:
- APIlistEndpointSliceForAllNamespacesRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listNamespacedEndpointSlice
public DiscoveryV1Api.APIlistNamespacedEndpointSliceRequest listNamespacedEndpointSlice(String namespace) list or watch objects of kind EndpointSlice- Parameters:
namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIlistNamespacedEndpointSliceRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
patchNamespacedEndpointSlice
public DiscoveryV1Api.APIpatchNamespacedEndpointSliceRequest patchNamespacedEndpointSlice(String name, String namespace, V1Patch body) partially update the specified EndpointSlice- Parameters:
name
- name of the EndpointSlice (required)namespace
- object name and auth scope, such as for teams and projects (required)body
- (required)- Returns:
- APIpatchNamespacedEndpointSliceRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 401 Unauthorized -
-
readNamespacedEndpointSlice
public DiscoveryV1Api.APIreadNamespacedEndpointSliceRequest readNamespacedEndpointSlice(String name, String namespace) read the specified EndpointSlice- Parameters:
name
- name of the EndpointSlice (required)namespace
- object name and auth scope, such as for teams and projects (required)- Returns:
- APIreadNamespacedEndpointSliceRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
replaceNamespacedEndpointSlice
public DiscoveryV1Api.APIreplaceNamespacedEndpointSliceRequest replaceNamespacedEndpointSlice(String name, String namespace, V1EndpointSlice body) replace the specified EndpointSlice- Parameters:
name
- name of the EndpointSlice (required)namespace
- object name and auth scope, such as for teams and projects (required)body
- (required)- Returns:
- APIreplaceNamespacedEndpointSliceRequest
- Http Response Details:
Status Code Description Response Headers 200 OK - 201 Created - 401 Unauthorized -
-