mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
26 lines
438 B
Go
26 lines
438 B
Go
// +build !dqlite
|
|
|
|
package cluster
|
|
|
|
import (
|
|
"context"
|
|
"net"
|
|
"net/http"
|
|
)
|
|
|
|
func (c *Cluster) testClusterDB(ctx context.Context) error {
|
|
return nil
|
|
}
|
|
|
|
func (c *Cluster) initClusterDB(ctx context.Context, l net.Listener, handler http.Handler) (net.Listener, http.Handler, error) {
|
|
return l, handler, nil
|
|
}
|
|
|
|
func (c *Cluster) postJoin(ctx context.Context) error {
|
|
return nil
|
|
}
|
|
|
|
func (c *Cluster) dqliteEnabled() bool {
|
|
return false
|
|
}
|