agent

package
v0.0.0-...-b5b2298 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIRoot

func APIRoot(repoURL string) (APIURL string, err error)

APIRoot returns the root of a given API URL so for public github:

https://api.github.com/repos/my-org/my-repo/pulls/1 would return https://api.github.com

and for enterprise github:

https://github.my-domain/api/v3/repos/my-org/my-repo/pulls/1 returns https://github.my-domain/api/v3

func Agent

func Agent(port uint16, path, token, secret string)

Agent runs deploy as a bot

Types

This section is empty.

Jump to

Keyboard shortcuts

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