provider

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandlerInfo

type HandlerInfo struct {
	Type    string `hcl:"type"`
	Match   string `hcl:"match"`
	Exclude string `hcl:"exclude"`
	Cmd     string `hcl:"cmd"`
}

type Provider

type Provider struct {
	Type string `hcl:"type"`

	WorkingDir string `hcl:"workingDir"`
	Cmd        string `hcl:"cmd"`

	Image       string   `hcl:"image"`
	Ports       []string `hcl:"ports"`
	Volumes     []string `hcl:"volumes"`
	Environment []string `hcl:"environment"`

	Remote   RemoteInfo    `hcl:"remote"`
	Handlers []HandlerInfo `hcl:"handler"`

	Extra map[string]interface{} `hcl:"extra"`
}

func (*Provider) Validate

func (p *Provider) Validate() []error

type RemoteInfo

type RemoteInfo struct {
	Host         string `hcl:"host"`
	User         string `hcl:"user"`
	IdentityFile string `hcl:"identityFile"`
	WorkingDir   string `hcl:"workingDir"`
}

Jump to

Keyboard shortcuts

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