Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvAccessorCtor ¶
func EnvAccessorCtor() pkgadapter.EnvConfigAccessor
EnvAccessorCtor for configuration parameters
func NewTarget ¶
func NewTarget(ctx context.Context, envAcc pkgadapter.EnvConfigAccessor, ceClient cloudevents.Client) pkgadapter.Adapter
NewTarget returns the adapter implementation.
Types ¶
type AuthResponseData ¶
type AuthResponseData struct {
AccessToken string `json:"access_token"`
Error string `json:"error"`
}
AuthResponseData describes a set of data expected at the response of an Auth token request.
type JobInfo ¶
type JobInfo struct {
// contains filtered or unexported fields
}
JobInfo describes a set of data required to start a job.
type ProcessResponseData ¶
type ProcessResponseData struct {
Count int `json:"@odata.count"`
Value []struct {
Key string `json:"Key"`
} `json:"value"`
}
ProcessResponseData describes a set of data expected at the response of a "Process" or "Release" key.
type QueueItemData ¶
type QueueItemData struct {
Name string `json:"Name"`
Priority string `json:"Priority"`
SpecificContent map[string]string `json:"SpecificContent"`
}
QueueItemData represents the nested data expected in a QueuePostData struct.
type QueuePostData ¶
type QueuePostData struct {
QueueItemData `json:"itemData"`
}
QueuePostData represents queue data to be posted.
type RobotResponseData ¶
type RobotResponseData struct {
Count int `json:"@odata.count"`
Value []struct {
ID int `json:"Id"`
} `json:"value"`
}
RobotResponseData represents expected response data from robot calls.
type StartJobData ¶
type StartJobData struct {
InputArguments string `json:"InputArguments"`
}
StartJobData represents the expected payload to be provided to the adapter.
Click to show internal directories.
Click to hide internal directories.