proxydeployment

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 17 Imported by: 3

Documentation

Index

Constants

View Source
const (
	DeploymentCreateReason       = "MemcachedProxyDeploymentCreated"
	FailedDeploymentCreateReason = "MemcachedProxyDeploymentCreateError"
	DeleteDeploymentReason       = "MemcachedProxyDeploymentDelete"
)

Variables

Functions

This section is empty.

Types

type Controller

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

Controller represents a memcached proxy service controller which watches MemcachedProxy objects and creates associated Service objects.

func New

func New(
	name string,
	client clientset.Interface,
	ianlewisorgClient ianlewisorgclientset.Interface,
	proxyInformer cache.SharedIndexInformer,
	deploymentInformer cache.SharedIndexInformer,
	configmapInformer cache.SharedIndexInformer,
	recorder record.EventRecorder,
	logger *logging.Logger,
	workers int,
) *Controller

func (*Controller) Run

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

Jump to

Keyboard shortcuts

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