Documentation ¶
Index ¶
Constants ¶
View Source
const (
ControllerName = "kcp-clusterworkspaceshard"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller watches WorkspaceShards and Secrets in order to make sure every ClusterWorkspaceShard has its URL exposed when a valid kubeconfig is connected to it.
func NewController ¶
func NewController( rootKcpClient kcpclientset.ClusterInterface, clusterWorkspaceShardInformer tenancyinformers.ClusterWorkspaceShardClusterInformer, ) (*Controller, error)
Click to show internal directories.
Click to hide internal directories.