gcprotaterandom

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reactor

type Reactor struct {
	Log *zap.Logger
	// contains filtered or unexported fields
}

func New

func New() *Reactor

func (*Reactor) GetConfigExample

func (v *Reactor) GetConfigExample() string

func (*Reactor) GetDescription

func (v *Reactor) GetDescription() string

func (*Reactor) GetHelp

func (v *Reactor) GetHelp() string

func (*Reactor) GetName

func (v *Reactor) GetName() string

func (*Reactor) GetProperties

func (v *Reactor) GetProperties() []config.ReactorConfigProperty

func (*Reactor) GetReactorConfig

func (v *Reactor) GetReactorConfig(ctx context.Context, data *message.EventData, log *zap.Logger) (*ReactorConfig, error)

func (*Reactor) GetRequiredPropertyNames

func (v *Reactor) GetRequiredPropertyNames() []string

func (*Reactor) ProcessEvent

func (v *Reactor) ProcessEvent(ctx context.Context, data *message.EventData) error

func (*Reactor) SetLogger

func (v *Reactor) SetLogger(logger *zap.Logger)

func (*Reactor) SetReactor

func (v *Reactor) SetReactor(reactor config.ReactorConfig)

type ReactorConfig

type ReactorConfig struct {
	PasswordLength      int
	UseLowerCase        bool
	UseUpperCase        bool
	UseSpecial          bool
	UseNumbers          bool
	SpecialCharOverride string
	GcpProject          string
	GcpSecretName       string
}

Jump to

Keyboard shortcuts

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