resources

package
v17.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Requirements *agentcfg.ResourceRequirements
}

Manager is a struct that implements the Resources interface

func (*Manager) GetResources

func (m *Manager) GetResources() (objectQuantity, error)

GetResources returns a objectQuantity based on the ResourceRequirements of the manager

type Resources

type Resources interface {
	GetResources() (objectQuantity, error)
}

Resources interface implements a way to provide a objectQuantity based on a resource requirement

Jump to

Keyboard shortcuts

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