handler

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT-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 Handler

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

func NewHandler

func NewHandler(channelSize int32, vpcid string, region string, clusterName string, client *kubernetes.Clientset) (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