elasticqueue

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.EQuotaGVK
	KubeElasticQueueQuotaType = client.KubeFrameworkVersion(QueueGVK)
)

Functions

Types

type KubeElasticQueue

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

KubeElasticQueue is a struct that contains client to operate elastic queue on cluster Note: the CRD of elastic queue is ElasticResourceQuota

func (*KubeElasticQueue) AddEventListener

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

func (*KubeElasticQueue) Create

func (eq *KubeElasticQueue) Create(ctx context.Context, q *api.QueueInfo) error

func (*KubeElasticQueue) Delete

func (eq *KubeElasticQueue) Delete(ctx context.Context, q *api.QueueInfo) error

func (*KubeElasticQueue) String

func (eq *KubeElasticQueue) String(name string) string

func (*KubeElasticQueue) Update

func (eq *KubeElasticQueue) 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