Skip to content

Commit

Permalink
reconciler/tenancy/workspacetype: rename clusterworkspacetype to work…
Browse files Browse the repository at this point in the history
…spacetype
  • Loading branch information
p0lyn0mial authored and sttts committed Jan 27, 2023
1 parent d1e28e2 commit 56ad664
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const (
ControllerName = "kcp-workspacetype"
)

// NewController returns a new controller for APIExports.
// NewController returns a new controller for WorkspaceTypes.
func NewController(
kcpClusterClient kcpclientset.ClusterInterface,
workspaceTypeInformer tenancyinformers.WorkspaceTypeClusterInformer,
Expand Down Expand Up @@ -114,7 +114,7 @@ type Patcher = tenancyv1alpha1client.WorkspaceTypeInterface
type Resource = committer.Resource[*WorkspaceTypeSpec, *WorkspaceTypeStatus]
type CommitFunc = func(context.Context, *Resource, *Resource) error

// controller reconciles APIExports. It ensures an export's identity secret exists and is valid.
// controller reconciles WorkspaceTypes. It ensures a WorkspaceType has assigned a virtual workspace URL address.
type controller struct {
queue workqueue.RateLimitingInterface

Expand Down

0 comments on commit 56ad664

Please sign in to comment.