resources

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// FrontProxyCommonName is the CommonName used in the requestheader client certificate for a FrontProxy.
	FrontProxyCommonName = "kcp-front-proxy"

	// RootShardProxyCommonName is the CommonName used in the requestheader client certificate for a RootShard's built-in proxy.
	RootShardProxyCommonName = "kcp-root-shard-proxy"

	ImageRepository = "ghcr.io/kcp-dev/kcp"

	// ImageTag is the default tag to be used for any kcp component.
	//
	// When changing this to a new minor version, you must also update
	// the .prow.yaml accordingly and shift the jobs.
	ImageTag = "v0.32.0"

	// RootShardLabel is placed on Secrets created for Certificates so that
	// the Secrets can be more easily mapped to their RootShards.
	RootShardLabel        = "operator.kcp.io/rootshard"
	ShardLabel            = "operator.kcp.io/shard"
	FrontProxyLabel       = "operator.kcp.io/front-proxy"
	KubeconfigLabel       = "operator.kcp.io/kubeconfig"
	CacheServerLabel      = "operator.kcp.io/cache-server"
	VirtualWorkspaceLabel = "operator.kcp.io/virtual-workspace"

	// BundleAnnotation is placed on RootShard, Shard, or FrontProxy objects to trigger automatic Bundle creation
	BundleAnnotation = "operator.kcp.io/bundle"

	// BundleDesiredReplicasAnnotation is placed on deployments to store the desired replica count before scaling to 0 for bundling
	BundleDesiredReplicasAnnotation = "operator.kcp.io/bundle-desired-replicas"

	// OperatorUsername is the common name embedded in the operator's admin certificate
	// that is created for each RootShard. This name alone has no special meaning, as
	// the certificate also has system:masters as an organization, which is what ultimately
	// grants the operator its permissions.
	OperatorUsername = "system:kcp-operator"
)

Variables

This section is empty.

Functions

func GetBundleName added in v0.5.0

func GetBundleName(ownerName string) string

func GetCacheServerBaseHost added in v0.5.0

func GetCacheServerBaseHost(s *operatorv1alpha1.CacheServer) string

func GetCacheServerBaseURL added in v0.5.0

func GetCacheServerBaseURL(s *operatorv1alpha1.CacheServer) string

func GetCacheServerCAName added in v0.5.0

func GetCacheServerCAName(cacheServerName string, caName operatorv1alpha1.CA) string

func GetCacheServerCertificateName added in v0.5.0

func GetCacheServerCertificateName(s *operatorv1alpha1.CacheServer, certName operatorv1alpha1.Certificate) string

func GetCacheServerClientCertificateName added in v0.5.2

func GetCacheServerClientCertificateName(s *operatorv1alpha1.CacheServer) string

func GetCacheServerDeploymentName added in v0.5.0

func GetCacheServerDeploymentName(s *operatorv1alpha1.CacheServer) string

func GetCacheServerKubeconfigName added in v0.5.0

func GetCacheServerKubeconfigName(cacheServerName string) string

func GetCacheServerResourceLabels added in v0.5.0

func GetCacheServerResourceLabels(s *operatorv1alpha1.CacheServer) map[string]string

func GetCacheServerServiceName added in v0.5.0

func GetCacheServerServiceName(s *operatorv1alpha1.CacheServer) string

func GetFrontProxyConfigName

func GetFrontProxyConfigName(f *operatorv1alpha1.FrontProxy) string

func GetFrontProxyDeploymentName

func GetFrontProxyDeploymentName(f *operatorv1alpha1.FrontProxy) string

func GetFrontProxyResourceLabels

func GetFrontProxyResourceLabels(f *operatorv1alpha1.FrontProxy) map[string]string

func GetFrontProxyServiceName

func GetFrontProxyServiceName(f *operatorv1alpha1.FrontProxy) string

func GetMergedClientCAName added in v0.5.1

