Documentation ¶
Index ¶
- Constants
- func CreateQueue() error
- func DeleteQueue() error
- func GetQueue() error
- func InitCreateFlags(cmd *cobra.Command)
- func InitDeleteFlags(cmd *cobra.Command)
- func InitGetFlags(cmd *cobra.Command)
- func InitListFlags(cmd *cobra.Command)
- func InitOperateFlags(cmd *cobra.Command)
- func ListQueue() error
- func OperateQueue() error
- func PrintQueue(queue *v1beta1.Queue, writer io.Writer)
- func PrintQueues(queues *v1beta1.QueueList, writer io.Writer)
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 InitCreateFlags ¶
InitCreateFlags is used to init all flags during queue creating
func InitDeleteFlags ¶
InitDeleteFlags is used to init all flags during queue deleting
func InitOperateFlags ¶
InitOperateFlags is used to init all flags during queue operating
func PrintQueue ¶
PrintQueue prints queue information
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.