Documentation ¶
Index ¶
Constants ¶
View Source
const (
// IgnoreReconciliationAnnotation is an annotation set by an operator in order to stop reconciliation.
IgnoreReconciliationAnnotation = "druid.gardener.cloud/ignore-reconciliation"
)
Variables ¶
This section is empty.
Functions ¶
func BuildPredicate ¶
BuildPredicate builds the predicates used by Etcd controller.
func InitFromFlags ¶
InitFromFlags initializes the config from the provided CLI flag set.
Types ¶
type Config ¶
type Config struct { // Workers is the number of workers concurrently processing reconciliation requests. Workers int // DisableEtcdServiceAccountAutomount controls the auto-mounting of service account token for etcd statefulsets. DisableEtcdServiceAccountAutomount bool }
Config defines the configuration for the Etcd Controller.
type Reconciler ¶
Reconciler reconciles Etcd resources.
func NewReconciler ¶
func NewReconciler(mgr manager.Manager, config *Config) (*Reconciler, error)
NewReconciler creates a new reconciler for Etcd.
func NewReconcilerWithImageVector ¶
func NewReconcilerWithImageVector(mgr manager.Manager, config *Config, imageVector imagevector.ImageVector, chartBasePath string) (*Reconciler, error)
NewReconcilerWithImageVector creates a new reconciler for Etcd with an ImageVector. This constructor will mostly be used by tests.
func (*Reconciler) RegisterWithManager ¶
func (r *Reconciler) RegisterWithManager(mgr ctrl.Manager, ignoreOperationAnnotation bool) error
RegisterWithManager registers the Etcd Controller with the given controller manager.
Click to show internal directories.
Click to hide internal directories.