-
Notifications
You must be signed in to change notification settings - Fork 16
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
Rework device
subcommand and client APIs to support lookup by UUID
#414
Commits on Jun 4, 2024
-
client: Split out functions to for device
Just part of our long term goal of making client.go smaller Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef4a8cd - Browse repository at this point
Copy the full SHA ef4a8cdView commit details -
client: Start moving to a "DeviceApi"
This will allow us to later on make our CLI work with either UUID or names. It also makes the APIs a little more segregated and easier to read. Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 851ac90 - Browse repository at this point
Copy the full SHA 851ac90View commit details -
client: Use DeviceApi for rename operation
Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad2bc10 - Browse repository at this point
Copy the full SHA ad2bc10View commit details -
client: Use DeviceApi for group configuration
Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc0a726 - Browse repository at this point
Copy the full SHA dc0a726View commit details -
client: Use DeviceAPI for Delete operation
Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e30ebc1 - Browse repository at this point
Copy the full SHA e30ebc1View commit details -
client: Move to DeviceApi for delete-denied
Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00c8d91 - Browse repository at this point
Copy the full SHA 00c8d91View commit details -
client: Move to DeviceApi for updates
Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4d3617 - Browse repository at this point
Copy the full SHA c4d3617View commit details -
client: Move to DeviceApi for update events
Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09122e6 - Browse repository at this point
Copy the full SHA 09122e6View commit details -
client: Move to DeviceApi for apps-states
Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2c90bf - Browse repository at this point
Copy the full SHA f2c90bfView commit details
Commits on Jun 6, 2024
-
client: Use DeviceApi for config operations
Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a9b4e34 - Browse repository at this point
Copy the full SHA a9b4e34View commit details -
device: Remove deprecated
updates_list
We deprecated this in 2021. Should be safe now. Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a734d9 - Browse repository at this point
Copy the full SHA 4a734d9View commit details -
device: Include name in
show
commandThe commits following this will allow showing a device using its device UUID. This means the name attribute will become important. Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a3d9c0 - Browse repository at this point
Copy the full SHA 7a3d9c0View commit details -
Introduce foundation for consistent device look ups
The changes that follow this will need a consistent way to determine the device it should target its operations against. This change makes a single place to look the device up from. Signed-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 351b78b - Browse repository at this point
Copy the full SHA 351b78bView commit details -
devices: Move
show
to use getDevice APISigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c004e4a - Browse repository at this point
Copy the full SHA c004e4aView commit details -
device: Move
updates
to getDeviceApiSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad4d697 - Browse repository at this point
Copy the full SHA ad4d697View commit details -
device: Update
rename
to use getDeviceApiSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e38426 - Browse repository at this point
Copy the full SHA 6e38426View commit details -
device: Update
delete
to use getDeviceApiSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc76a97 - Browse repository at this point
Copy the full SHA cc76a97View commit details -
device: Update
chown
to use getDeviceApiSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2724b1 - Browse repository at this point
Copy the full SHA a2724b1View commit details -
device: Update
apps-states
to use getDeviceApiSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5707a61 - Browse repository at this point
Copy the full SHA 5707a61View commit details -
device: Update
config delete
to use getDeviceApiSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a82460 - Browse repository at this point
Copy the full SHA 8a82460View commit details -
device: Update
config group
to use getDeviceApiSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 323591d - Browse repository at this point
Copy the full SHA 323591dView commit details -
device: Update
config log
to use getDeviceApiSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 11983e5 - Browse repository at this point
Copy the full SHA 11983e5View commit details -
device: Update
config rotate-certs
to use getDeviceApiSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0998598 - Browse repository at this point
Copy the full SHA 0998598View commit details -
device: Update
config set
to use getDeviceSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5e2546 - Browse repository at this point
Copy the full SHA c5e2546View commit details -
device: Update
config updates
to use getDeviceSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d79811f - Browse repository at this point
Copy the full SHA d79811fView commit details -
device: Update
config wireguard
to use getDeviceApiSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2645c52 - Browse repository at this point
Copy the full SHA 2645c52View commit details
Commits on Jun 10, 2024
-
device: Add
--by-uuid
support to all subcommandsSigned-off-by: Andy Doan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89be418 - Browse repository at this point
Copy the full SHA 89be418View commit details