resources

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: Apache-2.0 Imports: 3 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 (
	ImageRepository = "ghcr.io/kcp-dev/kcp"
	ImageTag        = "v0.28.3"

	// 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"

	// 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 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 GetImageSettings

func GetImageSettings(imageSpec *operatorv1alpha1.ImageSpec) (string, []corev1.LocalObjectReference)

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 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 GetShardResourceLabels

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

func GetShardServiceName

func GetShardServiceName(s *operatorv1alpha1.Shard) 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