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 ¶
func DeleteConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
DELETE /plugins/tapd/connections/:connectionId
func GetConnection ¶
func GetConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/tapd/connections/:connectionId
{ "name": "tapd data connections name", "endpoint": "tapd api endpoint, i.e. https://merico.atlassian.net/rest", "username": "username, usually should be email address", "password": "jenkins api access token", "rateLimit": 10800, }
func ListConnections ¶
func ListConnections(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
GET /plugins/tapd/connections
func PatchConnection ¶
func PatchConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
PATCH /plugins/tapd/connections/:connectionId
{ "name": "tapd data connections name", "endpoint": "tapd api endpoint, i.e. https://merico.atlassian.net/rest", "username": "username, usually should be email address", "password": "jenkins api access token", "rateLimit": 10800, }
func PostConnections ¶
func PostConnections(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
POST /plugins/tapd/connections
{ "name": "tapd data connections name", "endpoint": "tapd api endpoint, i.e. https://merico.atlassian.net/rest", "username": "username, usually should be email address", "password": "jenkins api access token", "rateLimit": 10800, }
func TestConnection ¶
func TestConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, error)
POST /plugins/tapd/test
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.