fake

package
v0.11.100 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResourceInfoCPUs

func ResourceInfoCPUs(capacity, allocatable, available int) v1alpha2.ResourceInfo

func ResourceInfoDevices

func ResourceInfoDevices(count int) v1alpha2.ResourceInfo

func Zones

func Zones() v1alpha2.ZoneList

Types

type Generator

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

func NewGenerator

func NewGenerator(interval time.Duration) *Generator

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