Documentation
¶
Overview ¶
Package server wires the marketplace virtual workspace binary together: the directory, the producer that fills it, and a virtual-workspace root apiserver serving the catalog read-only at /services/marketplace behind kcp's front-proxy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// SecureServing configures TLS serving.
SecureServing *genericoptions.SecureServingOptions
// Authentication identifies callers the same way the other virtual
// workspaces do — JWT, forwarded request-header identity, client
// certificates.
Authentication *accessserver.Authentication
// Authorization is the virtual-workspace-framework authorizer setup.
Authorization *vwoptions.Authorization
// Kubeconfig is the path to the kubeconfig for the target kcp.
Kubeconfig string
// CatalogSlice and PublishSlice feed the directory.
CatalogSlice string
PublishSlice string
// WorkspacePath retargets the kubeconfig to the workspace holding the
// endpoint slices. Empty means use the kubeconfig as-is.
WorkspacePath string
}
Options configures the marketplace virtual workspace server.
func NewOptions ¶
func NewOptions() *Options
NewOptions returns options with defaults suitable for running behind kcp's front-proxy.
Click to show internal directories.
Click to hide internal directories.