git

package
v1.132.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 23 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 {
	Token Token  `yaml:"token,omitempty" json:"token,omitempty" toml:"token,omitempty"`
	URL   string `yaml:"url,omitempty" json:"url,omitempty" toml:"url,omitempty"`
}

Config for git.

func (*Config) GetToken added in v1.20.0

func (c *Config) GetToken() (string, error)

GetToken for git.

type Configurator

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

Configurator for git.

func NewConfigurator

func NewConfigurator(cfg *Config, t trace.Tracer, client *http.Client) *Configurator

NewConfigurator for git.

func (*Configurator) GetConfig

func (c *Configurator) GetConfig(ctx context.Context, params source.ConfigParams) (*source.Config, error)

GetConfig for git.

type Token added in v1.123.0

type Token string

Token for git.

Jump to

Keyboard shortcuts

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