api

package
v0.0.0-...-bb2f907 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CustomizationSchemaJson string = "json-schemas/customization.json"
View Source
var GenericK8sIntentSchemaJson string = "json-schemas/genericK8sIntent.json"
View Source
var ResourceSchemaJson string = "json-schemas/resource.json"

Functions

func HandleErrors

func HandleErrors(params map[string]string, err error, mod interface{}) apierror.APIError

HandleErrors exposes the generic action controller API errors

func NewRouter

func NewRouter(mockClient interface{}) *mux.Router

NewRouter returns the mux router after plugging in all the handlers

Types

This section is empty.

Jump to

Keyboard shortcuts

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