Documentation
¶
Index ¶
- Constants
- type AwsParameter
- type ClusterManagerReconciler
- func (r *ClusterManagerReconciler) CreateProxyConfiguration(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)
- func (r *ClusterManagerReconciler) CreateServiceInstance(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)
- func (r *ClusterManagerReconciler) DeployAndUpdateAgentEndpoint(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)
- func (r *ClusterManagerReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *ClusterManagerReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *ClusterManagerReconciler) UpdateClusterManagerStatus(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)
- type ClusterRegistrationReconciler
- func (r *ClusterRegistrationReconciler) CheckClusterNameDuplication(ctx context.Context, ClusterRegistration *clusterv1alpha1.ClusterRegistration) (ctrl.Result, error)
- func (r *ClusterRegistrationReconciler) CreateClusterManager(ctx context.Context, ClusterRegistration *clusterv1alpha1.ClusterRegistration) (ctrl.Result, error)
- func (r *ClusterRegistrationReconciler) CreateKubeconfigSecret(ctx context.Context, ClusterRegistration *clusterv1alpha1.ClusterRegistration) (ctrl.Result, error)
- func (r *ClusterRegistrationReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *ClusterRegistrationReconciler) SetupWithManager(mgr ctrl.Manager) error
- type VsphereParameter
Constants ¶
View Source
const ( CAPI_SYSTEM_NAMESPACE = "capi-system" CLAIM_API_GROUP = "claim.tmax.io" CLUSTER_API_GROUP = "cluster.tmax.io" CLAIM_API_Kind = "clusterclaims" CLAIM_API_GROUP_VERSION = "claim.tmax.io/v1alpha1" HYPERCLOUD_SYSTEM_NAMESPACE = "" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsParameter ¶
type ClusterManagerReconciler ¶
ClusterManagerReconciler reconciles a ClusterManager object
func (*ClusterManagerReconciler) CreateProxyConfiguration ¶
func (r *ClusterManagerReconciler) CreateProxyConfiguration(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)
func (*ClusterManagerReconciler) CreateServiceInstance ¶
func (r *ClusterManagerReconciler) CreateServiceInstance(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)
func (*ClusterManagerReconciler) DeployAndUpdateAgentEndpoint ¶
func (r *ClusterManagerReconciler) DeployAndUpdateAgentEndpoint(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)
func (*ClusterManagerReconciler) SetupWithManager ¶
func (r *ClusterManagerReconciler) SetupWithManager(mgr ctrl.Manager) error
func (*ClusterManagerReconciler) UpdateClusterManagerStatus ¶
func (r *ClusterManagerReconciler) UpdateClusterManagerStatus(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)
type ClusterRegistrationReconciler ¶
ClusterRegistrationReconciler reconciles a ClusterRegistration object
func (*ClusterRegistrationReconciler) CheckClusterNameDuplication ¶
func (r *ClusterRegistrationReconciler) CheckClusterNameDuplication(ctx context.Context, ClusterRegistration *clusterv1alpha1.ClusterRegistration) (ctrl.Result, error)
func (*ClusterRegistrationReconciler) CreateClusterManager ¶
func (r *ClusterRegistrationReconciler) CreateClusterManager(ctx context.Context, ClusterRegistration *clusterv1alpha1.ClusterRegistration) (ctrl.Result, error)
func (*ClusterRegistrationReconciler) CreateKubeconfigSecret ¶
func (r *ClusterRegistrationReconciler) CreateKubeconfigSecret(ctx context.Context, ClusterRegistration *clusterv1alpha1.ClusterRegistration) (ctrl.Result, error)
func (*ClusterRegistrationReconciler) SetupWithManager ¶
func (r *ClusterRegistrationReconciler) SetupWithManager(mgr ctrl.Manager) error
type VsphereParameter ¶
type VsphereParameter struct {
Namespace string
ClusterName string
MasterNum int
WorkerNum int
Owner string
KubernetesVersion string
PodCidr string
VcenterIp string
VcenterId string
VcenterPassword string
VcenterThumbprint string
VcenterNetwork string
VcenterDataCenter string
VcenterDataStore string
VcenterFolder string
VcenterResourcePool string
VcenterKcpIp string
VcenterCpuNum int
VcenterMemSize int
VcenterDiskSize int
VcenterTemplate string
}
Click to show internal directories.
Click to hide internal directories.