Documentation ¶
Index ¶
- func NewCmdCertificate(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewCmdCertificateApprove(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewCmdCertificateDeny(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command
- type CertificateOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCertificate ¶
NewCmdCertificate returns `certificate` Cobra command
func NewCmdCertificateApprove ¶
func NewCmdCertificateApprove(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command
NewCmdCertificateApprove returns the `certificate approve` Cobra command
func NewCmdCertificateDeny ¶
NewCmdCertificateDeny returns the `certificate deny` Cobra command
Types ¶
type CertificateOptions ¶
type CertificateOptions struct { resource.FilenameOptions PrintFlags *genericclioptions.PrintFlags PrintObj printers.ResourcePrinterFunc genericclioptions.IOStreams // contains filtered or unexported fields }
CertificateOptions declares the arguments accepted by the certificate command
func NewCertificateOptions ¶
func NewCertificateOptions(ioStreams genericclioptions.IOStreams, operation string) *CertificateOptions
NewCertificateOptions creates CertificateOptions struct for `certificate` command
func (*CertificateOptions) RunCertificateApprove ¶
func (o *CertificateOptions) RunCertificateApprove(force bool) error
RunCertificateApprove approves a certificate signing request
func (*CertificateOptions) RunCertificateDeny ¶
func (o *CertificateOptions) RunCertificateDeny(force bool) error
RunCertificateDeny denies a certificate signing request
func (*CertificateOptions) Validate ¶
func (o *CertificateOptions) Validate() error
Validate checks if the provided `certificate` arguments are valid
Click to show internal directories.
Click to hide internal directories.