public class DefaultOpenShiftClient extends BaseKubernetesClient<NamespacedOpenShiftClient> implements NamespacedOpenShiftClient
| Modifier and Type | Field and Description |
|---|---|
static String |
OPENSHIFT_VERSION_ENDPOINT |
KUBERNETES_VERSION_ENDPOINTAPIS, httpClient| Constructor and Description |
|---|
DefaultOpenShiftClient() |
DefaultOpenShiftClient(Config config) |
DefaultOpenShiftClient(okhttp3.OkHttpClient httpClient,
OpenShiftConfig config) |
DefaultOpenShiftClient(OpenShiftConfig config) |
DefaultOpenShiftClient(String masterUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected okhttp3.OkHttpClient |
adaptOkHttpClient(okhttp3.OkHttpClient okHttpClient) |
MixedOperation<io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.BareMetalHost,io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.BareMetalHostList,Resource<io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.BareMetalHost>> |
bareMetalHosts()
API entrypoint for BareMetalHost(metal3.io/v1alpha1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.BrokerTemplateInstance,io.fabric8.openshift.api.model.BrokerTemplateInstanceList,Resource<io.fabric8.openshift.api.model.BrokerTemplateInstance>> |
brokerTemplateInstances()
API entrypoint for BrokerTemplateInstance(template.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.BuildConfig,io.fabric8.openshift.api.model.BuildConfigList,BuildConfigResource<io.fabric8.openshift.api.model.BuildConfig,Void,io.fabric8.openshift.api.model.Build>> |
buildConfigs()
API entrypoint for handling BuildConfig(build.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>> |
builds()
API entrypoint for handling Build(build.openshift.io/v1)
|
OpenShiftClusterAutoscalingAPIGroupDSL |
clusterAutoscaling()
API entrypoint for accessing OpenShift Cluster Operator resources (autoscaling.openshift.io)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.ClusterNetwork,io.fabric8.openshift.api.model.ClusterNetworkList,Resource<io.fabric8.openshift.api.model.ClusterNetwork>> |
clusterNetworks()
API entrypoint for handling ClusterNetwork(network.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.ClusterRoleBinding,io.fabric8.openshift.api.model.ClusterRoleBindingList,Resource<io.fabric8.openshift.api.model.ClusterRoleBinding>> |
clusterRoleBindings()
API entrypoint for accessing ClusterRoleBinding(authorization.openshift.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.ClusterRole,io.fabric8.openshift.api.model.ClusterRoleList,Resource<io.fabric8.openshift.api.model.ClusterRole>> |
clusterRoles()
API entrypoint for ClusterRole (authorization.openshift.io/v1)
|
MixedOperation<io.fabric8.kubernetes.api.model.ComponentStatus,io.fabric8.kubernetes.api.model.ComponentStatusList,Resource<io.fabric8.kubernetes.api.model.ComponentStatus>> |
componentstatuses() |
OpenShiftConfigAPIGroupDSL |
config()
API entrypoint for accessing OpenShift config APIGroup resources(config.openshift.io/v1)
|
OpenShiftConsoleAPIGroupDSL |
console()
API entrypoint for accessing OpenShift console APIGroup resources(console.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.CredentialsRequest,io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.CredentialsRequestList,Resource<io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.CredentialsRequest>> |
credentialsRequests()
API entrypoint for CredentialsRequest (cloudcredential.openshift.io/v1)
|
io.fabric8.openshift.api.model.User |
currentUser()
Returns the current logged in user details similar to the `oc whoami` command.
|
MixedOperation<io.fabric8.openshift.api.model.DeploymentConfig,io.fabric8.openshift.api.model.DeploymentConfigList,DeployableScalableResource<io.fabric8.openshift.api.model.DeploymentConfig>> |
deploymentConfigs()
API entrypoint for handling DeploymentConfig(apps.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.EgressNetworkPolicy,io.fabric8.openshift.api.model.EgressNetworkPolicyList,Resource<io.fabric8.openshift.api.model.EgressNetworkPolicy>> |
egressNetworkPolicies()
API entrypoint for handling EgressNetworkPolicy(network.openshift.io/v1)
|
ExtensionsAPIGroupClient |
extensions() |
static DefaultOpenShiftClient |
fromConfig(InputStream is) |
static DefaultOpenShiftClient |
fromConfig(String config) |
OpenShiftConfig |
getConfiguration() |
VersionInfo |
getKubernetesVersion() |
URL |
getOpenshiftUrl()
Get Url of the cluster
|
VersionInfo |
getOpenShiftV3Version()
Get OpenShift version information from version/openshift
|
String |
getOpenShiftV4Version()
Get OpenShift server version
for more information use resources(ClusterVersion.class).list() |
VersionInfo |
getVersion() |
MixedOperation<io.fabric8.openshift.api.model.Group,io.fabric8.openshift.api.model.GroupList,Resource<io.fabric8.openshift.api.model.Group>> |
groups()
API entrypoint for handling Group(user.openshift.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.HelmChartRepository,io.fabric8.openshift.api.model.HelmChartRepositoryList,Resource<io.fabric8.openshift.api.model.HelmChartRepository>> |
helmChartRepositories()
API entrypoint for handling HelmChartRepository(helm.openshift.io/v1beta1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.HostSubnet,io.fabric8.openshift.api.model.HostSubnetList,Resource<io.fabric8.openshift.api.model.HostSubnet>> |
hostSubnets()
API entrypoint for HostSubnet (network.openshift.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.Identity,io.fabric8.openshift.api.model.IdentityList,Resource<io.fabric8.openshift.api.model.Identity>> |
identities()
API entrypoint for Identity(user.openshift.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.miscellaneous.imageregistry.operator.v1.Config,io.fabric8.openshift.api.model.miscellaneous.imageregistry.operator.v1.ConfigList,Resource<io.fabric8.openshift.api.model.miscellaneous.imageregistry.operator.v1.Config>> |
imageRegistryOperatorConfigs()
API entrypoint for Config(imageregistry.operator.openshift.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.Image,io.fabric8.openshift.api.model.ImageList,Resource<io.fabric8.openshift.api.model.Image>> |
images()
API entrypoint for accessing Image(image.openshift.io/v1)
|
NameableCreateOrDeleteable |
imageSignatures()
API entrypoint for accessing ImageSignature(image.openshift.io/v1)
|
Namespaceable<Nameable<? extends Gettable<io.fabric8.openshift.api.model.ImageStreamImage>>> |
imageStreamImages()
API entrypoint for accessing ImageStreamImage(image.openshift.io/v1)
|
NamespacedInOutCreateable<io.fabric8.openshift.api.model.ImageStreamImport,io.fabric8.openshift.api.model.ImageStreamImport> |
imageStreamImports()
API entrypoint for accessing ImageStreamImport(image.openshift.io/v1)
|
NamespacedInOutCreateable<io.fabric8.openshift.api.model.ImageStreamMapping,io.fabric8.openshift.api.model.ImageStreamMapping> |
imageStreamMappings()
API entrypoint for accessing ImageStreamMapping(image.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.ImageStream,io.fabric8.openshift.api.model.ImageStreamList,Resource<io.fabric8.openshift.api.model.ImageStream>> |
imageStreams()
API entrypoint for accessing ImageStream(image.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.ImageStreamTag,io.fabric8.openshift.api.model.ImageStreamTagList,Resource<io.fabric8.openshift.api.model.ImageStreamTag>> |
imageStreamTags()
API entrypoint for accessing ImageStreamTag(image.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.ImageTag,io.fabric8.openshift.api.model.ImageTagList,Resource<io.fabric8.openshift.api.model.ImageTag>> |
imageTags()
API entrypoint for accessing ImageTag(image.openshift.io/v1)
|
NamespacedOpenShiftClient |
inAnyNamespace() |
NamespacedOpenShiftClient |
inNamespace(String namespace) |
OpenShiftStorageVersionMigratorApiGroupDSL |
kubeStorageVersionMigrator()
API entrypoint for accessing resources in Kube Storage Version Migrator(migration.k8s.io/v1alpha1)
|
LeaderElectorBuilder<NamespacedOpenShiftClient> |
leaderElector() |
ParameterNamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata> |
load(InputStream is) |
NamespacedInOutCreateable<io.fabric8.openshift.api.model.LocalResourceAccessReview,io.fabric8.openshift.api.model.ResourceAccessReviewResponse> |
localResourceAccessReviews()
API entrypoint for LocalResourceAccessReview (authorization.openshift.io/v1)
This only supports create operation.
|
NamespacedInOutCreateable<io.fabric8.openshift.api.model.LocalSubjectAccessReview,io.fabric8.openshift.api.model.SubjectAccessReviewResponse> |
localSubjectAccessReviews()
API entrypoint for LocalSubjectAccessReview (authorization.openshift.io/v1)
This only supports create operation.
|
OpenShiftMachineAPIGroupDSL |
machine() |
MachineConfigurationAPIGroupDSL |
machineConfigurations()
API entrypoint for accessing OpenShift Machine Config Operator resources (machineconfiguration.openshift.io)
|
OpenShiftMonitoringAPIGroupDSL |
monitoring()
API entrypoint for accessing OpenShift operator APIGroup resources(monitoring.coreos.com/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.NetNamespace,io.fabric8.openshift.api.model.NetNamespaceList,Resource<io.fabric8.openshift.api.model.NetNamespace>> |
netNamespaces()
API entrypoint for handling NetNamespace(network.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.miscellaneous.cncf.cni.v1.NetworkAttachmentDefinition,io.fabric8.openshift.api.model.miscellaneous.cncf.cni.v1.NetworkAttachmentDefinitionList,Resource<io.fabric8.openshift.api.model.miscellaneous.cncf.cni.v1.NetworkAttachmentDefinition>> |
networkAttachmentDefinitions()
API entrypoint for accessing NetworkAttachmentDefinition(k8s.cni.cncf.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.OAuthAccessToken,io.fabric8.openshift.api.model.OAuthAccessTokenList,Resource<io.fabric8.openshift.api.model.OAuthAccessToken>> |
oAuthAccessTokens()
API entrypoint for accessing OAuthAccessToken(oauth.openshift.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.OAuthAuthorizeToken,io.fabric8.openshift.api.model.OAuthAuthorizeTokenList,Resource<io.fabric8.openshift.api.model.OAuthAuthorizeToken>> |
oAuthAuthorizeTokens()
API entrypoint for accessing OAuthAuthorizeToken(oauth.openshift.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.OAuthClientAuthorization,io.fabric8.openshift.api.model.OAuthClientAuthorizationList,Resource<io.fabric8.openshift.api.model.OAuthClientAuthorization>> |
oAuthClientAuthorizations()
API entrypoint for accessing OAuthClientAuthorization(oauth.openshift.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.OAuthClient,io.fabric8.openshift.api.model.OAuthClientList,Resource<io.fabric8.openshift.api.model.OAuthClient>> |
oAuthClients()
API entrypoint for accessing OAuthClient(oauth.openshift.io/v1)
|
OpenShiftOperatorAPIGroupDSL |
operator()
API entrypoint for accessing OpenShift operator APIGroup resources(operator.openshift.io/v1 and operator.openshift.io/v1alpha1)
|
OpenShiftOperatorHubAPIGroupDSL |
operatorHub()
API entrypoint for accessing OpenShift operator hub APIGroup resources(operator.coreos.com/v1alpha1)
|
MixedOperation<io.fabric8.openshift.api.model.miscellaneous.network.operator.v1.OperatorPKI,io.fabric8.openshift.api.model.miscellaneous.network.operator.v1.OperatorPKIList,Resource<io.fabric8.openshift.api.model.miscellaneous.network.operator.v1.OperatorPKI>> |
operatorPKIs()
API entrypoint for OperatorPKI(network.operator.openshift.io/v1)
|
NamespacedInOutCreateable<io.fabric8.openshift.api.model.PodSecurityPolicyReview,io.fabric8.openshift.api.model.PodSecurityPolicyReview> |
podSecurityPolicyReviews()
API entrypoint for accessing PodSecurityPolicyReview (security.openshift.io/v1)
|
NamespacedInOutCreateable<io.fabric8.openshift.api.model.PodSecurityPolicySelfSubjectReview,io.fabric8.openshift.api.model.PodSecurityPolicySelfSubjectReview> |
podSecurityPolicySelfSubjectReviews()
API entrypoint for accessing PodSecurityPolicySelfSubjectReview (security.openshift.io/v1)
|
NamespacedInOutCreateable<io.fabric8.openshift.api.model.PodSecurityPolicySubjectReview,io.fabric8.openshift.api.model.PodSecurityPolicySubjectReview> |
podSecurityPolicySubjectReviews()
API entrypoint for accessing PodSecurityPolicySubjectReview (security.openshift.io/v1)
|
ProjectRequestOperation |
projectrequests()
API entrypoint for accessing ProjectRequest operations(project.openshift.io/v1)
|
ProjectOperation |
projects()
API entrypoint for accessing Project operations(project.openshift.io/v1)
|
OpenShiftQuotaAPIGroupDSL |
quotas()
API entrypoint for accessing OpenShift Quota APIGroup resources(quota.openshift.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.RangeAllocation,io.fabric8.openshift.api.model.RangeAllocationList,Resource<io.fabric8.openshift.api.model.RangeAllocation>> |
rangeAllocations()
API entrypoint for accessing RangeAllocation(security.openshift.io/v1)
|
InOutCreateable<io.fabric8.openshift.api.model.ResourceAccessReview,io.fabric8.openshift.api.model.ResourceAccessReviewResponse> |
resourceAccessReviews()
API entrypoint for ResourceAccessReview (authorization.openshift.io/v1)
This only supports create operation.
|
NamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata> |
resourceList(io.fabric8.kubernetes.api.model.KubernetesResourceList item) |
ParameterNamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata> |
resourceList(String s) |
MixedOperation<io.fabric8.openshift.api.model.RoleBindingRestriction,io.fabric8.openshift.api.model.RoleBindingRestrictionList,Resource<io.fabric8.openshift.api.model.RoleBindingRestriction>> |
roleBindingRestrictions()
API entrypoint for RoleBindingRestriction (authorization.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.RoleBinding,io.fabric8.openshift.api.model.RoleBindingList,Resource<io.fabric8.openshift.api.model.RoleBinding>> |
roleBindings()
API entrypoint for accessing RoleBinding(authorization.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.Role,io.fabric8.openshift.api.model.RoleList,Resource<io.fabric8.openshift.api.model.Role>> |
roles()
API entrypoint for accessing Role(authorization.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.Route,io.fabric8.openshift.api.model.RouteList,Resource<io.fabric8.openshift.api.model.Route>> |
routes()
API entrypoint for accessing Route(route.openshift.io/v1)
|
NonNamespaceOperation<io.fabric8.openshift.api.model.SecurityContextConstraints,io.fabric8.openshift.api.model.SecurityContextConstraintsList,Resource<io.fabric8.openshift.api.model.SecurityContextConstraints>> |
securityContextConstraints()
API entrypoint for accessing SecurityContextConstraints(security.openshift.io/v1)
|
NamespacedInOutCreateable<io.fabric8.openshift.api.model.SelfSubjectRulesReview,io.fabric8.openshift.api.model.SelfSubjectRulesReview> |
selfSubjectRulesReviews()
API entrypoint for SelfSubjectRulesReview (authorization.openshift.io/v1)
This only supports create operation.
|
InOutCreateable<io.fabric8.openshift.api.model.SubjectAccessReview,io.fabric8.openshift.api.model.SubjectAccessReviewResponse> |
subjectAccessReviews()
API entrypoint for SubjectAccessReview (authorization.openshift.io/v1)
This only supports create operation.
|
NamespacedInOutCreateable<io.fabric8.openshift.api.model.SubjectRulesReview,io.fabric8.openshift.api.model.SubjectRulesReview> |
subjectRulesReviews()
API entrypoint for SubjectRulesReview (authorization.openshift.io/v1)
This only supports create operation.
|
boolean |
supportsOpenShiftAPIGroup(String apiGroup)
Returns true if this cluster is a legacy openshift cluster or supports the given OpenShift API Group defined in
OpenShiftAPIGroups |
MixedOperation<io.fabric8.openshift.api.model.TemplateInstance,io.fabric8.openshift.api.model.TemplateInstanceList,Resource<io.fabric8.openshift.api.model.TemplateInstance>> |
templateInstances()
API entrypoint for TemplateInstance(template.openshift.io/v1)
|
ParameterMixedOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>> |
templates()
API entrypoint for accessing Template(template.openshift.io/v1)
|
OpenShiftTunedAPIGroupDSL |
tuned()
API entrypoint for OpenShift Node Tuning operator model(tuned.openshift.io/v1)
|
InOutCreateable<io.fabric8.openshift.api.model.UserIdentityMapping,io.fabric8.openshift.api.model.UserIdentityMapping> |
userIdentityMappings()
API entrypoint for UserIdentityMapping(user.openshift.io/v1)
Note: This only works with create operation
|
NonNamespaceOperation<io.fabric8.openshift.api.model.UserOAuthAccessToken,io.fabric8.openshift.api.model.UserOAuthAccessTokenList,Resource<io.fabric8.openshift.api.model.UserOAuthAccessToken>> |
userOAuthAccessTokens()
API entrypoint for UserOAuthAccessToken(oauth.openshift.io/v1)
|
MixedOperation<io.fabric8.openshift.api.model.User,io.fabric8.openshift.api.model.UserList,Resource<io.fabric8.openshift.api.model.User>> |
users()
API entrypoint for accessing User(user.openshift.io/v1)
|
OpenShiftWhereaboutsAPIGroupDSL |
whereabouts()
API entrypoint for OpenShift Whereabouts CNI(Container Network Interface) Plugin model.
|
FunctionCallable<NamespacedOpenShiftClient> |
withRequestConfig(RequestConfig requestConfig)
Configure Request Config
|
admissionRegistration, apiextensions, apiServices, apps, authorization, autoscaling, batch, bindings, certificates, certificateSigningRequests, configMaps, customResource, customResources, customResources, customResources, discovery, endpoints, events, flowControl, genericKubernetesResources, informers, informers, leases, limitRanges, lists, namespaces, network, nodes, persistentVolumeClaims, persistentVolumes, pods, policy, rbac, replicationControllers, resource, resource, resourceList, resourceList, resourceListFor, resourceQuotas, resources, run, runtimeClasses, scheduling, secrets, serviceAccounts, services, storage, tokenReviews, top, v1adapt, close, getApiGroup, getApiGroups, getApiResources, getApiVersion, getHttpClient, getMasterUrl, getNamespace, getVersionInfo, isAdaptable, rootPaths, supportsApiPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapps, autoscaling, batch, network, rbac, scheduling, storageadmissionRegistration, apiextensions, apiServices, authorization, bindings, certificates, certificateSigningRequests, configMaps, customResource, customResources, customResources, customResources, discovery, endpoints, events, flowControl, genericKubernetesResources, genericKubernetesResources, informers, informers, leases, limitRanges, lists, namespaces, nodes, persistentVolumeClaims, persistentVolumes, pods, policy, replicationControllers, resource, resource, resourceList, resourceList, resourceQuotas, resources, resources, run, runtimeClasses, secrets, serviceAccounts, services, tokenReviews, top, v1public static final String OPENSHIFT_VERSION_ENDPOINT
public DefaultOpenShiftClient()
public DefaultOpenShiftClient(String masterUrl)
public DefaultOpenShiftClient(Config config)
public DefaultOpenShiftClient(OpenShiftConfig config)
public DefaultOpenShiftClient(okhttp3.OkHttpClient httpClient,
OpenShiftConfig config)
public static DefaultOpenShiftClient fromConfig(String config)
public static DefaultOpenShiftClient fromConfig(InputStream is)
public URL getOpenshiftUrl()
OpenShiftClientgetOpenshiftUrl in interface OpenShiftClientURL of OpenShift Clusterpublic OpenShiftConfig getConfiguration()
getConfiguration in interface ConfigAwaregetConfiguration in class BaseClientpublic OpenShiftConfigAPIGroupDSL config()
OpenShiftClientconfig in interface OpenShiftClientOpenShiftConfigAPIGroupDSL which contains respective resources in this API grouppublic OpenShiftConsoleAPIGroupDSL console()
OpenShiftClientconsole in interface OpenShiftClientOpenShiftConsoleAPIGroupDSL which contains respective resources in this API grouppublic OpenShiftClusterAutoscalingAPIGroupDSL clusterAutoscaling()
OpenShiftClientclusterAutoscaling in interface OpenShiftClientOpenShiftClusterAutoscalingAPIGroupDSL which contains respective resources in this API grouppublic OpenShiftOperatorAPIGroupDSL operator()
OpenShiftClientoperator in interface OpenShiftClientOpenShiftOperatorAPIGroupDSL which contains respective resources in this API grouppublic OpenShiftOperatorHubAPIGroupDSL operatorHub()
OpenShiftClientoperatorHub in interface OpenShiftClientOpenShiftOperatorHubAPIGroupDSL which contains respective resources in this API grouppublic MixedOperation<io.fabric8.kubernetes.api.model.ComponentStatus,io.fabric8.kubernetes.api.model.ComponentStatusList,Resource<io.fabric8.kubernetes.api.model.ComponentStatus>> componentstatuses()
componentstatuses in interface KubernetesClientcomponentstatuses in class BaseKubernetesClient<NamespacedOpenShiftClient>public ParameterNamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata> load(InputStream is)
load in interface KubernetesClientload in class BaseKubernetesClient<NamespacedOpenShiftClient>public NamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata> resourceList(io.fabric8.kubernetes.api.model.KubernetesResourceList item)
resourceList in interface KubernetesClientresourceList in class BaseKubernetesClient<NamespacedOpenShiftClient>public ParameterNamespaceListVisitFromServerGetDeleteRecreateWaitApplicable<io.fabric8.kubernetes.api.model.HasMetadata> resourceList(String s)
resourceList in interface KubernetesClientresourceList in class BaseKubernetesClient<NamespacedOpenShiftClient>public MixedOperation<io.fabric8.openshift.api.model.Build,io.fabric8.openshift.api.model.BuildList,BuildResource<io.fabric8.openshift.api.model.Build,LogWatch>> builds()
OpenShiftClientbuilds in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.BuildConfig,io.fabric8.openshift.api.model.BuildConfigList,BuildConfigResource<io.fabric8.openshift.api.model.BuildConfig,Void,io.fabric8.openshift.api.model.Build>> buildConfigs()
OpenShiftClientbuildConfigs in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.CredentialsRequest,io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.CredentialsRequestList,Resource<io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.CredentialsRequest>> credentialsRequests()
OpenShiftClientcredentialsRequests in interface OpenShiftClientMixedOperation for CredentialsRequestpublic MixedOperation<io.fabric8.openshift.api.model.DeploymentConfig,io.fabric8.openshift.api.model.DeploymentConfigList,DeployableScalableResource<io.fabric8.openshift.api.model.DeploymentConfig>> deploymentConfigs()
OpenShiftClientdeploymentConfigs in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.Group,io.fabric8.openshift.api.model.GroupList,Resource<io.fabric8.openshift.api.model.Group>> groups()
OpenShiftClientgroups in interface OpenShiftClientpublic NonNamespaceOperation<io.fabric8.openshift.api.model.HelmChartRepository,io.fabric8.openshift.api.model.HelmChartRepositoryList,Resource<io.fabric8.openshift.api.model.HelmChartRepository>> helmChartRepositories()
OpenShiftClienthelmChartRepositories in interface OpenShiftClientNonNamespaceOperation for HelmChartRepositorypublic NonNamespaceOperation<io.fabric8.openshift.api.model.Image,io.fabric8.openshift.api.model.ImageList,Resource<io.fabric8.openshift.api.model.Image>> images()
OpenShiftClientimages in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.ImageTag,io.fabric8.openshift.api.model.ImageTagList,Resource<io.fabric8.openshift.api.model.ImageTag>> imageTags()
OpenShiftClientimageTags in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.ImageStream,io.fabric8.openshift.api.model.ImageStreamList,Resource<io.fabric8.openshift.api.model.ImageStream>> imageStreams()
OpenShiftClientimageStreams in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.ImageStreamTag,io.fabric8.openshift.api.model.ImageStreamTagList,Resource<io.fabric8.openshift.api.model.ImageStreamTag>> imageStreamTags()
OpenShiftClientimageStreamTags in interface OpenShiftClientpublic NamespacedInOutCreateable<io.fabric8.openshift.api.model.ImageStreamImport,io.fabric8.openshift.api.model.ImageStreamImport> imageStreamImports()
OpenShiftClientimageStreamImports in interface OpenShiftClientNamespacedInOutCreateable for ImageStreamImportpublic NamespacedInOutCreateable<io.fabric8.openshift.api.model.ImageStreamMapping,io.fabric8.openshift.api.model.ImageStreamMapping> imageStreamMappings()
OpenShiftClientimageStreamMappings in interface OpenShiftClientNamespacedInOutCreateable for ImageStreamMappingpublic Namespaceable<Nameable<? extends Gettable<io.fabric8.openshift.api.model.ImageStreamImage>>> imageStreamImages()
OpenShiftClientimageStreamImages in interface OpenShiftClientNamespaceable for ImageStreamImage operationspublic NameableCreateOrDeleteable imageSignatures()
OpenShiftClientimageSignatures in interface OpenShiftClientNameableCreateOrDeleteable for ImageSignature operationspublic NonNamespaceOperation<io.fabric8.openshift.api.model.miscellaneous.imageregistry.operator.v1.Config,io.fabric8.openshift.api.model.miscellaneous.imageregistry.operator.v1.ConfigList,Resource<io.fabric8.openshift.api.model.miscellaneous.imageregistry.operator.v1.Config>> imageRegistryOperatorConfigs()
OpenShiftClientimageRegistryOperatorConfigs in interface OpenShiftClientNonNamespaceOperation for Configpublic MixedOperation<io.fabric8.openshift.api.model.miscellaneous.cncf.cni.v1.NetworkAttachmentDefinition,io.fabric8.openshift.api.model.miscellaneous.cncf.cni.v1.NetworkAttachmentDefinitionList,Resource<io.fabric8.openshift.api.model.miscellaneous.cncf.cni.v1.NetworkAttachmentDefinition>> networkAttachmentDefinitions()
OpenShiftClientnetworkAttachmentDefinitions in interface OpenShiftClientMixedOperation for NetworkAttachmentDefinitionpublic NonNamespaceOperation<io.fabric8.openshift.api.model.OAuthAccessToken,io.fabric8.openshift.api.model.OAuthAccessTokenList,Resource<io.fabric8.openshift.api.model.OAuthAccessToken>> oAuthAccessTokens()
OpenShiftClientoAuthAccessTokens in interface OpenShiftClientpublic NonNamespaceOperation<io.fabric8.openshift.api.model.OAuthAuthorizeToken,io.fabric8.openshift.api.model.OAuthAuthorizeTokenList,Resource<io.fabric8.openshift.api.model.OAuthAuthorizeToken>> oAuthAuthorizeTokens()
OpenShiftClientoAuthAuthorizeTokens in interface OpenShiftClientpublic NonNamespaceOperation<io.fabric8.openshift.api.model.OAuthClient,io.fabric8.openshift.api.model.OAuthClientList,Resource<io.fabric8.openshift.api.model.OAuthClient>> oAuthClients()
OpenShiftClientoAuthClients in interface OpenShiftClientpublic NamespacedInOutCreateable<io.fabric8.openshift.api.model.PodSecurityPolicyReview,io.fabric8.openshift.api.model.PodSecurityPolicyReview> podSecurityPolicyReviews()
OpenShiftClientpodSecurityPolicyReviews in interface OpenShiftClientpublic NonNamespaceOperation<io.fabric8.openshift.api.model.OAuthClientAuthorization,io.fabric8.openshift.api.model.OAuthClientAuthorizationList,Resource<io.fabric8.openshift.api.model.OAuthClientAuthorization>> oAuthClientAuthorizations()
OpenShiftClientoAuthClientAuthorizations in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.miscellaneous.network.operator.v1.OperatorPKI,io.fabric8.openshift.api.model.miscellaneous.network.operator.v1.OperatorPKIList,Resource<io.fabric8.openshift.api.model.miscellaneous.network.operator.v1.OperatorPKI>> operatorPKIs()
OpenShiftClientoperatorPKIs in interface OpenShiftClientMixedOperation for OperatorPKIpublic NamespacedInOutCreateable<io.fabric8.openshift.api.model.PodSecurityPolicySelfSubjectReview,io.fabric8.openshift.api.model.PodSecurityPolicySelfSubjectReview> podSecurityPolicySelfSubjectReviews()
OpenShiftClientpodSecurityPolicySelfSubjectReviews in interface OpenShiftClientpublic NamespacedInOutCreateable<io.fabric8.openshift.api.model.PodSecurityPolicySubjectReview,io.fabric8.openshift.api.model.PodSecurityPolicySubjectReview> podSecurityPolicySubjectReviews()
OpenShiftClientpodSecurityPolicySubjectReviews in interface OpenShiftClientpublic ProjectOperation projects()
OpenShiftClientprojects in interface OpenShiftClientProjectOperation for Project specific operationspublic OpenShiftQuotaAPIGroupDSL quotas()
OpenShiftClientquotas in interface OpenShiftClientOpenShiftQuotaAPIGroupDSL which contains operations for respective resources inside the APIGrouppublic NonNamespaceOperation<io.fabric8.openshift.api.model.RangeAllocation,io.fabric8.openshift.api.model.RangeAllocationList,Resource<io.fabric8.openshift.api.model.RangeAllocation>> rangeAllocations()
OpenShiftClientrangeAllocations in interface OpenShiftClientpublic NonNamespaceOperation<io.fabric8.openshift.api.model.SecurityContextConstraints,io.fabric8.openshift.api.model.SecurityContextConstraintsList,Resource<io.fabric8.openshift.api.model.SecurityContextConstraints>> securityContextConstraints()
OpenShiftClientsecurityContextConstraints in interface OpenShiftClientpublic ProjectRequestOperation projectrequests()
OpenShiftClientprojectrequests in interface OpenShiftClientProjectRequestOperation for ProjectRequest specific operationspublic MixedOperation<io.fabric8.openshift.api.model.Role,io.fabric8.openshift.api.model.RoleList,Resource<io.fabric8.openshift.api.model.Role>> roles()
OpenShiftClientroles in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.RoleBinding,io.fabric8.openshift.api.model.RoleBindingList,Resource<io.fabric8.openshift.api.model.RoleBinding>> roleBindings()
OpenShiftClientroleBindings in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.Route,io.fabric8.openshift.api.model.RouteList,Resource<io.fabric8.openshift.api.model.Route>> routes()
OpenShiftClientroutes in interface OpenShiftClientpublic ParameterMixedOperation<io.fabric8.openshift.api.model.Template,io.fabric8.openshift.api.model.TemplateList,TemplateResource<io.fabric8.openshift.api.model.Template,io.fabric8.kubernetes.api.model.KubernetesList>> templates()
OpenShiftClienttemplates in interface OpenShiftClientParameterMixedOperation object for Template operationspublic MixedOperation<io.fabric8.openshift.api.model.TemplateInstance,io.fabric8.openshift.api.model.TemplateInstanceList,Resource<io.fabric8.openshift.api.model.TemplateInstance>> templateInstances()
OpenShiftClienttemplateInstances in interface OpenShiftClientMixedOperation for TemplateInstancepublic OpenShiftTunedAPIGroupDSL tuned()
OpenShiftClienttuned in interface OpenShiftClientOpenShiftTunedAPIGroupDSL for access to various available resourcespublic NonNamespaceOperation<io.fabric8.openshift.api.model.BrokerTemplateInstance,io.fabric8.openshift.api.model.BrokerTemplateInstanceList,Resource<io.fabric8.openshift.api.model.BrokerTemplateInstance>> brokerTemplateInstances()
OpenShiftClientbrokerTemplateInstances in interface OpenShiftClientNonNamespaceOperation for BrokerTemplateInstancepublic MixedOperation<io.fabric8.openshift.api.model.User,io.fabric8.openshift.api.model.UserList,Resource<io.fabric8.openshift.api.model.User>> users()
OpenShiftClientusers in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.ClusterRoleBinding,io.fabric8.openshift.api.model.ClusterRoleBindingList,Resource<io.fabric8.openshift.api.model.ClusterRoleBinding>> clusterRoleBindings()
OpenShiftClientclusterRoleBindings in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.RoleBindingRestriction,io.fabric8.openshift.api.model.RoleBindingRestrictionList,Resource<io.fabric8.openshift.api.model.RoleBindingRestriction>> roleBindingRestrictions()
OpenShiftClientroleBindingRestrictions in interface OpenShiftClientMixedOperation for RoleBindingRestrictionpublic NamespacedOpenShiftClient inNamespace(String namespace)
inNamespace in interface Namespaceable<NamespacedOpenShiftClient>public NamespacedOpenShiftClient inAnyNamespace()
inAnyNamespace in interface AnyNamespaceable<NamespacedOpenShiftClient>inAnyNamespace in class BaseKubernetesClient<NamespacedOpenShiftClient>public ExtensionsAPIGroupClient extensions()
OpenShiftClientextensions in interface KubernetesClientextensions in interface OpenShiftClientextensions in class BaseKubernetesClient<NamespacedOpenShiftClient>public VersionInfo getVersion()
OpenShiftClientgetVersion in interface KubernetesClientgetVersion in interface OpenShiftClientgetVersion in class BaseKubernetesClient<NamespacedOpenShiftClient>public VersionInfo getKubernetesVersion()
getKubernetesVersion in interface KubernetesClientgetKubernetesVersion in class BaseKubernetesClient<NamespacedOpenShiftClient>public VersionInfo getOpenShiftV3Version()
OpenShiftClientgetOpenShiftV3Version in interface OpenShiftClientpublic String getOpenShiftV4Version()
OpenShiftClientgetOpenShiftV4Version in interface OpenShiftClientpublic MachineConfigurationAPIGroupDSL machineConfigurations()
OpenShiftClientmachineConfigurations in interface OpenShiftClientMachineConfigurationAPIGroupDSL which contains respective resources in this ApiGrouppublic OpenShiftMachineAPIGroupDSL machine()
machine in interface OpenShiftClientpublic OpenShiftMonitoringAPIGroupDSL monitoring()
OpenShiftClientmonitoring in interface OpenShiftClientOpenShiftMonitoringAPIGroupDSL which contains respective resources in this API grouppublic NonNamespaceOperation<io.fabric8.openshift.api.model.NetNamespace,io.fabric8.openshift.api.model.NetNamespaceList,Resource<io.fabric8.openshift.api.model.NetNamespace>> netNamespaces()
OpenShiftClientnetNamespaces in interface OpenShiftClientpublic NonNamespaceOperation<io.fabric8.openshift.api.model.ClusterNetwork,io.fabric8.openshift.api.model.ClusterNetworkList,Resource<io.fabric8.openshift.api.model.ClusterNetwork>> clusterNetworks()
OpenShiftClientclusterNetworks in interface OpenShiftClientpublic MixedOperation<io.fabric8.openshift.api.model.EgressNetworkPolicy,io.fabric8.openshift.api.model.EgressNetworkPolicyList,Resource<io.fabric8.openshift.api.model.EgressNetworkPolicy>> egressNetworkPolicies()
OpenShiftClientegressNetworkPolicies in interface OpenShiftClientpublic NonNamespaceOperation<io.fabric8.openshift.api.model.HostSubnet,io.fabric8.openshift.api.model.HostSubnetList,Resource<io.fabric8.openshift.api.model.HostSubnet>> hostSubnets()
OpenShiftClienthostSubnets in interface OpenShiftClientNonNamespaceOperation for HostSubnetpublic MixedOperation<io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.BareMetalHost,io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.BareMetalHostList,Resource<io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.BareMetalHost>> bareMetalHosts()
OpenShiftClientbareMetalHosts in interface OpenShiftClientMixedOperation for BareMetalHostpublic InOutCreateable<io.fabric8.openshift.api.model.SubjectAccessReview,io.fabric8.openshift.api.model.SubjectAccessReviewResponse> subjectAccessReviews()
OpenShiftClientsubjectAccessReviews in interface OpenShiftClientInOutCreateable for SubjectAccessReviewpublic InOutCreateable<io.fabric8.openshift.api.model.ResourceAccessReview,io.fabric8.openshift.api.model.ResourceAccessReviewResponse> resourceAccessReviews()
OpenShiftClientresourceAccessReviews in interface OpenShiftClientInOutCreateable for ResourceAccessReviewpublic NamespacedInOutCreateable<io.fabric8.openshift.api.model.LocalSubjectAccessReview,io.fabric8.openshift.api.model.SubjectAccessReviewResponse> localSubjectAccessReviews()
OpenShiftClientlocalSubjectAccessReviews in interface OpenShiftClientNamespacedInOutCreateable for LocalSubjectAccessReviewpublic NamespacedInOutCreateable<io.fabric8.openshift.api.model.LocalResourceAccessReview,io.fabric8.openshift.api.model.ResourceAccessReviewResponse> localResourceAccessReviews()
OpenShiftClientlocalResourceAccessReviews in interface OpenShiftClientNamespacedInOutCreateable for LocalResourceAccessReviewpublic NamespacedInOutCreateable<io.fabric8.openshift.api.model.SelfSubjectRulesReview,io.fabric8.openshift.api.model.SelfSubjectRulesReview> selfSubjectRulesReviews()
OpenShiftClientselfSubjectRulesReviews in interface OpenShiftClientNamespacedInOutCreateable for SelfSubjectRulesReviewpublic NamespacedInOutCreateable<io.fabric8.openshift.api.model.SubjectRulesReview,io.fabric8.openshift.api.model.SubjectRulesReview> subjectRulesReviews()
OpenShiftClientsubjectRulesReviews in interface OpenShiftClientNamespacedInOutCreateable for SubjectRulesReviewpublic OpenShiftStorageVersionMigratorApiGroupDSL kubeStorageVersionMigrator()
OpenShiftClientkubeStorageVersionMigrator in interface OpenShiftClientOpenShiftStorageVersionMigratorApiGroupDSL for accessing resources available in apiGrouppublic NonNamespaceOperation<io.fabric8.openshift.api.model.ClusterRole,io.fabric8.openshift.api.model.ClusterRoleList,Resource<io.fabric8.openshift.api.model.ClusterRole>> clusterRoles()
OpenShiftClientclusterRoles in interface OpenShiftClientNonNamespaceOperation for ClusterRolepublic LeaderElectorBuilder<NamespacedOpenShiftClient> leaderElector()
leaderElector in interface KubernetesClientpublic FunctionCallable<NamespacedOpenShiftClient> withRequestConfig(RequestConfig requestConfig)
OpenShiftClientwithRequestConfig in interface RequestConfigurable<NamespacedOpenShiftClient>withRequestConfig in interface OpenShiftClientrequestConfig - request configuration for connectionNamespacedOpenShiftClient configured with specified RequestConfigpublic io.fabric8.openshift.api.model.User currentUser()
OpenShiftClientcurrentUser in interface OpenShiftClientpublic NonNamespaceOperation<io.fabric8.openshift.api.model.Identity,io.fabric8.openshift.api.model.IdentityList,Resource<io.fabric8.openshift.api.model.Identity>> identities()
OpenShiftClientidentities in interface OpenShiftClientNonNamespaceOperation for Identitypublic InOutCreateable<io.fabric8.openshift.api.model.UserIdentityMapping,io.fabric8.openshift.api.model.UserIdentityMapping> userIdentityMappings()
OpenShiftClientuserIdentityMappings in interface OpenShiftClientUserIdentityMapping for UserIdentityMappingpublic NonNamespaceOperation<io.fabric8.openshift.api.model.UserOAuthAccessToken,io.fabric8.openshift.api.model.UserOAuthAccessTokenList,Resource<io.fabric8.openshift.api.model.UserOAuthAccessToken>> userOAuthAccessTokens()
OpenShiftClientNote: Only GET and DELETE operations are supported by APIServer for this resource.
userOAuthAccessTokens in interface OpenShiftClientNonNamespaceOperation for UserOAuthAccessTokenpublic OpenShiftWhereaboutsAPIGroupDSL whereabouts()
OpenShiftClientwhereabouts in interface OpenShiftClientOpenShiftWhereaboutsAPIGroupDSL which provides DSL methods for available resources.public boolean supportsOpenShiftAPIGroup(String apiGroup)
OpenShiftClientOpenShiftAPIGroupssupportsOpenShiftAPIGroup in interface OpenShiftClientapiGroup - API group as stringprotected okhttp3.OkHttpClient adaptOkHttpClient(okhttp3.OkHttpClient okHttpClient)
adaptOkHttpClient in class BaseClientCopyright © 2015–2020 Red Hat. All rights reserved.