Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoRunningMongodContainers = errors.New("no mongod containers in running state") MongoDBTimeout = 3 * time.Second )
View Source
var ErrExecCommandTimeout = errors.New("timeout executing command")
View Source
var ReplsetInitWait = 10 * time.Second
Functions ¶
func GetReplsetAddrs ¶ added in v0.2.0
func GetReplsetAddrs(m *v1alpha1.PerconaServerMongoDB, replset *v1alpha1.ReplsetSpec, pods []corev1.Pod) ([]string, error)
GetReplsetAddrs returns a slice of replset host:port addresses
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler implements sdk.Handler interface.
type ServiceAddr ¶ added in v0.2.0
func (ServiceAddr) String ¶ added in v0.2.0
func (s ServiceAddr) String() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.