mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-07 07:07:10 +02:00
chore: rename talos-systems/talos to siderolabs/talos
There's a cyclic dependency on siderolink library which imports talos machinery back. We will fix that after we get talos pushed under a new name. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
parent
30bbf6463a
commit
96aa9638f7
@ -3,7 +3,7 @@
|
|||||||
// (e.g. builds, E2E testing, conformance testing, releases). Each pipeline
|
// (e.g. builds, E2E testing, conformance testing, releases). Each pipeline
|
||||||
// after the default builds on a previous pipeline.
|
// after the default builds on a previous pipeline.
|
||||||
// Generate with `drone jsonnet --source ./hack/drone.jsonnet --stream --format`
|
// Generate with `drone jsonnet --source ./hack/drone.jsonnet --stream --format`
|
||||||
// Sign with `drone sign talos-systems/talos --save`
|
// Sign with `drone sign siderolabs/talos --save`
|
||||||
|
|
||||||
local build_container = 'autonomy/build-container:latest';
|
local build_container = 'autonomy/build-container:latest';
|
||||||
local local_registry = 'registry.dev.talos-systems.io';
|
local local_registry = 'registry.dev.talos-systems.io';
|
||||||
|
@ -72,8 +72,8 @@ linters-settings:
|
|||||||
- github.com/golang/protobuf/proto
|
- github.com/golang/protobuf/proto
|
||||||
- google.golang.org/protobuf/proto
|
- google.golang.org/protobuf/proto
|
||||||
packages-with-error-message:
|
packages-with-error-message:
|
||||||
- google.golang.org/protobuf/proto: Use "github.com/talos-systems/talos/pkg/machinery/proto" instead.
|
- google.golang.org/protobuf/proto: Use "github.com/siderolabs/talos/pkg/machinery/proto" instead.
|
||||||
github.com/golang/protobuf/proto: Use "github.com/talos-systems/talos/pkg/machinery/proto" instead.
|
github.com/golang/protobuf/proto: Use "github.com/siderolabs/talos/pkg/machinery/proto" instead.
|
||||||
misspell:
|
misspell:
|
||||||
# Correct spellings using locale preferences for US or UK.
|
# Correct spellings using locale preferences for US or UK.
|
||||||
# Default is to use a neutral variety of English.
|
# Default is to use a neutral variety of English.
|
||||||
@ -123,7 +123,7 @@ linters-settings:
|
|||||||
sections:
|
sections:
|
||||||
- standard # Captures all standard packages if they do not match another section.
|
- standard # Captures all standard packages if they do not match another section.
|
||||||
- default # Contains all imports that could not be matched to another section type.
|
- default # Contains all imports that could not be matched to another section type.
|
||||||
- prefix(github.com/talos-systems/talos) # Groups all imports with the specified Prefix.
|
- prefix(github.com/siderolabs/talos) # Groups all imports with the specified Prefix.
|
||||||
cyclop:
|
cyclop:
|
||||||
# the maximal code complexity to report
|
# the maximal code complexity to report
|
||||||
max-complexity: 20
|
max-complexity: 20
|
||||||
|
22
Dockerfile
22
Dockerfile
@ -122,16 +122,16 @@ RUN --mount=type=cache,target=/.cache go install golang.org/x/vuln/cmd/govulnche
|
|||||||
&& mv /go/bin/govulncheck /toolchain/go/bin/govulncheck
|
&& mv /go/bin/govulncheck /toolchain/go/bin/govulncheck
|
||||||
RUN --mount=type=cache,target=/.cache go install github.com/uber/prototool/cmd/prototool@v1.10.0 \
|
RUN --mount=type=cache,target=/.cache go install github.com/uber/prototool/cmd/prototool@v1.10.0 \
|
||||||
&& mv /go/bin/prototool /toolchain/go/bin/prototool
|
&& mv /go/bin/prototool /toolchain/go/bin/prototool
|
||||||
COPY ./hack/docgen /go/src/github.com/talos-systems/talos-hack-docgen
|
COPY ./hack/docgen /go/src/github.com/siderolabs/talos-hack-docgen
|
||||||
RUN --mount=type=cache,target=/.cache cd /go/src/github.com/talos-systems/talos-hack-docgen \
|
RUN --mount=type=cache,target=/.cache cd /go/src/github.com/siderolabs/talos-hack-docgen \
|
||||||
&& go build -o docgen . \
|
&& go build -o docgen . \
|
||||||
&& mv docgen /toolchain/go/bin/
|
&& mv docgen /toolchain/go/bin/
|
||||||
COPY ./hack/gotagsrewrite /go/src/github.com/talos-systems/gotagsrewrite
|
COPY ./hack/gotagsrewrite /go/src/github.com/siderolabs/gotagsrewrite
|
||||||
RUN --mount=type=cache,target=/.cache cd /go/src/github.com/talos-systems/gotagsrewrite \
|
RUN --mount=type=cache,target=/.cache cd /go/src/github.com/siderolabs/gotagsrewrite \
|
||||||
&& go build -o gotagsrewrite . \
|
&& go build -o gotagsrewrite . \
|
||||||
&& mv gotagsrewrite /toolchain/go/bin/
|
&& mv gotagsrewrite /toolchain/go/bin/
|
||||||
COPY ./hack/structprotogen /go/src/github.com/talos-systems/structprotogen
|
COPY ./hack/structprotogen /go/src/github.com/siderolabs/structprotogen
|
||||||
RUN --mount=type=cache,target=/.cache cd /go/src/github.com/talos-systems/structprotogen \
|
RUN --mount=type=cache,target=/.cache cd /go/src/github.com/siderolabs/structprotogen \
|
||||||
&& go build -o structprotogen . \
|
&& go build -o structprotogen . \
|
||||||
&& mv structprotogen /toolchain/go/bin/
|
&& mv structprotogen /toolchain/go/bin/
|
||||||
COPY --from=importvet /importvet /toolchain/go/bin/importvet
|
COPY --from=importvet /importvet /toolchain/go/bin/importvet
|
||||||
@ -190,17 +190,17 @@ FROM build-go AS go-generate
|
|||||||
COPY ./pkg ./pkg
|
COPY ./pkg ./pkg
|
||||||
COPY ./hack/boilerplate.txt ./hack/boilerplate.txt
|
COPY ./hack/boilerplate.txt ./hack/boilerplate.txt
|
||||||
RUN --mount=type=cache,target=/.cache go generate ./pkg/...
|
RUN --mount=type=cache,target=/.cache go generate ./pkg/...
|
||||||
RUN goimports -w -local github.com/talos-systems/talos ./pkg/
|
RUN goimports -w -local github.com/siderolabs/talos ./pkg/
|
||||||
RUN gofumpt -w ./pkg/
|
RUN gofumpt -w ./pkg/
|
||||||
WORKDIR /src/pkg/machinery
|
WORKDIR /src/pkg/machinery
|
||||||
RUN --mount=type=cache,target=/.cache go generate ./...
|
RUN --mount=type=cache,target=/.cache go generate ./...
|
||||||
RUN gotagsrewrite .
|
RUN gotagsrewrite .
|
||||||
RUN goimports -w -local github.com/talos-systems/talos ./
|
RUN goimports -w -local github.com/siderolabs/talos ./
|
||||||
RUN gofumpt -w ./
|
RUN gofumpt -w ./
|
||||||
|
|
||||||
FROM go-generate AS gen-proto-go
|
FROM go-generate AS gen-proto-go
|
||||||
WORKDIR /src/
|
WORKDIR /src/
|
||||||
RUN structprotogen github.com/talos-systems/talos/pkg/machinery/... /api/resource/definitions/
|
RUN structprotogen github.com/siderolabs/talos/pkg/machinery/... /api/resource/definitions/
|
||||||
|
|
||||||
# compile protobuf service definitions
|
# compile protobuf service definitions
|
||||||
FROM build AS generate-build
|
FROM build AS generate-build
|
||||||
@ -230,7 +230,7 @@ RUN protoc -I/api -I/api/vendor/ --go_out=paths=source_relative:/api --go-grpc_o
|
|||||||
COPY --from=gen-proto-go /api/resource/definitions/ /api/resource/definitions/
|
COPY --from=gen-proto-go /api/resource/definitions/ /api/resource/definitions/
|
||||||
RUN find /api/resource/definitions/ -type f -name "*.proto" | xargs -I {} /bin/sh -c 'protoc -I/api -I/api/vendor/ --go_out=paths=source_relative:/api --go-grpc_out=paths=source_relative:/api --go-vtproto_out=paths=source_relative:/api --go-vtproto_opt=features=marshal+unmarshal+size {} && mkdir -p /api/resource/definitions_go/$(basename {} .proto) && mv /api/resource/definitions/$(basename {} .proto)/*.go /api/resource/definitions_go/$(basename {} .proto)'
|
RUN find /api/resource/definitions/ -type f -name "*.proto" | xargs -I {} /bin/sh -c 'protoc -I/api -I/api/vendor/ --go_out=paths=source_relative:/api --go-grpc_out=paths=source_relative:/api --go-vtproto_out=paths=source_relative:/api --go-vtproto_opt=features=marshal+unmarshal+size {} && mkdir -p /api/resource/definitions_go/$(basename {} .proto) && mv /api/resource/definitions/$(basename {} .proto)/*.go /api/resource/definitions_go/$(basename {} .proto)'
|
||||||
# Goimports and gofumpt generated files to adjust import order
|
# Goimports and gofumpt generated files to adjust import order
|
||||||
RUN goimports -w -local github.com/talos-systems/talos /api/
|
RUN goimports -w -local github.com/siderolabs/talos /api/
|
||||||
RUN gofumpt -w /api/
|
RUN gofumpt -w /api/
|
||||||
|
|
||||||
FROM build AS embed-generate
|
FROM build AS embed-generate
|
||||||
@ -767,7 +767,7 @@ RUN --mount=type=cache,target=/.cache golangci-lint run --config .golangci.yml
|
|||||||
WORKDIR /src/pkg/machinery
|
WORKDIR /src/pkg/machinery
|
||||||
RUN --mount=type=cache,target=/.cache golangci-lint run --config ../../.golangci.yml
|
RUN --mount=type=cache,target=/.cache golangci-lint run --config ../../.golangci.yml
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
RUN --mount=type=cache,target=/.cache importvet github.com/talos-systems/talos/...
|
RUN --mount=type=cache,target=/.cache importvet github.com/siderolabs/talos/...
|
||||||
|
|
||||||
# The protolint target performs linting on protobuf files.
|
# The protolint target performs linting on protobuf files.
|
||||||
|
|
||||||
|
4
Makefile
4
Makefile
@ -35,7 +35,7 @@ KUBESTR_URL ?= https://github.com/kastenhq/kubestr/releases/download/v0.4.34/kub
|
|||||||
HELM_URL ?= https://get.helm.sh/helm-v3.9.2-linux-amd64.tar.gz
|
HELM_URL ?= https://get.helm.sh/helm-v3.9.2-linux-amd64.tar.gz
|
||||||
CLUSTERCTL_VERSION ?= 1.1.3
|
CLUSTERCTL_VERSION ?= 1.1.3
|
||||||
CLUSTERCTL_URL ?= https://github.com/kubernetes-sigs/cluster-api/releases/download/v$(CLUSTERCTL_VERSION)/clusterctl-$(OPERATING_SYSTEM)-amd64
|
CLUSTERCTL_URL ?= https://github.com/kubernetes-sigs/cluster-api/releases/download/v$(CLUSTERCTL_VERSION)/clusterctl-$(OPERATING_SYSTEM)-amd64
|
||||||
TESTPKGS ?= github.com/talos-systems/talos/...
|
TESTPKGS ?= github.com/siderolabs/talos/...
|
||||||
RELEASES ?= v1.1.2 v1.2.6
|
RELEASES ?= v1.1.2 v1.2.6
|
||||||
SHORT_INTEGRATION_TEST ?=
|
SHORT_INTEGRATION_TEST ?=
|
||||||
CUSTOM_CNI_URL ?=
|
CUSTOM_CNI_URL ?=
|
||||||
@ -288,7 +288,7 @@ api-descriptors: ## Generates API descriptors used to detect breaking API change
|
|||||||
@$(MAKE) local-api-descriptors DEST=./ PLATFORM=linux/amd64
|
@$(MAKE) local-api-descriptors DEST=./ PLATFORM=linux/amd64
|
||||||
|
|
||||||
fmt-go: ## Formats the source code.
|
fmt-go: ## Formats the source code.
|
||||||
@docker run --rm -it -v $(PWD):/src -w /src golang:$(GO_VERSION) bash -c "go install golang.org/x/tools/cmd/goimports@$(GOIMPORTS_VERSION) && goimports -w -local github.com/talos-systems/talos . && go install mvdan.cc/gofumpt@$(GOFUMPT_VERSION) && gofumpt -w ."
|
@docker run --rm -it -v $(PWD):/src -w /src golang:$(GO_VERSION) bash -c "go install golang.org/x/tools/cmd/goimports@$(GOIMPORTS_VERSION) && goimports -w -local github.com/siderolabs/talos . && go install mvdan.cc/gofumpt@$(GOFUMPT_VERSION) && gofumpt -w ."
|
||||||
|
|
||||||
fmt-protobuf: ## Formats protobuf files.
|
fmt-protobuf: ## Formats protobuf files.
|
||||||
@$(MAKE) local-fmt-protobuf DEST=./ PLATFORM=linux/amd64
|
@$(MAKE) local-fmt-protobuf DEST=./ PLATFORM=linux/amd64
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package cluster;
|
package cluster;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/cluster";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/cluster";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package common;
|
package common;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/common";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/common";
|
||||||
|
|
||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
import "google/protobuf/descriptor.proto";
|
import "google/protobuf/descriptor.proto";
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package inspect;
|
package inspect;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/inspect";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/inspect";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
import "google/protobuf/empty.proto";
|
import "google/protobuf/empty.proto";
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package machine;
|
package machine;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/machine";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/machine";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
|
@ -12,7 +12,7 @@ lint:
|
|||||||
|
|
||||||
rules:
|
rules:
|
||||||
# The specific linters to add.
|
# The specific linters to add.
|
||||||
# TODO Enable more: https://github.com/talos-systems/talos/issues/2722.
|
# TODO Enable more: https://github.com/siderolabs/talos/issues/2722.
|
||||||
add:
|
add:
|
||||||
# All rules except language-specific (C#, Java, Obj-C, PHP, Ruby, but not Go).
|
# All rules except language-specific (C#, Java, Obj-C, PHP, Ruby, but not Go).
|
||||||
# prototool lint --list-all-linters | grep -vE '(CSHARP|JAVA|OBJC|PHP|RUBY)'
|
# prototool lint --list-all-linters | grep -vE '(CSHARP|JAVA|OBJC|PHP|RUBY)'
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package resource.config;
|
package resource.config;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/config";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/config";
|
||||||
|
|
||||||
// MessageConfigSpec is the spec for the config.MachineConfig resource.
|
// MessageConfigSpec is the spec for the config.MachineConfig resource.
|
||||||
message MachineConfigSpec {
|
message MachineConfigSpec {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.cluster;
|
package talos.resource.definitions.cluster;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/cluster";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/cluster";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
import "resource/definitions/enums/enums.proto";
|
import "resource/definitions/enums/enums.proto";
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.cri;
|
package talos.resource.definitions.cri;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/cri";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/cri";
|
||||||
|
|
||||||
import "google/protobuf/struct.proto";
|
import "google/protobuf/struct.proto";
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.enums;
|
package talos.resource.definitions.enums;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/enums";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/enums";
|
||||||
|
|
||||||
// MachineType represents a machine type.
|
// MachineType represents a machine type.
|
||||||
enum MachineType {
|
enum MachineType {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.etcd;
|
package talos.resource.definitions.etcd;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/etcd";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/etcd";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.extensions;
|
package talos.resource.definitions.extensions;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/extensions";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/extensions";
|
||||||
|
|
||||||
// Compatibility describes extension compatibility.
|
// Compatibility describes extension compatibility.
|
||||||
message Compatibility {
|
message Compatibility {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.files;
|
package talos.resource.definitions.files;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/files";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/files";
|
||||||
|
|
||||||
// EtcFileSpecSpec describes status of rendered secrets.
|
// EtcFileSpecSpec describes status of rendered secrets.
|
||||||
message EtcFileSpecSpec {
|
message EtcFileSpecSpec {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.hardware;
|
package talos.resource.definitions.hardware;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/hardware";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/hardware";
|
||||||
|
|
||||||
// MemoryModuleSpec represents a single Memory.
|
// MemoryModuleSpec represents a single Memory.
|
||||||
message MemoryModuleSpec {
|
message MemoryModuleSpec {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.k8s;
|
package talos.resource.definitions.k8s;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/k8s";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/k8s";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
import "google/protobuf/struct.proto";
|
import "google/protobuf/struct.proto";
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.kubeaccess;
|
package talos.resource.definitions.kubeaccess;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/kubeaccess";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/kubeaccess";
|
||||||
|
|
||||||
// ConfigSpec describes KubeSpan configuration..
|
// ConfigSpec describes KubeSpan configuration..
|
||||||
message ConfigSpec {
|
message ConfigSpec {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.kubespan;
|
package talos.resource.definitions.kubespan;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/kubespan";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/kubespan";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.network;
|
package talos.resource.definitions.network;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/network";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/network";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.perf;
|
package talos.resource.definitions.perf;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/perf";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/perf";
|
||||||
|
|
||||||
// CPUSpec represents the last CPU stats snapshot.
|
// CPUSpec represents the last CPU stats snapshot.
|
||||||
message CPUSpec {
|
message CPUSpec {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.proto;
|
package talos.resource.definitions.proto;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/proto";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/proto";
|
||||||
|
|
||||||
// Mount specifies a mount for a container.
|
// Mount specifies a mount for a container.
|
||||||
message Mount {
|
message Mount {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.runtime;
|
package talos.resource.definitions.runtime;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/runtime";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/runtime";
|
||||||
|
|
||||||
import "resource/definitions/enums/enums.proto";
|
import "resource/definitions/enums/enums.proto";
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.secrets;
|
package talos.resource.definitions.secrets;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/secrets";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/secrets";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.time;
|
package talos.resource.definitions.time;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/time";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/time";
|
||||||
|
|
||||||
// StatusSpec describes time sync state.
|
// StatusSpec describes time sync state.
|
||||||
message StatusSpec {
|
message StatusSpec {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package talos.resource.definitions.v1alpha1;
|
package talos.resource.definitions.v1alpha1;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/v1alpha1";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/definitions/v1alpha1";
|
||||||
|
|
||||||
// ServiceSpec describe service state.
|
// ServiceSpec describe service state.
|
||||||
message ServiceSpec {
|
message ServiceSpec {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package resource.network;
|
package resource.network;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/network";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource/network";
|
||||||
|
|
||||||
// DeviceConfigSpecSpec is the spec for the network.DeviceConfigSpec resource.
|
// DeviceConfigSpecSpec is the spec for the network.DeviceConfigSpec resource.
|
||||||
message DeviceConfigSpecSpec {
|
message DeviceConfigSpecSpec {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package resource;
|
package resource;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/resource";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
import "google/protobuf/timestamp.proto";
|
import "google/protobuf/timestamp.proto";
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package securityapi;
|
package securityapi;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/security";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/security";
|
||||||
|
|
||||||
// The security service definition.
|
// The security service definition.
|
||||||
service SecurityService {
|
service SecurityService {
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package storage;
|
package storage;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/storage";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/storage";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
import "google/protobuf/empty.proto";
|
import "google/protobuf/empty.proto";
|
||||||
|
@ -2,7 +2,7 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package time;
|
package time;
|
||||||
|
|
||||||
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/time";
|
option go_package = "github.com/siderolabs/talos/pkg/machinery/api/time";
|
||||||
|
|
||||||
import "common/common.proto";
|
import "common/common.proto";
|
||||||
import "google/protobuf/empty.proto";
|
import "google/protobuf/empty.proto";
|
||||||
|
@ -15,14 +15,14 @@ import (
|
|||||||
"github.com/siderolabs/go-cmd/pkg/cmd"
|
"github.com/siderolabs/go-cmd/pkg/cmd"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/installer/pkg"
|
"github.com/siderolabs/talos/cmd/installer/pkg"
|
||||||
"github.com/talos-systems/talos/cmd/installer/pkg/install"
|
"github.com/siderolabs/talos/cmd/installer/pkg/install"
|
||||||
"github.com/talos-systems/talos/cmd/installer/pkg/ova"
|
"github.com/siderolabs/talos/cmd/installer/pkg/ova"
|
||||||
"github.com/talos-systems/talos/cmd/installer/pkg/qemuimg"
|
"github.com/siderolabs/talos/cmd/installer/pkg/qemuimg"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime/v1alpha1/platform"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/platform"
|
||||||
"github.com/talos-systems/talos/pkg/archiver"
|
"github.com/siderolabs/talos/pkg/archiver"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -11,11 +11,11 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/installer/pkg/install"
|
"github.com/siderolabs/talos/cmd/installer/pkg/install"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime/v1alpha1/platform"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/platform"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/configloader"
|
"github.com/siderolabs/talos/pkg/machinery/config/configloader"
|
||||||
"github.com/talos-systems/talos/pkg/version"
|
"github.com/siderolabs/talos/pkg/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
// installCmd represents the install command.
|
// installCmd represents the install command.
|
||||||
|
@ -17,10 +17,10 @@ import (
|
|||||||
"github.com/siderolabs/go-procfs/procfs"
|
"github.com/siderolabs/go-procfs/procfs"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/installer/pkg"
|
"github.com/siderolabs/talos/cmd/installer/pkg"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime/v1alpha1/platform/metal"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/platform/metal"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/kernel"
|
"github.com/siderolabs/talos/pkg/machinery/kernel"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:embed grub.iso.cfg
|
//go:embed grub.iso.cfg
|
||||||
|
@ -12,8 +12,8 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/installer/pkg/install"
|
"github.com/siderolabs/talos/cmd/installer/pkg/install"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
// rootCmd represents the base command when called without any subcommands.
|
// rootCmd represents the base command when called without any subcommands.
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// Package installer provides the installer implementation.
|
// Package installer provides the installer implementation.
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "github.com/talos-systems/talos/cmd/installer/cmd"
|
import "github.com/siderolabs/talos/cmd/installer/cmd"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
cmd.Execute()
|
cmd.Execute()
|
||||||
|
@ -15,9 +15,9 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"text/tabwriter"
|
"text/tabwriter"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/internal/pkg/extensions"
|
"github.com/siderolabs/talos/internal/pkg/extensions"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
extinterface "github.com/talos-systems/talos/pkg/machinery/extensions"
|
extinterface "github.com/siderolabs/talos/pkg/machinery/extensions"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (i *Installer) installExtensions() error {
|
func (i *Installer) installExtensions() error {
|
||||||
|
@ -12,15 +12,15 @@ import (
|
|||||||
"github.com/siderolabs/go-procfs/procfs"
|
"github.com/siderolabs/go-procfs/procfs"
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime/v1alpha1/board"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/board"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime/v1alpha1/bootloader"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/bootloader"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime/v1alpha1/bootloader/adv"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/bootloader/adv"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime/v1alpha1/bootloader/grub"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/bootloader/grub"
|
||||||
"github.com/talos-systems/talos/internal/pkg/mount"
|
"github.com/siderolabs/talos/internal/pkg/mount"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/kernel"
|
"github.com/siderolabs/talos/pkg/machinery/kernel"
|
||||||
"github.com/talos-systems/talos/pkg/version"
|
"github.com/siderolabs/talos/pkg/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Options represents the set of options available for an install.
|
// Options represents the set of options available for an install.
|
||||||
|
@ -18,11 +18,11 @@ import (
|
|||||||
"github.com/siderolabs/go-blockdevice/blockdevice/partition/gpt"
|
"github.com/siderolabs/go-blockdevice/blockdevice/partition/gpt"
|
||||||
"github.com/siderolabs/go-retry/retry"
|
"github.com/siderolabs/go-retry/retry"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime/v1alpha1/board"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/board"
|
||||||
"github.com/talos-systems/talos/internal/pkg/mount"
|
"github.com/siderolabs/talos/internal/pkg/mount"
|
||||||
"github.com/talos-systems/talos/internal/pkg/partition"
|
"github.com/siderolabs/talos/internal/pkg/partition"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Manifest represents the instructions for preparing all block devices
|
// Manifest represents the instructions for preparing all block devices
|
||||||
|
@ -16,11 +16,11 @@ import (
|
|||||||
"github.com/siderolabs/go-blockdevice/blockdevice/loopback"
|
"github.com/siderolabs/go-blockdevice/blockdevice/loopback"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/installer/pkg/install"
|
"github.com/siderolabs/talos/cmd/installer/pkg/install"
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
|
||||||
"github.com/talos-systems/talos/internal/pkg/mount"
|
"github.com/siderolabs/talos/internal/pkg/mount"
|
||||||
"github.com/talos-systems/talos/internal/pkg/partition"
|
"github.com/siderolabs/talos/internal/pkg/partition"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Some tests in this package cannot be run under buildkit, as buildkit doesn't propagate partition devices
|
// Some tests in this package cannot be run under buildkit, as buildkit doesn't propagate partition devices
|
||||||
|
@ -20,10 +20,10 @@ import (
|
|||||||
"github.com/siderolabs/go-blockdevice/blockdevice/util"
|
"github.com/siderolabs/go-blockdevice/blockdevice/util"
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/internal/pkg/mount"
|
"github.com/siderolabs/talos/internal/pkg/mount"
|
||||||
"github.com/talos-systems/talos/internal/pkg/partition"
|
"github.com/siderolabs/talos/internal/pkg/partition"
|
||||||
"github.com/talos-systems/talos/pkg/archiver"
|
"github.com/siderolabs/talos/pkg/archiver"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Target represents an installation partition.
|
// Target represents an installation partition.
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
"github.com/siderolabs/go-blockdevice/blockdevice"
|
"github.com/siderolabs/go-blockdevice/blockdevice"
|
||||||
"github.com/siderolabs/go-blockdevice/blockdevice/filesystem"
|
"github.com/siderolabs/go-blockdevice/blockdevice/filesystem"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
// VerifyEphemeralPartition verifies the supplied data device options.
|
// VerifyEphemeralPartition verifies the supplied data device options.
|
||||||
|
@ -17,8 +17,8 @@ import (
|
|||||||
|
|
||||||
"github.com/siderolabs/go-cmd/pkg/cmd"
|
"github.com/siderolabs/go-cmd/pkg/cmd"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/installer/pkg"
|
"github.com/siderolabs/talos/cmd/installer/pkg"
|
||||||
"github.com/talos-systems/talos/cmd/installer/pkg/qemuimg"
|
"github.com/siderolabs/talos/cmd/installer/pkg/qemuimg"
|
||||||
)
|
)
|
||||||
|
|
||||||
const mfTpl = `SHA256({{ .VMDK }})= {{ .VMDKSHA }}
|
const mfTpl = `SHA256({{ .VMDK }})= {{ .VMDKSHA }}
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
// completionCmd represents the completion command.
|
// completionCmd represents the completion command.
|
||||||
|
@ -17,7 +17,7 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"github.com/spf13/cobra/doc"
|
"github.com/spf13/cobra/doc"
|
||||||
|
|
||||||
v1alpha1 "github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1"
|
v1alpha1 "github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1"
|
||||||
)
|
)
|
||||||
|
|
||||||
func frontmatter(title, description string) string {
|
func frontmatter(title, description string) string {
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
clientconfig "github.com/talos-systems/talos/pkg/machinery/client/config"
|
clientconfig "github.com/siderolabs/talos/pkg/machinery/client/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Cmd represents the cluster command.
|
// Cmd represents the cluster command.
|
||||||
|
@ -27,24 +27,24 @@ import (
|
|||||||
"github.com/spf13/pflag"
|
"github.com/spf13/pflag"
|
||||||
"k8s.io/client-go/tools/clientcmd"
|
"k8s.io/client-go/tools/clientcmd"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/mgmt/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/mgmt/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/cluster/check"
|
"github.com/siderolabs/talos/pkg/cluster/check"
|
||||||
"github.com/talos-systems/talos/pkg/images"
|
"github.com/siderolabs/talos/pkg/images"
|
||||||
clientconfig "github.com/talos-systems/talos/pkg/machinery/client/config"
|
clientconfig "github.com/siderolabs/talos/pkg/machinery/client/config"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config"
|
"github.com/siderolabs/talos/pkg/machinery/config"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/configpatcher"
|
"github.com/siderolabs/talos/pkg/machinery/config/configpatcher"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/encoder"
|
"github.com/siderolabs/talos/pkg/machinery/config/encoder"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1/bundle"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1/bundle"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1/generate"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1/generate"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1/machine"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/nethelpers"
|
"github.com/siderolabs/talos/pkg/machinery/nethelpers"
|
||||||
"github.com/talos-systems/talos/pkg/provision"
|
"github.com/siderolabs/talos/pkg/provision"
|
||||||
"github.com/talos-systems/talos/pkg/provision/access"
|
"github.com/siderolabs/talos/pkg/provision/access"
|
||||||
"github.com/talos-systems/talos/pkg/provision/providers"
|
"github.com/siderolabs/talos/pkg/provision/providers"
|
||||||
"github.com/talos-systems/talos/pkg/version"
|
"github.com/siderolabs/talos/pkg/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -9,8 +9,8 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/provision/providers"
|
"github.com/siderolabs/talos/pkg/provision/providers"
|
||||||
)
|
)
|
||||||
|
|
||||||
// destroyCmd represents the cluster destroy command.
|
// destroyCmd represents the cluster destroy command.
|
||||||
|
@ -17,9 +17,9 @@ import (
|
|||||||
"github.com/siderolabs/gen/slices"
|
"github.com/siderolabs/gen/slices"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/provision"
|
"github.com/siderolabs/talos/pkg/provision"
|
||||||
"github.com/talos-systems/talos/pkg/provision/providers"
|
"github.com/siderolabs/talos/pkg/provision/providers"
|
||||||
)
|
)
|
||||||
|
|
||||||
// showCmd represents the cluster show command.
|
// showCmd represents the cluster show command.
|
||||||
|
@ -29,9 +29,9 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"golang.org/x/sync/errgroup"
|
"golang.org/x/sync/errgroup"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/encoder"
|
"github.com/siderolabs/talos/pkg/machinery/config/encoder"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:embed httproot/*
|
//go:embed httproot/*
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/provision/providers/vm"
|
"github.com/siderolabs/talos/pkg/provision/providers/vm"
|
||||||
)
|
)
|
||||||
|
|
||||||
var dhcpdLaunchCmdFlags struct {
|
var dhcpdLaunchCmdFlags struct {
|
||||||
|
@ -13,7 +13,7 @@ import (
|
|||||||
"github.com/siderolabs/crypto/x509"
|
"github.com/siderolabs/crypto/x509"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
var genCACmdFlags struct {
|
var genCACmdFlags struct {
|
||||||
|
@ -15,16 +15,16 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/mgmt/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/mgmt/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/images"
|
"github.com/siderolabs/talos/pkg/images"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config"
|
"github.com/siderolabs/talos/pkg/machinery/config"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/configpatcher"
|
"github.com/siderolabs/talos/pkg/machinery/config/configpatcher"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/encoder"
|
"github.com/siderolabs/talos/pkg/machinery/config/encoder"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1/bundle"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1/bundle"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1/generate"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1/generate"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1/machine"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
var genConfigCmdFlags struct {
|
var genConfigCmdFlags struct {
|
||||||
|
@ -14,7 +14,7 @@ import (
|
|||||||
"github.com/siderolabs/crypto/x509"
|
"github.com/siderolabs/crypto/x509"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
var genCrtCmdFlags struct {
|
var genCrtCmdFlags struct {
|
||||||
|
@ -16,8 +16,8 @@ import (
|
|||||||
"github.com/siderolabs/crypto/x509"
|
"github.com/siderolabs/crypto/x509"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/role"
|
"github.com/siderolabs/talos/pkg/machinery/role"
|
||||||
)
|
)
|
||||||
|
|
||||||
var genCSRCmdFlags struct {
|
var genCSRCmdFlags struct {
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
"github.com/siderolabs/crypto/x509"
|
"github.com/siderolabs/crypto/x509"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
var genKeyCmdFlags struct {
|
var genKeyCmdFlags struct {
|
||||||
|
@ -12,7 +12,7 @@ import (
|
|||||||
"github.com/siderolabs/crypto/x509"
|
"github.com/siderolabs/crypto/x509"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
var genKeypairCmdFlags struct {
|
var genKeypairCmdFlags struct {
|
||||||
|
@ -11,8 +11,8 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config"
|
"github.com/siderolabs/talos/pkg/machinery/config"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1/generate"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1/generate"
|
||||||
)
|
)
|
||||||
|
|
||||||
var genSecretsCmdFlags struct {
|
var genSecretsCmdFlags struct {
|
||||||
|
@ -10,8 +10,8 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/kubernetes/inject"
|
"github.com/siderolabs/talos/pkg/kubernetes/inject"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
var serviceAccountCmdFlags struct {
|
var serviceAccountCmdFlags struct {
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
"github.com/siderolabs/go-loadbalancer/loadbalancer"
|
"github.com/siderolabs/go-loadbalancer/loadbalancer"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
var loadbalancerLaunchCmdFlags struct {
|
var loadbalancerLaunchCmdFlags struct {
|
||||||
|
@ -9,7 +9,7 @@ package mgmt
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/provision/providers/qemu"
|
"github.com/siderolabs/talos/pkg/provision/providers/qemu"
|
||||||
)
|
)
|
||||||
|
|
||||||
// qemuLaunchCmd represents the qemu-launch command.
|
// qemuLaunchCmd represents the qemu-launch command.
|
||||||
|
@ -7,10 +7,10 @@ package mgmt
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/mgmt/cluster"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/mgmt/cluster"
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/mgmt/debug"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/mgmt/debug"
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/mgmt/gen"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/mgmt/gen"
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/mgmt/inject"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/mgmt/inject"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Commands is a list of commands published by the package.
|
// Commands is a list of commands published by the package.
|
||||||
|
@ -9,10 +9,10 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/internal/app/machined/pkg/runtime"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime"
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config"
|
"github.com/siderolabs/talos/pkg/machinery/config"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/configloader"
|
"github.com/siderolabs/talos/pkg/machinery/config/configloader"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -12,10 +12,10 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/mgmt"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/mgmt"
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos"
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
// rootCmd represents the base command when called without any subcommands.
|
// rootCmd represents the base command when called without any subcommands.
|
||||||
|
@ -14,12 +14,12 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"google.golang.org/protobuf/types/known/durationpb"
|
"google.golang.org/protobuf/types/known/durationpb"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
"github.com/talos-systems/talos/internal/pkg/tui/installer"
|
"github.com/siderolabs/talos/internal/pkg/tui/installer"
|
||||||
machineapi "github.com/talos-systems/talos/pkg/machinery/api/machine"
|
machineapi "github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/configpatcher"
|
"github.com/siderolabs/talos/pkg/machinery/config/configpatcher"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
var applyConfigCmdFlags struct {
|
var applyConfigCmdFlags struct {
|
||||||
|
@ -12,9 +12,9 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
snapshot "go.etcd.io/etcd/etcdutl/v3/snapshot"
|
snapshot "go.etcd.io/etcd/etcdutl/v3/snapshot"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/logging"
|
"github.com/siderolabs/talos/pkg/logging"
|
||||||
machineapi "github.com/talos-systems/talos/pkg/machinery/api/machine"
|
machineapi "github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
var bootstrapCmdFlags struct {
|
var bootstrapCmdFlags struct {
|
||||||
|
@ -23,11 +23,11 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"google.golang.org/protobuf/types/known/durationpb"
|
"google.golang.org/protobuf/types/known/durationpb"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
machineapi "github.com/talos-systems/talos/pkg/machinery/api/machine"
|
machineapi "github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
clientconfig "github.com/talos-systems/talos/pkg/machinery/client/config"
|
clientconfig "github.com/siderolabs/talos/pkg/machinery/client/config"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/role"
|
"github.com/siderolabs/talos/pkg/machinery/role"
|
||||||
)
|
)
|
||||||
|
|
||||||
// configCmd represents the config command.
|
// configCmd represents the config command.
|
||||||
|
@ -12,7 +12,7 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
clientconfig "github.com/talos-systems/talos/pkg/machinery/client/config"
|
clientconfig "github.com/siderolabs/talos/pkg/machinery/client/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestConfigInfoCommand(t *testing.T) {
|
func TestConfigInfoCommand(t *testing.T) {
|
||||||
|
@ -10,9 +10,9 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cluster"
|
"github.com/siderolabs/talos/pkg/cluster"
|
||||||
"github.com/talos-systems/talos/pkg/cluster/sonobuoy"
|
"github.com/siderolabs/talos/pkg/cluster/sonobuoy"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
// conformanceCmd represents the conformance command.
|
// conformanceCmd represents the conformance command.
|
||||||
|
@ -17,11 +17,11 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/peer"
|
"google.golang.org/grpc/peer"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/api/common"
|
"github.com/siderolabs/talos/pkg/machinery/api/common"
|
||||||
machineapi "github.com/talos-systems/talos/pkg/machinery/api/machine"
|
machineapi "github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
)
|
)
|
||||||
|
|
||||||
// containersCmd represents the processes command.
|
// containersCmd represents the processes command.
|
||||||
|
@ -14,8 +14,8 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
// cpCmd represents the cp command.
|
// cpCmd represents the cp command.
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
var crashdumpCmdFlags struct {
|
var crashdumpCmdFlags struct {
|
||||||
|
@ -10,8 +10,8 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
var dashboardCmdFlags struct {
|
var dashboardCmdFlags struct {
|
||||||
|
@ -11,7 +11,7 @@ import (
|
|||||||
ui "github.com/gizak/termui/v3"
|
ui "github.com/gizak/termui/v3"
|
||||||
"github.com/gizak/termui/v3/widgets"
|
"github.com/gizak/termui/v3/widgets"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SystemGauges quickly show CPU/mem load.
|
// SystemGauges quickly show CPU/mem load.
|
||||||
|
@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/gizak/termui/v3/widgets"
|
"github.com/gizak/termui/v3/widgets"
|
||||||
"github.com/siderolabs/gen/slices"
|
"github.com/siderolabs/gen/slices"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BaseGraph represents the widget with some usage graph.
|
// BaseGraph represents the widget with some usage graph.
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
"github.com/dustin/go-humanize"
|
"github.com/dustin/go-humanize"
|
||||||
"github.com/gizak/termui/v3/widgets"
|
"github.com/gizak/termui/v3/widgets"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// LoadAvgInfo represents the widget with load average info.
|
// LoadAvgInfo represents the widget with load average info.
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
"github.com/gizak/termui/v3/widgets"
|
"github.com/gizak/termui/v3/widgets"
|
||||||
"github.com/siderolabs/gen/maps"
|
"github.com/siderolabs/gen/maps"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NodeTabs represents the bottom bar with node list.
|
// NodeTabs represents the bottom bar with node list.
|
||||||
|
@ -8,7 +8,7 @@ import (
|
|||||||
ui "github.com/gizak/termui/v3"
|
ui "github.com/gizak/termui/v3"
|
||||||
"github.com/gizak/termui/v3/widgets"
|
"github.com/gizak/termui/v3/widgets"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BaseSparklineGroup represents the widget with some sparklines.
|
// BaseSparklineGroup represents the widget with some sparklines.
|
||||||
|
@ -15,7 +15,7 @@ import (
|
|||||||
ui "github.com/gizak/termui/v3"
|
ui "github.com/gizak/termui/v3"
|
||||||
"github.com/gizak/termui/v3/widgets"
|
"github.com/gizak/termui/v3/widgets"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ProcessTable represents the widget with process info.
|
// ProcessTable represents the widget with process info.
|
||||||
|
@ -7,9 +7,9 @@ package components_test
|
|||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/components"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/components"
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/api/machine"
|
"github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestUpdate(t *testing.T) {
|
func TestUpdate(t *testing.T) {
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
"github.com/gizak/termui/v3/widgets"
|
"github.com/gizak/termui/v3/widgets"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TopLine represents the top bar with host info.
|
// TopLine represents the top bar with host info.
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Main is the entrypoint into talosctl dashboard command.
|
// Main is the entrypoint into talosctl dashboard command.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
package data
|
package data
|
||||||
|
|
||||||
import "github.com/talos-systems/talos/pkg/machinery/api/machine"
|
import "github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
|
|
||||||
func cpuInfoDiff(old, next *machine.CPUStat) *machine.CPUStat {
|
func cpuInfoDiff(old, next *machine.CPUStat) *machine.CPUStat {
|
||||||
if old == nil || next == nil {
|
if old == nil || next == nil {
|
||||||
|
@ -7,7 +7,7 @@ package data
|
|||||||
import (
|
import (
|
||||||
"github.com/siderolabs/gen/slices"
|
"github.com/siderolabs/gen/slices"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/machinery/api/machine"
|
"github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Node represents data gathered from a single node.
|
// Node represents data gathered from a single node.
|
||||||
|
@ -12,8 +12,8 @@ import (
|
|||||||
"golang.org/x/sync/errgroup"
|
"golang.org/x/sync/errgroup"
|
||||||
"google.golang.org/protobuf/types/known/emptypb"
|
"google.golang.org/protobuf/types/known/emptypb"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
// APISource provides monitoring data via Talos API.
|
// APISource provides monitoring data via Talos API.
|
||||||
|
@ -9,8 +9,8 @@ import (
|
|||||||
|
|
||||||
ui "github.com/gizak/termui/v3"
|
ui "github.com/gizak/termui/v3"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/components"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/components"
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/dashboard/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// DataWidget is a widget which consumes Data to draw itself.
|
// DataWidget is a widget which consumes Data to draw itself.
|
||||||
|
@ -14,8 +14,8 @@ import (
|
|||||||
humanize "github.com/dustin/go-humanize"
|
humanize "github.com/dustin/go-humanize"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
var disksCmdFlags struct {
|
var disksCmdFlags struct {
|
||||||
|
@ -13,9 +13,9 @@ import (
|
|||||||
humanize "github.com/dustin/go-humanize"
|
humanize "github.com/dustin/go-humanize"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
machineapi "github.com/talos-systems/talos/pkg/machinery/api/machine"
|
machineapi "github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -10,9 +10,9 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/api/common"
|
"github.com/siderolabs/talos/pkg/machinery/api/common"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
var dmesgTail bool
|
var dmesgTail bool
|
||||||
|
@ -23,11 +23,11 @@ import (
|
|||||||
"k8s.io/kubectl/pkg/cmd/util/editor"
|
"k8s.io/kubectl/pkg/cmd/util/editor"
|
||||||
"k8s.io/kubectl/pkg/cmd/util/editor/crlf"
|
"k8s.io/kubectl/pkg/cmd/util/editor/crlf"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/api/machine"
|
"github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/constants"
|
"github.com/siderolabs/talos/pkg/machinery/constants"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/resources/config"
|
"github.com/siderolabs/talos/pkg/machinery/resources/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
var editCmdFlags struct {
|
var editCmdFlags struct {
|
||||||
|
@ -18,11 +18,11 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
snapshot "go.etcd.io/etcd/etcdutl/v3/snapshot"
|
snapshot "go.etcd.io/etcd/etcdutl/v3/snapshot"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/logging"
|
"github.com/siderolabs/talos/pkg/logging"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/api/machine"
|
"github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
// etcdCmd represents the etcd command.
|
// etcdCmd represents the etcd command.
|
||||||
|
@ -16,9 +16,9 @@ import (
|
|||||||
"github.com/siderolabs/gen/slices"
|
"github.com/siderolabs/gen/slices"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/api/machine"
|
"github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
var eventsCmdFlags struct {
|
var eventsCmdFlags struct {
|
||||||
|
@ -17,11 +17,11 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"google.golang.org/grpc/metadata"
|
"google.golang.org/grpc/metadata"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/cmd/talos/output"
|
"github.com/siderolabs/talos/cmd/talosctl/cmd/talos/output"
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/resources/cluster"
|
"github.com/siderolabs/talos/pkg/machinery/resources/cluster"
|
||||||
)
|
)
|
||||||
|
|
||||||
var getCmdFlags struct {
|
var getCmdFlags struct {
|
||||||
|
@ -16,14 +16,14 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/cluster"
|
"github.com/siderolabs/talos/pkg/cluster"
|
||||||
"github.com/talos-systems/talos/pkg/cluster/check"
|
"github.com/siderolabs/talos/pkg/cluster/check"
|
||||||
"github.com/talos-systems/talos/pkg/cluster/sonobuoy"
|
"github.com/siderolabs/talos/pkg/cluster/sonobuoy"
|
||||||
clusterapi "github.com/talos-systems/talos/pkg/machinery/api/cluster"
|
clusterapi "github.com/siderolabs/talos/pkg/machinery/api/cluster"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1/machine"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1/machine"
|
||||||
clusterres "github.com/talos-systems/talos/pkg/machinery/resources/cluster"
|
clusterres "github.com/siderolabs/talos/pkg/machinery/resources/cluster"
|
||||||
)
|
)
|
||||||
|
|
||||||
type clusterNodes struct {
|
type clusterNodes struct {
|
||||||
|
@ -9,8 +9,8 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/images"
|
"github.com/siderolabs/talos/pkg/images"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/config/types/v1alpha1"
|
"github.com/siderolabs/talos/pkg/machinery/config/types/v1alpha1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// imagesCmd represents the images command.
|
// imagesCmd represents the images command.
|
||||||
|
@ -11,9 +11,9 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/cli"
|
"github.com/siderolabs/talos/pkg/cli"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
// inspectCmd represents the inspect command.
|
// inspectCmd represents the inspect command.
|
||||||
|
@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
// interfacesCmd represents the net interfaces command.
|
// interfacesCmd represents the net interfaces command.
|
||||||
|
@ -18,8 +18,8 @@ import (
|
|||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"k8s.io/client-go/tools/clientcmd"
|
"k8s.io/client-go/tools/clientcmd"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -15,9 +15,9 @@ import (
|
|||||||
humanize "github.com/dustin/go-humanize"
|
humanize "github.com/dustin/go-humanize"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"github.com/talos-systems/talos/cmd/talosctl/pkg/talos/helpers"
|
"github.com/siderolabs/talos/cmd/talosctl/pkg/talos/helpers"
|
||||||
machineapi "github.com/talos-systems/talos/pkg/machinery/api/machine"
|
machineapi "github.com/siderolabs/talos/pkg/machinery/api/machine"
|
||||||
"github.com/talos-systems/talos/pkg/machinery/client"
|
"github.com/siderolabs/talos/pkg/machinery/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
const sixMonths = 6 * time.Hour * 24 * 30
|
const sixMonths = 6 * time.Hour * 24 * 30
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user