io.fabric8.openshift.client.impl.OpenShiftHiveAPIGroupClient Maven / Gradle / Ivy
/*
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.fabric8.openshift.client.impl;
import io.fabric8.kubernetes.client.dsl.MixedOperation;
import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation;
import io.fabric8.kubernetes.client.dsl.Resource;
import io.fabric8.kubernetes.client.extension.ClientAdapter;
import io.fabric8.openshift.api.model.hive.v1.Checkpoint;
import io.fabric8.openshift.api.model.hive.v1.CheckpointList;
import io.fabric8.openshift.api.model.hive.v1.ClusterClaim;
import io.fabric8.openshift.api.model.hive.v1.ClusterClaimList;
import io.fabric8.openshift.api.model.hive.v1.ClusterDeployment;
import io.fabric8.openshift.api.model.hive.v1.ClusterDeploymentList;
import io.fabric8.openshift.api.model.hive.v1.ClusterDeprovision;
import io.fabric8.openshift.api.model.hive.v1.ClusterDeprovisionList;
import io.fabric8.openshift.api.model.hive.v1.ClusterImageSet;
import io.fabric8.openshift.api.model.hive.v1.ClusterImageSetList;
import io.fabric8.openshift.api.model.hive.v1.ClusterPool;
import io.fabric8.openshift.api.model.hive.v1.ClusterPoolList;
import io.fabric8.openshift.api.model.hive.v1.ClusterProvision;
import io.fabric8.openshift.api.model.hive.v1.ClusterProvisionList;
import io.fabric8.openshift.api.model.hive.v1.ClusterRelocate;
import io.fabric8.openshift.api.model.hive.v1.ClusterRelocateList;
import io.fabric8.openshift.api.model.hive.v1.ClusterState;
import io.fabric8.openshift.api.model.hive.v1.ClusterStateList;
import io.fabric8.openshift.api.model.hive.v1.DNSZone;
import io.fabric8.openshift.api.model.hive.v1.DNSZoneList;
import io.fabric8.openshift.api.model.hive.v1.HiveConfig;
import io.fabric8.openshift.api.model.hive.v1.HiveConfigList;
import io.fabric8.openshift.api.model.hive.v1.MachinePool;
import io.fabric8.openshift.api.model.hive.v1.MachinePoolList;
import io.fabric8.openshift.api.model.hive.v1.MachinePoolNameLease;
import io.fabric8.openshift.api.model.hive.v1.MachinePoolNameLeaseList;
import io.fabric8.openshift.api.model.hive.v1.SelectorSyncIdentityProvider;
import io.fabric8.openshift.api.model.hive.v1.SelectorSyncIdentityProviderList;
import io.fabric8.openshift.api.model.hive.v1.SelectorSyncSet;
import io.fabric8.openshift.api.model.hive.v1.SelectorSyncSetList;
import io.fabric8.openshift.api.model.hive.v1.SyncIdentityProvider;
import io.fabric8.openshift.api.model.hive.v1.SyncIdentityProviderList;
import io.fabric8.openshift.api.model.hive.v1.SyncSet;
import io.fabric8.openshift.api.model.hive.v1.SyncSetList;
import io.fabric8.openshift.client.dsl.OpenShiftHiveAPIGroupDSL;
public class OpenShiftHiveAPIGroupClient extends ClientAdapter
implements OpenShiftHiveAPIGroupDSL {
@Override
public OpenShiftHiveAPIGroupClient newInstance() {
return new OpenShiftHiveAPIGroupClient();
}
@Override
public MixedOperation> checkpoints() {
return resources(Checkpoint.class, CheckpointList.class);
}
@Override
public MixedOperation> clusterClaims() {
return resources(ClusterClaim.class, ClusterClaimList.class);
}
@Override
public MixedOperation> clusterDeployments() {
return resources(ClusterDeployment.class, ClusterDeploymentList.class);
}
@Override
public MixedOperation> clusterDeprovisions() {
return resources(ClusterDeprovision.class, ClusterDeprovisionList.class);
}
@Override
public MixedOperation> clusterProvisions() {
return resources(ClusterProvision.class, ClusterProvisionList.class);
}
@Override
public NonNamespaceOperation> clusterImageSets() {
return resources(ClusterImageSet.class, ClusterImageSetList.class);
}
@Override
public MixedOperation> clusterPools() {
return resources(ClusterPool.class, ClusterPoolList.class);
}
@Override
public MixedOperation> clusterRelocates() {
return resources(ClusterRelocate.class, ClusterRelocateList.class);
}
@Override
public MixedOperation> clusterStates() {
return resources(ClusterState.class, ClusterStateList.class);
}
@Override
public MixedOperation> dnsZones() {
return resources(DNSZone.class, DNSZoneList.class);
}
@Override
public NonNamespaceOperation> hiveConfigs() {
return resources(HiveConfig.class, HiveConfigList.class);
}
@Override
public MixedOperation> machinePoolNameLeases() {
return resources(MachinePoolNameLease.class, MachinePoolNameLeaseList.class);
}
@Override
public MixedOperation> machinePools() {
return resources(MachinePool.class, MachinePoolList.class);
}
@Override
public NonNamespaceOperation> selectorSyncIdentityProviders() {
return resources(SelectorSyncIdentityProvider.class, SelectorSyncIdentityProviderList.class);
}
@Override
public NonNamespaceOperation> selectorSyncSets() {
return resources(SelectorSyncSet.class, SelectorSyncSetList.class);
}
@Override
public MixedOperation> syncIdentityProviders() {
return resources(SyncIdentityProvider.class, SyncIdentityProviderList.class);
}
@Override
public MixedOperation> syncSets() {
return resources(SyncSet.class, SyncSetList.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy