cmd

package
v0.0.0-...-4e80831 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewValidateCmd

func NewValidateCmd() *cobra.Command

NewValidateCmd creates a new validate command.

func UnmarshalAllClusterSupplyChain

func UnmarshalAllClusterSupplyChain(in []byte, out *[]v1alpha1.ClusterSupplyChain) error

Types

type ValidateCmd

type ValidateCmd struct {
	File string
	Cmd  *cobra.Command
}

ValidateCmd a struct for the validate command.

func (*ValidateCmd) Run

func (c *ValidateCmd) Run(cmd *cobra.Command, args []string) error

Run runs the command.

Jump to

Keyboard shortcuts

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