open-vault/vault/request_forwarding_rpc_util.go

18 lines
415 B
Go
Raw Normal View History

//go:build !enterprise
2018-09-18 03:03:00 +00:00
package vault
import (
"context"
)
func (s *forwardedRequestRPCServer) PerformanceStandbyElectionRequest(in *PerfStandbyElectionInput, reqServ RequestForwarding_PerformanceStandbyElectionRequestServer) error {
return nil
}
type ReplicationTokenInfo struct{}
func (c *forwardingClient) PerformanceStandbyElection(ctx context.Context) (*ReplicationTokenInfo, error) {
return nil, nil
}