Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientResourceTypeFromConfigType ¶
func ClientResourceTypeFromConfigType(resource config.AutomationResource) (automationAPI.ResourceType, error)
Types ¶
type Response ¶ added in v2.8.1
type Response struct { // ID is the identifier that will be used when creating a new automation object ID string `json:"id"` // Data is the whole body of an automation object Data []byte `json:"-"` }
Response is a "general" Response type holding the ID and the response payload
func DecodeListResponse ¶ added in v2.8.1
func DecodeListResponse(r automation.ListResponse) ([]Response, error)
func DecodeResponse ¶ added in v2.8.1
func DecodeResponse(r automation.Response) (Response, error)
Click to show internal directories.
Click to hide internal directories.