client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetEnvironment(name string) (*github.Environment, *github.Response, error)
	GetEnvironments() (*github.EnvResponse, *github.Response, error)
	DeleteEnvironment(name string) (*github.Response, error)
	GetSecretsForEnvironment(name string, opts *github.ListOptions) (*github.Secrets, *github.Response, error)
	CreateEnvironment(name string, waitTimer int, reviewers []*github.EnvReviewers, deploymentBranchPolicy github.BranchPolicy) (*github.Environment, *github.Response, error)
	GetUser(name string) (*github.User, *github.Response, error)
	GetTeam(name string) (*github.Team, *github.Response, error)
	GetOwner() string
	GetRepo() string
	GetRepoID() (int64, error)
}

func NewClient

func NewClient() (Client, error)

Jump to

Keyboard shortcuts

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