Help us shape the future of Go! Take the 2026 Go Developer Survey

v20170930

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2017 License: MIT Imports: 3 Imported by: 26

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 OrchestratorEdition

type OrchestratorEdition struct {
	OrchestratorRelease string `json:"orchestratorRelease,omitempty"`
	OrchestratorVersion string `json:"orchestratorVersion"`
}

OrchestratorEdition contains version and release numbers

type OrchestratorVersionProfile

type OrchestratorVersionProfile struct {
	OrchestratorType string `json:"orchestratorType"`
	OrchestratorEdition
	Default     bool                   `json:"default,omitempty"`
	Upgradables []*OrchestratorEdition `json:"upgradables,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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL