events

package
v0.0.0-...-1b8f325 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Configuration structure.

func NewEvents

func NewEvents(opts ...func(*Config)) *Config

func (*Config) Disable

func (config *Config) Disable(ruleName *string) error

func (*Config) Enable

func (config *Config) Enable(ruleName *string) error

func (*Config) List

func (config *Config) List() (*eventbridge.ListRulesOutput, error)

type Option

type Option func(config *Config)

func SetLogger

func SetLogger(log *logrus.Logger) Option

func SetProfile

func SetProfile(profile string) Option

func SetRegion

func SetRegion(region string) Option

Jump to

Keyboard shortcuts

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