modules

package
v0.0.0-...-3388463 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunJob

func RunJob(ctx context.Context, cancel context.CancelFunc, conf *FateJobConfig)

Types

type FateJobConfig

type FateJobConfig struct {
	TaskConfig     map[string]string
	ClusterAddress string
}

type Module

type Module interface {
	Run(ctx context.Context) error
	WaitReady(ctx context.Context) error
	Name() string
}

func NewJob

func NewJob(i *FateJobConfig) (Module, error)

Jump to

Keyboard shortcuts

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