git

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintPrepareInfo

func PrintPrepareInfo(components []sdk.ComponentGitCollection, options *PrepareOptions) error

Types

type PrepareData

type PrepareData struct {
	PrepareManager *PrepareManager

	Components []sdk.ComponentGitCollection

	Options PrepareOptions
}

type PrepareManager

type PrepareManager struct {
	Repositories []string
	// contains filtered or unexported fields
}

func NewPrepareManager

func NewPrepareManager() *PrepareManager

func (*PrepareManager) AddComponents

func (pr *PrepareManager) AddComponents(components []sdk.ComponentGitCollection) error

func (*PrepareManager) GetDir

func (pr *PrepareManager) GetDir(repository string) string

func (*PrepareManager) GetEnvironment

func (pr *PrepareManager) GetEnvironment(repository string) string

func (*PrepareManager) GetPath added in v0.13.0

func (pr *PrepareManager) GetPath(component sdk.ComponentGitCollection) string

type PrepareOptions

type PrepareOptions struct {
	DiscardHistory bool
}

func NewPrepareOptions

func NewPrepareOptions() *PrepareOptions

func (*PrepareOptions) UpdateFlagSet

func (po *PrepareOptions) UpdateFlagSet(flags *pflag.FlagSet)

Jump to

Keyboard shortcuts

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