context

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLogger

func SetLogger(logger logrus.FieldLogger)

Types

type Context

type Context struct {
	Recursive       bool
	DryRun          bool
	TargetDirectory string
	DisableGit      bool
	ForceCloudSync  bool
	OpenInBrowser   bool
	StealthMode     bool
	Projects        []config.Project
	Err             error
	ProfilesPath    string
	LocalConfig     config.LocalConfigDir
	CloudConfig     config.CloudConfig
}

func (*Context) FindAndPopulateMavenProjects

func (ctx *Context) FindAndPopulateMavenProjects() error

func (*Context) GetMavenRepository

func (ctx *Context) GetMavenRepository() maven.Repository

func (*Context) LoadProfile

func (ctx *Context) LoadProfile(profilePath string)

func (*Context) OnEachMavenProject

func (ctx *Context) OnEachMavenProject(description string, do ...func(repository maven.Repository, project config.Project) error)

func (*Context) OnRootProject

func (ctx *Context) OnRootProject(description string, do ...func(project config.Project) error)

Jump to

Keyboard shortcuts

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