vcqueue

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	QueueGVK             = k8s.VCQueueGVK
	KubeVCQueueQuotaType = client.KubeFrameworkVersion(QueueGVK)
)

Functions

Types

type KubeVCQueue

type KubeVCQueue struct {
	GVK schema.GroupVersionKind
	// contains filtered or unexported fields
}

KubeVCQueue is a struct that contains client to operate volcano queue on cluster

func (*KubeVCQueue) AddEventListener

func (vcq *KubeVCQueue) AddEventListener(ctx context.Context, listenerType string,
	eventQ workqueue.RateLimitingInterface, listener interface{}) error

func (*KubeVCQueue) Create

func (vcq *KubeVCQueue) Create(ctx context.Context, q *api.QueueInfo) error

func (*KubeVCQueue) Delete

func (vcq *KubeVCQueue) Delete(ctx context.Context, q *api.QueueInfo) error

func (*KubeVCQueue) String

func (vcq *KubeVCQueue) String(name string) string

func (*KubeVCQueue) Update

func (vcq *KubeVCQueue) Update(ctx context.Context, q *api.QueueInfo) error

Jump to

Keyboard shortcuts

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