worker

package
v1.24.5 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 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.Provider
	Agentscli *agents.ClientSet
	Logger    logr.Logger
}

type Options

type Options struct {
	Listen   string                      `json:"listen,omitempty"`
	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