Documentation ¶
Index ¶
- func NewCmdCertificate(restClientGetter genericclioptions.RESTClientGetter, ...) *cobra.Command
- func NewCmdCertificateApprove(restClientGetter genericclioptions.RESTClientGetter, ...) *cobra.Command
- func NewCmdCertificateDeny(restClientGetter genericclioptions.RESTClientGetter, ...) *cobra.Command
- type CertificateOptions
- func (o *CertificateOptions) Complete(restClientGetter genericclioptions.RESTClientGetter, cmd *cobra.Command, ...) error
- func (o *CertificateOptions) RunCertificateApprove(force bool) error
- func (o *CertificateOptions) RunCertificateDeny(force bool) error
- func (o *CertificateOptions) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCertificate ¶
func NewCmdCertificate(restClientGetter genericclioptions.RESTClientGetter, ioStreams genericiooptions.IOStreams) *cobra.Command
NewCmdCertificate returns `certificate` Cobra command
func NewCmdCertificateApprove ¶
func NewCmdCertificateApprove(restClientGetter genericclioptions.RESTClientGetter, ioStreams genericiooptions.IOStreams) *cobra.Command
NewCmdCertificateApprove returns the `certificate approve` Cobra command
func NewCmdCertificateDeny ¶
func NewCmdCertificateDeny(restClientGetter genericclioptions.RESTClientGetter, ioStreams genericiooptions.IOStreams) *cobra.Command
NewCmdCertificateDeny returns the `certificate deny` Cobra command
Types ¶
type CertificateOptions ¶
type CertificateOptions struct { resource.FilenameOptions PrintFlags *genericclioptions.PrintFlags PrintObj printers.ResourcePrinterFunc genericiooptions.IOStreams // contains filtered or unexported fields }
CertificateOptions declares the arguments accepted by the certificate command
func NewCertificateOptions ¶
func NewCertificateOptions(ioStreams genericiooptions.IOStreams, operation string) *CertificateOptions
NewCertificateOptions creates CertificateOptions struct for `certificate` command
func (*CertificateOptions) Complete ¶
func (o *CertificateOptions) Complete(restClientGetter genericclioptions.RESTClientGetter, cmd *cobra.Command, args []string) error
Complete loads data from the command environment
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.