thing

package
v0.40.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCreateThingInput

func GenerateCreateThingInput(cr *svcapitypes.Thing) *svcsdk.CreateThingInput

GenerateCreateThingInput returns a create input.

func GenerateDeleteThingInput

func GenerateDeleteThingInput(cr *svcapitypes.Thing) *svcsdk.DeleteThingInput

GenerateDeleteThingInput returns a deletion input.

func GenerateDescribeThingInput

func GenerateDescribeThingInput(cr *svcapitypes.Thing) *svcsdk.DescribeThingInput

GenerateDescribeThingInput returns input for read operation.

func GenerateThing

func GenerateThing(resp *svcsdk.DescribeThingOutput) *svcapitypes.Thing

GenerateThing returns the current state in the form of *svcapitypes.Thing.

func GenerateUpdateThingInput

func GenerateUpdateThingInput(cr *svcapitypes.Thing) *svcsdk.UpdateThingInput

GenerateUpdateThingInput returns an update input.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound returns whether the given error is of type NotFound or not.

func SetupThing

func SetupThing(mgr ctrl.Manager, o controller.Options) error

SetupThing adds a controller that reconciles Thing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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