Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ControllerName is the name of this controller.
ControllerName = "kcp-workspace-mounts"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watches Workspaces and dynamically discovered mount resources and reconciles them so workspace has right annotations.
func NewController ¶
func NewController( kcpClusterClient kcpclientset.ClusterInterface, dynamicClusterClient kcpdynamic.ClusterInterface, workspaceInformer tenancyv1alpha1informers.WorkspaceClusterInformer, discoveringDynamicSharedInformerFactory *informer.DiscoveringDynamicSharedInformerFactory, ) (*Controller, error)
NewController creates a new controller for generic mounts.
Click to show internal directories.
Click to hide internal directories.