types

package
v5.1.8-release+incompa... Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: LGPL-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 Env

type Env struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Env env desc

type Port

type Port struct {
	ContainerPort int    `json:"container_port"`
	Protocol      string `json:"protocol"`
}

Port -

type Service

type Service struct {
	ID        string          `json:"id"`
	Name      string          `json:"name"`  // module name
	Cname     string          `json:"cname"` // service cname
	Packaging string          `json:"packaging"`
	Envs      map[string]*Env `json:"envs,omitempty"`
	Ports     map[int]*Port   `json:"ports,omitempty"`
}

Service represents a module in a multi-module project.

type Volume

type Volume struct {
	VolumePath string `json:"volume_path"`
	VolumeType string `json:"volume_type"`
}

Volume -

Jump to

Keyboard shortcuts

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