composeYaml

package
v0.0.0-...-1bf96ee Latest Latest
Warning

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

Go to latest
Published: Oct 9, 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 ComposeYamlDto

type ComposeYamlDto struct {
	Version  string        `yaml:"version"` // docker compose version
	Services []interface{} `yaml:"services"`
}

docker compose

type ComposeYamlZiHaoDto

type ComposeYamlZiHaoDto struct {
	Version  string        `yaml:"version"` // docker compose version
	Services []interface{} `yaml:"services"`
	ZihaoCmd string        `yaml:"zihao_cmd" json:"zihao_cmd"`
}

type ServiceDto

type ServiceDto struct {
	Image       string   `yaml:"image" json:"image"`
	Volumes     []string `yaml:"volumes" json:"volumes"`
	Ports       []string `yaml:"ports" json:"ports"`
	ExtraHosts  []string `yaml:"extra_hosts" json:"extra_hosts"`
	Environment []string `yaml:"environment" json:"environment"`
}

type ServicesDto

type ServicesDto struct {
	Name    string
	Service ServiceDto
}

func (*ServicesDto) ToMap

func (n *ServicesDto) ToMap() interface{}

Jump to

Keyboard shortcuts

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