source

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

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 Configurator

type Configurator interface {
	GetConfig(ctx context.Context, app, ver, env, cluster, cmd string) ([]byte, error)
}

Configurator for source.

func NewConfigurator

func NewConfigurator(cfg *Config) Configurator

NewConfigurator for source.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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