terminatingworkspaces

package
v0.22.17 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	// Scheme is the scheme to use for the provider. If this is nil, it defaults
	// to the client-go scheme.
	Scheme *runtime.Scheme

	// Log is the logger to use for the provider. If this is nil, it defaults
	// to the controller-runtime default logger.
	Log *logr.Logger
}

Options are the options for creating a new instance of the terminating workspaces provider.

type Provider

type Provider struct {
	provider.Factory
}

Provider reconciles LogicalClusters that are in deletion and have a specific terminator. It is a slightly modified version of github.com/kcp-dev/multicluster-provider/initializingworkspaces.

func New

func New(cfg *rest.Config, workspaceTypeName string, options Options) (*Provider, error)

New creates a new kcp terminating workspaces provider.

Jump to

Keyboard shortcuts

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