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") // StackAPIV1Alpha3 is returned if it's the most recent version available, and experimental flag is on. StackAPIV1Alpha3 = StackVersion("v1alpha3") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StackVersion ¶
type StackVersion string
StackVersion represents the detected Compose Component on Kubernetes side.
func GetStackAPIVersion ¶
func GetStackAPIVersion(serverGroups discovery.ServerGroupsInterface, experimental bool) (StackVersion, error)
GetStackAPIVersion returns the most appropriate stack API version 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.