Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdDeny ¶
Types ¶
type Options ¶
type Options struct {
CMClient cmclient.Interface
RESTConfig *restclient.Config
// Namespace resulting from the merged result of all overrides
// since namespace can be specified in file, as flag and in kube config
CmdNamespace string
// boolean indicating if there was an Override in determining CmdNamespace
EnforceNamespace bool
// Reason is the string that will be set on the Reason field of the Denied
// condition.
Reason string
// Message is the string that will be set on the Message field of the
// Denied condition.
Message string
genericclioptions.IOStreams
}
Options is a struct to support create certificaterequest 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.