fake

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: 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 Generator

type Generator struct {
	Infos <-chan nrtupdater.MonitorInfo
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(interval time.Duration, randSeed int64) *Generator

func (*Generator) MakeResourceInfoCPUs added in v0.15.0

func (ge *Generator) MakeResourceInfoCPUs(capacity, allocatable, available int) v1alpha2.ResourceInfo

func (*Generator) MakeResourceInfoDevices added in v0.15.0

func (ge *Generator) MakeResourceInfoDevices(count int) v1alpha2.ResourceInfo

func (*Generator) MakeZones added in v0.15.0

func (ge *Generator) MakeZones() v1alpha2.ZoneList

func (*Generator) Run

func (ge *Generator) Run()

Jump to

Keyboard shortcuts

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