Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flatcar/fleetlock
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: flatcar/fleetlock
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: tormath1/basic-auth
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 11 commits
  • 7 files changed
  • 1 contributor

Commits on Nov 2, 2021

  1. pkg/client: add Config struct

    This struct can be used to pass parameters to create the
    FleetLock client.
    
    Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
    tormath1 committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    25ce529 View commit details
    Browse the repository at this point in the history
  2. client: use config to create Client

    `client.Config` can be passed to FleetLock client when we create it.
    
    Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
    tormath1 committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    6b9138f View commit details
    Browse the repository at this point in the history
  3. pkg/client: add default for group and client

    this values are now optionals. Default values can be overrided with
    config.
    
    ID and URL are mandatory.
    
    Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
    tormath1 committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    a65477b View commit details
    Browse the repository at this point in the history
  4. pkg/client/test: update test to use config

    we test mandatory config parameters too.
    
    Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
    tormath1 committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    725a17c View commit details
    Browse the repository at this point in the history
  5. cmd: get default ID from /etc/machine-id

    Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
    tormath1 committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    131fbe0 View commit details
    Browse the repository at this point in the history
  6. pkg/client: add basic auth round tripper

    This round tripper can be used to do a correct basic authentication
    
    Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
    tormath1 committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    e6cfe16 View commit details
    Browse the repository at this point in the history
  7. pkg/client/test: add basic authentication test

    Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
    tormath1 committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    b0096da View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2021

  1. Configuration menu
    Copy the full SHA
    0a91d9f View commit details
    Browse the repository at this point in the history
  2. pkg/client/test: test fleetlock header

    Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
    tormath1 committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    041a9fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e10d5fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    03555bc View commit details
    Browse the repository at this point in the history
Loading