git

package
v1.84.5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 17 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,omitempty" json:"url,omitempty" toml:"url,omitempty"`
	Dir string `yaml:"dir,omitempty" json:"dir,omitempty" toml:"dir,omitempty"`
}

Config for git.

func (*Config) Token

func (c *Config) Token() string

Token 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.

Jump to

Keyboard shortcuts

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