github

package
v0.5.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Driver = types.GitDriverGithub
)

Variables

This section is empty.

Functions

func NewClient

func NewClient(conn *model.Connector, opts ...options.ClientOption) (*scm.Client, error)

NewClient creates a new github client. Options connector token will overwrite options.WithToken in the client.

func NewClientFromURL

func NewClientFromURL(rawURL string, opts ...options.ClientOption) (*scm.Client, error)

NewClientFromURL creates a new github client from url.

Types

This section is empty.

Jump to

Keyboard shortcuts

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