Documentation
¶
Index ¶
- func GetSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func ListSources(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func PutSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func TestConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- type ApiUserResponse
- type GitlabConfig
- type GitlabResponse
- type GitlabSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSource ¶
func GetSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/gitlab/sources/:sourceId
func ListSources ¶
func ListSources(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/gitlab/sources
func PutSource ¶
func PutSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
PUT /plugins/gitlab/sources/:sourceId
func TestConnection ¶ added in v0.6.0
func TestConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/gitlab/test
Types ¶
type ApiUserResponse ¶ added in v0.6.0
Using User because it requires authentication.
type GitlabConfig ¶
type GitlabResponse ¶
type GitlabResponse struct {
Endpoint string
Auth string
Name string
ID int
JIRA_BOARD_GITLAB_PROJECTS string
}
This object conforms to what the frontend currently expects.
func GetSourceFromEnv ¶
func GetSourceFromEnv() (*GitlabResponse, error)
type GitlabSource ¶
type GitlabSource struct {
GITLAB_ENDPOINT string
GITLAB_AUTH string
JIRA_BOARD_GITLAB_PROJECTS string
}
This object conforms to what the frontend currently sends.
Click to show internal directories.
Click to hide internal directories.