github

package
v0.3.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

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

func New

func New(c *cli.Context) (*client, error)

New returns a Source implementation that integrates with GitHub or a GitHub Enterprise instance.

func NewTest

func NewTest(urls ...string) (*client, error)

NewTest returns a Source implementation that integrates with the provided mock server. Only the url from the mock server is required.

This function is intended for running tests only.

Types

This section is empty.

Jump to

Keyboard shortcuts

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