Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api interface { Search(term string) ([]Project, error) GetProjectVars(project string) (CiVariableList, error) CreateVar(project string, variable CiVariable) (*CiVariable, error) UpdateVar(project string, variable CiVariable) (*CiVariable, error) }
Api provides necessary methods to interact with the Gitlab's REST API. Docs: https://docs.gitlab.com/ee/api/api_resources.html
type CiVariable ¶
type CiVariableList ¶
type CiVariableList []CiVariable
func (*CiVariableList) Includes ¶
func (c *CiVariableList) Includes(needle CiVariable) bool
func (*CiVariableList) Push ¶
func (c *CiVariableList) Push(newElement ...CiVariable)
type ErrorResponse ¶
type UpdateBody ¶
Click to show internal directories.
Click to hide internal directories.