system

package
v1.5.0-alpha9 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PhysicalCapacityProvider

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

func NewPhysicalCapacityProvider

func NewPhysicalCapacityProvider(path string) *PhysicalCapacityProvider

func (*PhysicalCapacityProvider) GetAvailableCapacity

func (p *PhysicalCapacityProvider) GetAvailableCapacity(ctx context.Context) (models.Resources, error)

func (*PhysicalCapacityProvider) GetTotalCapacity added in v1.2.0

func (p *PhysicalCapacityProvider) GetTotalCapacity(ctx context.Context) (models.Resources, error)

func (*PhysicalCapacityProvider) ResourceTypes added in v1.2.0

func (p *PhysicalCapacityProvider) ResourceTypes() []string

ResourceTypes implements capacity.Provider.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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