k8s

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package k8s provides functionalities to interact with the Kubernetes API server

Index

Constants

View Source
const (
	LegacyGroupName = "core"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.2.0

type Client struct {
	Client      dynamic.Interface
	Disco       discovery.DiscoveryInterface
	CoreRest    rest.Interface
	JsonPrinter printers.JSONPrinter
}

Client prepares and exposes a dynamic, discovery, and Rest clients

func New added in v0.2.0

func New(kubeconfig string) (*Client, error)

New returns a *Client

Jump to

Keyboard shortcuts

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