controllers

package
v0.0.0-...-afae8cf Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CAPI_SYSTEM_NAMESPACE       = "capi-system"
	CLAIM_API_GROUP             = "claims.tmax.io"
	CLUSTER_API_GROUP           = "cluster.tmax.io"
	CLAIM_API_Kind              = "clusterclaims"
	CLAIM_API_GROUP_VERSION     = "claims.tmax.io/v1alpha1"
	HYPERCLOUD_SYSTEM_NAMESPACE = ""
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterManagerReconciler

type ClusterManagerReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

ClusterManagerReconciler reconciles a ClusterManager object

func (*ClusterManagerReconciler) CreateClusterMnagerOwnerRole

func (r *ClusterManagerReconciler) CreateClusterMnagerOwnerRole(clusterManager *clusterv1alpha1.ClusterManager) error

func (*ClusterManagerReconciler) CreateServiceInstance

func (r *ClusterManagerReconciler) CreateServiceInstance(clusterManager *clusterv1alpha1.ClusterManager) error

func (*ClusterManagerReconciler) Reconcile

func (r *ClusterManagerReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*ClusterManagerReconciler) SetupWithManager

func (r *ClusterManagerReconciler) SetupWithManager(mgr ctrl.Manager) error

type ClusterParameter

type ClusterParameter struct {
	ClusterName       string
	AWSRegion         string
	SshKey            string
	MasterNum         int
	MasterType        string
	WorkerNum         int
	WorkerType        string
	Owner             string
	KubernetesVersion string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL