controller

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller is a Kubernetes controller that watches Node objects and disables AWS EC2 source/destination checks on the underlying EC2 instances' attached ENIs.

func NewSrcDstController

func NewSrcDstController(client kubernetes.Interface, ec2Client *ec2.EC2) *Controller

NewSrcDstController creates a new Kubernetes controller using client-go's Informer.

func (*Controller) RunUntil added in v0.3.0

func (c *Controller) RunUntil(stop <-chan struct{})

RunUntil sets this controller running, processing events observed via the Kubernetes API until the supplied channel is closed.

Jump to

Keyboard shortcuts

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