Documentation
¶
Index ¶
- func BackendTrafficPolicies(rCtx Context) []*openchoreov1alpha1.Resource
- func Deployment(rCtx Context) *openchoreov1alpha1.Resource
- func HTTPRoutes(rCtx Context) []*openchoreov1alpha1.Resource
- func MergeError(err error) error
- func SecurityPolicies(rCtx Context) []*openchoreov1alpha1.Resource
- func Service(rCtx Context) *openchoreov1alpha1.Resource
- func UnsupportedWorkloadTypeError(workloadType openchoreov1alpha1.WorkloadType) error
- type Context
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 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
}
Click to show internal directories.
Click to hide internal directories.