ddc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEngine

func CreateEngine(id string, ctx cruntime.ReconcileRequestContext) (engine base.Engine, err error)

CreateEngine chooses one engine implementation according to `ctx.EngineImpl` and builds a concrete engine.

func GenerateEngineID added in v0.5.0

func GenerateEngineID(namespacedName types.NamespacedName) string

GenerateEngineID generates an Engine ID

func InferEngineImpl added in v1.0.0

func InferEngineImpl(runtimeStatus fluidv1alpha1.RuntimeStatus, defaultImpl string) string

InferEngineImpl infers which engineImpl should be use for a given runtime. For a new runtime which has not been set up, returns the default engineImpl. NOTE: for backward compatibility, the func checks runtimeStatus.ValueFileConfigmap to identify the engine implementation for a running Runtime. TODO: This could change in the future by checking runtimeStatus.engineImpl instead.

Types

This section is empty.

Directories

Path Synopsis
mock
Package base is a generated GoMock package.
Package base is a generated GoMock package.
efc

Jump to

Keyboard shortcuts

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