Documentation
¶
Index ¶
- func DecodeArgument(target interface{}) decoder.Decoding
- func DecodeBackdrop(target interface{}) decoder.Decoding
- func DecodeBuildInfo(target interface{}) decoder.Decoding
- func DecodeDevice(target interface{}) decoder.Decoding
- func DecodeEnvironment(target interface{}) decoder.Decoding
- func DecodePort(target interface{}) decoder.Decoding
- func DecodeSSHAgent(target interface{}) decoder.Decoding
- func DecodeSecret(target interface{}) decoder.Decoding
- func DecodeVolume(target interface{}) decoder.Decoding
- func NewArgument() decoder.Producer
- func NewBackdrop() decoder.Producer
- func NewDevice() decoder.Producer
- func NewEnvironment() decoder.Producer
- func NewPort() decoder.Producer
- func NewSSHAgent() decoder.Producer
- func NewSecret() decoder.Producer
- func NewVolume() decoder.Producer
- func ParseArgument(spec string) (*api.Argument, error)
- func ParseDevice(spec string) (*api.Device, error)
- func ParseEnvironment(spec string) (*api.Environment, error)
- func ParsePort(spec string) (*api.Port, error)
- func ParseSSHAgent(spec string) (*api.SshAgent, error)
- func ParseVolume(spec string) (*api.Volume, error)
- type FormatError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeArgument ¶
func DecodeBackdrop ¶
func DecodeBuildInfo ¶
func DecodeDevice ¶
func DecodeEnvironment ¶
func DecodePort ¶
func DecodeSSHAgent ¶
func DecodeSecret ¶
func DecodeVolume ¶
func NewArgument ¶
func NewBackdrop ¶
func NewEnvironment ¶
func NewSSHAgent ¶
func ParseEnvironment ¶
func ParseEnvironment(spec string) (*api.Environment, error)
Types ¶
type FormatError ¶
type FormatError string
const ErrArgumentFormat FormatError = "invalid argument format"
const ErrDeviceFormat FormatError = "invalid device format"
const ErrEnvironmentFormat FormatError = "invalid environment format"
const ErrPortFormat FormatError = "invalid publish format"
const ErrSSHAgentFormat FormatError = "invalid ssh agent format"
const ErrVolumeFormat FormatError = "invalid volume format"
func (FormatError) Error ¶
func (e FormatError) Error() string
Click to show internal directories.
Click to hide internal directories.