Documentation ¶
Index ¶
- Constants
- Variables
- type PreChecker
- func NewContainerNetworkPrechecker(ctx context.Context, client client.Client, scheme *runtime.Scheme, ...) PreChecker
- func NewDNSPrechecker(cluster *rainbondv1alpha1.RainbondCluster, log logr.Logger) PreChecker
- func NewDatabasePrechecker(typ3 rainbondv1alpha1.RainbondClusterConditionType, ...) PreChecker
- func NewImageRepoPrechecker(ctx context.Context, log logr.Logger, ...) PreChecker
- func NewK8sStatusPrechecker(ctx context.Context, cluster *rainbondv1alpha1.RainbondCluster, ...) PreChecker
- func NewK8sVersionPrechecker(ctx context.Context, log logr.Logger, client client.Client) PreChecker
- func NewMemory(ctx context.Context, log logr.Logger, client client.Client) PreChecker
- func NewStorage(ctx context.Context, client client.Client, ns string, ...) PreChecker
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 ¶
func NewDatabasePrechecker(typ3 rainbondv1alpha1.RainbondClusterConditionType, db *rainbondv1alpha1.Database) PreChecker
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 ¶
NewK8sVersionPrechecker creates a new kubernetes version prechecker.
func NewStorage ¶
func NewStorage(ctx context.Context, client client.Client, ns string, rwx *rainbondv1alpha1.RainbondVolumeSpec) PreChecker
Click to show internal directories.
Click to hide internal directories.