# Functions
No description provided by the author
No description provided by the author
IsInvalidClusterSecretError check if an error is an invalid cluster secret error.
IsInvalidManagedClusterError check if an error is an invalid managed cluster error.
No description provided by the author
NewClusterFromManagedCluster extract cluster from ocm managed cluster.
NewClusterFromSecret extract cluster from cluster secret.
NewClusterGatewayProxyRequestEscaper wrap the base http.Handler and escape the dryRun parameter.
No description provided by the author
NewEmptyCredentialTypeClusterSecretError create an invalid cluster secret error due to empty credential type.
NewEmptyEndpointClusterSecretError create an invalid cluster secret error due to empty endpoint.
NewInvalidManagedClusterError create an invalid managed cluster error.
NewLocalCluster return the local cluster.
NewVirtualClusterClient create a client for accessing cluster.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
Conversion between corev1.Secret and ClusterGateway: 1.
Conversion between corev1.Secret and ClusterGateway: 1.
ClusterBlankEndpoint identifies the endpoint of a cluster as blank (not available).
ClusterEndpointTypeClusterProxy prescribes requesting kube-apiserver through the konnectivity tunnel.
ClusterEndpointTypeConst prescribes requesting kube-apiserver via a fixed endpoint url.
ClusterLocalName name for the hub cluster.
CredentialTypeDynamic means that a credential will be issued before accessing the cluster.
CredentialTypeInternal identifies the cluster from internal kubevela system.
CredentialTypeOCMManagedCluster identifies the ocm cluster.
CredentialTypeServiceAccountToken means the cluster is accessible via ServiceAccountToken.
CredentialTypeX509Certificate means the cluster is accessible via X509 certificate and key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
AnnotationClusterAlias the annotation key for cluster alias.
No description provided by the author
No description provided by the author
LabelClusterControlPlane identifies whether the cluster is the control plane.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
ClusterGateway is an extension model for ManagedCluster which implements the Tier-II cluster model based on OCM's original abstraction of ManagedCluster.
ClusterGatewayList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
ClusterGatewayProxy is a subresource for ClusterGateway which allows user to proxy kubernetes resource requests to the managed cluster.
No description provided by the author
No description provided by the author
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
ClusterGatewaySpec defines the desired state of ClusterGateway.
ClusterGatewayStatus defines the observed state of ClusterGateway.
No description provided by the author
No description provided by the author
VirtualCluster is an extension model for cluster underlying secrets or OCM ManagedClusters +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
VirtualClusterList list for VirtualCluster +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
VirtualClusterSpec spec of cluster.
No description provided by the author
# Interfaces
VirtualClusterClient client for reading cluster information +kubebuilder:object:generate=false.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
+k8s:deepcopy-gen=false.
No description provided by the author
+k8s:deepcopy-gen=false.