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 |
Click to show internal directories.
Click to hide internal directories.