This project is mirrored from https://gitee.com/NQL886/scope.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 14 Nov, 2018 2 commits
  2. 13 Nov, 2018 1 commit
  3. 12 Nov, 2018 5 commits
  4. 10 Nov, 2018 2 commits
  5. 09 Nov, 2018 4 commits
  6. 07 Nov, 2018 2 commits
  7. 06 Nov, 2018 2 commits
  8. 05 Nov, 2018 1 commit
  9. 01 Nov, 2018 5 commits
    • Yu Cao's avatar
      use github.com/goji/httpauth instead · 308f923e
      Yu Cao authored
      308f923e
    • gotjosh's avatar
      Refactor if/else into a switch statement · fbb02775
      gotjosh authored
      Also, extracts strings into constants
      fbb02775
    • gotjosh's avatar
      Fix intention of support for endpoints without protocols · 3faf109b
      gotjosh authored
      When we receive an endpoint address without a protocol, our code states we
      don't support them and that the format is deprecated.
      
      In reality it was not the case, e.g:
      
      When we received an address in the form of `127.0.0.1`, we'd attempt to
      parse the scheme from it, we'd realise is does have one (would be
      equivalent to "") and our function `parseEndpoint` would return `"", "", fmt.Error`.
      
      Then, our `parseEndpointWithFallbackProtocol` would use the
      fallback protocol (unix) and attempt to connect to `unix://127.0.0.1`.
      
      This meant two things:
      
      1. The error returned from `parseEndpoint` would never be thrown
      2. We would connect anyways since the address is valid
      
      This commit changes the assertion logic to match the intention of using
      a fallback protocol when one is not supplied.
      3faf109b
    • gotjosh's avatar
      Add tests for probe/cri/registry · beeb2781
      gotjosh authored
      Unhappy path tests try to cover three scenarios:
      
      - When the endpoint URL scheme is not explicitly supported e.g. HTTP
      - When the endpoint URL scheme is TCP which is also not supported
      - When the fail to parse the given URL (to extract the scheme)
      
      The happy path covers two scenarios:
      
      - When we specify the supported scheme in the URL which is an unix
      socket e.g. unix///var/run/dockershim.sock
      - When we pass a socket address but fail to specify the scheme but our registry attempts
      to use the fallback protocol e.g. var/run/dockershim.sock
      beeb2781
    • Bryan Boreham's avatar
      Merge pull request #3384 from weaveworks/drop-big-topologies · ee0ce7b0
      Bryan Boreham authored
      In multitenant app, drop all nodes for big topologies
      ee0ce7b0
  10. 31 Oct, 2018 2 commits
  11. 30 Oct, 2018 2 commits
  12. 29 Oct, 2018 3 commits
  13. 28 Oct, 2018 1 commit
  14. 27 Oct, 2018 1 commit
  15. 26 Oct, 2018 2 commits
  16. 25 Oct, 2018 1 commit
  17. 23 Oct, 2018 2 commits
  18. 22 Oct, 2018 2 commits