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
Click to show internal directories.
Click to hide internal directories.