darwin

package
v0.19.0-k Latest Latest
Warning

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

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

Documentation

Rendered for darwin/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUGenerator

type CPUGenerator struct {
}

CPUGenerator Collects CPU specs

func (*CPUGenerator) Generate

func (g *CPUGenerator) Generate() (interface{}, error)

Generate collects CPU specs. Returns an array of cpuSpec. Each spec is expected to have keys below: - model_name (used in Web) - vendor_id - family - model - stepping - physical_id - core_id - cores - mhz - cache_size - flags

func (*CPUGenerator) Key

func (g *CPUGenerator) Key() string

Key XXX

type FilesystemGenerator added in v0.14.0

type FilesystemGenerator struct {
}

FilesystemGenerator XXX

func (*FilesystemGenerator) Generate added in v0.14.0

func (g *FilesystemGenerator) Generate() (interface{}, error)

Generate XXX

func (*FilesystemGenerator) Key added in v0.14.0

func (g *FilesystemGenerator) Key() string

Key XXX

type InterfaceGenerator

type InterfaceGenerator struct {
}

InterfaceGenerator XXX

func (*InterfaceGenerator) Generate

func (g *InterfaceGenerator) Generate() (interface{}, error)

Generate XXX

func (*InterfaceGenerator) Key

func (g *InterfaceGenerator) Key() string

Key XXX

type KernelGenerator

type KernelGenerator struct {
}

KernelGenerator Generates specs about the kernel. Keys below are expected. - name: the operating system name ("Linux") - release: the operating system release ("2.6.32-5-686") - version: the operating system version ("#1 SMP Sun Sep 23 09:49:36 UTC 2012") - machine: the machine hardware name ("i686") - os: the operating system name ("GNU/Linux")

func (*KernelGenerator) Generate

func (g *KernelGenerator) Generate() (interface{}, error)

Generate XXX

func (*KernelGenerator) Key

func (g *KernelGenerator) Key() string

Key XXX

type MemoryGenerator

type MemoryGenerator struct {
}

MemoryGenerator collects the host's memory specs.

func (*MemoryGenerator) Generate

func (g *MemoryGenerator) Generate() (interface{}, error)

Generate returns memory specs. The returned spec must have below: - total (in "###kB" format, Kibibytes)

func (*MemoryGenerator) Key

func (g *MemoryGenerator) Key() string

Key XXX

Jump to

Keyboard shortcuts

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