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.
Click to show internal directories.
Click to hide internal directories.