kogitoinfra

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// QuarkusKafkaBootstrapAppProp quarkus application property for setting kafka server
	QuarkusKafkaBootstrapAppProp = "kafka.bootstrap.servers"
)

Variables

This section is empty.

Functions

func AppendConfigMapWatchedObjects added in v1.12.0

func AppendConfigMapWatchedObjects(b *builder.Builder) *builder.Builder

AppendConfigMapWatchedObjects ...

func AppendInfinispanWatchedObjects

func AppendInfinispanWatchedObjects(b *builder.Builder) *builder.Builder

AppendInfinispanWatchedObjects ...

func AppendKafkaWatchedObjects

func AppendKafkaWatchedObjects(b *builder.Builder) *builder.Builder

AppendKafkaWatchedObjects ...

func AppendKeycloakWatchedObjects

func AppendKeycloakWatchedObjects(b *builder.Builder) *builder.Builder

AppendKeycloakWatchedObjects ...

func AppendMongoDBWatchedObjects

func AppendMongoDBWatchedObjects(b *builder.Builder) *builder.Builder

AppendMongoDBWatchedObjects ...

func AppendSecretWatchedObjects added in v1.12.0

func AppendSecretWatchedObjects(b *builder.Builder) *builder.Builder

AppendSecretWatchedObjects ...

func GetKafkaConfigMapName added in v1.12.0

func GetKafkaConfigMapName(runtime api.RuntimeType) string

GetKafkaConfigMapName ...

Types

type MongoDBCredential

type MongoDBCredential struct {
	AuthDatabase string `yaml:"auth-database"`
	Username     string `yaml:"username"`
	Password     string `yaml:"password"`
	Database     string `yaml:"database"`
}

MongoDBCredential holds the credentials information of a user into an mongoDB server

type Reconciler

type Reconciler interface {
	Reconcile() error
}

Reconciler Interface to represent type of supported kogito infra reconciliation algorithm for resources like Infinispan, kafka & keycloak

type ReconcilerHandler

type ReconcilerHandler interface {
	GetInfraReconciler(instance api.KogitoInfraInterface) (Reconciler, error)
	GetConfigMapReferenceReconciler(instance api.KogitoInfraInterface) Reconciler
	GetSecretReferenceReconciler(instance api.KogitoInfraInterface) Reconciler
	GetInfraPropertiesReconciler(instance api.KogitoInfraInterface) Reconciler
	GetReconcileResultFor(err error, requeue bool) (reconcile.Result, error)
}

ReconcilerHandler ...

func NewReconcilerHandler

func NewReconcilerHandler(context operator.Context) ReconcilerHandler

NewReconcilerHandler ...

type StatusHandler

type StatusHandler interface {
	UpdateBaseStatus(instance api.KogitoInfraInterface, err *error)
}

StatusHandler ...

func NewStatusHandler

func NewStatusHandler(context operator.Context, infraHandler manager.KogitoInfraHandler) StatusHandler

NewStatusHandler ...

Jump to

Keyboard shortcuts

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