Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "kcp-logicalcluster"
)
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 workspace is scheduled to a valid Shard.
func NewController ¶
func NewController( shardExternalURL func() string, kcpClusterClient kcpclientset.ClusterInterface, logicalClusterInformer corev1alpha1informers.LogicalClusterClusterInformer, ) (*Controller, error)
Click to show internal directories.
Click to hide internal directories.