versionstream

package
v0.0.498 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 14 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 {
	LTS         bool
	Latest      bool
	Custom      bool
	DoGitCommit bool
	GitURL      string
	GitRef      string
	GitDir      string
	Cmd         *cobra.Command
	Args        []string
	Dir         string
	Gitter      gitclient.Interface
}

Options the options for creating a repository

func NewCmdVersionstream

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

NewCmdVersionstream administer the cluster version stream

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() error

func (*Options) Run

func (o *Options) Run() error

Run implements the command

Jump to

Keyboard shortcuts

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