github

package
v0.9.5-rc5 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(ctx context.Context, c *cache.Client, urlName string) (string, string, *types.Repo, bool, error)

func LoadWithConfig added in v0.9.5

func LoadWithConfig(ctx context.Context, _ *cache.Client, urlName string, config *Config) (string, string, *types.Repo, bool, error)

func LoaderForPrefix added in v0.9.5

func LoaderForPrefix(prefix string) func(context.Context, *cache.Client, string) (string, string, *types.Repo, bool, error)

Types

type Config added in v0.9.5

type Config struct {
	Prefix      string
	RepoURL     string
	DownloadURL string
	CommitURL   string
	AuthToken   string
}

func NewGithubEnterpriseConfig added in v0.9.5

func NewGithubEnterpriseConfig(prefix string) *Config

Jump to

Keyboard shortcuts

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