istio: Index | Files

package client

import ""


Package Files


type Interfaces Uses

type Interfaces interface {
    DynamicInterface() (dynamic.Interface, error)
    APIExtensionsClientset() (clientset.Interface, error)
    KubeClient() (kubernetes.Interface, error)

Interfaces interface allows access to the Kubernetes API Service methods. It is mainly used for test/injection purposes.

func NewKube Uses

func NewKube(cfg *rest.Config) Interfaces

NewKube returns a new instance of Interfaces.

func NewKubeFromConfigFile Uses

func NewKubeFromConfigFile(kubeconfig string) (Interfaces, error)

NewKubeFromConfigFile returns a new instance of Interfaces.

Package client imports 6 packages (graph) and is imported by 5 packages. Updated 2019-03-27. Refresh now. Tools for package owners.