render

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergePoliciesForExposeLevel

func MergePoliciesForExposeLevel(restPolicy *openchoreov1alpha1.RESTAPIPolicy, exposeLevel openchoreov1alpha1.RESTOperationExposeLevel) (*openchoreov1alpha1.RESTPolicy, error)

MergePoliciesForExposeLevel merges the default policies with the expose level specific policies Returns the final policy to be applied for the given expose level

func MissingAPIClassError

func MissingAPIClassError() error

MissingAPIClassError returns an error when API class is missing.

func MissingAPISpecError

func MissingAPISpecError() error

MissingAPISpecError returns an error when API specification is missing.

func UnsupportedAPITypeError

func UnsupportedAPITypeError(apiType string) error

UnsupportedAPITypeError returns an error for unsupported API types.

Types

type Context

type Context struct {
	APIBinding *openchoreov1alpha1.APIBinding
	APIClass   *openchoreov1alpha1.APIClass
	API        *openchoreov1alpha1.API
	// contains filtered or unexported fields
}

func (*Context) AddError

func (c *Context) AddError(err error)

func (*Context) Error

func (c *Context) Error() error

func (*Context) Errors

func (c *Context) Errors() []error

Jump to

Keyboard shortcuts

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