Documentation
¶
Index ¶
- func AssertEvent(t *testing.T, event chan string, message string)
- func HelperGetStatefulset(t *testing.T, dcRackName string) *v12.StatefulSet
- func HelperInitCassandraBackup(cassandraBackupYaml string) v1alpha1.CassandraBackup
- func HelperLoadBytes(t *testing.T, name string) []byte
- func NewCassandraBackupConnection(client client.Client, cluster *api.CassandraCluster, pod *corev1.Pod) (csClient cassandrabackup.Client, err error)
- func Reconciled() (reconcile.Result, error)
- func RequeueWithError(logger *logrus.Entry, msg string, err error) (reconcile.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HelperGetStatefulset ¶
func HelperGetStatefulset(t *testing.T, dcRackName string) *v12.StatefulSet
func HelperInitCassandraBackup ¶
func HelperInitCassandraBackup(cassandraBackupYaml string) v1alpha1.CassandraBackup
func NewCassandraBackupConnection ¶
func NewCassandraBackupConnection(client client.Client, cluster *api.CassandraCluster, pod *corev1.Pod) (csClient cassandrabackup.Client, err error)
NewCassandraBackupConnection is a convenience wrapper for creating a sidecars connection and creating a safer close function
func Reconciled ¶
reconciled returns an empty result with nil error to signal a successful reconcile to the controller manager
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.