k8s

package
v1.0.0-beta.7.test-hos... Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient struct {
	*http.Client

	Address string
}

func New

func New(k8sURL string, source tokenauth.Source, tlsConfig *tls.Config) *APIClient

New returns a new Kubernetes client with HTTP client (based on given tokenauth Source and tlsConfig) to be used against kube-apiserver.

func NewFromFlags

func NewFromFlags() (*APIClient, error)

NewFromFlags creates APIClient from flags.

Jump to

Keyboard shortcuts

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