kubernetes

package
v0.0.0-...-814ced4 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

README

Kubernetes client libraries

This package (and sub-packages) holds the client libraries for the kubernetes integration in the docker platform. Most of the code is currently generated.

Documentation

Index

Constants

View Source
const (
	// StackAPIV1Beta1 is returned if it's the most recent version available.
	StackAPIV1Beta1 = StackVersion("v1beta1")
	// StackAPIV1Beta2 is returned if it's the most recent version available.
	StackAPIV1Beta2 = StackVersion("v1beta2")
)

Variables

This section is empty.

Functions

func NewKubernetesConfig

func NewKubernetesConfig(configPath string) clientcmd.ClientConfig

NewKubernetesConfig resolves the path to the desired Kubernetes configuration file based on the KUBECONFIG environment variable and command line flags.

Types

type StackVersion

type StackVersion string

StackVersion represents the detected Compose Component on Kubernetes side.

func GetStackAPIVersion

func GetStackAPIVersion(clientSet *kubernetes.Clientset) (StackVersion, error)

GetStackAPIVersion returns the most recent stack API installed.

Directories

Path Synopsis
client
Package compose is the internal version of the API.
Package compose is the internal version of the API.
v1beta1
Package v1beta1 is the first version of the Stack spec, containing only a compose file
Package v1beta1 is the first version of the Stack spec, containing only a compose file
v1beta2
Package v1beta2 is the second version of the stack, containing a structured spec
Package v1beta2 is the second version of the stack, containing a structured spec

Jump to

Keyboard shortcuts

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