convert

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConverterWithOptions

func NewConverterWithOptions(o *Options) *nodeConverter

NewConverterWithOptions create nodeConverter.

Types

type Config added in v0.7.0

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

Config has the information that required by convert operation.

type Options

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

Options has the information required by the convert operation.

func NewConvertOptions

func NewConvertOptions() *Options

NewConvertOptions creates a new Options.

func (*Options) AddFlags added in v0.7.0

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

AddFlags sets flags.

func (*Options) Complete

func (o *Options) Complete(flags *pflag.FlagSet) error

Complete completes all the required options.

func (*Options) Validate added in v0.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