execution

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	CompositionName      string
	CompositionNamespace string
	SynthesisUUID        string
	SynthesisAttempt     int
}

func LoadEnv

func LoadEnv() *Env

type Executor

type Executor struct {
	Reader  client.Reader
	Writer  client.Client
	Handler SynthesizerHandle
}

func (*Executor) Synthesize

func (e *Executor) Synthesize(ctx context.Context, env *Env) error

type SynthesizerHandle

type SynthesizerHandle func(context.Context, *apiv1.Synthesizer, *krmv1.ResourceList) (*krmv1.ResourceList, error)

func NewExecHandler

func NewExecHandler() SynthesizerHandle

Jump to

Keyboard shortcuts

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