reaper

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReaperManager

type ReaperManager interface {
	Connect(reaper *api.Reaper) error
	AddClusterToReaper(ctx context.Context, cassdc *cassdcapi.CassandraDatacenter) error
	VerifyClusterIsConfigured(ctx context.Context, cassdc *cassdcapi.CassandraDatacenter) (bool, error)
}

type RestReaperManager

type RestReaperManager struct {
	// contains filtered or unexported fields
}

RestReaperManager abstracts the ugly details of how to connect to the Reaper instance

func (*RestReaperManager) AddClusterToReaper

func (r *RestReaperManager) AddClusterToReaper(ctx context.Context, cassdc *cassdcapi.CassandraDatacenter) error

func (*RestReaperManager) Connect

func (r *RestReaperManager) Connect(reaper *api.Reaper) error

func (*RestReaperManager) VerifyClusterIsConfigured

func (r *RestReaperManager) VerifyClusterIsConfigured(ctx context.Context, cassdc *cassdcapi.CassandraDatacenter) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL