statefile

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoFile = errors.New("state file not exist")
)

Functions

This section is empty.

Types

type ContainerList

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

func NewContainerList

func NewContainerList(filename string) (*ContainerList, error)

func (*ContainerList) Load

func (cl *ContainerList) Load() ([]types.Container, error)

func (*ContainerList) Save

func (cl *ContainerList) Save(c []types.Container) error

type ContainerStatsFile

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

func NewContainerStatsFile

func NewContainerStatsFile(filename string) (*ContainerStatsFile, error)

func (*ContainerStatsFile) Load

func (*ContainerStatsFile) Save

Jump to

Keyboard shortcuts

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