source

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Module for fx.
	Module = fx.Options(
		fx.Provide(opentracing.NewTracer),
		fx.Provide(NewConfigurator),
	)
)

Functions

func NewConfigurator

func NewConfigurator(params ConfiguratorParams) configurator.Configurator

NewConfigurator for source.

Types

type Config

type Config struct {
	Type   string        `yaml:"type"`
	Git    git.Config    `yaml:"git"`
	Folder folder.Config `yaml:"folder"`
}

Config for source.

func (*Config) IsFolder

func (c *Config) IsFolder() bool

IsFolder configured.

func (*Config) IsGit

func (c *Config) IsGit() bool

IsGit configured.

type ConfiguratorParams added in v1.16.0

type ConfiguratorParams struct {
	fx.In

	Config *Config
	Tracer opentracing.Tracer
}

ConfiguratorParams for source.

Directories

Path Synopsis
git

Jump to

Keyboard shortcuts

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