k8s

package
v0.0.0-...-b473aac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients interface {
	Master() string
	Kubernetes() kubernetes.Interface
	Istio() istioclient.Interface
	Config() *rest.Config
}

func NewKubernetesClient

func NewKubernetesClient(options *K8sOptions) (Clients, error)

type K8sOptions

type K8sOptions struct {
	KubeConfig string  `json:"kubeconfig" yaml:"kubeconfig"`
	QPS        float32 `json:"qps,omitemtpy" yaml:"qps"`
}

func NewK8sOptions

func NewK8sOptions() *K8sOptions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL