github

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitCheckout

type GitCheckout interface {
	Refresh(ctx context.Context) error
}

type Provider

type Provider struct {
	Token     []byte
	Logger    *log.Logger
	Checkouts map[string]GitCheckout
	Tracing   tracing.Tracing
}

func Setup

func Setup(pushToken string, logger *log.Logger, handler *gitdb.CheckoutHandler, tracer tracing.Tracing) *Provider

func (*Provider) SetupMux

func (p *Provider) SetupMux(mux *mux.Router)

Jump to

Keyboard shortcuts

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