Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeploymentStates []string = []string{
"error",
"failure",
"inactive",
"in_progress",
"queued",
"pending",
"success",
}
DeploymentStates contains valid deployment states
Functions ¶
func CreateDeployment ¶
CreateDeployment creates new deployment in a provided environment.
func IsStateValid ¶
IsStateValid is an input validator for CreateDeploymentStatus api call
Types ¶
type Client ¶
type Client interface { CreateDeployment(context.Context, string, string, *github.DeploymentRequest) (*github.Deployment, *github.Response, error) CreateDeploymentStatus(context.Context, string, string, int64, *github.DeploymentStatusRequest) (*github.DeploymentStatus, *github.Response, error) }
Client is Repositories service of a GitHub Client
Click to show internal directories.
Click to hide internal directories.