automationutils

package
v2.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL