Documentation ¶
Index ¶
- func DeleteConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
- func GetConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
- func Init(br core.BasicRes)
- func ListConnections(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
- func MakePipelinePlan(subtaskMetas []core.SubTaskMeta, connectionId uint64, ...) (core.PipelinePlan, errors.Error)
- func PatchConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
- func PostConnections(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
- func TestConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteConnection ¶
func DeleteConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
DELETE /plugins/Zentao/connections/:connectionId
func GetConnection ¶
func GetConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
TODO Please modify the folowing code to adapt to your plugin
GET /plugins/Zentao/connections/:connectionId
{ "name": "Zentao data connection name", "endpoint": "Zentao api endpoint, i.e. https://merico.atlassian.net/rest", "username": "username, usually should be email address", "password": "Zentao api access token" }
func ListConnections ¶
func ListConnections(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
GET /plugins/Zentao/connections
func MakePipelinePlan ¶
func MakePipelinePlan(subtaskMetas []core.SubTaskMeta, connectionId uint64, scope []*core.BlueprintScopeV100) (core.PipelinePlan, errors.Error)
func PatchConnection ¶
func PatchConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
TODO Please modify the folowing code to adapt to your plugin
PATCH /plugins/Zentao/connections/:connectionId
{ "name": "Zentao data connection name", "endpoint": "Zentao api endpoint, i.e. https://example.com", "username": "username, usually should be email address", "password": "Zentao api access token" }
func PostConnections ¶
func PostConnections(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
TODO Please modify the folowing code to adapt to your plugin
POST /plugins/Zentao/connections
{ "name": "Zentao data connection name", "endpoint": "Zentao api endpoint, i.e. https://example.com", "username": "username, usually should be email address", "password": "Zentao api access token" }
func TestConnection ¶
func TestConnection(input *core.ApiResourceInput) (*core.ApiResourceOutput, errors.Error)
TODO Please modify the following code to fit your needs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.