regulator

package
v0.0.0-...-c1f61f0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package regulator defines the service main flow.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegulator

func NewRegulator(ctx context.Context, opts *RegulatorOptions) (*regulator, error)

Types

type RegulatorOptions

type RegulatorOptions struct {
	BPI        string
	CfID       string
	Hive       string
	Namespace  string
	UFS        string
	Swarming   string
	Zone       string
	BotConfigs string
	CfIDHives  string
}

RegulatorOptions refers to the flag options needed to create a new regulator struct.

func (*RegulatorOptions) RegisterFlags

func (r *RegulatorOptions) RegisterFlags(fs *flag.FlagSet)

RegisterFlags exposes the command line flags required to run the application. We never check for flag emptiness so all options must have defaults.

Jump to

Keyboard shortcuts

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