git

package
v1.263.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 10 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"`
	Owner      string `yaml:"owner,omitempty" json:"owner,omitempty" toml:"owner,omitempty"`
	Repository string `yaml:"repository,omitempty" json:"repository,omitempty" toml:"repository,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(client *github.Client, cfg *Config, t trace.Tracer) *Configurator

NewConfigurator for git.

func (*Configurator) GetConfig

func (c *Configurator) GetConfig(ctx context.Context, app, ver, env, continent, country, cmd, kind string) ([]byte, 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