controllers

package
v0.5.0-b26f5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsParameter

type AwsParameter struct {
	SshKey     string
	Region     string
	MasterType string
	WorkerType string
}

type ClusterManagerReconciler

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

ClusterManagerReconciler reconciles a ClusterManager object

func (*ClusterManagerReconciler) CreateArgocdClusterSecret

func (r *ClusterManagerReconciler) CreateArgocdClusterSecret(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)

func (*ClusterManagerReconciler) CreateCertificate

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

func (*ClusterManagerReconciler) CreateEndpoint

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

func (*ClusterManagerReconciler) CreateIngress

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

func (*ClusterManagerReconciler) CreateMiddleware

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

func (*ClusterManagerReconciler) CreatePrometheusEndpoint

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

func (*ClusterManagerReconciler) CreatePrometheusService

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

func (*ClusterManagerReconciler) CreateService

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

func (*ClusterManagerReconciler) CreateServiceInstance

func (r *ClusterManagerReconciler) CreateServiceInstance(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)

func (*ClusterManagerReconciler) CreateTraefikResources

func (r *ClusterManagerReconciler) CreateTraefikResources(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)

func (*ClusterManagerReconciler) DeleteCertSecret

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

func (*ClusterManagerReconciler) DeleteCertificate

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

func (*ClusterManagerReconciler) DeleteEndpoint

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

func (*ClusterManagerReconciler) DeleteIngress

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

func (*ClusterManagerReconciler) DeleteMiddleware

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

func (*ClusterManagerReconciler) DeletePrometheusEndpoint

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

func (*ClusterManagerReconciler) DeletePrometheusService

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

func (*ClusterManagerReconciler) DeleteService

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

func (*ClusterManagerReconciler) DeleteTraefikResources

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

func (*ClusterManagerReconciler) DeployAndUpdateAgentEndpoint

func (r *ClusterManagerReconciler) DeployAndUpdateAgentEndpoint(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (ctrl.Result, error)

func (*ClusterManagerReconciler) Reconcile

func (r *ClusterManagerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)

func (*ClusterManagerReconciler) SetEndpoint

func (r *ClusterManagerReconciler) SetEndpoint(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)

func (*ClusterManagerReconciler) UpdatePrometheusService

func (r *ClusterManagerReconciler) UpdatePrometheusService(ctx context.Context, clusterManager *clusterv1alpha1.ClusterManager) (reconcile.Result, error)

type ClusterParameter

type ClusterParameter struct {
	Namespace         string
	ClusterName       string
	MasterNum         int
	WorkerNum         int
	Owner             string
	KubernetesVersion string
}

type ClusterRegistrationReconciler

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

ClusterRegistrationReconciler reconciles a ClusterRegistration object

func (*ClusterRegistrationReconciler) CheckValidation

func (r *ClusterRegistrationReconciler) CheckValidation(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) Reconcile

func (r *ClusterRegistrationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)

func (*ClusterRegistrationReconciler) SetupWithManager

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

type VsphereParameter

type VsphereParameter struct {
	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
}

Jump to

Keyboard shortcuts

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