vcsutils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 8 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateToken

func CreateToken() string

func Untar

func Untar(destDir string, reader io.Reader, shouldRemoveBaseDir bool) error

Untar a file to the given destination destDir - Destination folder reader - Reader for the tar.gz file shouldRemoveBaseDir - True if should remove the base directory

Types

type VcsProvider

type VcsProvider int
const (
	GitHub VcsProvider = iota
	GitLab
	BitbucketServer
	BitbucketCloud
)

type WebhookEvent

type WebhookEvent string
const (
	PrCreated WebhookEvent = "PrCreated"
	PrEdited  WebhookEvent = "PrEdited"
	Push      WebhookEvent = "Push"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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