Documentation
¶
Overview ¶
Package github provides the ability for Vela to integrate with GitHub or GitHub Enterprise as a source provider.
Usage:
import "github.com/go-vela/server/source/github"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientOpt ¶ added in v0.8.0
type ClientOpt func(*client) error
ClientOpt represents a configuration option to initialize the source client.
func WithAddress ¶ added in v0.8.0
WithAddress sets the GitHub address in the source client.
func WithClientID ¶ added in v0.8.0
WithClientID sets the GitHub OAuth client ID in the source client.
func WithClientSecret ¶ added in v0.8.0
WithClientSecret sets the GitHub OAuth client secret in the source client.
func WithServerAddress ¶ added in v0.8.0
WithServerAddress sets the Vela server address in the source client.
func WithStatusContext ¶ added in v0.8.0
WithStatusContext sets the GitHub context for commit statuses in the source client.
func WithWebUIAddress ¶ added in v0.8.0
WithWebUIAddress sets the Vela web UI address in the source client.
Click to show internal directories.
Click to hide internal directories.