rest

package
v0.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPendingWorkloadsInCqREST

func NewPendingWorkloadsInCqREST(kueueMgr *queue.Manager) *pendingWorkloadsInCqREST

func NewPendingWorkloadsInLqREST

func NewPendingWorkloadsInLqREST(kueueMgr *queue.Manager) *pendingWorkloadsInLqREST

Types

type CqREST

type CqREST struct{}

This type is used only to install clusterqueues/ resource so we can install clusterqueues/pending_workloads subresource. It implements the necessary interfaces for genericapiserver but does not provide any actual functionalities.

func NewCqREST

func NewCqREST() *CqREST

func (*CqREST) Destroy

func (m *CqREST) Destroy()

Destroy implements rest.Storage interface

func (*CqREST) GetSingularName

func (m *CqREST) GetSingularName() string

GetSingularName implements rest.SingularNameProvider interface

func (*CqREST) NamespaceScoped

func (m *CqREST) NamespaceScoped() bool

NamespaceScoped implements rest.Scoper interface

func (*CqREST) New

func (m *CqREST) New() runtime.Object

New implements rest.Storage interface

type LqREST

type LqREST struct{}

This type is used only to install localqueues/ resource so we can install localqueues/pending_workloads subresource. It implements the necessary interfaces for genericapiserver but does not provide any actual functionalities.

func NewLqREST

func NewLqREST() *LqREST

func (*LqREST) Destroy

func (m *LqREST) Destroy()

Destroy implements rest.Storage interface

func (*LqREST) GetSingularName

func (m *LqREST) GetSingularName() string

GetSingularName implements rest.SingularNameProvider interface

func (*LqREST) NamespaceScoped

func (m *LqREST) NamespaceScoped() bool

NamespaceScoped implements rest.Scoper interface

func (*LqREST) New

func (m *LqREST) New() runtime.Object

New implements rest.Storage interface

Jump to

Keyboard shortcuts

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