automationutils

package
v2.26.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientResourceTypeFromConfigType

func ClientResourceTypeFromConfigType(resource config.AutomationResource) (automation.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 api.PagedListResponse) ([]Response, error)

func DecodeResponse added in v2.8.1

func DecodeResponse(r api.Response) (Response, error)

Jump to

Keyboard shortcuts

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