handler

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: MIT-0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	ChannelSize    int32
	EC2Service     *service.EC2Service
	ShiedService   *service.ShiedService
	ProcessChannel []chan event
	EipStatusMap   []map[string]event
}

func NewHandler

func NewHandler(channelSize int32, vpcid string, region string, clusterName string) (handler *Handler, err error)

func (*Handler) HandleEvent

func (h *Handler) HandleEvent(obj *unstructured.Unstructured, oldObj *unstructured.Unstructured, action string) (err error)

Jump to

Keyboard shortcuts

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