types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeArgument

func DecodeArgument(target interface{}) decoder.Decoding

func DecodeBackdrop

func DecodeBackdrop(target interface{}) decoder.Decoding

func DecodeBuildInfo

func DecodeBuildInfo(target interface{}) decoder.Decoding

func DecodeDevice

func DecodeDevice(target interface{}) decoder.Decoding

func DecodeEnvironment

func DecodeEnvironment(target interface{}) decoder.Decoding

func DecodePort

func DecodePort(target interface{}) decoder.Decoding

func DecodeSSHAgent

func DecodeSSHAgent(target interface{}) decoder.Decoding

func DecodeSecret

func DecodeSecret(target interface{}) decoder.Decoding

func DecodeVolume

func DecodeVolume(target interface{}) decoder.Decoding

func NewArgument

func NewArgument() decoder.Producer

func NewBackdrop

func NewBackdrop() decoder.Producer

func NewDevice

func NewDevice() decoder.Producer

func NewEnvironment

func NewEnvironment() decoder.Producer

func NewPort

func NewPort() decoder.Producer

func NewSSHAgent

func NewSSHAgent() decoder.Producer

func NewSecret

func NewSecret() decoder.Producer

func NewVolume

func NewVolume() decoder.Producer

func ParseArgument

func ParseArgument(spec string) (*api.Argument, error)

func ParseDevice

func ParseDevice(spec string) (*api.Device, error)

func ParseEnvironment

func ParseEnvironment(spec string) (*api.Environment, error)

func ParsePort

func ParsePort(spec string) (*api.Port, error)

func ParseSSHAgent

func ParseSSHAgent(spec string) (*api.SshAgent, error)

func ParseVolume

func ParseVolume(spec string) (*api.Volume, 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

Jump to

Keyboard shortcuts

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