controller

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventReasonConfigEnqueued    = "ConfigEnqueued"
	EventReasonBindingConfigured = "BindingConfigured"
	EventReasonBindingDeleted    = "BindingDeleted"
	EventReasonBindingDuplicated = "BindingDuplicated"
	EventReasonBindingWarning    = "BindingWarning"
	EventReasonBindingError      = "BindingError"
	EventReasonUnknownGroup      = "UnknownGroup"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller manages all event handling and creation of rbacsync object.

Follows conventions put forth in https://github.com/kubernetes/sample-controller/blob/master/controller.go

func NewController

func NewController(
	kubeclient kubernetes.Interface,
	rbacsyncclient clientset.Interface,
	grouper groups.Grouper,
	pollPeriod time.Duration,
	rbacSyncConfigInformer informers.RBACSyncConfigInformer,
	clusterRBACSyncConfigInformer informers.ClusterRBACSyncConfigInformer,
	roleBindingInformer rbacv1informers.RoleBindingInformer,
	clusterRoleBindingInformer rbacv1informers.ClusterRoleBindingInformer,
) *Controller

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{}) error

Jump to

Keyboard shortcuts

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