api

package
v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAPI

func GenerateAPI(resp *svcsdk.GetApiOutput) *svcapitypes.API

GenerateAPI returns the current state in the form of *svcapitypes.API.

func GenerateCreateApiInput

func GenerateCreateApiInput(cr *svcapitypes.API) *svcsdk.CreateApiInput

GenerateCreateApiInput returns a create input.

func GenerateDeleteApiInput

func GenerateDeleteApiInput(cr *svcapitypes.API) *svcsdk.DeleteApiInput

GenerateDeleteApiInput returns a deletion input.

func GenerateGetApiInput added in v0.16.0

func GenerateGetApiInput(cr *svcapitypes.API) *svcsdk.GetApiInput

GenerateGetApiInput returns input for read operation.

func GenerateUpdateApiInput added in v0.17.0

func GenerateUpdateApiInput(cr *svcapitypes.API) *svcsdk.UpdateApiInput

GenerateUpdateApiInput returns an update input.

func IsNotFound

func IsNotFound(err error) bool

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

func SetupAPI

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

SetupAPI adds a controller that reconciles API.

Types

This section is empty.

Jump to

Keyboard shortcuts

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