scm

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitHub string = "github"
	GitLab string = "gitlab"
)

Variables

This section is empty.

Functions

func NewScmClient

func NewScmClient(ctx context.Context, providerType string, baseURL string, token string, command string) (analyze.ScmClient, error)

Types

type ScmBaseDomain added in v0.11.0

type ScmBaseDomain string

ScmBaseDomain represent the base domain for a SCM provider.

func (*ScmBaseDomain) Set added in v0.11.0

func (d *ScmBaseDomain) Set(value string) error

func (*ScmBaseDomain) String added in v0.11.0

func (d *ScmBaseDomain) String() string

func (*ScmBaseDomain) Type added in v0.11.0

func (d *ScmBaseDomain) Type() string

Jump to

Keyboard shortcuts

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