Documentation ¶
Overview ¶
Package github holds utilities for bootstrapping a Github API client from the metadata injected by the GithubBinding. Within a process running in the context of a GithubBinding, users can write:
client, err := github.New(ctx)
to get a client authorized with the access token from the GithubBinding.
Index ¶
Constants ¶
View Source
const ( VolumeName = "github-binding" MountPath = bindings.MountPath + "/github" // filepath.Join isn't const. )
Variables ¶
This section is empty.
Functions ¶
func AccessToken ¶
AccessToken reads the file named accessToken that is mounted by the GithubBinding.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.