model

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCreateModelInput

func GenerateCreateModelInput(cr *svcapitypes.Model) *svcsdk.CreateModelInput

GenerateCreateModelInput returns a create input.

func GenerateDeleteModelInput

func GenerateDeleteModelInput(cr *svcapitypes.Model) *svcsdk.DeleteModelInput

GenerateDeleteModelInput returns a deletion input.

func GenerateGetModelInput added in v0.16.0

func GenerateGetModelInput(cr *svcapitypes.Model) *svcsdk.GetModelInput

GenerateGetModelInput returns input for read operation.

func GenerateModel

func GenerateModel(resp *svcsdk.GetModelOutput) *svcapitypes.Model

GenerateModel returns the current state in the form of *svcapitypes.Model.

func GenerateUpdateModelInput added in v0.17.0

func GenerateUpdateModelInput(cr *svcapitypes.Model) *svcsdk.UpdateModelInput

GenerateUpdateModelInput returns an update input.

func IsNotFound

func IsNotFound(err error) bool

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

func SetupModel

func SetupModel(mgr ctrl.Manager, l logging.Logger, rl workqueue.RateLimiter) error

SetupModel adds a controller that reconciles Model.

Types

This section is empty.

Jump to

Keyboard shortcuts

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