Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenerateOwnershipCommand ¶
func NewGenerateOwnershipCommand(streams genericclioptions.IOStreams) *cobra.Command
Types ¶
type GenerateOwnersFlags ¶
type GenerateOwnersFlags struct {
TLSInfoDir string
Verify bool
genericclioptions.IOStreams
}
GenerateOwnersFlags gets bound to cobra commands and arguments. It is used to validate input and then produce the Options struct. Options struct is intended to be embeddable and re-useable without cobra.
func NewGenerateOwnersFlags ¶
func NewGenerateOwnersFlags(streams genericclioptions.IOStreams) *GenerateOwnersFlags
func (*GenerateOwnersFlags) BindFlags ¶
func (f *GenerateOwnersFlags) BindFlags(flags *pflag.FlagSet)
func (*GenerateOwnersFlags) ToOptions ¶
func (f *GenerateOwnersFlags) ToOptions() (*GenerateOwnersOptions, error)
func (*GenerateOwnersFlags) Validate ¶
func (f *GenerateOwnersFlags) Validate() error
type GenerateOwnersOptions ¶
type GenerateOwnersOptions struct {
TLSInfoDir string
Verify bool
Requirements []tlsmetadatainterfaces.Requirement
genericclioptions.IOStreams
}
func (*GenerateOwnersOptions) Run ¶
func (o *GenerateOwnersOptions) Run() error
Click to show internal directories.
Click to hide internal directories.