queue

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Weight of the queue
	Weight string = "Weight"

	// Name of queue
	Name string = "Name"

	// Pending status of the queue
	Pending string = "Pending"

	// Running status of the queue
	Running string = "Running"

	// Unknown status of the queue
	Unknown string = "Unknown"

	// Inqueue status of queue
	Inqueue string = "Inqueue"

	// State is state of queue
	State string = "State"
)
View Source
const (
	// ActionOpen is `open` action
	ActionOpen = "open"
	// ActionClose is `close` action
	ActionClose = "close"
	// ActionUpdate is `update` action
	ActionUpdate = "update"
)

Variables

This section is empty.

Functions

func CreateQueue

func CreateQueue() error

CreateQueue create queue.

func DeleteQueue

func DeleteQueue() error

DeleteQueue delete queue.

func GetQueue

func GetQueue() error

GetQueue gets a queue.

func InitCreateFlags

func InitCreateFlags(cmd *cobra.Command)

InitCreateFlags is used to init all flags during queue creating.

func InitDeleteFlags

func InitDeleteFlags(cmd *cobra.Command)

InitDeleteFlags is used to init all flags during queue deleting.

func InitGetFlags

func InitGetFlags(cmd *cobra.Command)

InitGetFlags is used to init all flags.

func InitListFlags

func InitListFlags(cmd *cobra.Command)

InitListFlags inits all flags.

func InitOperateFlags

func InitOperateFlags(cmd *cobra.Command)

InitOperateFlags is used to init all flags during queue operating

func ListQueue

func ListQueue() error

ListQueue lists all the queue.

func OperateQueue

func OperateQueue() error

OperateQueue operates queue

func PrintQueue

func PrintQueue(queue *v1beta1.Queue, writer io.Writer)

PrintQueue prints queue information.

func PrintQueues

func PrintQueues(queues *v1beta1.QueueList, writer io.Writer)

PrintQueues prints queue information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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