precheck

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: LGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const SentinelName = "rainbond-operator-sentinel"

SentinelName -

Variables

View Source
var ErrSentinelNotReady = errors.New("rainbond-operator-sentinel not ready")

ErrSentinelNotReady -

Functions

This section is empty.

Types

type PreChecker

type PreChecker interface {
	Check() rainbondv1alpha1.RainbondClusterCondition
}

PreChecker checks the environment and parameters required to install the rainbond cluster

func NewContainerNetworkPrechecker

func NewContainerNetworkPrechecker(ctx context.Context, client client.Client, scheme *runtime.Scheme, log logr.Logger, cluster *rainbondv1alpha1.RainbondCluster) PreChecker

NewContainerNetworkPrechecker creates a new prechecker.

func NewDNSPrechecker

func NewDNSPrechecker(cluster *rainbondv1alpha1.RainbondCluster, log logr.Logger) PreChecker

NewDNSPrechecker creates a new prechecker.

func NewDatabasePrechecker

NewDatabasePrechecker creates a new prechecker.

func NewImageRepoPrechecker

func NewImageRepoPrechecker(ctx context.Context, log logr.Logger, cluster *rainbondv1alpha1.RainbondCluster) PreChecker

NewImageRepoPrechecker creates a new prechecker.

func NewK8sStatusPrechecker

func NewK8sStatusPrechecker(ctx context.Context, cluster *rainbondv1alpha1.RainbondCluster, client client.Client, log logr.Logger) PreChecker

NewK8sStatusPrechecker creates a new kubernetes status prechecker.

func NewK8sVersionPrechecker

func NewK8sVersionPrechecker(ctx context.Context, log logr.Logger, client client.Client) PreChecker

NewK8sVersionPrechecker creates a new kubernetes version prechecker.

func NewMemory

func NewMemory(ctx context.Context, log logr.Logger, client client.Client) PreChecker

NewMemory creates a new kubernetes version prechecker.

Jump to

Keyboard shortcuts

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