certificates

package
v0.31.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 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(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

Jump to

Keyboard shortcuts

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