releaser

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//OriginNameUpstream is upstream
	OriginNameUpstream = "upstream"

	//OriginNameLocal is local
	OriginNameLocal = "local"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Releaser

type Releaser struct {
	Token                         string
	TokenEmail                    string
	TokenUserHandle               string
	TokenUsername                 string
	UpstreamKrewIndexRepo         string
	UpstreamKrewIndexRepoOwner    string
	UpstreamKrewIndexRepoCloneURL string
	LocalKrewIndexRepo            string
	LocalKrewIndexRepoOwner       string
	LocalKrewIndexRepoCloneURL    string
}

Releaser is what opens PR

func New

func New(ghToken string) *Releaser

New returns new releaser object

func (*Releaser) HandleActionLambdaWebhook added in v0.0.39

func (releaser *Releaser) HandleActionLambdaWebhook(ctx context.Context, request events.APIGatewayProxyRequest) (*events.APIGatewayProxyResponse, error)

HandleActionLambdaWebhook handles requests from github actions

func (*Releaser) HandleActionWebhook

func (releaser *Releaser) HandleActionWebhook(w http.ResponseWriter, r *http.Request)

HandleActionWebhook handles requests from github actions

func (*Releaser) Release

func (releaser *Releaser) Release(request *source.ReleaseRequest) (string, error)

Release releases

Jump to

Keyboard shortcuts

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