connector

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceEndpoints

type ServiceEndpoints struct {
	// HTTPRouteURI ...
	HTTPRouteURI string
	// HTTPRouteEnv name of the environment variable that will hold the HTTP URI
	HTTPRouteEnv string
	// WSRouteURI ...
	WSRouteURI string
	// WSRouteEnv name of the environment variable that will hold the HTTP URI
	WSRouteEnv string
}

ServiceEndpoints represents the endpoints for a deployed Kogito Data Index service

func (*ServiceEndpoints) IsEmpty

func (s *ServiceEndpoints) IsEmpty() bool

IsEmpty returns true if route URIs are empty

func (*ServiceEndpoints) String

func (s *ServiceEndpoints) String() string

type URLHandler

type URLHandler interface {
	InjectDataIndexURLIntoKogitoRuntimeServices(namespace string) error
	InjectDataIndexURLIntoDeployment(namespace string, deployment *appsv1.Deployment) error
	InjectDataIndexURLIntoSupportingService(namespace string, serviceTypes ...api.ServiceType) error
	InjectJobsServicesURLIntoKogitoRuntimeServices(namespace string) error
	InjectJobsServiceURLIntoKogitoRuntimeDeployment(namespace string, deployment *appsv1.Deployment) error
	InjectTrustyURLIntoKogitoRuntimeServices(namespace string) error
	InjectTrustyURLIntoDeployment(namespace string, deployment *appsv1.Deployment) error
}

URLHandler ...

func NewURLHandler

func NewURLHandler(context operator.Context, runtimeHandler manager.KogitoRuntimeHandler, supportingServiceHandler manager.KogitoSupportingServiceHandler) URLHandler

NewURLHandler ...

Jump to

Keyboard shortcuts

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