cmd.Flags().StringVarP(f.LabelSelector,"selector","l",*f.LabelSelector,"Selector (label query) to filter on, not including uninitialized ones.")
}
iff.FieldSelector!=nil{
cmd.Flags().StringVarP(f.FieldSelector,"field-selector","",*f.FieldSelector,"Selector (field query) to filter on, supports '=', '==', and '!='.(e.g. --field-selector key1=value1,key2=value2). The server only supports a limited number of field queries per type.")
}
iff.All!=nil{
cmd.Flags().BoolVar(f.All,"all",*f.All,"Delete all resources, including uninitialized ones, in the namespace of the specified resource types.")
cmd.Flags().BoolVarP(f.AllNamespaces,"all-namespaces","A",*f.AllNamespaces,"If present, list the requested object(s) across all namespaces. Namespace in current context is ignored even if specified with --namespace.")
cmd.Flags().BoolVar(f.Force,"force",*f.Force,"If true, immediately remove resources from API and bypass graceful deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires confirmation.")
cmd.Flags().BoolVar(f.Cascade,"cascade",*f.Cascade,"If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a ReplicationController). Default true.")
}
iff.Now!=nil{
cmd.Flags().BoolVar(f.Now,"now",*f.Now,"If true, resources are signaled for immediate shutdown (same as --grace-period=1).")
}
iff.GracePeriod!=nil{
cmd.Flags().IntVar(f.GracePeriod,"grace-period",*f.GracePeriod,"Period of time in seconds given to the resource to terminate gracefully. Ignored if negative. Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).")
}
iff.Timeout!=nil{
cmd.Flags().DurationVar(f.Timeout,"timeout",*f.Timeout,"The length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object")
}
iff.IgnoreNotFound!=nil{
cmd.Flags().BoolVar(f.IgnoreNotFound,"ignore-not-found",*f.IgnoreNotFound,"Treat \"resource not found\" as a successful delete. Defaults to \"true\" when --all is specified.")
}
iff.Wait!=nil{
cmd.Flags().BoolVar(f.Wait,"wait",*f.Wait,"If true, wait for resources to be gone before returning. This waits for finalizers.")
}
iff.Output!=nil{
cmd.Flags().StringVarP(f.Output,"output","o",*f.Output,"Output mode. Use \"-o name\" for shorter output (resource/name).")