reconciler

package
v0.0.0-...-03a9efe Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponentReconciler

func NewComponentReconciler(o *Options, reconcilerName string, reconcilerMetricsSet *metrics.ReconcilerMetricsSet) (*service.ComponentReconciler, error)

Types

type Options

type Options struct {
	*cli.Options
	Workspace             string
	ServerConfig          *ServerConfig
	WorkerConfig          *WorkerConfig
	RetryConfig           *RetryConfig
	HeartbeatSenderConfig *RecurringTaskConfig
	ProgressTrackerConfig *RecurringTaskConfig
	DryRun                bool
}

func NewOptions

func NewOptions(o *cli.Options) *Options

func (*Options) Validate

func (o *Options) Validate() error

type RecurringTaskConfig

type RecurringTaskConfig struct {
	Interval time.Duration
	Timeout  time.Duration
}

type RetryConfig

type RetryConfig struct {
	MaxRetries int
	RetryDelay time.Duration
}

type ServerConfig

type ServerConfig struct {
	Port       int
	SSLCrtFile string
	SSLKeyFile string
}

type WorkerConfig

type WorkerConfig struct {
	Workers int
	Timeout time.Duration
}

Jump to

Keyboard shortcuts

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