Skip to content
Snippets Groups Projects
Select Git revision
0 results

mock_subnet.go

  • Eugene Yakubovich's avatar
    79ac90c1
    Have registry deal with subnet and not etcd types · 79ac90c1
    Eugene Yakubovich authored
    Let the registry expose the interface that uses types
    like subnet.Lease instead of etcd.Response. This will
    make it easier to support something other than etcd if
    a need arises. And it makes the subnet manager simpler
    as it has gotten to big lately.
    
    Unrelated change: the initialization logic will retry
    from the beginning on failer, not the step that failed.
    
    Conflicts:
    	subnet/local_manager.go
    79ac90c1
    History
    Have registry deal with subnet and not etcd types
    Eugene Yakubovich authored
    Let the registry expose the interface that uses types
    like subnet.Lease instead of etcd.Response. This will
    make it easier to support something other than etcd if
    a need arises. And it makes the subnet manager simpler
    as it has gotten to big lately.
    
    Unrelated change: the initialization logic will retry
    from the beginning on failer, not the step that failed.
    
    Conflicts:
    	subnet/local_manager.go