resource

package
v0.48.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCreateResourceInput

func GenerateCreateResourceInput(cr *svcapitypes.Resource) *svcsdk.CreateResourceInput

GenerateCreateResourceInput returns a create input.

func GenerateDeleteResourceInput

func GenerateDeleteResourceInput(cr *svcapitypes.Resource) *svcsdk.DeleteResourceInput

GenerateDeleteResourceInput returns a deletion input.

func GenerateGetResourceInput

func GenerateGetResourceInput(cr *svcapitypes.Resource) *svcsdk.GetResourceInput

GenerateGetResourceInput returns input for read operation.

func GenerateResource

func GenerateResource(resp *svcsdk.Resource) *svcapitypes.Resource

GenerateResource returns the current state in the form of *svcapitypes.Resource.

func GenerateUpdateResourceInput

func GenerateUpdateResourceInput(cr *svcapitypes.Resource) *svcsdk.UpdateResourceInput

GenerateUpdateResourceInput returns an update input.

func IsNotFound

func IsNotFound(err error) bool

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

func SetupResource

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

SetupResource adds a controller that reconciles Resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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