proxy

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

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

Proxy implements PodResourcesListerServer

func New

NewV1PodResourcesServer returns a PodResourcesListerServer which lists pods provided by the PodsProvider with device information provided by the DevicesProvider

func (*Proxy) Cleanup

func (p *Proxy) Cleanup() error

func (*Proxy) Get

Get returns information about the resources assigned to a specific pod

func (*Proxy) GetAllocatableResources

GetAllocatableResources returns information about all the resources known by the server - this more like the capacity, not like the current amount of free resources.

func (*Proxy) List

List returns information about the resources assigned to pods on the node

func (*Proxy) Serve

func (p *Proxy) Serve() error

func (*Proxy) Setup

func (p *Proxy) Setup(endpoint string) error

Jump to

Keyboard shortcuts

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