git

package
v1.25.30 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Unlicense Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	URL   string `yaml:"url"`
	Dir   string `yaml:"dir"`
	Token string `yaml:"token"`
}

Config for git.

func (*Config) GetToken added in v1.20.0

func (c *Config) GetToken() string

GetToken that is specified in config or from KONFIG_GIT_TOKEN env variable.

type Configurator

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

Configurator for git.

func NewConfigurator

func NewConfigurator(cfg Config, tracer opentracing.Tracer, client *http.Client) *Configurator

NewConfigurator for git.

func (*Configurator) GetConfig

func (c *Configurator) GetConfig(ctx context.Context, app, ver, env, continent, country, cmd string) ([]byte, error)

GetConfig for git.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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