controller

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

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

func GetInstanceIDFromProviderID(providerID string) (*string, error)

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

Jump to

Keyboard shortcuts

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