Documentation
¶
Index ¶
Constants ¶
View Source
const ( RequeueDefaultDelayEnvVar = "REQUEUE_DEFAULT_DELAY" RequeueLongDelayEnvVar = "REQUEUE_LONG_DELAY" )
View Source
const (
// OrphanResourceAnnotation when set to true prevents the deletion of secret from target clusters even if matching ReplicatedSecret is removed
OrphanResourceAnnotation = "replicatedresource.k8ssandra.io/orphan"
)
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig()
InitConfig is primarily a hook for integration tests. It provides a way to use shorter requeue delays which allows the tests to run much faster. Note that this code will likely be changed when we tackle https://github.com/k8ssandra/k8ssandra-operator/issues/63.
Types ¶
type K8ssandraClusterReconciler ¶
type K8ssandraClusterReconciler struct {
client.Client
Scheme *runtime.Scheme
ClientCache *clientcache.ClientCache
SeedsResolver cassandra.RemoteSeedsResolver
ManagementApi cassandra.ManagementApiFactory
}
K8ssandraClusterReconciler reconciles a K8ssandraCluster object
func (*K8ssandraClusterReconciler) SetupWithManager ¶
func (r *K8ssandraClusterReconciler) SetupWithManager(mgr ctrl.Manager, clusters []cluster.Cluster) error
SetupWithManager sets up the controller with the Manager.
type SecretSyncController ¶
type SecretSyncController struct {
ClientCache *clientcache.ClientCache
// TODO We need a better structure for empty selectors (match whole kind)
WatchNamespaces []string
// contains filtered or unexported fields
}
func (*SecretSyncController) SetupWithManager ¶
type StargateReconciler ¶
StargateReconciler reconciles a Stargate object
func (*StargateReconciler) SetupWithManager ¶
func (r *StargateReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.