slinky

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "slinky"

Variables

This section is empty.

Functions

func Loader

func Loader(ctx context.Context, params engines.Config) (engines.Engine, error)

func NamedLoader

func NamedLoader() (string, engines.Loader)

Types

type Params

type Params struct {
	slurm.BaseParams `mapstructure:",squash"`
	Namespace        string               `mapstructure:"namespace"`
	LabelSelector    metav1.LabelSelector `mapstructure:"podSelector"`
	ConfigPath       string               `mapstructure:"topologyConfigPath"`
	ConfigMapName    string               `mapstructure:"topologyConfigmapName"`
	// contains filtered or unexported fields
}

type SlinkyEngine

type SlinkyEngine struct {
	// contains filtered or unexported fields
}

func New

func New(params engines.Config) (*SlinkyEngine, error)

func (*SlinkyEngine) GenerateOutput

func (eng *SlinkyEngine) GenerateOutput(ctx context.Context, root *topology.Vertex, _ map[string]any) ([]byte, error)

func (*SlinkyEngine) GetComputeInstances

func (eng *SlinkyEngine) GetComputeInstances(ctx context.Context, _ engines.Environment) ([]topology.ComputeInstances, error)

func (*SlinkyEngine) UpdateTopologyConfigmap

func (eng *SlinkyEngine) UpdateTopologyConfigmap(ctx context.Context, name, namespace string, data map[string]string) error

Jump to

Keyboard shortcuts

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