tftp

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Receive(filename string, mode string) (io.WriterTo, error)
}

type RemoteFile

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

func NewDatasource

func NewDatasource(hostAndPath string) *RemoteFile

func (*RemoteFile) AvailabilityChanges

func (f *RemoteFile) AvailabilityChanges() bool

func (*RemoteFile) ConfigRoot

func (f *RemoteFile) ConfigRoot() string

func (*RemoteFile) FetchMetadata

func (f *RemoteFile) FetchMetadata() (datasource.Metadata, error)

func (*RemoteFile) FetchUserdata

func (f *RemoteFile) FetchUserdata() ([]byte, error)

func (*RemoteFile) Finish

func (f *RemoteFile) Finish() error

func (*RemoteFile) IsAvailable

func (f *RemoteFile) IsAvailable() bool

func (*RemoteFile) String

func (f *RemoteFile) String() string

func (*RemoteFile) Type

func (f *RemoteFile) Type() string

Jump to

Keyboard shortcuts

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