package apis

import "github.com/docker/compose-on-kubernetes/api"

Index

Constants

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")
)

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.

Source Files

check.go config.go doc.go

Directories

PathSynopsis
api/client
api/client/clientset
api/client/clientset/scheme
api/client/clientset/typed
api/client/clientset/typed/compose
api/client/clientset/typed/compose/v1beta1
api/client/clientset/typed/compose/v1beta2
api/client/informers
api/client/informers/compose
api/client/informers/compose/v1beta2
api/client/informers/internalinterfaces
api/client/listers
api/client/listers/compose
api/client/listers/compose/v1beta2
api/composePackage compose is the internal version of the API.
api/compose/clone
api/compose/impersonationPackage impersonation holds data structures for enabling user impersonation within Conpose for Kubernetes +k8s:openapi-gen=true
api/compose/v1beta1Package v1beta1 is the first version of the Stack spec, containing only a compose file +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=compose.docker.com
api/compose/v1beta2Package v1beta2 is the second version of the stack, containing a structured spec +k8s:openapi-gen=true
api/constants
api/labels
api/openapi
Version
v0.4.17
Published
Dec 20, 2018
Platform
js/wasm
Imports
10 packages
Last checked
11 hours ago

Tools for package owners.