versionstreamer

package
v0.0.162 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 11 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
	VersionStreamURL     string
	VersionStreamRef     string
	IOFileHandles        *files.IOFileHandles
	Gitter               gitclient.Interface
	CommandRunner        cmdrunner.CommandRunner
	Requirements         *config.RequirementsConfig
	RequirementsFileName string
	Resolver             *versionstream.VersionResolver
}

Options the options for the command

func (*Options) AddFlags

func (o *Options) AddFlags(cmd *cobra.Command)

func (*Options) Git

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

Git returns the gitter - lazily creating one if required

func (*Options) Validate

func (o *Options) Validate() error

Validate validates the options and populates any missing values

Jump to

Keyboard shortcuts

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