function

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCreateFunctionInput

func GenerateCreateFunctionInput(cr *svcapitypes.Function) *svcsdk.CreateFunctionInput

GenerateCreateFunctionInput returns a create input.

func GenerateDeleteFunctionInput

func GenerateDeleteFunctionInput(cr *svcapitypes.Function) *svcsdk.DeleteFunctionInput

GenerateDeleteFunctionInput returns a deletion input.

func GenerateFunction

func GenerateFunction(resp *svcsdk.GetFunctionOutput) *svcapitypes.Function

GenerateFunction returns the current state in the form of *svcapitypes.Function.

func GenerateGetFunctionInput

func GenerateGetFunctionInput(cr *svcapitypes.Function) *svcsdk.GetFunctionInput

GenerateGetFunctionInput returns input for read operation.

func GenerateUpdateFunctionCodeInput

func GenerateUpdateFunctionCodeInput(cr *svcapitypes.Function) *svcsdk.UpdateFunctionCodeInput

GenerateUpdateFunctionCodeInput is similar to GenerateCreateFunctionConfigurationInput Copied almost verbatim from the zz_conversions generated code

func GenerateUpdateFunctionConfigurationInput

func GenerateUpdateFunctionConfigurationInput(cr *svcapitypes.Function) *svcsdk.UpdateFunctionConfigurationInput

GenerateUpdateFunctionConfigurationInput is similar to GenerateCreateFunctionConfigurationInput Copied almost verbatim from the zz_conversions generated code nolint:gocyclo

func IsNotFound

func IsNotFound(err error) bool

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

func LateInitialize

func LateInitialize(cr *svcapitypes.FunctionParameters, resp *svcsdk.GetFunctionOutput) error

LateInitialize fills the empty fields in *svcapitypes.FunctionParameters with the values seen in svcsdk.GetFunctionOutput.

func SetupFunction

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

SetupFunction adds a controller that reconciles Function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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