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 ApiUserPublicEmailResponse
- type GithubConfig
- type GithubResponse
- type GithubSource
- type PublicEmail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSource ¶
func GetSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/github/sources/:sourceId
func ListSources ¶
func ListSources(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/github/sources
func PutSource ¶
func PutSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
PUT /plugins/github/sources/:sourceId
func TestConnection ¶ added in v0.6.0
func TestConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
POST /plugins/github/test
Types ¶
type ApiUserPublicEmailResponse ¶ added in v0.6.0
type ApiUserPublicEmailResponse []PublicEmail
type GithubConfig ¶
type GithubResponse ¶
type GithubResponse struct { Endpoint string Auth string Name string ID int Proxy string `json:"proxy"` }
This object conforms to what the frontend currently expects.
func GetSourceFromEnv ¶
func GetSourceFromEnv() (*GithubResponse, error)
type GithubSource ¶
This object conforms to what the frontend currently sends.
Click to show internal directories.
Click to hide internal directories.