types

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entrypoint

type Entrypoint struct {
	types.Entrypoint `yaml:",inline"`
	Command          string `yaml:"cmd,omitempty"`
}

Entrypoint accepts both the legacy `cmd` string and the current `commands` list.

func (Entrypoint) GetCommands

func (e Entrypoint) GetCommands() []string

type Specs

type Specs struct {
	Appname        string                `yaml:"appname,omitempty"`
	Entrypoints    map[string]Entrypoint `yaml:"entrypoints,omitempty,flow"`
	Volumes        []string              `yaml:"volumes,omitempty,flow"`
	VolumesRequest []string              `yaml:"volumes_request,omitempty,flow"`
	Labels         map[string]string     `yaml:"labels,omitempty,flow"`
	DNS            []string              `yaml:"dns,omitempty,flow"`
	ExtraHosts     []string              `yaml:"extra_hosts,omitempty,flow"`
}

Specs is the deploy spec file of an application.

Jump to

Keyboard shortcuts

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