manager

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KogitoBuildHandler

type KogitoBuildHandler interface {
	FetchKogitoBuildInstance(key types.NamespacedName) (api.KogitoBuildInterface, error)
}

KogitoBuildHandler ...

type KogitoInfraHandler

type KogitoInfraHandler interface {
	FetchKogitoInfraInstance(key types.NamespacedName) (api.KogitoInfraInterface, error)
}

KogitoInfraHandler ...

type KogitoInfraManager

type KogitoInfraManager interface {
	MustFetchKogitoInfraInstance(key types.NamespacedName) (api.KogitoInfraInterface, error)
	TakeKogitoInfraOwnership(key types.NamespacedName, owner resource.KubernetesResource) error
	RemoveKogitoInfraOwnership(key types.NamespacedName, owner resource.KubernetesResource) error
	IsKogitoInfraReady(key types.NamespacedName) (bool, error)
	GetKogitoInfraConditionReason(key types.NamespacedName) (api.KogitoInfraConditionReason, error)
}

KogitoInfraManager ...

func NewKogitoInfraManager

func NewKogitoInfraManager(context *operator.Context, infraHandler KogitoInfraHandler) KogitoInfraManager

NewKogitoInfraManager ...

type KogitoRuntimeHandler

type KogitoRuntimeHandler interface {
	FetchKogitoRuntimeInstance(key types.NamespacedName) (api.KogitoRuntimeInterface, error)
	FetchAllKogitoRuntimeInstances(namespace string) (api.KogitoRuntimeListInterface, error)
}

KogitoRuntimeHandler ...

type KogitoRuntimeManager

type KogitoRuntimeManager interface {
	FetchKogitoRuntimeDeployments(namespace string) ([]v1.Deployment, error)
}

KogitoRuntimeManager ...

func NewKogitoRuntimeManager

func NewKogitoRuntimeManager(context *operator.Context, runtimeHandler KogitoRuntimeHandler) KogitoRuntimeManager

NewKogitoRuntimeManager ...

type KogitoSupportingServiceHandler

type KogitoSupportingServiceHandler interface {
	FetchKogitoSupportingService(key types.NamespacedName) (api.KogitoSupportingServiceInterface, error)
	FetchKogitoSupportingServiceList(namespace string) (api.KogitoSupportingServiceListInterface, error)
}

KogitoSupportingServiceHandler ...

type KogitoSupportingServiceManager

type KogitoSupportingServiceManager interface {
	EnsureSingletonService(namespace string, resourceType api.ServiceType) error
	FetchKogitoSupportingServiceRoute(namespace string, serviceType api.ServiceType) (route string, err error)
	FetchKogitoSupportingServiceDeployment(namespace string, serviceType api.ServiceType) (*v1.Deployment, error)
}

KogitoSupportingServiceManager ...

func NewKogitoSupportingServiceManager

func NewKogitoSupportingServiceManager(context *operator.Context, supportingServiceHandler KogitoSupportingServiceHandler) KogitoSupportingServiceManager

NewKogitoSupportingServiceManager ...

Jump to

Keyboard shortcuts

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