kcpctl

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

README

kcpctl

Experimental shim around kubectl and kcp plugins with some sugar. Basically embeds kcp functionality into the kubectl cobra tree.

Adds a global --workspace/-W flag to target a specific kcp workspace, supports relative paths. Adds completion work workspaces to both the workspace flag and the kcpctl workspace command.

"kubectl-native" Workspace and APIResourceSchema support:

kcpctl create workspace <name>
kcpctl create apiresourceschema --crd <crd.yaml>

The prefix for APIResourceSchema can be set explicitly and is otherwise a stable hash.

Otherwise embeds the kcp plugins:

kcpctl ws <path>
kcpctl ws tree
kcpctl bind apiexport <path>:<name>
kcpctl get apibinding <binding> --claims
kcpctl accept claims <binding> --resource ...
kcpctl reject claims <binding> --resource ...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cmd assembles the kcpctl command tree.
Package cmd assembles the kcpctl command tree.
pkg

Jump to

Keyboard shortcuts

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