Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCaddyImport ¶ added in v0.0.12
func ParseCommand ¶ added in v0.0.31
ParseCommand parses a pgoctl command line: pgoctl localhost:caddy//exec /bin/ls -l / machine: localhost name: caddy command: exec args: rest
Types ¶
type Service ¶
type Service struct { Name string User string Repository string Registries []string // user:token@registry auth ComposeFile string `toml:"compose,omitempty"` // alternative compose file Branch string Import string // filename of caddy file to generate Reload string // reload command to use for caddy Mount string // Optional (NFS) mount URLs map[string]string // url -> host:port Env []string Networks []string Git *git.Git `toml:"-"` Compose *compose.Compose `toml:"-"` // contains filtered or unexported fields }
func (*Service) InitGitAndCompose ¶
func (*Service) IsForcedDown ¶ added in v0.0.35
Is a <pgodir>/service.stop exists down the service and complain. TODO(miek): read the file's contents for state?
func (*Service) MountStorage ¶ added in v0.0.42
func (*Service) PublicKeys ¶
PublicKeys parses the public keys in the ssh/ directory of the repository.
Click to show internal directories.
Click to hide internal directories.