public class ServiceOperationsImpl extends HasMetadataOperation<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.ServiceList,io.fabric8.kubernetes.api.model.DoneableService,ServiceResource<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.DoneableService>> implements ServiceResource<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.DoneableService>
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceOperationsImpl.ServiceToUrlSortComparator |
apiVersion, doneableType, listType, reaper, typeapiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER| 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 |
|---|---|
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) |
edit, periodicWatchUntilReadycascading, create, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, forOperationType, fromServer, get, getApiVersion, getConfigType, getDoneableType, getFieldQueryParam, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, getPropagationPolicy, getReloadingFromServer, getResourceT, getResourceVersion, getRootPaths, getType, handleCreate, handleGet, handlePatch, handleReplace, handleResponse, inAnyNamespace, inNamespace, isApiGroup, isCascading, isReady, isReaping, isReloadingFromServer, isResourceNamespaced, list, list, load, load, load, load, lockResourceVersion, require, setListType, setNamespace, setReaping, setType, updateApiVersion, updateApiVersion, updateApiVersionResource, waitUntilCondition, waitUntilExists, watch, watch, watch, withField, withFields, withGracePeriod, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersionassertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getConfig, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceUrl, getResourceUrl, getRootUrl, handleCreate, handleDelete, handleDelete, handleGet, handleGet, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, requestException, requestFailure, unmarshal, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOrReplace, createOrReplaceWithNewcreate, createNewfromServerwithGracePeriodwithPropagationPolicylockResourceVersionwithResourceVersionwaitUntilConditionrequiregetName, getNamespacepublic 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,io.fabric8.kubernetes.api.model.DoneableService,ServiceResource<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.DoneableService>>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,io.fabric8.kubernetes.api.model.Service>replace in class HasMetadataOperation<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.ServiceList,io.fabric8.kubernetes.api.model.DoneableService,ServiceResource<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.DoneableService>>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,io.fabric8.kubernetes.api.model.Service>patch in class HasMetadataOperation<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.ServiceList,io.fabric8.kubernetes.api.model.DoneableService,ServiceResource<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.DoneableService>>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 HasMetadataOperation<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.ServiceList,io.fabric8.kubernetes.api.model.DoneableService,ServiceResource<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.DoneableService>>InterruptedExceptionpublic String getURL(String portName)
getURL in interface ServiceResource<io.fabric8.kubernetes.api.model.Service,io.fabric8.kubernetes.api.model.DoneableService>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 integerCopyright © 2015–2019 Red Hat. All rights reserved.