Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "kcp-clusterworkspace"
)
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 WorkspaceShards in order to make sure every ClusterWorkspace is scheduled to a valid ClusterWorkspaceShard.
func NewController ¶
func NewController( kcpClusterClient kcpclientset.ClusterInterface, workspaceInformer tenancyv1alpha1informers.ClusterWorkspaceClusterInformer, clusterWorkspaceShardInformer tenancyv1alpha1informers.ClusterWorkspaceShardClusterInformer, apiBindingsInformer apisv1alpha1informers.APIBindingClusterInformer, ) (*Controller, error)
Click to show internal directories.
Click to hide internal directories.