flux

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "Flux"

Variables

This section is empty.

Functions

Types

type Flux

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

func (*Flux) Build

func (f *Flux) Build(ctx context.Context, info *runtime.Info, trainJob *trainer.TrainJob) ([]apiruntime.ApplyConfiguration, error)

Build creates the extra config map (configuration) and curve secret for Flux.

func (*Flux) EnforceMLPolicy

func (f *Flux) EnforceMLPolicy(info *runtime.Info, trainJob *trainer.TrainJob) error

EnforceMLPolicy updates the JobSet

func (*Flux) Name

func (f *Flux) Name() string

func (*Flux) ReconcilerBuilders

func (f *Flux) ReconcilerBuilders() []runtime.ReconcilerBuilder

func (*Flux) Validate

func (f *Flux) Validate(_ context.Context, runtimeInfo *runtime.Info, _, newJobObj *trainer.TrainJob) (admission.Warnings, field.ErrorList)

Jump to

Keyboard shortcuts

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