api

package
v0.50.6 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 23 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

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

GenerateGetApiInput returns input for read operation.

func GenerateUpdateApiInput

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