client

package
v0.0.0-...-f12f10f Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthClient

type AuthClient struct {
	// contains filtered or unexported fields
}

func NewWithOauth

func NewWithOauth(ctx context.Context, token string) *AuthClient

func (*AuthClient) CountTeamDeploys

func (c *AuthClient) CountTeamDeploys(ctx context.Context, opts *CountTeamPROpts) (int, error)

func (*AuthClient) GetOrgRepos

func (c *AuthClient) GetOrgRepos(ctx context.Context, organisation string) ([]string, error)

type CountTeamPROpts

type CountTeamPROpts struct {
	Team                []string
	State               string
	FromBranch          string
	ToBranch            string
	Repo                string
	Organisation        string
	StartSearchFromDate time.Time
}

Jump to

Keyboard shortcuts

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