-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: major rework of the code base (#27)
* update go mods, golang ci and k8s manifest * split the tool into subcommands, leveraging cobra/viper * refactored the logging, using a current framework (log/slog) * repair project name "self-detection" and startup message * moved reusable components into pkg/ * restricted accessibility, improved delegation/demaraction * refactor connection to Talos API (consistent naming) * refactor of toolbox command dispatching * fetch uptime from Talos, instead of system * use upstream GuestNicInfo (= less code to maintain) * fix licensing (version.go was MPL by accident), reduce header bloat * reduce talosquery subcommand complexity * update README BREAKING CHANGE: command line flags and env vars have been changed Signed-off-by: Jorik Jonker <[email protected]>
- Loading branch information
Showing
35 changed files
with
1,572 additions
and
1,350 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
* | ||
!cmd | ||
!internal | ||
!pkg | ||
!go.mod | ||
!go.sum | ||
!.golangci.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,36 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"description": "THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.", | ||
"prHeader": "Update Request | Renovate Bot", | ||
"extends": [ | ||
":dependencyDashboard", | ||
":gitSignOff", | ||
":semanticCommitScopeDisabled", | ||
"schedule:earlyMondays" | ||
], | ||
"prHeader": "Update Request | Renovate Bot", | ||
"packageRules": [ | ||
{ | ||
"matchPackagePatterns": [ | ||
"*" | ||
], | ||
"matchDatasources": [ | ||
"docker" | ||
], | ||
"groupName": "container images" | ||
"groupName": "dependencies", | ||
"matchUpdateTypes": [ | ||
"major", | ||
"minor", | ||
"patch", | ||
"pin", | ||
"digest" | ||
] | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"*" | ||
], | ||
"matchDatasources": [ | ||
"go", | ||
"golang-version" | ||
], | ||
"groupName": "go packages" | ||
"enabled": false, | ||
"matchFileNames": [ | ||
"Dockerfile" | ||
] | ||
}, | ||
{ | ||
"enabled": false, | ||
"matchFileNames": [ | ||
".github/workflows/*.yaml" | ||
] | ||
} | ||
] | ||
], | ||
"separateMajorMinor": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
// SPDX-FileCopyrightText: Copyright (c) 2020 Oliver Kuckertz, Siderolabs and Equinix | ||
// SPDX-License-Identifier: Apache-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.