revert

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReverterWithOptions

func NewReverterWithOptions(o *Options) *nodeReverter

NewReverterWithOptions creates nodeReverter.

Types

type Options

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

Options has the information that required by revert operation.

func NewRevertOptions

func NewRevertOptions() *Options

NewRevertOptions creates a new Options.

func (*Options) AddFlags added in v1.7.0

func (o *Options) AddFlags(fs *pflag.FlagSet)

AddFlags sets flags.

func (*Options) Complete

func (o *Options) Complete() error

Complete completes all the required options.

func (*Options) Validate added in v1.7.0

func (o *Options) Validate() error

Validate validates Options.

Jump to

Keyboard shortcuts

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