package cli
import "sigs.k8s.io/structured-merge-diff/v4/internal/cli"
Index ¶
Variables ¶
var ( ErrTooManyOperations = errors.New("exactly one of --merge, --compare, --validate or --fieldset must be provided") ErrNeedTwoArgs = errors.New("--merge and --compare require both --lhs and --rhs") )
Types ¶
type Operation ¶
type Options ¶
type Options struct {
// contains filtered or unexported fields
}
func (*Options) AddFlags ¶
func (*Options) OpenOutput ¶
func (o *Options) OpenOutput() (io.WriteCloser, error)
func (*Options) Resolve ¶
resolve turns options in to an operation that can be executed.
Source Files ¶
operation.go options.go
- Version
- v4.5.0 (latest)
- Published
- Dec 11, 2024
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 2 months ago –
Tools for package owners.