shared

package
v1.44.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultProtobufMountPath Default Proto Buf file path
	DefaultProtobufMountPath = operator.KogitoHomeDir + "/data/protobufs"
	// ConfigMapProtoBufEnabledLabelKey label key used by configMaps that are meant to hold protobuf files
	ConfigMapProtoBufEnabledLabelKey = "kogito-protobuf"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtoBufConfigMapHandler

type ProtoBufConfigMapHandler interface {
	CreateProtoBufConfigMap(runtimeInstance api.KogitoRuntimeInterface) (*corev1.ConfigMap, error)
	FetchProtoBufConfigMap(runtimeInstance api.KogitoRuntimeInterface) (*corev1.ConfigMap, error)
	FetchAllProtoBufConfigMaps(namespace string) ([]corev1.ConfigMap, error)
	CreateProtoBufConfigMapVolumeReference(protoBufConfigMapName string) api.VolumeReferenceInterface
}

ProtoBufConfigMapHandler ...

func NewProtoBufConfigMapHandler

func NewProtoBufConfigMapHandler(context operator.Context) ProtoBufConfigMapHandler

NewProtoBufConfigMapHandler ...

type ProtoBufConfigMapReconciler

type ProtoBufConfigMapReconciler interface {
	Reconcile() error
}

ProtoBufConfigMapReconciler ...

func NewProtoBufConfigMapReconciler

func NewProtoBufConfigMapReconciler(context operator.Context, instance api.KogitoRuntimeInterface) ProtoBufConfigMapReconciler

NewProtoBufConfigMapReconciler ...

type ProtoBufHandler

type ProtoBufHandler interface {
	MountProtoBufConfigMapOnDataIndex(runtimeInstance api.KogitoRuntimeInterface) (err error)
	MountAllProtoBufConfigMapOnDataIndexDeployment(deployment *appsv1.Deployment) (err error)
}

ProtoBufHandler ...

func NewProtoBufHandler

func NewProtoBufHandler(context operator.Context, supportingServiceHandler manager.KogitoSupportingServiceHandler) ProtoBufHandler

NewProtoBufHandler ...

Jump to

Keyboard shortcuts

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