Documentation ¶
Index ¶
- Constants
- type Releaser
- func (releaser *Releaser) HandleActionLambdaWebhook(ctx context.Context, request events.APIGatewayProxyRequest) (*events.APIGatewayProxyResponse, error)
- func (releaser *Releaser) HandleActionWebhook(w http.ResponseWriter, r *http.Request)
- func (releaser *Releaser) Release(request *source.ReleaseRequest) (string, error)
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 (*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
Click to show internal directories.
Click to hide internal directories.