restapi

package
v0.47.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCreateRestApiInput

func GenerateCreateRestApiInput(cr *svcapitypes.RestAPI) *svcsdk.CreateRestApiInput

GenerateCreateRestApiInput returns a create input.

func GenerateDeleteRestApiInput

func GenerateDeleteRestApiInput(cr *svcapitypes.RestAPI) *svcsdk.DeleteRestApiInput

GenerateDeleteRestApiInput returns a deletion input.

func GenerateGetRestApiInput

func GenerateGetRestApiInput(cr *svcapitypes.RestAPI) *svcsdk.GetRestApiInput

GenerateGetRestApiInput returns input for read operation.

func GenerateRestAPI

func GenerateRestAPI(resp *svcsdk.RestApi) *svcapitypes.RestAPI

GenerateRestAPI returns the current state in the form of *svcapitypes.RestAPI.

func GenerateUpdateRestApiInput

func GenerateUpdateRestApiInput(cr *svcapitypes.RestAPI) *svcsdk.UpdateRestApiInput

GenerateUpdateRestApiInput returns an update input.

func IsNotFound

func IsNotFound(err error) bool

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

func SetupRestAPI

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

SetupRestAPI adds a controller that reconciles RestAPI.

Types

This section is empty.

Jump to

Keyboard shortcuts

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