resolve

package
v0.0.176 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 23 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 {
	Namespace        string
	GitCommitMessage string
	Dir              string
	VersionStreamDir string
	VersionStreamURL string
	VersionStreamRef string
	BatchMode        bool
	UpdateMode       bool
	DoGitCommit      bool
	IOFileHandles    *files.IOFileHandles
	Gitter           gitclient.Interface
	CommandRunner    cmdrunner.CommandRunner

	Results Results
	// contains filtered or unexported fields
}

Options the options for the command

func NewCmdJxAppsResolve

func NewCmdJxAppsResolve() (*cobra.Command, *Options)

NewCmdJxAppsTemplate creates a command object for the command

func (*Options) AddFlags

func (o *Options) AddFlags(cmd *cobra.Command, prefix string)

func (*Options) Git

func (o *Options) Git() gitclient.Interface

Git returns the gitter - lazily creating one if required

func (*Options) GitCommit

func (o *Options) GitCommit(outDir string, commitMessage string) error

func (*Options) Run

func (o *Options) Run() error

Run implements the command

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the options and populates any missing values

type Results

type Results struct {
	AppsCfg                    *jxapps.AppConfig
	AppsCfgFile                string
	VersionsDir                string
	RequirementsValuesFileName string
	Resolver                   *versionstream.VersionResolver
	Requirements               *config.RequirementsConfig
}

Jump to

Keyboard shortcuts

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