system

package
v1.5.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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