Documentation ¶
Index ¶
- Constants
- Variables
- func ContainsString(slice []string, s string) bool
- func IgnoreAlreadyExists(err error) error
- func NoRequeue() (ctrl.Result, error)
- func RemoveString(slice []string, s string) (result []string)
- func RequeueAfterInterval(interval time.Duration, err error) (ctrl.Result, error)
- func RequeueIfError(err error) (ctrl.Result, error)
- func RequeueImmediately() (ctrl.Result, error)
- type ClusterReconciler
- type NodeReconciler
Constants ¶
View Source
const (
FinalizerNode corev1.FinalizerName = "geth-operator-node"
)
Variables ¶
View Source
var ( //go:embed geth_init_genesis.sh GethInitScript string )
Functions ¶
func ContainsString ¶
ContainsString is a helper functions to check and remove string from a slice of strings.
func IgnoreAlreadyExists ¶
func RemoveString ¶
RemoveString removes a specific string from a splice and returns the rest.
func RequeueAfterInterval ¶
RequeueAfterInterval requeues after a duration when duration > 0 is specified.
func RequeueIfError ¶
RequeueIfError requeues if an error is found.
func RequeueImmediately ¶
RequeueImmediately requeues immediately when Requeue is True and no duration is specified.
Types ¶
type ClusterReconciler ¶
ClusterReconciler reconciles a Cluster object
func (*ClusterReconciler) SetupWithManager ¶
func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NodeReconciler ¶
NodeReconciler reconciles a Node object
func (*NodeReconciler) SetupWithManager ¶
func (r *NodeReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.