system

package
v1.4.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 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