Documentation ¶
Index ¶
- Variables
- func GetSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func ListSources(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func PostSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func PutSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func TestConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- type JenkinsConfig
- type JenkinsSource
Constants ¶
This section is empty.
Variables ¶
View Source
var V *viper.Viper
Functions ¶
func GetSource ¶
func GetSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/jenkins/sources/:sourceId
func ListSources ¶
func ListSources(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/jenkins/sources
func PostSource ¶
func PostSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
POST /plugins/jenkins/sources
{ "Endpoint": "your-endpoint", "Username": "your-username", "Password": "your-password", }
func PutSource ¶
func PutSource(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
PUT /plugins/jenkins/sources/:sourceId
{ "Endpoint": "your-endpoint", "Username": "your-username", "Password": "your-password", }
func TestConnection ¶ added in v0.6.0
func TestConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
Types ¶
type JenkinsConfig ¶
type JenkinsSource ¶
func GetSourceFromEnv ¶
func GetSourceFromEnv() (*JenkinsSource, error)
Click to show internal directories.
Click to hide internal directories.