Class IstioClientAdapter

java.lang.Object
org.arquillian.cube.istio.impl.IstioClientAdapter
All Implemented Interfaces:
io.fabric8.istio.client.IstioClient, io.fabric8.kubernetes.client.Client, Closeable, AutoCloseable

public class IstioClientAdapter extends Object implements io.fabric8.istio.client.IstioClient
  • Constructor Details

    • IstioClientAdapter

      public IstioClientAdapter(io.fabric8.istio.client.IstioClient istioClient)
  • Method Details

    • registerCustomResources

      public List<IstioResource> registerCustomResources(InputStream resource)
    • registerCustomResources

      public List<IstioResource> registerCustomResources(String resource)
    • unregisterCustomResource

      public Boolean unregisterCustomResource(IstioResource istioResource)
    • unwrap

      public io.fabric8.istio.client.IstioClient unwrap()
    • v1beta1

      public io.fabric8.istio.client.V1beta1APIGroupDSL v1beta1()
      Specified by:
      v1beta1 in interface io.fabric8.istio.client.IstioClient
    • v1alpha3

      public io.fabric8.istio.client.V1alpha3APIGroupDSL v1alpha3()
      Specified by:
      v1alpha3 in interface io.fabric8.istio.client.IstioClient
    • isAdaptable

      public <C extends io.fabric8.kubernetes.client.Client> Boolean isAdaptable(Class<C> type)
      Specified by:
      isAdaptable in interface io.fabric8.kubernetes.client.Client
    • supports

      public <R extends io.fabric8.kubernetes.api.model.KubernetesResource> boolean supports(Class<R> type)
      Specified by:
      supports in interface io.fabric8.kubernetes.client.Client
    • supports

      public boolean supports(String apiVersion, String kind)
      Specified by:
      supports in interface io.fabric8.kubernetes.client.Client
    • hasApiGroup

      public boolean hasApiGroup(String apiGroup, boolean exact)
      Specified by:
      hasApiGroup in interface io.fabric8.kubernetes.client.Client
    • adapt

      public <C extends io.fabric8.kubernetes.client.Client> C adapt(Class<C> type)
      Specified by:
      adapt in interface io.fabric8.kubernetes.client.Client
    • getMasterUrl

      public URL getMasterUrl()
      Specified by:
      getMasterUrl in interface io.fabric8.kubernetes.client.Client
    • getApiVersion

      public String getApiVersion()
      Specified by:
      getApiVersion in interface io.fabric8.kubernetes.client.Client
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface io.fabric8.kubernetes.client.Client
    • rootPaths

      public io.fabric8.kubernetes.api.model.RootPaths rootPaths()
      Specified by:
      rootPaths in interface io.fabric8.kubernetes.client.Client
    • supportsApiPath

      public boolean supportsApiPath(String path)
      Specified by:
      supportsApiPath in interface io.fabric8.kubernetes.client.Client
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface io.fabric8.kubernetes.client.Client
      Specified by:
      close in interface Closeable
    • getApiGroups

      public io.fabric8.kubernetes.api.model.APIGroupList getApiGroups()
      Specified by:
      getApiGroups in interface io.fabric8.kubernetes.client.Client
    • getApiGroup

      public io.fabric8.kubernetes.api.model.APIGroup getApiGroup(String name)
      Specified by:
      getApiGroup in interface io.fabric8.kubernetes.client.Client
    • getApiResources

      public io.fabric8.kubernetes.api.model.APIResourceList getApiResources(String groupVersion)
      Specified by:
      getApiResources in interface io.fabric8.kubernetes.client.Client
    • resources

      public <T extends io.fabric8.kubernetes.api.model.HasMetadata, L extends io.fabric8.kubernetes.api.model.KubernetesResourceList<T>, R extends io.fabric8.kubernetes.client.dsl.Resource<T>> io.fabric8.kubernetes.client.dsl.MixedOperation<T,L,R> resources(Class<T> resourceType, Class<L> listClass, Class<R> resourceClass)
      Specified by:
      resources in interface io.fabric8.kubernetes.client.Client
    • newClient

      public io.fabric8.kubernetes.client.Client newClient(io.fabric8.kubernetes.client.RequestConfig requestConfig)
      Specified by:
      newClient in interface io.fabric8.kubernetes.client.Client
    • getHttpClient

      public io.fabric8.kubernetes.client.http.HttpClient getHttpClient()
      Specified by:
      getHttpClient in interface io.fabric8.kubernetes.client.Client
    • getConfiguration

      public io.fabric8.kubernetes.client.Config getConfiguration()
      Specified by:
      getConfiguration in interface io.fabric8.kubernetes.client.Client
    • raw

      public String raw(String uri, String method, Object payload)
      Specified by:
      raw in interface io.fabric8.kubernetes.client.Client