Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCheckManifestsCommand ¶
func NewCheckManifestsCommand(streams genericclioptions.IOStreams) *cobra.Command
NewRenderCommand creates a render command.
Types ¶
type CheckManifestConfig ¶
type CheckManifestConfig struct { ExistingCRD *apiextensionsv1.CustomResourceDefinition NewCRD *apiextensionsv1.CustomResourceDefinition ComparatorConfig *options.ComparatorConfig IOStreams genericclioptions.IOStreams }
func (*CheckManifestConfig) Run ¶
func (c *CheckManifestConfig) Run() ([]manifestcomparators.ComparisonResults, bool, error)
Run contains the logic of the render command.
type CheckManifestOptions ¶
type CheckManifestOptions struct { ExistingCRDFile string NewCRDFile string ComparatorOptions *options.ComparatorOptions IOStreams genericclioptions.IOStreams }
func NewCheckManifestOptions ¶
func NewCheckManifestOptions(streams genericclioptions.IOStreams) *CheckManifestOptions
func (*CheckManifestOptions) AddFlags ¶
func (o *CheckManifestOptions) AddFlags(fs *pflag.FlagSet)
func (*CheckManifestOptions) Complete ¶
func (o *CheckManifestOptions) Complete() (*CheckManifestConfig, error)
Complete fills in missing values before command execution.
func (*CheckManifestOptions) Validate ¶
func (o *CheckManifestOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.