Documentation ¶
Index ¶
- func DeleteConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func GetConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func Init(config *viper.Viper, logger core.Logger, database *gorm.DB)
- func ListConnections(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func PatchConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func PostConnections(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
- func TestConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteConnection ¶ added in v0.12.0
func DeleteConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
DELETE /plugins/jenkins/connections/connectionId
func GetConnection ¶
func GetConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/jenkins/connections/connectionId
func ListConnections ¶
func ListConnections(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/jenkins/connections
func PatchConnection ¶
func PatchConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
func PostConnections ¶ added in v0.12.0
func PostConnections(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
POST /plugins/jenkins/connections
{ "name": "jenkins data connection name", "endpoint": "jenkins api endpoint, i.e. https://ci.jenkins.io/", "username": "username, usually should be email address", "password": "jenkins api access token" }
func TestConnection ¶
func TestConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.