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 ¶
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
}
Click to show internal directories.
Click to hide internal directories.