Documentation ¶
Index ¶
Constants ¶
View Source
const (
SrcDstCheckDisabledAnnotation = "kubernetes-ec2-srcdst-controller.ottoyiu.com/srcdst-check-disabled" // used as the Node Annotation key
)
Variables ¶
This section is empty.
Functions ¶
func GetInstanceIDFromProviderID ¶
GetInstanceIDFromProviderID will only retrieve the InstanceID from AWS
Types ¶
type Controller ¶
type Controller struct { Controller cache.Controller // contains filtered or unexported fields }
func NewSrcDstController ¶
func NewSrcDstController(client kubernetes.Interface, ec2Client *ec2.EC2) *Controller
NewSrcDstController creates a new Kubernetes controller using client-go's Informer
Click to show internal directories.
Click to hide internal directories.