worker

package
v1.23.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, options *Options) error

Types

type Dependencies

type Dependencies struct {
	Redis     *redis.Client
	Databse   *database.Database
	Argocli   *argo.Client
	Git       *git.SimpleLocalProvider
	Agentscli *agents.ClientSet
	Logger    logr.Logger
}

type Options

type Options struct {
	AppStore *helm.Options               `json:"appStore,omitempty"`
	Argo     *argo.Options               `json:"argo,omitempty"`
	Dump     *dump.DumpOptions           `json:"dump,omitempty"`
	Exporter *prometheus.ExporterOptions `json:"exporter,omitempty"`
	Git      *git.Options                `json:"git,omitempty"`
	LogLevel string                      `json:"logLevel,omitempty"`
	Mysql    *database.Options           `json:"mysql,omitempty"`
	Redis    *redis.Options              `json:"redis,omitempty"`
}

func DefaultOptions

func DefaultOptions() *Options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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