Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdConvert

func NewCmdConvert(ioStreams genericclioptions.IOStreams) *cobra.Command

NewCmdConvert returns a cobra command for converting cert-manager resources

Types

type Options

type Options struct {
	PrintFlags *genericclioptions.PrintFlags
	Printer    printers.ResourcePrinter

	OutputVersion string

	resource.FilenameOptions
	genericclioptions.IOStreams
}

Options is a struct to support convert command

func NewOptions

func NewOptions(ioStreams genericclioptions.IOStreams) *Options

NewOptions returns initialized Options

func (*Options) Complete

func (o *Options) Complete() error

Complete collects information required to run Convert command from command line.

func (*Options) Run

func (o *Options) Run() error

Run executes convert command

Source Files