Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Resync time.Duration = time.Minute
)
Functions ¶
func ConfigConf ¶
func ConfigConf(bc *RedisBootstrapConfig)
func K8sClientset ¶
func K8sClientset(kubeconfig string) (kubernetes.Interface, error)
Types ¶
type Operator ¶
type Operator struct {
Interval time.Duration
Timeout time.Duration
// contains filtered or unexported fields
}
Inspired by:
https://github.com/rook/rook/blob/master/pkg/operator/operator.go
func Run ¶
func Run(bc RedisBootstrapConfig) (*Operator, error)
type RedisBootstrapConfig ¶
type RedisInfo ¶
type RedisInfo struct {
RedisReplicationInfo
}
type RedisReplicationInfo ¶
Click to show internal directories.
Click to hide internal directories.