diff

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiffModeNormal      = "normal"
	DiffModeIgnoreAdded = "ignore-added"
	DiffModeLive        = "live"
)

supported diff-mode option values

Variables

This section is empty.

Functions

func GetGVKNNKey

func GetGVKNNKey(r *yamlv3.Node) string

get ApiVersion+Kind+Namespace+Name as key

func NewCmdDiff

func NewCmdDiff() *cobra.Command

Types

type DiffOptions

type DiffOptions struct {
	// contains filtered or unexported fields
}

func NewDiffOptions

func NewDiffOptions() *DiffOptions

func (*DiffOptions) Complete

func (o *DiffOptions) Complete(args []string) error

func (*DiffOptions) Run

func (o *DiffOptions) Run() error

func (*DiffOptions) Validate

func (o *DiffOptions) Validate() error

Jump to

Keyboard shortcuts

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