func GetMergedClientCAName(ownerName string) string

func GetRootShardBaseHost

func GetRootShardBaseHost(r *operatorv1alpha1.RootShard) string

func GetRootShardBaseURL

func GetRootShardBaseURL(r *operatorv1alpha1.RootShard) string

func GetRootShardCAName

func GetRootShardCAName(r *operatorv1alpha1.RootShard, caName operatorv1alpha1.CA) string

func GetRootShardCertificateName

func GetRootShardCertificateName(r *operatorv1alpha1.RootShard, certName operatorv1alpha1.Certificate) string

func GetRootShardDeploymentName

func GetRootShardDeploymentName(r *operatorv1alpha1.RootShard) string

func GetRootShardKubeconfigSecret added in v0.7.0

func GetRootShardKubeconfigSecret(r *operatorv1alpha1.RootShard, cert operatorv1alpha1.Certificate) string

func GetRootShardProxyCertificateName added in v0.2.0

func GetRootShardProxyCertificateName(r *operatorv1alpha1.RootShard, certName operatorv1alpha1.Certificate) string

func GetRootShardProxyConfigName added in v0.2.0

func GetRootShardProxyConfigName(r *operatorv1alpha1.RootShard) string

func GetRootShardProxyDeploymentName added in v0.2.0

func GetRootShardProxyDeploymentName(r *operatorv1alpha1.RootShard) string

func GetRootShardProxyDynamicKubeconfigName added in v0.2.0

func GetRootShardProxyDynamicKubeconfigName(r *operatorv1alpha1.RootShard) string

func GetRootShardProxyResourceLabels added in v0.2.0

func GetRootShardProxyResourceLabels(r *operatorv1alpha1.RootShard) map[string]string

func GetRootShardProxyServiceName added in v0.2.0

func GetRootShardProxyServiceName(r *operatorv1alpha1.RootShard) string

func GetRootShardResourceLabels

func GetRootShardResourceLabels(r *operatorv1alpha1.RootShard) map[string]string

func GetRootShardServiceName

func GetRootShardServiceName(r *operatorv1alpha1.RootShard) string

func GetShardBaseHost

func GetShardBaseHost(s *operatorv1alpha1.Shard) string

func GetShardBaseURL

func GetShardBaseURL(s *operatorv1alpha1.Shard) string

func GetShardCertificateName

func GetShardCertificateName(s *operatorv1alpha1.Shard, certName operatorv1alpha1.Certificate) string

func GetShardDeploymentName

func GetShardDeploymentName(s *operatorv1alpha1.Shard) string

func GetShardKubeconfigSecret added in v0.7.0

func GetShardKubeconfigSecret(shard *operatorv1alpha1.Shard, cert operatorv1alpha1.Certificate) string

func GetShardResourceLabels

func GetShardResourceLabels(s *operatorv1alpha1.Shard) map[string]string

func GetShardServiceName

func GetShardServiceName(s *operatorv1alpha1.Shard) string

func GetVirtualWorkspaceBaseHost added in v0.7.0

func GetVirtualWorkspaceBaseHost(s *operatorv1alpha1.VirtualWorkspace) string

func GetVirtualWorkspaceBaseURL added in v0.7.0

func GetVirtualWorkspaceBaseURL(s *operatorv1alpha1.VirtualWorkspace) string

func GetVirtualWorkspaceCertificateName added in v0.7.0

func GetVirtualWorkspaceCertificateName(vw *operatorv1alpha1.VirtualWorkspace, certName operatorv1alpha1.Certificate) string

func GetVirtualWorkspaceDeploymentName added in v0.7.0

func GetVirtualWorkspaceDeploymentName(vw *operatorv1alpha1.VirtualWorkspace) string

func GetVirtualWorkspaceResourceLabels added in v0.7.0

func GetVirtualWorkspaceResourceLabels(vw *operatorv1alpha1.VirtualWorkspace) map[string]string

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