clusters

package
v4.0.0-...-4970bd5 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIndex

func GetIndex() int

func NewRunnerV2

func NewRunnerV2(data, mapper maps.Mapper, executor Executor, setting *Settings) *runners.Runner

Types

type Executor

type Executor func(p *ExecutorParameter) error

type ExecutorParameter

type ExecutorParameter struct {
	// Executor index, this always unique
	Index int

	// Name of the executor
	Name string

	// type of current executor
	Type string

	// whole configuration mapper
	Config maps.Mapper

	// generator data
	Data maps.Mapper

	// fs configuration
	VarConfig maps.Mapper

	// helper for logging message
	Logger *loggers.Logger
}

type Settings

type Settings struct {
	DefaultWithCluster bool
}

Jump to

Keyboard shortcuts

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