Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWorkloadCmd ¶
func NewWorkloadCmd(clientGetter util.ClientGetter, streams genericiooptions.IOStreams) *cobra.Command
Types ¶
type GroupVersionResourceName ¶
type GroupVersionResourceName struct { schema.GroupVersionResource Name string }
func GroupVersionResourceWithName ¶
func GroupVersionResourceWithName(gvr schema.GroupVersionResource, name string) GroupVersionResourceName
func (GroupVersionResourceName) String ¶
func (g GroupVersionResourceName) String() string
type WorkloadOptions ¶
type WorkloadOptions struct { PrintFlags *genericclioptions.PrintFlags Names []string Namespace string AllNamespaces bool Confirmed bool DeleteAll bool DryRunStrategy util.DryRunStrategy Client kueuev1beta1.KueueV1beta1Interface DynamicClient dynamic.Interface RestMapper meta.RESTMapper PrintObj printers.ResourcePrinterFunc 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.