update

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppService

type AppService struct {
	// contains filtered or unexported fields
}

func NewConfigurator

func NewConfigurator(
	engine *gotemplate.GoTemplateEngine,
	repoStore *repositorystore.RepositoryStore,
	templateStore *gotemplate.GoTemplateStore,
	valueStore domain.ValueStore,
	prStore domain.PullRequestStore,
	renderService *domain.RenderService,
	cleanupService *domain.CleanupService,
	pullRequestService *domain.PullRequestService,
	diffPrinter *ui.ConsoleDiffPrinter,
	cfg *cfg.Configuration,
	console *ui.ColoredConsole,
) *AppService

func (*AppService) ConfigureInfrastructure

func (c *AppService) ConfigureInfrastructure()

type Command

type Command struct {
	// contains filtered or unexported fields
}

Command is a facade service for the update command that holds all dependent services and settings.

func NewCommand

func NewCommand(
	cfg *cfg.Configuration,
	configurator *AppService,
	factory logging.LoggerFactory,
	instrumentation instrumentation2.BatchInstrumentation,
) *Command

NewCommand returns a new Command instance.

func (*Command) GetCliCommand

func (c *Command) GetCliCommand() *cli.Command

GetCliCommand returns the command instance for CLI library.

func (*Command) GetRepositories

func (c *Command) GetRepositories() []*domain.GitRepository

Jump to

Keyboard shortcuts

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