Documentation ¶
Index ¶
Constants ¶
View Source
const ( DeploymentCreateReason = "MemcachedProxyDeploymentCreated" FailedDeploymentCreateReason = "MemcachedProxyDeploymentCreateError" DeleteDeploymentReason = "MemcachedProxyDeploymentDelete" )
Variables ¶
View Source
var (
KeyFunc = cache.DeletionHandlingMetaNamespaceKeyFunc
)
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
Click to show internal directories.
Click to hide internal directories.