Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProjectRestClient ¶
NewProjectRestClient returns a new projectRestClient satisfying the api.ProjectInterface interface via the REST API.
Types ¶
type ProjectClient ¶
type ProjectClient interface { ProjectInfo(vcs, org, project string) (*ProjectInfo, error) ListAllEnvironmentVariables(vcs, org, project string) ([]*ProjectEnvironmentVariable, error) GetEnvironmentVariable(vcs, org, project, envName string) (*ProjectEnvironmentVariable, error) CreateEnvironmentVariable(vcs, org, project string, v ProjectEnvironmentVariable) (*ProjectEnvironmentVariable, error) }
ProjectClient is the interface to interact with project and it's components.
type ProjectEnvironmentVariable ¶
ProjectEnvironmentVariable is a Environment Variable of a Project
type ProjectInfo ¶ added in v0.1.24705
type ProjectInfo struct {
Id string
}
ProjectInfo is the info of a Project
Click to show internal directories.
Click to hide internal directories.