fake_system_info

package
v0.0.0-...-68efac8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2014 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeProvider

type FakeProvider struct {
	TotalMemoryResult uint64
	TotalMemoryError  error

	TotalDiskResult uint64
	TotalDiskError  error
}

func NewFakeProvider

func NewFakeProvider() *FakeProvider

func (*FakeProvider) TotalDisk

func (provider *FakeProvider) TotalDisk() (uint64, error)

func (*FakeProvider) TotalMemory

func (provider *FakeProvider) TotalMemory() (uint64, error)

Jump to

Keyboard shortcuts

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