parser

package
v11.11.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInvalidVolumeSpecErr

func NewInvalidVolumeSpecErr(spec string) error

Types

type InvalidVolumeSpecError

type InvalidVolumeSpecError struct {
	// contains filtered or unexported fields
}

func (*InvalidVolumeSpecError) Error

func (e *InvalidVolumeSpecError) Error() string

type MockParser

type MockParser struct {
	mock.Mock
}

MockParser is an autogenerated mock type for the Parser type

func (*MockParser) ParseVolume

func (_m *MockParser) ParseVolume(spec string) (*Volume, error)

ParseVolume provides a mock function with given fields: spec

func (*MockParser) Path

func (_m *MockParser) Path() path.Path

Path provides a mock function with given fields:

type Parser

type Parser interface {
	ParseVolume(spec string) (*Volume, error)
	Path() path.Path
}

func NewLinuxParser

func NewLinuxParser() Parser

type Volume

type Volume struct {
	Source      string
	Destination string
	Mode        string
}

func (*Volume) Definition

func (v *Volume) Definition() string

func (*Volume) Len

func (v *Volume) Len() int

Jump to

Keyboard shortcuts

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