tfupgrade

package
v0.7.18 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Dir              string
	VersionStreamDir string
	Namespace        string
	JXClient         jxc.Interface
	Resolver         *versionstream.VersionResolver
	GitClient        gitclient.Interface
	CommandRunner    cmdrunner.CommandRunner
}

func (*Options) GetResolver added in v0.2.49

func (o *Options) GetResolver() (*versionstream.VersionResolver, error)

GetResolver lazy creates the version stream resolver if we don't have one configured

func (*Options) ReplaceValue

func (o *Options) ReplaceValue(gitURL string) string

func (*Options) Run

func (o *Options) Run() error

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the setup

Jump to

Keyboard shortcuts

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