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 -

Source Files