Skip to content

Commit

Permalink
add dummy server implementation
Browse files Browse the repository at this point in the history
Signed-off-by: Rewant Soni <[email protected]>
  • Loading branch information
rewantsoni committed Sep 4, 2024
1 parent d00d67d commit 74e51dc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions services/provider/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -864,3 +864,19 @@ func extractMonitorIps(data string) ([]string, error) {
slices.Sort(ips)
return ips, nil
}

func (s *OCSProviderServer) OnboardStorageClusterPeer(_ context.Context, _ *pb.OnboardStorageClusterPeerRequest) (*pb.OnboardStorageClusterPeerResponse, error) {
return &pb.OnboardStorageClusterPeerResponse{}, nil
}

func (s *OCSProviderServer) OffboardStorageClusterPeer(_ context.Context, _ *pb.OffboardStorageClusterPeerRequest) (*pb.OffboardStorageClusterPeerResponse, error) {
return &pb.OffboardStorageClusterPeerResponse{}, nil
}

func (s *OCSProviderServer) AcknowledgeOnboardingStorageClusterPeer(_ context.Context, _ *pb.AcknowledgeOnboardingStorageClusterPeerRequest) (*pb.AcknowledgeOnboardingStorageClusterPeerResponse, error) {
return &pb.AcknowledgeOnboardingStorageClusterPeerResponse{}, nil
}

func (s *OCSProviderServer) GetMirroringInfo(_ context.Context, _ *pb.MirroringInfoRequest) (*pb.MirroringInfoResponse, error) {
return &pb.MirroringInfoResponse{}, nil
}

0 comments on commit 74e51dc

Please sign in to comment.