public class ServiceOperationsImpl extends HasMetadataOperation<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.ServiceList,ServiceResource<io.fabric8.kubernetes.api.model.Service>> implements ServiceResource<io.fabric8.kubernetes.api.model.Service>
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceOperationsImpl.ServiceToUrlSortComparator |
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTERNAL_NAME |
DEFAULT_PROPAGATION_POLICYapiVersion, listType, typeapiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, STRATEGIC_MERGE_JSON_PATCH, YAML_MAPPERDEFAULT_BACKOFF_MULTIPLIER, DEFAULT_INITIAL_BACKOFF_MILLIS| Constructor and Description |
|---|
ServiceOperationsImpl(okhttp3.OkHttpClient client,
Config config) |
ServiceOperationsImpl(okhttp3.OkHttpClient client,
Config config,
String namespace) |
ServiceOperationsImpl(OperationContext context) |
| Modifier and Type | Method and Description |
|---|---|
io.fabric8.kubernetes.api.model.Service |
edit(io.fabric8.kubernetes.api.builder.Visitor... visitors) |
String |
getURL(String portName) |
ServiceOperationsImpl |
newInstance(OperationContext context) |
io.fabric8.kubernetes.api.model.Service |
patch(io.fabric8.kubernetes.api.model.Service item) |
LocalPortForward |
portForward(int port)
Create a server socket on a random local port.
|
LocalPortForward |
portForward(int port,
int localPort)
Create a server socket on a specified local port.
|
PortForward |
portForward(int port,
ReadableByteChannel in,
WritableByteChannel out)
Connects directly the remote port to the given input and output channels.
|
io.fabric8.kubernetes.api.model.Service |
replace(io.fabric8.kubernetes.api.model.Service item) |
io.fabric8.kubernetes.api.model.Service |
waitUntilReady(long amount,
TimeUnit timeUnit) |
accept, editcascading, create, create, createOrReplace, delete, delete, delete, edit, fetchListUrl, forOperationType, fromServer, get, getApiVersion, getConfigType, getFieldQueryParam, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, getPropagationPolicy, getReadiness, getReloadingFromServer, getResourceT, getResourceVersion, getRootPaths, getType, handleCreate, handleDeploymentRollback, handleGet, handlePatch, handlePatch, handleReplace, handleResponse, handleScale, inAnyNamespace, inNamespace, isApiGroup, isCascading, isReady, isReloadingFromServer, isResourceNamespaced, list, list, list, load, load, load, load, lockResourceVersion, require, sendPatchedObject, setListType, setNamespace, setType, updateApiVersion, updateApiVersion, updateStatus, waitUntilCondition, watch, watch, watch, withField, withFields, withGracePeriod, withInvolvedObject, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersion, withWaitRetryBackoffassertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getObjectValueAsMap, getResourceUrl, getResourceUrl, getRootUrl, handleCreate, handleDelete, handleDelete, handleDeploymentRollback, handleGet, handleGet, handleMetric, handlePatch, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, handleScale, handleStatusUpdate, requestException, requestFailure, unmarshal, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOrReplacecreate, createfromServerupdateStatuswithGracePeriodwithPropagationPolicylockResourceVersionwaitUntilCondition, withWaitRetryBackoffwithResourceVersionrequiregetName, getNamespacepublic static final String EXTERNAL_NAME
public ServiceOperationsImpl(okhttp3.OkHttpClient client,
Config config)
public ServiceOperationsImpl(okhttp3.OkHttpClient client,
Config config,
String namespace)
public ServiceOperationsImpl(OperationContext context)
public ServiceOperationsImpl newInstance(OperationContext context)
newInstance in class BaseOperation<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.ServiceList,ServiceResource<io.fabric8.kubernetes.api.model.Service>>public io.fabric8.kubernetes.api.model.Service replace(io.fabric8.kubernetes.api.model.Service item)
replace in interface Replaceable<io.fabric8.kubernetes.api.model.Service>replace in class HasMetadataOperation<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.ServiceList,ServiceResource<io.fabric8.kubernetes.api.model.Service>>public io.fabric8.kubernetes.api.model.Service patch(io.fabric8.kubernetes.api.model.Service item)
patch in interface Patchable<io.fabric8.kubernetes.api.model.Service>patch in class HasMetadataOperation<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.ServiceList,ServiceResource<io.fabric8.kubernetes.api.model.Service>>public io.fabric8.kubernetes.api.model.Service waitUntilReady(long amount,
TimeUnit timeUnit)
throws InterruptedException
waitUntilReady in interface Waitable<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.Service>waitUntilReady in class BaseOperation<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.ServiceList,ServiceResource<io.fabric8.kubernetes.api.model.Service>>InterruptedExceptionpublic String getURL(String portName)
getURL in interface ServiceResource<io.fabric8.kubernetes.api.model.Service>public PortForward portForward(int port, ReadableByteChannel in, WritableByteChannel out)
PortForwardableportForward in interface PortForwardable<PortForward,LocalPortForward,ReadableByteChannel,WritableByteChannel>port - port as integerin - input channelout - output channelpublic LocalPortForward portForward(int port, int localPort)
PortForwardableportForward in interface PortForwardable<PortForward,LocalPortForward,ReadableByteChannel,WritableByteChannel>port - port in integerlocalPort - local port in integerpublic LocalPortForward portForward(int port)
PortForwardableportForward in interface PortForwardable<PortForward,LocalPortForward,ReadableByteChannel,WritableByteChannel>port - port as integerpublic io.fabric8.kubernetes.api.model.Service edit(io.fabric8.kubernetes.api.builder.Visitor... visitors)
edit in interface Editable<io.fabric8.kubernetes.api.model.Service>edit in class BaseOperation<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.ServiceList,ServiceResource<io.fabric8.kubernetes.api.model.Service>>Copyright © 2015–2021 Red Hat. All rights reserved.