kube

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(kubeController k8s.Controller, configClient config.Controller, cfg configurator.Configurator) *client

NewClient returns a client that has all components necessary to connect to and maintain state of a Kubernetes cluster.

Types

type Provider

type Provider interface {
	endpoint.Provider
	service.Provider
}

Provider interface combines endpoint.Provider and service.Provider

func NewFakeProvider

func NewFakeProvider() Provider

NewFakeProvider implements mesh.EndpointsProvider, which creates a test Kubernetes cluster/compute provider.

Jump to

Keyboard shortcuts

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