Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DCOS is the string constant for DCOS orchestrator type and defaults to DCOS187 DCOS string = "DCOS" // Swarm is the string constant for the Swarm orchestrator type Swarm string = "Swarm" // Kubernetes is the string constant for the Kubernetes orchestrator type Kubernetes string = "Kubernetes" // DockerCE is the string constant for the Docker CE orchestrator type DockerCE string = "DockerCE" )
the orchestrators supported by 2017-07-01
View Source
const (
// APIVersion is the version of this API
APIVersion = "2017-09-30"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrchestratorProfile ¶ added in v0.7.0
type OrchestratorProfile struct {
OrchestratorType string `json:"orchestratorType"`
OrchestratorRelease string `json:"orchestratorRelease"`
OrchestratorVersion string `json:"orchestratorVersion"`
}
OrchestratorProfile contains Orchestrator properties
func (*OrchestratorProfile) ValidateForUpgrade ¶ added in v0.7.0
func (o *OrchestratorProfile) ValidateForUpgrade() error
ValidateForUpgrade validates upgrade input data
type OrchestratorVersionProfile ¶
type OrchestratorVersionProfile struct {
OrchestratorProfile
Default bool `json:"default,omitempty"`
Upgrades []*OrchestratorProfile `json:"upgrades,omitempty"`
}
OrchestratorVersionProfile contains orchestrator version info
func (*OrchestratorVersionProfile) Validate ¶
func (o *OrchestratorVersionProfile) Validate() error
Validate implements APIObject
type OrchestratorVersionProfileList ¶
type OrchestratorVersionProfileList struct {
Orchestrators []*OrchestratorVersionProfile `json:"orchestrators"`
}
OrchestratorVersionProfileList contains list of version profiles for supported orchestrators
Click to show internal directories.
Click to hide internal directories.