Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Storage overlay #1560

Merged
merged 30 commits into from May 9, 2023
Merged

Commits on May 9, 2023

  1. Implemented skeleton for new overlay storage driver

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    21c8d6c View commit details
    Browse the repository at this point in the history
  2. Minor test improvements

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    96f13da View commit details
    Browse the repository at this point in the history
  3. Implement circuit breaker for poc method, plus test case

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    1665989 View commit details
    Browse the repository at this point in the history
  4. Fix circuit breaker trigger on GetPolicySet. Add another test case

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    4ecd923 View commit details
    Browse the repository at this point in the history
  5. Implemented other SourceStore methods with circuit breaker

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    0a74b1d View commit details
    Browse the repository at this point in the history
  6. Tidying

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    93caec6 View commit details
    Browse the repository at this point in the history
  7. Make naming more consistent

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    a41e92e View commit details
    Browse the repository at this point in the history
  8. Rename files

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    37f1f5e View commit details
    Browse the repository at this point in the history
  9. Put Overlay interface in dedicated file

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    b62f40e View commit details
    Browse the repository at this point in the history
  10. Update comment

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    34d4bde View commit details
    Browse the repository at this point in the history
  11. policy loader method should return self

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    524c59d View commit details
    Browse the repository at this point in the history
  12. Change withCircuitBreaker to standalone function to allow use of gene…

    …rics
    
    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    df9bb6b View commit details
    Browse the repository at this point in the history
  13. Correct conf docs

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    8141154 View commit details
    Browse the repository at this point in the history
  14. Correct conf docs again

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    a7d4c7a View commit details
    Browse the repository at this point in the history
  15. Use time.Duration for failover interval

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    043c1bb View commit details
    Browse the repository at this point in the history
  16. Remove pointless omitempty

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    1a8d0ff View commit details
    Browse the repository at this point in the history
  17. Conf examples

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    2c973bd View commit details
    Browse the repository at this point in the history
  18. Fix type switch ordering so policy.Policy is evaluated first. Change …

    …circuit breaker calc fn. Update tests
    
    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    d0feb51 View commit details
    Browse the repository at this point in the history
  19. Added logger

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    79211e9 View commit details
    Browse the repository at this point in the history
  20. test var names

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    06cd0da View commit details
    Browse the repository at this point in the history
  21. Change overlay conf parameter names

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    94e1130 View commit details
    Browse the repository at this point in the history
  22. Update GetDriverConstructor to use read locks

    Co-authored-by: Charith Ellawala <charithe@users.noreply.github.com>
    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara and charithe committed May 9, 2023
    Configuration menu
    Copy the full SHA
    4500de8 View commit details
    Browse the repository at this point in the history
  23. Overlay driver interface now static and consistent with base driver

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    d367d6b View commit details
    Browse the repository at this point in the history
  24. Add docs section

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    22635ae View commit details
    Browse the repository at this point in the history
  25. Overlay interface now correcly embedding other storage interfaces

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    79bd5ba View commit details
    Browse the repository at this point in the history
  26. Docs comment fix

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    ce8d24b View commit details
    Browse the repository at this point in the history
  27. Sane numbers in docs example yaml

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    bcd8335 View commit details
    Browse the repository at this point in the history
  28. Fix make generate after local cache clearance

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    73fe7a9 View commit details
    Browse the repository at this point in the history
  29. Addressed PR comments

    Signed-off-by: Sam Lock <sam@swlock.co.uk>
    Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    f191d84 View commit details
    Browse the repository at this point in the history
  30. Reload now operates on any store that implements Reloadable, in paral…

    …lel. Removed redundant SubscriptionManager
    
    Signed-off-by: Samuel Lock <samuellock@Samuels-MacBook-Pro.local>
    Samuel Lock authored and Sambigeara committed May 9, 2023
    Configuration menu
    Copy the full SHA
    56871e4 View commit details
    Browse the repository at this point in the history