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 ¶
Directories ¶
- Version
- v0.4.17
- Published
- Dec 20, 2018
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 11 hours ago –
Tools for package owners.