checkmanifests

package
v0.0.0-...-573763d Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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

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

Complete fills in missing values before command execution.

func (*CheckManifestOptions) Validate

func (o *CheckManifestOptions) Validate() error

Jump to

Keyboard shortcuts

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