dcsAPI

package
v2.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	Name     string `json:"name"`
	Job      string `json:"job"`
	Data     string `json:"data"` // the actual config
	Encoding string `json:"utf8"` // always utf8 for now
}

type GatewayConfigMessage

type GatewayConfigMessage struct {
	Jobs           []Job                                 `json:"jobs"`
	Images         []maestroSpecs.ImageDefinitionPayload `json:"images"`
	Configs        []AppConfig                           `json:"configs"`
	TaskId         string                                `json:"taskID"`
	StatusEndpoint string                                `json:"statusEndpoint"`
}

This type is analagous to the DCS APIs /relayconfigurations

type Job

type Job struct {
	Job               string `json:"job"`
	CompositeId       string `json:"composite_id"`
	ContainerTemplate string `json:"container_template"`
	Config            string `json:"config"`
	Disabled          bool   `json:"disabled"`
}

type Template

type Template struct {
	Name string `json:"name"`
}

Still need an example of this:

Jump to

Keyboard shortcuts

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