Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdRenew ¶
func NewCmdRenew(ctx context.Context, ioStreams genericclioptions.IOStreams, factory cmdutil.Factory) *cobra.Command
NewCmdRenew returns a cobra command for renewing Certificates
Types ¶
type Options ¶
type Options struct {
CMClient cmclient.Interface
RESTConfig *restclient.Config
// The Namespace that the Certificate to be renewed resided in.
// This flag registration is handled by cmdutil.Factory
Namespace string
LabelSelector string
All bool
AllNamespaces bool
genericclioptions.IOStreams
}
Options is a struct to support renew command
func NewOptions ¶
func NewOptions(ioStreams genericclioptions.IOStreams) *Options
NewOptions returns initialized Options
func (*Options) Complete ¶
Complete takes the command arguments and factory and infers any remaining options.
Click to show internal directories.
Click to hide internal directories.