@Service(value={OpenShiftClient.class,NamespacedOpenShiftClient.class})
public class ManagedOpenShiftClient
extends BaseClient
implements NamespacedOpenShiftClient
httpClient| Constructor and Description |
|---|
ManagedOpenShiftClient() |
getHttpClient, isAdaptable, supportsApiPath@Activate public void activate(java.util.Map<java.lang.String,java.lang.Object> properties)
@Deactivate public void deactivate()
public java.net.URL getOpenshiftUrl()
getOpenshiftUrl in interface OpenShiftClientpublic MixedOperation<Build,BuildList,DoneableBuild,BuildResource<Build,DoneableBuild,java.lang.String,LogWatch>> builds()
builds in interface OpenShiftClientpublic MixedOperation<ComponentStatus,ComponentStatusList,DoneableComponentStatus,Resource<ComponentStatus,DoneableComponentStatus>> componentstatuses()
componentstatuses in interface KubernetesClientpublic MixedOperation<BuildConfig,BuildConfigList,DoneableBuildConfig,BuildConfigResource<BuildConfig,DoneableBuildConfig,java.lang.Void,Build>> buildConfigs()
buildConfigs in interface OpenShiftClientpublic MixedOperation<DeploymentConfig,DeploymentConfigList,DoneableDeploymentConfig,DeployableScalableResource<DeploymentConfig,DoneableDeploymentConfig>> deploymentConfigs()
deploymentConfigs in interface OpenShiftClientpublic NonNamespaceOperation<Group,GroupList,DoneableGroup,Resource<Group,DoneableGroup>> groups()
groups in interface OpenShiftClientpublic MixedOperation<ImageStream,ImageStreamList,DoneableImageStream,Resource<ImageStream,DoneableImageStream>> imageStreams()
imageStreams in interface OpenShiftClientpublic MixedOperation<ImageStreamTag,ImageStreamTagList,DoneableImageStreamTag,Resource<ImageStreamTag,DoneableImageStreamTag>> imageStreamTags()
imageStreamTags in interface OpenShiftClientpublic NonNamespaceOperation<OAuthAccessToken,OAuthAccessTokenList,DoneableOAuthAccessToken,Resource<OAuthAccessToken,DoneableOAuthAccessToken>> oAuthAccessTokens()
oAuthAccessTokens in interface OpenShiftClientpublic NonNamespaceOperation<OAuthAuthorizeToken,OAuthAuthorizeTokenList,DoneableOAuthAuthorizeToken,Resource<OAuthAuthorizeToken,DoneableOAuthAuthorizeToken>> oAuthAuthorizeTokens()
oAuthAuthorizeTokens in interface OpenShiftClientpublic NonNamespaceOperation<OAuthClient,OAuthClientList,DoneableOAuthClient,Resource<OAuthClient,DoneableOAuthClient>> oAuthClients()
oAuthClients in interface OpenShiftClientpublic NonNamespaceOperation<Project,ProjectList,DoneableProject,Resource<Project,DoneableProject>> projects()
projects in interface OpenShiftClientpublic ProjectRequestOperation projectrequests()
projectrequests in interface OpenShiftClientpublic MixedOperation<OpenshiftRole,OpenshiftRoleList,DoneableOpenshiftRole,Resource<OpenshiftRole,DoneableOpenshiftRole>> roles()
roles in interface OpenShiftClientpublic MixedOperation<OpenshiftRoleBinding,OpenshiftRoleBindingList,DoneableOpenshiftRoleBinding,Resource<OpenshiftRoleBinding,DoneableOpenshiftRoleBinding>> roleBindings()
roleBindings in interface OpenShiftClientpublic MixedOperation<Route,RouteList,DoneableRoute,Resource<Route,DoneableRoute>> routes()
routes in interface OpenShiftClientpublic ParameterMixedOperation<Template,TemplateList,DoneableTemplate,TemplateResource<Template,KubernetesList,DoneableTemplate>> templates()
templates in interface OpenShiftClientpublic NonNamespaceOperation<User,UserList,DoneableUser,Resource<User,DoneableUser>> users()
users in interface OpenShiftClientpublic SubjectAccessReviewOperation<CreateableSubjectAccessReview,CreateableLocalSubjectAccessReview,CreateableSelfSubjectAccessReview,CreateableSelfSubjectRulesReview> subjectAccessReviews()
subjectAccessReviews in interface OpenShiftClientpublic MixedOperation<OpenshiftClusterRoleBinding,OpenshiftClusterRoleBindingList,DoneableOpenshiftClusterRoleBinding,Resource<OpenshiftClusterRoleBinding,DoneableOpenshiftClusterRoleBinding>> clusterRoleBindings()
clusterRoleBindings in interface OpenShiftClientpublic ParameterNamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<HasMetadata,java.lang.Boolean> load(java.io.InputStream is)
load in interface KubernetesClientpublic NamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<HasMetadata,java.lang.Boolean> resourceList(KubernetesResourceList is)
resourceList in interface KubernetesClientpublic NamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<HasMetadata,java.lang.Boolean> resourceList(HasMetadata... items)
resourceList in interface KubernetesClientpublic NamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<HasMetadata,java.lang.Boolean> resourceList(java.util.Collection<HasMetadata> items)
resourceList in interface KubernetesClientpublic ParameterNamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<HasMetadata,java.lang.Boolean> resourceList(java.lang.String s)
resourceList in interface KubernetesClientpublic NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicable<HasMetadata,java.lang.Boolean> resource(HasMetadata item)
resource in interface KubernetesClientpublic NamespaceVisitFromServerGetWatchDeleteRecreateWaitApplicable<HasMetadata,java.lang.Boolean> resource(java.lang.String s)
resource in interface KubernetesClientpublic MixedOperation<Endpoints,EndpointsList,DoneableEndpoints,Resource<Endpoints,DoneableEndpoints>> endpoints()
endpoints in interface KubernetesClientpublic MixedOperation<Event,EventList,DoneableEvent,Resource<Event,DoneableEvent>> events()
events in interface KubernetesClientpublic NonNamespaceOperation<Namespace,NamespaceList,DoneableNamespace,Resource<Namespace,DoneableNamespace>> namespaces()
namespaces in interface KubernetesClientpublic NonNamespaceOperation<Node,NodeList,DoneableNode,Resource<Node,DoneableNode>> nodes()
nodes in interface KubernetesClientpublic NonNamespaceOperation<PersistentVolume,PersistentVolumeList,DoneablePersistentVolume,Resource<PersistentVolume,DoneablePersistentVolume>> persistentVolumes()
persistentVolumes in interface KubernetesClientpublic MixedOperation<PersistentVolumeClaim,PersistentVolumeClaimList,DoneablePersistentVolumeClaim,Resource<PersistentVolumeClaim,DoneablePersistentVolumeClaim>> persistentVolumeClaims()
persistentVolumeClaims in interface KubernetesClientpublic MixedOperation<Pod,PodList,DoneablePod,PodResource<Pod,DoneablePod>> pods()
pods in interface KubernetesClientpublic MixedOperation<ReplicationController,ReplicationControllerList,DoneableReplicationController,RollableScalableResource<ReplicationController,DoneableReplicationController>> replicationControllers()
replicationControllers in interface KubernetesClientpublic MixedOperation<ResourceQuota,ResourceQuotaList,DoneableResourceQuota,Resource<ResourceQuota,DoneableResourceQuota>> resourceQuotas()
resourceQuotas in interface KubernetesClientpublic MixedOperation<Secret,SecretList,DoneableSecret,Resource<Secret,DoneableSecret>> secrets()
secrets in interface KubernetesClientpublic MixedOperation<Service,ServiceList,DoneableService,ServiceResource<Service,DoneableService>> services()
services in interface KubernetesClientpublic MixedOperation<ServiceAccount,ServiceAccountList,DoneableServiceAccount,Resource<ServiceAccount,DoneableServiceAccount>> serviceAccounts()
serviceAccounts in interface KubernetesClientpublic KubernetesListMixedOperation lists()
lists in interface KubernetesClientpublic NonNamespaceOperation<SecurityContextConstraints,SecurityContextConstraintsList,DoneableSecurityContextConstraints,Resource<SecurityContextConstraints,DoneableSecurityContextConstraints>> securityContextConstraints()
securityContextConstraints in interface OpenShiftClientpublic MixedOperation<ConfigMap,ConfigMapList,DoneableConfigMap,Resource<ConfigMap,DoneableConfigMap>> configMaps()
configMaps in interface KubernetesClientpublic MixedOperation<LimitRange,LimitRangeList,DoneableLimitRange,Resource<LimitRange,DoneableLimitRange>> limitRanges()
limitRanges in interface KubernetesClientpublic SubjectAccessReviewDSL subjectAccessReviewAuth()
subjectAccessReviewAuth in interface KubernetesClientpublic <T extends HasMetadata,L extends KubernetesResourceList,D extends Doneable<T>> MixedOperation<T,L,D,Resource<T,D>> customResources(CustomResourceDefinition crd, java.lang.Class<T> resourceType, java.lang.Class<L> listClass, java.lang.Class<D> doneClass)
customResources in interface KubernetesClientpublic <T extends HasMetadata,L extends KubernetesResourceList,D extends Doneable<T>> MixedOperation<T,L,D,Resource<T,D>> customResource(CustomResourceDefinition crd, java.lang.Class<T> resourceType, java.lang.Class<L> listClass, java.lang.Class<D> doneClass)
customResource in interface KubernetesClientpublic NonNamespaceOperation<CustomResourceDefinition,CustomResourceDefinitionList,DoneableCustomResourceDefinition,Resource<CustomResourceDefinition,DoneableCustomResourceDefinition>> customResourceDefinitions()
customResourceDefinitions in interface KubernetesClientpublic RawCustomResourceOperationsImpl customResource(CustomResourceDefinitionContext customResourceDefinition)
customResource in interface KubernetesClientpublic <C> C adapt(java.lang.Class<C> type)
adapt in interface Clientadapt in class BaseClientpublic java.net.URL getMasterUrl()
getMasterUrl in interface ClientgetMasterUrl in class BaseClientpublic java.lang.String getApiVersion()
getApiVersion in interface ClientgetApiVersion in class BaseClientpublic java.lang.String getNamespace()
getNamespace in interface ClientgetNamespace in class BaseClientpublic RootPaths rootPaths()
rootPaths in interface ClientrootPaths in class BaseClientpublic void close()
close in interface Clientclose in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class BaseClientpublic Config getConfiguration()
getConfiguration in interface ConfigAwaregetConfiguration in class BaseClientpublic ExtensionsAPIGroupDSL extensions()
extensions in interface KubernetesClientextensions in interface OpenShiftClientpublic VersionInfo getVersion()
getVersion in interface KubernetesClientgetVersion in interface OpenShiftClientpublic AppsAPIGroupDSL apps()
apps in interface KubernetesClientapps in interface OpenShiftClientpublic AutoscalingAPIGroupDSL autoscaling()
autoscaling in interface KubernetesClientautoscaling in interface OpenShiftClientpublic NetworkAPIGroupDSL network()
network in interface KubernetesClientnetwork in interface OpenShiftClientpublic StorageAPIGroupDSL storage()
storage in interface KubernetesClientstorage in interface OpenShiftClientpublic BatchAPIGroupDSL batch()
batch in interface KubernetesClientbatch in interface OpenShiftClientpublic PolicyAPIGroupDSL policy()
policy in interface KubernetesClientpublic RbacAPIGroupDSL rbac()
rbac in interface KubernetesClientrbac in interface OpenShiftClientpublic SchedulingAPIGroupDSL scheduling()
scheduling in interface KubernetesClientscheduling in interface OpenShiftClientpublic SettingsAPIGroupDSL settings()
settings in interface KubernetesClientsettings in interface OpenShiftClientpublic NamespacedOpenShiftClient inAnyNamespace()
inAnyNamespace in interface AnyNamespaceable<NamespacedOpenShiftClient>public NamespacedOpenShiftClient inNamespace(java.lang.String name)
inNamespace in interface Namespaceable<NamespacedOpenShiftClient>public FunctionCallable<NamespacedOpenShiftClient> withRequestConfig(RequestConfig requestConfig)
withRequestConfig in interface RequestConfigurable<NamespacedOpenShiftClient>public User currentUser()
OpenShiftClientcurrentUser in interface OpenShiftClientpublic boolean supportsOpenShiftAPIGroup(java.lang.String apiGroup)
OpenShiftClientOpenShiftAPIGroupssupportsOpenShiftAPIGroup in interface OpenShiftClientCopyright © 2015-2019 Red Hat. All Rights Reserved.