Documentation ¶
Index ¶
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
Types ¶
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.