labels

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: 13 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(
	repoStore *repositorystore.RepositoryStore,
	labelStore domain.LabelStore,
	cfg *cfg.Configuration,
	factory logging.LoggerFactory,
) *AppService

func (*AppService) ConfigureInfrastructure

func (c *AppService) ConfigureInfrastructure()

type Command

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

Command contains the logic to keep repository labels in sync.

func NewCommand

func NewCommand(
	cfg *cfg.Configuration,
	appService *AppService,
	instrumentation instrumentation.BatchInstrumentation,
) *Command

NewCommand returns a new 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