terminatingworkspaces

package
v0.29.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package terminatingworkspaces and its sub-packages provide the Terminating Workspace Virtual Workspace.

It allows for cross-cluster LIST + WATCH of LogicalClusters which:

  • are marked for deletion via a DeletionTimestamp
  • request termination by a specific controller

That is, a request for GET /services/terminatingworkspaces/<terminator>/clusters/*/apis/core.kcp.io/v1alpha1/logicalclusters will return a list of LogicalCluster objects which are Terminating and for which status.terminators contains the <terminator-name>. WATCH semantics are similar to (and implemented by) timestamp and terminators selectors - a LogicalCluster that stops matching the requirements to be served (not being marked for deletion, not requesting termination by the controller) will be removed from the stream with a synthetic Deleted event.

        __
_(\    |@@|

(__/\__ \--/ __

\___|----|  |   __
    \ }{ /\ )_ / _\
    /\__/\ \__O (__
   (--/\--)    \__/
   _)(  )(_
  `---''---`

Index

Constants

View Source
const VirtualWorkspaceName string = "terminatingworkspaces"

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL