model

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 13 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

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

GenerateGetModelInput returns input for read operation.

func GenerateModel

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

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

func GenerateUpdateModelInput

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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