service

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAddresses added in v0.7.0

func ParseAddresses(clientset kubernetes.Interface, namespace string) ([]string, error)

ParseAddresses parses the whitelist IP address from Namespace's annotation

Types

type Controller added in v0.7.0

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

Controller represents the controller of service

func NewController

func NewController(
	cfg *config.Config,
	clientset kubernetes.Interface,
	blendedset blended.Interface,
	informer informerv1.ServiceInformer) *Controller

NewController creates an instance of the service controller

func (*Controller) Run added in v0.7.0

func (c *Controller) Run(ctx context.Context, threadiness int) error

Run serves the service controller

func (*Controller) Stop added in v0.7.0

func (c *Controller) Stop()

Stop stops the service controller

Jump to

Keyboard shortcuts

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