workspace

package
v0.12.78 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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFactory

type ClientFactory interface {
	New(ctx context.Context, accountPath string) (client.Client, error)
}

ClientFactory creates a client for a specific KCP workspace

type KCPClient

type KCPClient struct {
	// contains filtered or unexported fields
}

KCPClient implements ClientFactory for KCP workspaces

func NewClientFactory

func NewClientFactory(mgr mcmanager.Manager) *KCPClient

NewClientFactory creates a new workspace client factory

func (*KCPClient) New

func (f *KCPClient) New(ctx context.Context, accountPath string) (client.Client, error)

New creates a new client for the specified workspace path

Jump to

Keyboard shortcuts

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