IVolumeCache define the interface used for volume cache manager
| 56 | |
| 57 | // IVolumeCache define the interface used for volume cache manager |
| 58 | type IVolumeCache interface { |
| 59 | UpdateVolume(vid proto.Vid) (*client.VolumeInfoSimple, error) |
| 60 | GetVolume(vid proto.Vid) (*client.VolumeInfoSimple, error) |
| 61 | LoadVolumes() error |
| 62 | } |
| 63 | |
| 64 | type clusterTopologyConfig struct { |
| 65 | ClusterID proto.ClusterID |
no outgoing calls
no test coverage detected