Documentation
¶
Index ¶
- Constants
- func GetFrontProxyCertificateName(r *operatorv1alpha1.RootShard, f *operatorv1alpha1.FrontProxy, ...) string
- func GetFrontProxyConfigName(f *operatorv1alpha1.FrontProxy) string
- func GetFrontProxyDeploymentName(f *operatorv1alpha1.FrontProxy) string
- func GetFrontProxyDynamicKubeconfigName(r *operatorv1alpha1.RootShard, f *operatorv1alpha1.FrontProxy) string
- func GetFrontProxyResourceLabels(f *operatorv1alpha1.FrontProxy) map[string]string
- func GetFrontProxyServiceName(f *operatorv1alpha1.FrontProxy) string
- func GetImageSettings(imageSpec *operatorv1alpha1.ImageSpec) (string, []corev1.LocalObjectReference)
- func GetRootShardBaseHost(r *operatorv1alpha1.RootShard) string
- func GetRootShardBaseURL(r *operatorv1alpha1.RootShard) string
- func GetRootShardCAName(r *operatorv1alpha1.RootShard, caName operatorv1alpha1.CA) string
- func GetRootShardCertificateName(r *operatorv1alpha1.RootShard, certName operatorv1alpha1.Certificate) string
- func GetRootShardDeploymentName(r *operatorv1alpha1.RootShard) string
- func GetRootShardProxyCertificateName(r *operatorv1alpha1.RootShard, certName operatorv1alpha1.Certificate) string
- func GetRootShardProxyConfigName(r *operatorv1alpha1.RootShard) string
- func GetRootShardProxyDeploymentName(r *operatorv1alpha1.RootShard) string
- func GetRootShardProxyDynamicKubeconfigName(r *operatorv1alpha1.RootShard) string
- func GetRootShardProxyResourceLabels(r *operatorv1alpha1.RootShard) map[string]string
- func GetRootShardProxyServiceName(r *operatorv1alpha1.RootShard) string
- func GetRootShardResourceLabels(r *operatorv1alpha1.RootShard) map[string]string
- func GetRootShardServiceName(r *operatorv1alpha1.RootShard) string
- func GetShardBaseHost(s *operatorv1alpha1.Shard) string
- func GetShardBaseURL(s *operatorv1alpha1.Shard) string
- func GetShardCertificateName(s *operatorv1alpha1.Shard, certName operatorv1alpha1.Certificate) string
- func GetShardDeploymentName(s *operatorv1alpha1.Shard) string
- func GetShardResourceLabels(s *operatorv1alpha1.Shard) map[string]string
- func GetShardServiceName(s *operatorv1alpha1.Shard) string
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 GetFrontProxyCertificateName ¶
func GetFrontProxyCertificateName(r *operatorv1alpha1.RootShard, f *operatorv1alpha1.FrontProxy, certName operatorv1alpha1.Certificate) string
func GetFrontProxyConfigName ¶
func GetFrontProxyConfigName(f *operatorv1alpha1.FrontProxy) string
func GetFrontProxyDeploymentName ¶
func GetFrontProxyDeploymentName(f *operatorv1alpha1.FrontProxy) string
func GetFrontProxyDynamicKubeconfigName ¶
func GetFrontProxyDynamicKubeconfigName(r *operatorv1alpha1.RootShard, 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.
Click to show internal directories.
Click to hide internal directories.