topology

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	Services map[string]*Service `json:"services"`
}

Cluster describes a Cluster.

type Container

type Container struct {
	Name     string   `json:"name"`
	Networks []string `json:"networks"`
}

Container describes a container.

type Reference added in v0.8.0

type Reference struct {
	Topology Cluster `json:"topology"`
	Version  int64   `json:"version"`
}

Reference describes a Reference.

type Service

type Service struct {
	Name          string     `json:"name"`
	Container     *Container `json:"container,omitempty"`
	ExternalPorts []int      `json:"externalPorts,omitempty"`
}

Service describes a Service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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