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: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackendTrafficPolicies

func BackendTrafficPolicies(rCtx Context) []*openchoreov1alpha1.Resource

BackendTrafficPolicies renders the BackendTrafficPolicy resources for the given ServiceBinding context.

func Deployment

func Deployment(rCtx Context) *openchoreov1alpha1.Resource

Deployment creates a complete Deployment resource for the new Resources array

func HTTPRoutes

func HTTPRoutes(rCtx Context) []*openchoreov1alpha1.Resource

HTTPRoutes renders the HTTPRoute resources for the given ServiceBinding context.

func MergeError

func MergeError(err error) error

func SecurityPolicies

func SecurityPolicies(rCtx Context) []*openchoreov1alpha1.Resource

SecurityPolicies renders the SecurityPolicy resources for the given ServiceBinding context.

func Service

func Service(rCtx Context) *openchoreov1alpha1.Resource

Service creates a complete Service resource for the new Resources array

func UnsupportedWorkloadTypeError

func UnsupportedWorkloadTypeError(workloadType openchoreov1alpha1.WorkloadType) error

Types

type Context

type Context struct {
	ServiceBinding      *openchoreov1alpha1.ServiceBinding
	ServiceClass        *openchoreov1alpha1.ServiceClass
	APIClasses          map[string]*openchoreov1alpha1.APIClass
	ResolvedConnections map[string]interface{}
	// 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