v20170930

package
v0.43.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package v20170930 stores the API model for version "2017-09-30." Deprecated: Use the vlabs package instead. This code remains only to support the legacy ACS service.

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 OSType

type OSType string

OSType represents OS types of agents

type OrchestratorProfile

type OrchestratorProfile struct {
	OrchestratorType    string `json:"orchestratorType,omitempty"`
	OrchestratorVersion string `json:"orchestratorVersion"`
}

OrchestratorProfile contains orchestrator properties:

  • type: kubernetes, DCOS, etc.
  • release: major and minor version numbers
  • version: major, minor, and patch version numbers

func (*OrchestratorProfile) ValidateForUpgrade

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 information of a supported orchestrator version:

  • orchestrator type and version
  • whether this orchestrator version is deployed by default if orchestrator release is not specified
  • list of available upgrades for this orchestrator version

func (*OrchestratorVersionProfile) Validate

func (o *OrchestratorVersionProfile) Validate() error

Validate implements APIObject

type OrchestratorVersionProfileList

type OrchestratorVersionProfileList struct {
	ID         string                                   `json:"id,omitempty"`
	Name       string                                   `json:"name,omitempty"`
	Type       string                                   `json:"type,omitempty"`
	Properties OrchestratorVersionProfileListProperties `json:"properties"`
}

OrchestratorVersionProfileList contains list of version profiles for supported orchestrators

type OrchestratorVersionProfileListProperties

type OrchestratorVersionProfileListProperties struct {
	Orchestrators []*OrchestratorVersionProfile `json:"orchestrators"`
}

OrchestratorVersionProfileListProperties contains properties of OrchestratorVersionProfileList

Jump to

Keyboard shortcuts

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