certificates

package
v0.22.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2022 License: Apache-2.0 Imports: 19 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCertificate

func NewCmdCertificate(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

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

func NewCmdCertificateDeny(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

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) Complete

func (o *CertificateOptions) Complete(f cmdutil.Factory, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL