kube

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LocalClusterName = "minikube"
)

Variables

View Source
var (
	TimedOutWaitingForPodsError = errors.Errorf("Timed out waiting for pods to come online")
)

Functions

func NewClient

func NewClient() *kubeClient

Create a default kube client

Types

type Client

type Client interface {
	// Wait until all of the pods in the provided namespace are ready (or completed successfully)
	WaitUntilPodsRunning(namespace string) error
	// Get the address of the service, trying to account for different service types (i.e. LoadBalancer) and
	// Kubernetes flavors (i.e. Minikube)
	GetIngressAddress(name, namespace, proxyPort string) (string, error)
}

A simple client for Valet's interactions with Kubernetes via client API

Directories

Path Synopsis
Package mock_kube is a generated GoMock package.
Package mock_kube is a generated GoMock package.

Jump to

Keyboard shortcuts

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