Documentation ¶
Index ¶
- func NewClusterQueueCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command
- func NewListCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command
- func NewLocalQueueCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command
- func NewWorkloadCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command
- type ClusterQueueOptions
- type LocalQueueOptions
- type WorkloadOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterQueueCmd ¶
func NewClusterQueueCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command
func NewListCmd ¶
func NewListCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command
func NewLocalQueueCmd ¶
func NewLocalQueueCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command
func NewWorkloadCmd ¶
func NewWorkloadCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command
Types ¶
type ClusterQueueOptions ¶
type ClusterQueueOptions struct { // PrintFlags holds options necessary for obtaining a printer PrintFlags *genericclioptions.PrintFlags LabelSelector string FieldSelector string // Kueuectl flags // Active is an optional flag to filter true/false (active/inactive) cluster queues // Active means the cluster queue has kueue.ClusterQueueActive condition with status=metav1.ConditionTrue Active []bool Client kueuev1beta1.KueueV1beta1Interface PrintObj printers.ResourcePrinterFunc genericiooptions.IOStreams // contains filtered or unexported fields }
func NewClusterQueueOptions ¶
func NewClusterQueueOptions(streams genericiooptions.IOStreams) *ClusterQueueOptions
func (*ClusterQueueOptions) Complete ¶
func (o *ClusterQueueOptions) Complete(clientGetter util.ClientGetter, cmd *cobra.Command, args []string) error
Complete takes the command arguments and infers any remaining options.
func (*ClusterQueueOptions) Run ¶
func (o *ClusterQueueOptions) Run(ctx context.Context) error
Run prints the cluster queues.
func (*ClusterQueueOptions) Validate ¶
func (o *ClusterQueueOptions) Validate() error
type LocalQueueOptions ¶
type LocalQueueOptions struct { PrintFlags *genericclioptions.PrintFlags AllNamespaces bool Namespace string FieldSelector string LabelSelector string ClusterQueueFilter string Client kueuev1beta1.KueueV1beta1Interface PrintObj printers.ResourcePrinterFunc genericiooptions.IOStreams }
func NewLocalQueueOptions ¶
func NewLocalQueueOptions(streams genericiooptions.IOStreams) *LocalQueueOptions
func (*LocalQueueOptions) Complete ¶
func (o *LocalQueueOptions) Complete(clientGetter util.ClientGetter, cmd *cobra.Command, args []string) error
Complete completes all the required options
type WorkloadOptions ¶
type WorkloadOptions struct { PrintFlags *genericclioptions.PrintFlags AllNamespaces bool Namespace string FieldSelector string LabelSelector string ClusterQueueFilter string LocalQueueFilter string StatusesFilter sets.Set[int] ClientSet clientset.Interface ToPrinter func(r *listWorkloadResources) (printers.ResourcePrinterFunc, error) genericiooptions.IOStreams }
func NewWorkloadOptions ¶
func NewWorkloadOptions(streams genericiooptions.IOStreams) *WorkloadOptions
func (*WorkloadOptions) Complete ¶
func (o *WorkloadOptions) Complete(clientGetter util.ClientGetter, cmd *cobra.Command, args []string) error
Complete completes all the required options
Click to show internal directories.
Click to hide internal directories.