Compare commits
22 Commits
feat/files
...
refactor/c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8998f7596c | ||
|
|
f9072c9312 | ||
|
|
fb78685c1e | ||
|
|
bb7eba1f92 | ||
|
|
3f778d63c1 | ||
|
|
161f84bc59 | ||
|
|
9168e3d358 | ||
|
|
085da97ca5 | ||
|
|
eed5632794 | ||
|
|
d7cd77f941 | ||
|
|
bb8fbb239d | ||
|
|
b09ef303d1 | ||
|
|
e532682558 | ||
|
|
1b3deedc47 | ||
|
|
8c68fcf89c | ||
|
|
3f8e046855 | ||
|
|
4de8756cac | ||
|
|
1e729ec2ee | ||
|
|
cffa3bb1cc | ||
|
|
4781090e29 | ||
|
|
e0cbc9d874 | ||
|
|
e0ba27f7d0 |
2
.github/workflows/release-daemon.yaml
vendored
2
.github/workflows/release-daemon.yaml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
|
|
||||||
- name: install udev-devel
|
- name: install udev-devel
|
||||||
run: |
|
run: |
|
||||||
sudo apt install -y libudev-dev
|
sudo apt update && sudo apt install -y libudev-dev
|
||||||
|
|
||||||
- name: Install x86_64 cross-compiler
|
- name: Install x86_64 cross-compiler
|
||||||
run: sudo apt-get update && sudo apt-get install -y build-essential
|
run: sudo apt-get update && sudo apt-get install -y build-essential
|
||||||
|
|||||||
1
.github/workflows/release-daily.yaml
vendored
1
.github/workflows/release-daily.yaml
vendored
@@ -150,6 +150,7 @@ jobs:
|
|||||||
cp .dist/install-wizard/install.sh build/base-package
|
cp .dist/install-wizard/install.sh build/base-package
|
||||||
cp build/base-package/install.sh build/base-package/publicInstaller.sh
|
cp build/base-package/install.sh build/base-package/publicInstaller.sh
|
||||||
cp .dist/install-wizard/install.ps1 build/base-package
|
cp .dist/install-wizard/install.ps1 build/base-package
|
||||||
|
cp .dist/install-wizard/joincluster.sh build/base-package
|
||||||
|
|
||||||
- name: Release public files
|
- name: Release public files
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
|||||||
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@@ -121,6 +121,7 @@ jobs:
|
|||||||
cp build/base-package/install.sh build/base-package/publicInstaller.latest
|
cp build/base-package/install.sh build/base-package/publicInstaller.latest
|
||||||
cp .dist/install-wizard/install.ps1 build/insbase-packagetaller
|
cp .dist/install-wizard/install.ps1 build/insbase-packagetaller
|
||||||
cp build/base-package/install.ps1 build/base-package/publicInstaller.latest.ps1
|
cp build/base-package/install.ps1 build/base-package/publicInstaller.latest.ps1
|
||||||
|
cp .dist/install-wizard/joincluster.sh build/base-package
|
||||||
|
|
||||||
- name: Release public files
|
- name: Release public files
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ spec:
|
|||||||
dataType: app
|
dataType: app
|
||||||
deployment: market
|
deployment: market
|
||||||
description: app store provider
|
description: app store provider
|
||||||
endpoint: appstore-service.{{ .Release.Namespace }}
|
endpoint: appstore-service.{{ .Release.Namespace }}:81
|
||||||
group: service.appstore
|
group: service.appstore
|
||||||
kind: provider
|
kind: provider
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
|
|||||||
@@ -140,12 +140,6 @@ spec:
|
|||||||
items:
|
items:
|
||||||
- key: san.cnf
|
- key: san.cnf
|
||||||
path: san.cnf
|
path: san.cnf
|
||||||
- name: sidecar-configs-studio
|
|
||||||
configMap:
|
|
||||||
name: sidecar-configs-studio
|
|
||||||
items:
|
|
||||||
- key: envoy.yaml
|
|
||||||
path: envoy.yaml
|
|
||||||
- name: certs
|
- name: certs
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
initContainers:
|
initContainers:
|
||||||
@@ -169,61 +163,6 @@ spec:
|
|||||||
mountPath: /charts
|
mountPath: /charts
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
- name: terminus-sidecar-init
|
|
||||||
image: aboveos/openservicemesh-init:v1.2.3
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
command:
|
|
||||||
- /bin/sh
|
|
||||||
- -c
|
|
||||||
- |
|
|
||||||
iptables-restore --noflush <<EOF
|
|
||||||
# sidecar interception rules
|
|
||||||
*nat
|
|
||||||
:PROXY_IN_REDIRECT - [0:0]
|
|
||||||
:PROXY_INBOUND - [0:0]
|
|
||||||
:PROXY_OUTBOUND - [0:0]
|
|
||||||
:PROXY_OUT_REDIRECT - [0:0]
|
|
||||||
|
|
||||||
-A PREROUTING -p tcp -j PROXY_INBOUND
|
|
||||||
-A OUTPUT -p tcp -j PROXY_OUTBOUND
|
|
||||||
-A PROXY_INBOUND -p tcp --dport 15000 -j RETURN
|
|
||||||
-A PROXY_INBOUND -p tcp --dport 8083 -j RETURN
|
|
||||||
-A PROXY_INBOUND -p tcp -j PROXY_IN_REDIRECT
|
|
||||||
-A PROXY_IN_REDIRECT -p tcp -j REDIRECT --to-port 15003
|
|
||||||
|
|
||||||
|
|
||||||
-A PROXY_OUTBOUND -p tcp --dport 5432 -j RETURN
|
|
||||||
-A PROXY_OUTBOUND -p tcp --dport 6379 -j RETURN
|
|
||||||
-A PROXY_OUTBOUND -p tcp --dport 27017 -j RETURN
|
|
||||||
-A PROXY_OUTBOUND -p tcp --dport 443 -j RETURN
|
|
||||||
-A PROXY_OUTBOUND -p tcp --dport 8080 -j RETURN
|
|
||||||
|
|
||||||
-A PROXY_OUTBOUND -d ${POD_IP}/32 -j RETURN
|
|
||||||
|
|
||||||
-A PROXY_OUTBOUND -o lo ! -d 127.0.0.1/32 -m owner --uid-owner 1555 -j PROXY_IN_REDIRECT
|
|
||||||
-A PROXY_OUTBOUND -o lo -m owner ! --uid-owner 1555 -j RETURN
|
|
||||||
-A PROXY_OUTBOUND -m owner --uid-owner 1555 -j RETURN
|
|
||||||
-A PROXY_OUTBOUND -d 127.0.0.1/32 -j RETURN
|
|
||||||
|
|
||||||
-A PROXY_OUTBOUND -j PROXY_OUT_REDIRECT
|
|
||||||
-A PROXY_OUT_REDIRECT -p tcp -j REDIRECT --to-port 15001
|
|
||||||
|
|
||||||
COMMIT
|
|
||||||
EOF
|
|
||||||
env:
|
|
||||||
- name: POD_IP
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
apiVersion: v1
|
|
||||||
fieldPath: status.podIP
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
capabilities:
|
|
||||||
add:
|
|
||||||
- NET_ADMIN
|
|
||||||
runAsNonRoot: false
|
|
||||||
runAsUser: 0
|
|
||||||
|
|
||||||
- name: generate-certs
|
- name: generate-certs
|
||||||
image: beclab/openssl:v3
|
image: beclab/openssl:v3
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
@@ -303,58 +242,6 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
cpu: "0.5"
|
cpu: "0.5"
|
||||||
memory: 1000Mi
|
memory: 1000Mi
|
||||||
- name: terminus-envoy-sidecar
|
|
||||||
image: bytetrade/envoy:v1.25.11.1
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
runAsUser: 1555
|
|
||||||
ports:
|
|
||||||
- name: proxy-admin
|
|
||||||
containerPort: 15000
|
|
||||||
- name: proxy-inbound
|
|
||||||
containerPort: 15003
|
|
||||||
- name: proxy-outbound
|
|
||||||
containerPort: 15001
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: "50m"
|
|
||||||
memory: 100Mi
|
|
||||||
limits:
|
|
||||||
cpu: "0.5"
|
|
||||||
memory: 200Mi
|
|
||||||
volumeMounts:
|
|
||||||
- name: sidecar-configs-studio
|
|
||||||
readOnly: true
|
|
||||||
mountPath: /etc/envoy/envoy.yaml
|
|
||||||
subPath: envoy.yaml
|
|
||||||
command:
|
|
||||||
- /usr/local/bin/envoy
|
|
||||||
- --log-level
|
|
||||||
- debug
|
|
||||||
- -c
|
|
||||||
- /etc/envoy/envoy.yaml
|
|
||||||
env:
|
|
||||||
- name: POD_UID
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.uid
|
|
||||||
- name: POD_NAME
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.name
|
|
||||||
- name: POD_NAMESPACE
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.namespace
|
|
||||||
- name: POD_IP
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: status.podIP
|
|
||||||
- name: APP_KEY
|
|
||||||
value: {{ .Values.os.studio.appKey }}
|
|
||||||
- name: APP_SECRET
|
|
||||||
value: {{ .Values.os.studio.appSecret }}
|
|
||||||
- name: chartmuseum
|
- name: chartmuseum
|
||||||
image: aboveos/helm-chartmuseum:v0.15.0
|
image: aboveos/helm-chartmuseum:v0.15.0
|
||||||
args:
|
args:
|
||||||
@@ -404,146 +291,4 @@ spec:
|
|||||||
timeoutSeconds: 1
|
timeoutSeconds: 1
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
data:
|
|
||||||
envoy.yaml: |
|
|
||||||
admin:
|
|
||||||
access_log_path: "/dev/stdout"
|
|
||||||
address:
|
|
||||||
socket_address:
|
|
||||||
address: 0.0.0.0
|
|
||||||
port_value: 15000
|
|
||||||
static_resources:
|
|
||||||
listeners:
|
|
||||||
- name: listener_0
|
|
||||||
address:
|
|
||||||
socket_address:
|
|
||||||
address: 0.0.0.0
|
|
||||||
port_value: 15003
|
|
||||||
listener_filters:
|
|
||||||
- name: envoy.filters.listener.original_dst
|
|
||||||
typed_config:
|
|
||||||
"@type": type.googleapis.com/envoy.extensions.filters.listener.original_dst.v3.OriginalDst
|
|
||||||
filter_chains:
|
|
||||||
- filters:
|
|
||||||
- name: envoy.filters.network.http_connection_manager
|
|
||||||
typed_config:
|
|
||||||
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
|
|
||||||
stat_prefix: desktop_http
|
|
||||||
upgrade_configs:
|
|
||||||
- upgrade_type: websocket
|
|
||||||
- upgrade_type: tailscale-control-protocol
|
|
||||||
skip_xff_append: false
|
|
||||||
codec_type: AUTO
|
|
||||||
route_config:
|
|
||||||
name: local_route
|
|
||||||
virtual_hosts:
|
|
||||||
- name: service
|
|
||||||
domains: ["*"]
|
|
||||||
routes:
|
|
||||||
- match:
|
|
||||||
prefix: "/"
|
|
||||||
route:
|
|
||||||
cluster: original_dst
|
|
||||||
timeout: 1800s
|
|
||||||
http_protocol_options:
|
|
||||||
accept_http_10: true
|
|
||||||
http_filters:
|
|
||||||
- name: envoy.filters.http.router
|
|
||||||
typed_config:
|
|
||||||
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
|
|
||||||
- name: listener_1
|
|
||||||
address:
|
|
||||||
socket_address:
|
|
||||||
address: 0.0.0.0
|
|
||||||
port_value: 15001
|
|
||||||
listener_filters:
|
|
||||||
- name: envoy.filters.listener.original_dst
|
|
||||||
typed_config:
|
|
||||||
"@type": type.googleapis.com/envoy.extensions.filters.listener.original_dst.v3.OriginalDst
|
|
||||||
filter_chains:
|
|
||||||
- filters:
|
|
||||||
- name: envoy.filters.network.http_connection_manager
|
|
||||||
typed_config:
|
|
||||||
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
|
|
||||||
stat_prefix: studio_out_http
|
|
||||||
skip_xff_append: false
|
|
||||||
codec_type: AUTO
|
|
||||||
route_config:
|
|
||||||
name: local_route
|
|
||||||
virtual_hosts:
|
|
||||||
- name: service
|
|
||||||
domains: ["*"]
|
|
||||||
routes:
|
|
||||||
- match:
|
|
||||||
prefix: "/server/intent/send"
|
|
||||||
request_headers_to_add:
|
|
||||||
- header:
|
|
||||||
key: X-App-Key
|
|
||||||
value: {{ .Values.os.studio.appKey }}
|
|
||||||
route:
|
|
||||||
cluster: system-server
|
|
||||||
prefix_rewrite: /system-server/v2/legacy_api/api.intent/v2/server/intent/send
|
|
||||||
- match:
|
|
||||||
prefix: "/"
|
|
||||||
route:
|
|
||||||
cluster: original_dst
|
|
||||||
timeout: 1800s
|
|
||||||
typed_per_filter_config:
|
|
||||||
envoy.filters.http.lua:
|
|
||||||
"@type": type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute
|
|
||||||
disabled: true
|
|
||||||
|
|
||||||
http_protocol_options:
|
|
||||||
accept_http_10: true
|
|
||||||
http_filters:
|
|
||||||
- name: envoy.filters.http.lua
|
|
||||||
typed_config:
|
|
||||||
"@type": type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua
|
|
||||||
inline_code:
|
|
||||||
local sha = require("lib.sha2")
|
|
||||||
function envoy_on_request(request_handle)
|
|
||||||
local app_key = os.getenv("APP_KEY")
|
|
||||||
local app_secret = os.getenv("APP_SECRET")
|
|
||||||
local current_time = os.time()
|
|
||||||
local minute_level_time = current_time - (current_time % 60)
|
|
||||||
local time_string = tostring(minute_level_time)
|
|
||||||
local s = app_key .. app_secret .. time_string
|
|
||||||
request_handle:logInfo("originstring:" .. s)
|
|
||||||
local hash = sha.sha256(s)
|
|
||||||
request_handle:logInfo("Hello World.")
|
|
||||||
request_handle:logInfo(hash)
|
|
||||||
request_handle:headers():add("X-Auth-Signature",hash)
|
|
||||||
end
|
|
||||||
- name: envoy.filters.http.router
|
|
||||||
typed_config:
|
|
||||||
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
|
|
||||||
|
|
||||||
|
|
||||||
clusters:
|
|
||||||
- name: original_dst
|
|
||||||
connect_timeout: 5000s
|
|
||||||
type: ORIGINAL_DST
|
|
||||||
lb_policy: CLUSTER_PROVIDED
|
|
||||||
- name: system-server
|
|
||||||
connect_timeout: 2s
|
|
||||||
type: LOGICAL_DNS
|
|
||||||
dns_lookup_family: V4_ONLY
|
|
||||||
dns_refresh_rate: 600s
|
|
||||||
lb_policy: ROUND_ROBIN
|
|
||||||
load_assignment:
|
|
||||||
cluster_name: system-server
|
|
||||||
endpoints:
|
|
||||||
- lb_endpoints:
|
|
||||||
- endpoint:
|
|
||||||
address:
|
|
||||||
socket_address:
|
|
||||||
address: system-server.user-system-{{ .Values.bfl.username }}
|
|
||||||
port_value: 80
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: sidecar-configs-studio
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
@@ -316,7 +316,7 @@ spec:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
fieldPath: status.podIP
|
fieldPath: status.podIP
|
||||||
- name: dashboard-init
|
- name: dashboard-init
|
||||||
image: beclab/dashboard-frontend-v1:v0.4.9
|
image: beclab/dashboard:v1.3.73
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
@@ -328,7 +328,7 @@ spec:
|
|||||||
- mountPath: /www
|
- mountPath: /www
|
||||||
name: www-dir
|
name: www-dir
|
||||||
- name: control-hub-init
|
- name: control-hub-init
|
||||||
image: beclab/admin-console-frontend-v1:v0.5.8
|
image: beclab/control-hub:v1.3.73
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
@@ -376,7 +376,7 @@ spec:
|
|||||||
- mountPath: /www
|
- mountPath: /www
|
||||||
name: www-dir
|
name: www-dir
|
||||||
- name: settings-init
|
- name: settings-init
|
||||||
image: beclab/settings:v1.3.71
|
image: beclab/settings:v1.3.73
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
@@ -388,7 +388,7 @@ spec:
|
|||||||
- mountPath: /www
|
- mountPath: /www
|
||||||
name: www-dir
|
name: www-dir
|
||||||
- name: studio-init
|
- name: studio-init
|
||||||
image: beclab/studio:v0.2.16
|
image: beclab/studio:v1.3.73
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
@@ -471,7 +471,7 @@ spec:
|
|||||||
- mountPath: /www
|
- mountPath: /www
|
||||||
name: www-dir
|
name: www-dir
|
||||||
- name: edge-desktop-init
|
- name: edge-desktop-init
|
||||||
image: beclab/desktop:v1.3.70
|
image: beclab/desktop:v1.3.74
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
@@ -611,22 +611,9 @@ spec:
|
|||||||
key: nats_password
|
key: nats_password
|
||||||
name: user-service-nats-secret
|
name: user-service-nats-secret
|
||||||
- name: NATS_SUBJECT_USER_APPS
|
- name: NATS_SUBJECT_USER_APPS
|
||||||
value: terminus.user.*.{{ .Values.bfl.username}}
|
value: terminus.user.vault.{{ .Values.bfl.username}}
|
||||||
- name: terminus-ws-sidecar
|
|
||||||
image: 'beclab/ws-gateway:v1.0.5'
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
command:
|
|
||||||
- /ws-gateway
|
|
||||||
env:
|
|
||||||
- name: WS_PORT
|
|
||||||
value: '3010'
|
|
||||||
- name: WS_URL
|
|
||||||
value: /websocket/message
|
|
||||||
resources: {}
|
|
||||||
terminationMessagePath: /dev/termination-log
|
|
||||||
terminationMessagePolicy: File
|
|
||||||
- name: user-service
|
- name: user-service
|
||||||
image: beclab/user-service:v0.0.10
|
image: beclab/user-service:v0.0.15
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
@@ -682,6 +669,21 @@ spec:
|
|||||||
name: user-service-nats-secret
|
name: user-service-nats-secret
|
||||||
- name: NATS_SUBJECT_USER_APPS
|
- name: NATS_SUBJECT_USER_APPS
|
||||||
value: terminus.user.*.{{ .Values.bfl.username}}
|
value: terminus.user.*.{{ .Values.bfl.username}}
|
||||||
|
- name: NATS_SUBJECT_USER_VAULT
|
||||||
|
value: terminus.user.vault.{{ .Values.bfl.username}}
|
||||||
|
- name: NATS_SUBJECT_USER_KNOWLEDGE
|
||||||
|
value: terminus.user.knowledge.{{ .Values.bfl.username}}
|
||||||
|
- name: NATS_SUBJECT_USER_MARKET
|
||||||
|
value: terminus.user.market.{{.Values.bfl.username}}
|
||||||
|
- name: NATS_SUBJECT_USER_NOTIFICATION
|
||||||
|
value: terminus.user.notification.{{.Values.bfl.username}}
|
||||||
|
- name: NATS_SUBJECT_USER_SEARCH
|
||||||
|
value: terminus.user.search.{{.Values.bfl.username}}
|
||||||
|
- name: NATS_SUBJECT_USER_SEAHUB
|
||||||
|
value: terminus.user.seahub.{{.Values.bfl.username}}
|
||||||
|
- name: NATS_SUBJECT_USER_APPLICATION
|
||||||
|
value: terminus.user.application.{{.Values.bfl.username}}
|
||||||
|
|
||||||
- name: drive-server
|
- name: drive-server
|
||||||
image: beclab/drive:v0.0.72
|
image: beclab/drive:v0.0.72
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
@@ -736,7 +738,7 @@ spec:
|
|||||||
path: '{{ .Values.userspace.userData }}'
|
path: '{{ .Values.userspace.userData }}'
|
||||||
- name: terminus-sidecar-config
|
- name: terminus-sidecar-config
|
||||||
configMap:
|
configMap:
|
||||||
name: sidecar-ws-configs
|
name: user-service-sidecar-ws-configs
|
||||||
items:
|
items:
|
||||||
- key: envoy.yaml
|
- key: envoy.yaml
|
||||||
path: envoy.yaml
|
path: envoy.yaml
|
||||||
@@ -939,10 +941,10 @@ spec:
|
|||||||
perm:
|
perm:
|
||||||
- pub
|
- pub
|
||||||
- sub
|
- sub
|
||||||
- appName: user-files
|
- appName: user-service
|
||||||
appNamespace: "user.{{ .Values.bfl.username }}"
|
appNamespace: user
|
||||||
subjects:
|
subjects:
|
||||||
- name: files
|
- name: "files.*"
|
||||||
perm:
|
perm:
|
||||||
- pub
|
- pub
|
||||||
- sub
|
- sub
|
||||||
@@ -1986,6 +1988,195 @@ metadata:
|
|||||||
name: sidecar-ws-configs
|
name: sidecar-ws-configs
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
---
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
data:
|
||||||
|
envoy.yaml: |
|
||||||
|
admin:
|
||||||
|
access_log_path: "/dev/stdout"
|
||||||
|
address:
|
||||||
|
socket_address:
|
||||||
|
address: 0.0.0.0
|
||||||
|
port_value: 15000
|
||||||
|
static_resources:
|
||||||
|
listeners:
|
||||||
|
- name: listener_0
|
||||||
|
address:
|
||||||
|
socket_address:
|
||||||
|
address: 0.0.0.0
|
||||||
|
port_value: 15003
|
||||||
|
listener_filters:
|
||||||
|
- name: envoy.filters.listener.original_dst
|
||||||
|
typed_config:
|
||||||
|
"@type": type.googleapis.com/envoy.extensions.filters.listener.original_dst.v3.OriginalDst
|
||||||
|
filter_chains:
|
||||||
|
- filters:
|
||||||
|
- name: envoy.filters.network.http_connection_manager
|
||||||
|
typed_config:
|
||||||
|
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
|
||||||
|
stat_prefix: desktop_http
|
||||||
|
upgrade_configs:
|
||||||
|
- upgrade_type: websocket
|
||||||
|
- upgrade_type: tailscale-control-protocol
|
||||||
|
skip_xff_append: false
|
||||||
|
max_request_headers_kb: 500
|
||||||
|
codec_type: AUTO
|
||||||
|
route_config:
|
||||||
|
name: local_route
|
||||||
|
virtual_hosts:
|
||||||
|
- name: service
|
||||||
|
domains: ["*"]
|
||||||
|
routes:
|
||||||
|
- match:
|
||||||
|
prefix: "/ws"
|
||||||
|
route:
|
||||||
|
cluster: ws_original_dst
|
||||||
|
- match:
|
||||||
|
prefix: "/"
|
||||||
|
route:
|
||||||
|
cluster: original_dst
|
||||||
|
timeout: 180s
|
||||||
|
http_protocol_options:
|
||||||
|
accept_http_10: true
|
||||||
|
http_filters:
|
||||||
|
- name: envoy.filters.http.ext_authz
|
||||||
|
typed_config:
|
||||||
|
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
|
||||||
|
http_service:
|
||||||
|
path_prefix: '/api/verify/'
|
||||||
|
server_uri:
|
||||||
|
uri: authelia-backend.os-system:9091
|
||||||
|
cluster: authelia
|
||||||
|
timeout: 2s
|
||||||
|
authorization_request:
|
||||||
|
allowed_headers:
|
||||||
|
patterns:
|
||||||
|
- exact: accept
|
||||||
|
- exact: cookie
|
||||||
|
- exact: proxy-authorization
|
||||||
|
- prefix: x-unauth-
|
||||||
|
- exact: x-authorization
|
||||||
|
- exact: x-bfl-user
|
||||||
|
- exact: x-real-ip
|
||||||
|
- exact: terminus-nonce
|
||||||
|
headers_to_add:
|
||||||
|
- key: X-Forwarded-Method
|
||||||
|
value: '%REQ(:METHOD)%'
|
||||||
|
- key: X-Forwarded-Proto
|
||||||
|
value: '%REQ(:SCHEME)%'
|
||||||
|
- key: X-Forwarded-Host
|
||||||
|
value: '%REQ(:AUTHORITY)%'
|
||||||
|
- key: X-Forwarded-Uri
|
||||||
|
value: '%REQ(:PATH)%'
|
||||||
|
- key: X-Forwarded-For
|
||||||
|
value: '%DOWNSTREAM_REMOTE_ADDRESS_WITHOUT_PORT%'
|
||||||
|
authorization_response:
|
||||||
|
allowed_upstream_headers:
|
||||||
|
patterns:
|
||||||
|
- exact: authorization
|
||||||
|
- exact: proxy-authorization
|
||||||
|
- prefix: remote-
|
||||||
|
- prefix: authelia-
|
||||||
|
allowed_client_headers:
|
||||||
|
patterns:
|
||||||
|
- exact: set-cookie
|
||||||
|
allowed_client_headers_on_success:
|
||||||
|
patterns:
|
||||||
|
- exact: set-cookie
|
||||||
|
failure_mode_allow: false
|
||||||
|
- name: envoy.filters.http.router
|
||||||
|
typed_config:
|
||||||
|
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
|
||||||
|
|
||||||
|
- name: listener_image
|
||||||
|
address:
|
||||||
|
socket_address:
|
||||||
|
address: 127.0.0.1
|
||||||
|
port_value: 15080
|
||||||
|
filter_chains:
|
||||||
|
- filters:
|
||||||
|
- name: envoy.filters.network.http_connection_manager
|
||||||
|
typed_config:
|
||||||
|
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
|
||||||
|
stat_prefix: tapr_http
|
||||||
|
http_protocol_options:
|
||||||
|
accept_http_10: true
|
||||||
|
upgrade_configs:
|
||||||
|
- upgrade_type: websocket
|
||||||
|
skip_xff_append: false
|
||||||
|
codec_type: AUTO
|
||||||
|
route_config:
|
||||||
|
name: local_route
|
||||||
|
virtual_hosts:
|
||||||
|
- name: service
|
||||||
|
domains: ["*"]
|
||||||
|
routes:
|
||||||
|
- match:
|
||||||
|
prefix: "/images/upload"
|
||||||
|
route:
|
||||||
|
cluster: images
|
||||||
|
http_filters:
|
||||||
|
- name: envoy.filters.http.router
|
||||||
|
typed_config:
|
||||||
|
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
|
||||||
|
|
||||||
|
|
||||||
|
clusters:
|
||||||
|
- name: original_dst
|
||||||
|
connect_timeout: 5000s
|
||||||
|
type: ORIGINAL_DST
|
||||||
|
lb_policy: CLUSTER_PROVIDED
|
||||||
|
common_http_protocol_options:
|
||||||
|
idle_timeout: 10s
|
||||||
|
- name: ws_original_dst
|
||||||
|
connect_timeout: 5000s
|
||||||
|
type: LOGICAL_DNS
|
||||||
|
dns_lookup_family: V4_ONLY
|
||||||
|
dns_refresh_rate: 600s
|
||||||
|
lb_policy: ROUND_ROBIN
|
||||||
|
load_assignment:
|
||||||
|
cluster_name: ws_original_dst
|
||||||
|
endpoints:
|
||||||
|
- lb_endpoints:
|
||||||
|
- endpoint:
|
||||||
|
address:
|
||||||
|
socket_address:
|
||||||
|
address: localhost
|
||||||
|
port_value: 3100
|
||||||
|
- name: authelia
|
||||||
|
connect_timeout: 2s
|
||||||
|
type: LOGICAL_DNS
|
||||||
|
dns_lookup_family: V4_ONLY
|
||||||
|
dns_refresh_rate: 600s
|
||||||
|
lb_policy: ROUND_ROBIN
|
||||||
|
load_assignment:
|
||||||
|
cluster_name: authelia
|
||||||
|
endpoints:
|
||||||
|
- lb_endpoints:
|
||||||
|
- endpoint:
|
||||||
|
address:
|
||||||
|
socket_address:
|
||||||
|
address: authelia-backend.os-system
|
||||||
|
port_value: 9091
|
||||||
|
- name: images
|
||||||
|
connect_timeout: 5s
|
||||||
|
type: LOGICAL_DNS
|
||||||
|
dns_lookup_family: V4_ONLY
|
||||||
|
dns_refresh_rate: 600s
|
||||||
|
lb_policy: ROUND_ROBIN
|
||||||
|
load_assignment:
|
||||||
|
cluster_name: images
|
||||||
|
endpoints:
|
||||||
|
- lb_endpoints:
|
||||||
|
- endpoint:
|
||||||
|
address:
|
||||||
|
socket_address:
|
||||||
|
address: tapr-images-svc.user-system-{{ .Values.bfl.username }}
|
||||||
|
port_value: 8080
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: user-service-sidecar-ws-configs
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
---
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
@@ -2094,7 +2285,7 @@ data:
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /ws {
|
location /ws {
|
||||||
proxy_pass http://127.0.0.1:40010;
|
proxy_pass http://127.0.0.1:3100;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
@@ -2397,7 +2588,7 @@ data:
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /ws {
|
location /ws {
|
||||||
proxy_pass http://rss-svc.os-system:40010;
|
proxy_pass http://127.0.0.1:3100;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
@@ -2569,7 +2760,7 @@ data:
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /ws {
|
location /ws {
|
||||||
proxy_pass http://127.0.0.1:40010;
|
proxy_pass http://127.0.0.1:3100;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
@@ -2780,7 +2971,7 @@ data:
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /ws {
|
location /ws {
|
||||||
proxy_pass http://127.0.0.1:40010;
|
proxy_pass http://127.0.0.1:3100;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
@@ -3212,7 +3403,7 @@ data:
|
|||||||
add_header X-Frame-Options SAMEORIGIN;
|
add_header X-Frame-Options SAMEORIGIN;
|
||||||
}
|
}
|
||||||
location /ws {
|
location /ws {
|
||||||
proxy_pass http://127.0.0.1:40010;
|
proxy_pass http://127.0.0.1:3100;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
@@ -3227,9 +3418,6 @@ data:
|
|||||||
upstream AppstoreBackendServer {
|
upstream AppstoreBackendServer {
|
||||||
server appstore-svc:81;
|
server appstore-svc:81;
|
||||||
}
|
}
|
||||||
upstream AppstoreBackendWebScoket {
|
|
||||||
server appstore-svc:40010;
|
|
||||||
}
|
|
||||||
server {
|
server {
|
||||||
listen 90;
|
listen 90;
|
||||||
gzip off;
|
gzip off;
|
||||||
@@ -3247,7 +3435,7 @@ data:
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /ws {
|
location /ws {
|
||||||
proxy_pass http://AppstoreBackendWebScoket;
|
proxy_pass http://127.0.0.1:3100;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
@@ -3381,7 +3569,7 @@ data:
|
|||||||
proxy_send_timeout 60s;
|
proxy_send_timeout 60s;
|
||||||
}
|
}
|
||||||
location /ws {
|
location /ws {
|
||||||
proxy_pass http://127.0.0.1:40010;
|
proxy_pass http://127.0.0.1:3100;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
@@ -3414,7 +3602,10 @@ spec:
|
|||||||
- appName: files-server
|
- appName: files-server
|
||||||
sub: allow
|
sub: allow
|
||||||
pub: allow
|
pub: allow
|
||||||
name: "*."
|
- appName: files-frontend
|
||||||
|
sub: allow
|
||||||
|
pub: allow
|
||||||
|
name: "files.*"
|
||||||
permission:
|
permission:
|
||||||
pub: allow
|
pub: allow
|
||||||
sub: allow
|
sub: allow
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ builds:
|
|||||||
ldflags:
|
ldflags:
|
||||||
- -s
|
- -s
|
||||||
- -w
|
- -w
|
||||||
- -X bytetrade.io/web3os/installer/version.VERSION={{ .Version }}
|
- -X github.com/beclab/Olares/cli/version.VERSION={{ .Version }}
|
||||||
dist: ./output
|
dist: ./output
|
||||||
archives:
|
archives:
|
||||||
- id: olares-cli
|
- id: olares-cli
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
"k8s.io/apimachinery/pkg/runtime"
|
"k8s.io/apimachinery/pkg/runtime"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ package versioned
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
kubekeyv1alpha1 "bytetrade.io/web3os/installer/clients/clientset/versioned/typed/kubekey/v1alpha1"
|
kubekeyv1alpha1 "github.com/beclab/Olares/cli/clients/clientset/versioned/typed/kubekey/v1alpha1"
|
||||||
kubekeyv1alpha2 "bytetrade.io/web3os/installer/clients/clientset/versioned/typed/kubekey/v1alpha2"
|
kubekeyv1alpha2 "github.com/beclab/Olares/cli/clients/clientset/versioned/typed/kubekey/v1alpha2"
|
||||||
discovery "k8s.io/client-go/discovery"
|
discovery "k8s.io/client-go/discovery"
|
||||||
rest "k8s.io/client-go/rest"
|
rest "k8s.io/client-go/rest"
|
||||||
flowcontrol "k8s.io/client-go/util/flowcontrol"
|
flowcontrol "k8s.io/client-go/util/flowcontrol"
|
||||||
|
|||||||
@@ -18,11 +18,11 @@ limitations under the License.
|
|||||||
package fake
|
package fake
|
||||||
|
|
||||||
import (
|
import (
|
||||||
clientset "bytetrade.io/web3os/installer/clients/clientset/versioned"
|
clientset "github.com/beclab/Olares/cli/clients/clientset/versioned"
|
||||||
kubekeyv1alpha1 "bytetrade.io/web3os/installer/clients/clientset/versioned/typed/kubekey/v1alpha1"
|
kubekeyv1alpha1 "github.com/beclab/Olares/cli/clients/clientset/versioned/typed/kubekey/v1alpha1"
|
||||||
fakekubekeyv1alpha1 "bytetrade.io/web3os/installer/clients/clientset/versioned/typed/kubekey/v1alpha1/fake"
|
fakekubekeyv1alpha1 "github.com/beclab/Olares/cli/clients/clientset/versioned/typed/kubekey/v1alpha1/fake"
|
||||||
kubekeyv1alpha2 "bytetrade.io/web3os/installer/clients/clientset/versioned/typed/kubekey/v1alpha2"
|
kubekeyv1alpha2 "github.com/beclab/Olares/cli/clients/clientset/versioned/typed/kubekey/v1alpha2"
|
||||||
fakekubekeyv1alpha2 "bytetrade.io/web3os/installer/clients/clientset/versioned/typed/kubekey/v1alpha2/fake"
|
fakekubekeyv1alpha2 "github.com/beclab/Olares/cli/clients/clientset/versioned/typed/kubekey/v1alpha2/fake"
|
||||||
"k8s.io/apimachinery/pkg/runtime"
|
"k8s.io/apimachinery/pkg/runtime"
|
||||||
"k8s.io/apimachinery/pkg/watch"
|
"k8s.io/apimachinery/pkg/watch"
|
||||||
"k8s.io/client-go/discovery"
|
"k8s.io/client-go/discovery"
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ limitations under the License.
|
|||||||
package fake
|
package fake
|
||||||
|
|
||||||
import (
|
import (
|
||||||
kubekeyv1alpha1 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha1"
|
kubekeyv1alpha1 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha1"
|
||||||
kubekeyv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
kubekeyv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ limitations under the License.
|
|||||||
package scheme
|
package scheme
|
||||||
|
|
||||||
import (
|
import (
|
||||||
kubekeyv1alpha1 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha1"
|
kubekeyv1alpha1 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha1"
|
||||||
kubekeyv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
kubekeyv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
v1alpha1 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha1"
|
v1alpha1 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha1"
|
||||||
scheme "bytetrade.io/web3os/installer/clients/clientset/versioned/scheme"
|
scheme "github.com/beclab/Olares/cli/clients/clientset/versioned/scheme"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
types "k8s.io/apimachinery/pkg/types"
|
types "k8s.io/apimachinery/pkg/types"
|
||||||
watch "k8s.io/apimachinery/pkg/watch"
|
watch "k8s.io/apimachinery/pkg/watch"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ package fake
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
v1alpha1 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha1"
|
v1alpha1 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha1"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
labels "k8s.io/apimachinery/pkg/labels"
|
labels "k8s.io/apimachinery/pkg/labels"
|
||||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
package fake
|
package fake
|
||||||
|
|
||||||
import (
|
import (
|
||||||
v1alpha1 "bytetrade.io/web3os/installer/clients/clientset/versioned/typed/kubekey/v1alpha1"
|
v1alpha1 "github.com/beclab/Olares/cli/clients/clientset/versioned/typed/kubekey/v1alpha1"
|
||||||
rest "k8s.io/client-go/rest"
|
rest "k8s.io/client-go/rest"
|
||||||
testing "k8s.io/client-go/testing"
|
testing "k8s.io/client-go/testing"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ limitations under the License.
|
|||||||
package v1alpha1
|
package v1alpha1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
v1alpha1 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha1"
|
v1alpha1 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha1"
|
||||||
"bytetrade.io/web3os/installer/clients/clientset/versioned/scheme"
|
"github.com/beclab/Olares/cli/clients/clientset/versioned/scheme"
|
||||||
rest "k8s.io/client-go/rest"
|
rest "k8s.io/client-go/rest"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
v1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
v1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
scheme "bytetrade.io/web3os/installer/clients/clientset/versioned/scheme"
|
scheme "github.com/beclab/Olares/cli/clients/clientset/versioned/scheme"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
types "k8s.io/apimachinery/pkg/types"
|
types "k8s.io/apimachinery/pkg/types"
|
||||||
watch "k8s.io/apimachinery/pkg/watch"
|
watch "k8s.io/apimachinery/pkg/watch"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ package fake
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
v1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
v1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
labels "k8s.io/apimachinery/pkg/labels"
|
labels "k8s.io/apimachinery/pkg/labels"
|
||||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
package fake
|
package fake
|
||||||
|
|
||||||
import (
|
import (
|
||||||
v1alpha2 "bytetrade.io/web3os/installer/clients/clientset/versioned/typed/kubekey/v1alpha2"
|
v1alpha2 "github.com/beclab/Olares/cli/clients/clientset/versioned/typed/kubekey/v1alpha2"
|
||||||
rest "k8s.io/client-go/rest"
|
rest "k8s.io/client-go/rest"
|
||||||
testing "k8s.io/client-go/testing"
|
testing "k8s.io/client-go/testing"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ limitations under the License.
|
|||||||
package v1alpha2
|
package v1alpha2
|
||||||
|
|
||||||
import (
|
import (
|
||||||
v1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
v1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
"bytetrade.io/web3os/installer/clients/clientset/versioned/scheme"
|
"github.com/beclab/Olares/cli/clients/clientset/versioned/scheme"
|
||||||
rest "k8s.io/client-go/rest"
|
rest "k8s.io/client-go/rest"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ import (
|
|||||||
sync "sync"
|
sync "sync"
|
||||||
time "time"
|
time "time"
|
||||||
|
|
||||||
versioned "bytetrade.io/web3os/installer/clients/clientset/versioned"
|
versioned "github.com/beclab/Olares/cli/clients/clientset/versioned"
|
||||||
internalinterfaces "bytetrade.io/web3os/installer/clients/informers/externalversions/internalinterfaces"
|
internalinterfaces "github.com/beclab/Olares/cli/clients/informers/externalversions/internalinterfaces"
|
||||||
kubekey "bytetrade.io/web3os/installer/clients/informers/externalversions/kubekey"
|
kubekey "github.com/beclab/Olares/cli/clients/informers/externalversions/kubekey"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ package externalversions
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
v1alpha1 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha1"
|
v1alpha1 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha1"
|
||||||
v1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
v1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
||||||
cache "k8s.io/client-go/tools/cache"
|
cache "k8s.io/client-go/tools/cache"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ package internalinterfaces
|
|||||||
import (
|
import (
|
||||||
time "time"
|
time "time"
|
||||||
|
|
||||||
versioned "bytetrade.io/web3os/installer/clients/clientset/versioned"
|
versioned "github.com/beclab/Olares/cli/clients/clientset/versioned"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||||
cache "k8s.io/client-go/tools/cache"
|
cache "k8s.io/client-go/tools/cache"
|
||||||
|
|||||||
@@ -18,9 +18,9 @@ limitations under the License.
|
|||||||
package kubekey
|
package kubekey
|
||||||
|
|
||||||
import (
|
import (
|
||||||
internalinterfaces "bytetrade.io/web3os/installer/clients/informers/externalversions/internalinterfaces"
|
internalinterfaces "github.com/beclab/Olares/cli/clients/informers/externalversions/internalinterfaces"
|
||||||
v1alpha1 "bytetrade.io/web3os/installer/clients/informers/externalversions/kubekey/v1alpha1"
|
v1alpha1 "github.com/beclab/Olares/cli/clients/informers/externalversions/kubekey/v1alpha1"
|
||||||
v1alpha2 "bytetrade.io/web3os/installer/clients/informers/externalversions/kubekey/v1alpha2"
|
v1alpha2 "github.com/beclab/Olares/cli/clients/informers/externalversions/kubekey/v1alpha2"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Interface provides access to each of this group's versions.
|
// Interface provides access to each of this group's versions.
|
||||||
|
|||||||
@@ -21,10 +21,10 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
time "time"
|
time "time"
|
||||||
|
|
||||||
kubekeyv1alpha1 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha1"
|
kubekeyv1alpha1 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha1"
|
||||||
versioned "bytetrade.io/web3os/installer/clients/clientset/versioned"
|
versioned "github.com/beclab/Olares/cli/clients/clientset/versioned"
|
||||||
internalinterfaces "bytetrade.io/web3os/installer/clients/informers/externalversions/internalinterfaces"
|
internalinterfaces "github.com/beclab/Olares/cli/clients/informers/externalversions/internalinterfaces"
|
||||||
v1alpha1 "bytetrade.io/web3os/installer/clients/listers/kubekey/v1alpha1"
|
v1alpha1 "github.com/beclab/Olares/cli/clients/listers/kubekey/v1alpha1"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||||
watch "k8s.io/apimachinery/pkg/watch"
|
watch "k8s.io/apimachinery/pkg/watch"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
package v1alpha1
|
package v1alpha1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
internalinterfaces "bytetrade.io/web3os/installer/clients/informers/externalversions/internalinterfaces"
|
internalinterfaces "github.com/beclab/Olares/cli/clients/informers/externalversions/internalinterfaces"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Interface provides access to all the informers in this group version.
|
// Interface provides access to all the informers in this group version.
|
||||||
|
|||||||
@@ -21,10 +21,10 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
time "time"
|
time "time"
|
||||||
|
|
||||||
kubekeyv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
kubekeyv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
versioned "bytetrade.io/web3os/installer/clients/clientset/versioned"
|
versioned "github.com/beclab/Olares/cli/clients/clientset/versioned"
|
||||||
internalinterfaces "bytetrade.io/web3os/installer/clients/informers/externalversions/internalinterfaces"
|
internalinterfaces "github.com/beclab/Olares/cli/clients/informers/externalversions/internalinterfaces"
|
||||||
v1alpha2 "bytetrade.io/web3os/installer/clients/listers/kubekey/v1alpha2"
|
v1alpha2 "github.com/beclab/Olares/cli/clients/listers/kubekey/v1alpha2"
|
||||||
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||||
watch "k8s.io/apimachinery/pkg/watch"
|
watch "k8s.io/apimachinery/pkg/watch"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
package v1alpha2
|
package v1alpha2
|
||||||
|
|
||||||
import (
|
import (
|
||||||
internalinterfaces "bytetrade.io/web3os/installer/clients/informers/externalversions/internalinterfaces"
|
internalinterfaces "github.com/beclab/Olares/cli/clients/informers/externalversions/internalinterfaces"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Interface provides access to all the informers in this group version.
|
// Interface provides access to all the informers in this group version.
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
package v1alpha1
|
package v1alpha1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
v1alpha1 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha1"
|
v1alpha1 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha1"
|
||||||
"k8s.io/apimachinery/pkg/api/errors"
|
"k8s.io/apimachinery/pkg/api/errors"
|
||||||
"k8s.io/apimachinery/pkg/labels"
|
"k8s.io/apimachinery/pkg/labels"
|
||||||
"k8s.io/client-go/tools/cache"
|
"k8s.io/client-go/tools/cache"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
package v1alpha2
|
package v1alpha2
|
||||||
|
|
||||||
import (
|
import (
|
||||||
v1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
v1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
"k8s.io/apimachinery/pkg/api/errors"
|
"k8s.io/apimachinery/pkg/api/errors"
|
||||||
"k8s.io/apimachinery/pkg/labels"
|
"k8s.io/apimachinery/pkg/labels"
|
||||||
"k8s.io/client-go/tools/cache"
|
"k8s.io/client-go/tools/cache"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package gpu
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package gpu
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ package gpu
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package gpu
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package gpu
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ package gpu
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
package node
|
package node
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
|
||||||
"github.com/spf13/cobra"
|
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewCmdAddNode() *cobra.Command {
|
func NewCmdAddNode() *cobra.Command {
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
package node
|
package node
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
|
||||||
"github.com/spf13/cobra"
|
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewCmdMasterInfo() *cobra.Command {
|
func NewCmdMasterInfo() *cobra.Command {
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
package options
|
package options
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
cc "bytetrade.io/web3os/installer/pkg/core/common"
|
cc "github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/phase/cluster"
|
"github.com/beclab/Olares/cli/pkg/phase/cluster"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package options
|
package options
|
||||||
|
|
||||||
import (
|
import (
|
||||||
cc "bytetrade.io/web3os/installer/pkg/core/common"
|
cc "github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
package options
|
package options
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
|
||||||
cc "bytetrade.io/web3os/installer/pkg/core/common"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
|
cc "github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
package os
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
|
||||||
"github.com/spf13/cobra"
|
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewCmdChangeIP() *cobra.Command {
|
func NewCmdChangeIP() *cobra.Command {
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
package os
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
|
||||||
"github.com/spf13/cobra"
|
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewCmdRootDownload() *cobra.Command {
|
func NewCmdRootDownload() *cobra.Command {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package os
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ package os
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ package os
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"archive/tar"
|
"archive/tar"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
|
||||||
"compress/gzip"
|
"compress/gzip"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
@@ -14,6 +12,9 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
package os
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
|
||||||
"github.com/spf13/cobra"
|
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewCmdPrecheck() *cobra.Command {
|
func NewCmdPrecheck() *cobra.Command {
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ package os
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
package os
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/core/common"
|
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
|
||||||
"bytetrade.io/web3os/installer/pkg/release/builder"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"os/user"
|
"os/user"
|
||||||
@@ -11,6 +8,10 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/release/builder"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,10 @@ package os
|
|||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
|
||||||
"github.com/spf13/cobra"
|
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewCmdStart() *cobra.Command {
|
func NewCmdStart() *cobra.Command {
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
package os
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
|
||||||
"github.com/spf13/cobra"
|
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewCmdInstallStorage() *cobra.Command {
|
func NewCmdInstallStorage() *cobra.Command {
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
package os
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
|
||||||
"github.com/spf13/cobra"
|
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
type UninstallOsOptions struct {
|
type UninstallOsOptions struct {
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ package os
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/options"
|
"github.com/beclab/Olares/cli/cmd/ctl/options"
|
||||||
"bytetrade.io/web3os/installer/pkg/pipelines"
|
"github.com/beclab/Olares/cli/pkg/pipelines"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package osinfo
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
package ctl
|
package ctl
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/gpu"
|
"github.com/beclab/Olares/cli/cmd/ctl/gpu"
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/node"
|
"github.com/beclab/Olares/cli/cmd/ctl/node"
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/os"
|
"github.com/beclab/Olares/cli/cmd/ctl/os"
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl/osinfo"
|
"github.com/beclab/Olares/cli/cmd/ctl/osinfo"
|
||||||
"bytetrade.io/web3os/installer/version"
|
"github.com/beclab/Olares/cli/version"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/cmd/ctl"
|
"github.com/beclab/Olares/cli/cmd/ctl"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ package kubekey
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
|
||||||
"context"
|
"context"
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
@@ -29,9 +28,11 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
|
|
||||||
"sigs.k8s.io/yaml"
|
"sigs.k8s.io/yaml"
|
||||||
|
|
||||||
kubekeyv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
kubekeyv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"k8s.io/apimachinery/pkg/util/wait"
|
"k8s.io/apimachinery/pkg/util/wait"
|
||||||
|
|
||||||
|
|||||||
@@ -22,14 +22,14 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
kubekeyapiv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
kubekeyapiv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
"bytetrade.io/web3os/installer/pkg/addons"
|
"github.com/beclab/Olares/cli/pkg/addons"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/ending"
|
"github.com/beclab/Olares/cli/pkg/core/ending"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
kubekeyclientset "bytetrade.io/web3os/installer/clients/clientset/versioned"
|
kubekeyclientset "github.com/beclab/Olares/cli/clients/clientset/versioned"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"github.com/lithammer/dedent"
|
"github.com/lithammer/dedent"
|
||||||
corev1 "k8s.io/api/core/v1"
|
corev1 "k8s.io/api/core/v1"
|
||||||
kubeErr "k8s.io/apimachinery/pkg/api/errors"
|
kubeErr "k8s.io/apimachinery/pkg/api/errors"
|
||||||
|
|||||||
18
cli/go.mod
18
cli/go.mod
@@ -1,4 +1,4 @@
|
|||||||
module bytetrade.io/web3os/installer
|
module github.com/beclab/Olares/cli
|
||||||
|
|
||||||
go 1.24.0
|
go 1.24.0
|
||||||
|
|
||||||
@@ -16,10 +16,15 @@ replace (
|
|||||||
require (
|
require (
|
||||||
bytetrade.io/web3os/backups-sdk v0.0.0-00010101000000-000000000000
|
bytetrade.io/web3os/backups-sdk v0.0.0-00010101000000-000000000000
|
||||||
github.com/Masterminds/semver/v3 v3.3.0
|
github.com/Masterminds/semver/v3 v3.3.0
|
||||||
|
github.com/PaesslerAG/jsonpath v0.1.1
|
||||||
|
github.com/alecthomas/assert/v2 v2.11.0
|
||||||
github.com/cavaliergopher/grab/v3 v3.0.1
|
github.com/cavaliergopher/grab/v3 v3.0.1
|
||||||
github.com/containerd/containerd v1.7.27
|
github.com/containerd/containerd v1.7.27
|
||||||
|
github.com/decentralized-identity/web5-go v0.25.0
|
||||||
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0
|
||||||
github.com/dominodatalab/os-release v0.0.0-20190522011736-bcdb4a3e3c2f
|
github.com/dominodatalab/os-release v0.0.0-20190522011736-bcdb4a3e3c2f
|
||||||
github.com/go-playground/validator/v10 v10.22.0
|
github.com/go-playground/validator/v10 v10.22.0
|
||||||
|
github.com/google/uuid v1.6.0
|
||||||
github.com/jmoiron/sqlx v1.4.0
|
github.com/jmoiron/sqlx v1.4.0
|
||||||
github.com/joho/godotenv v1.5.1
|
github.com/joho/godotenv v1.5.1
|
||||||
github.com/libp2p/go-netroute v0.2.2
|
github.com/libp2p/go-netroute v0.2.2
|
||||||
@@ -27,14 +32,19 @@ require (
|
|||||||
github.com/mattn/go-sqlite3 v1.14.22
|
github.com/mattn/go-sqlite3 v1.14.22
|
||||||
github.com/mitchellh/mapstructure v1.5.0
|
github.com/mitchellh/mapstructure v1.5.0
|
||||||
github.com/modood/table v0.0.0-20220527013332-8d47e76dad33
|
github.com/modood/table v0.0.0-20220527013332-8d47e76dad33
|
||||||
|
github.com/mr-tron/base58 v1.2.0
|
||||||
|
github.com/multiformats/go-varint v0.0.7
|
||||||
github.com/pelletier/go-toml v1.9.5
|
github.com/pelletier/go-toml v1.9.5
|
||||||
github.com/pkg/errors v0.9.1
|
github.com/pkg/errors v0.9.1
|
||||||
github.com/pkg/sftp v1.13.6
|
github.com/pkg/sftp v1.13.6
|
||||||
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d
|
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d
|
||||||
|
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
|
||||||
github.com/schollz/progressbar/v3 v3.17.1
|
github.com/schollz/progressbar/v3 v3.17.1
|
||||||
github.com/shirou/gopsutil/v4 v4.25.2
|
github.com/shirou/gopsutil/v4 v4.25.2
|
||||||
github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c
|
github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c
|
||||||
github.com/spf13/cobra v1.9.1
|
github.com/spf13/cobra v1.9.1
|
||||||
|
github.com/stretchr/testify v1.10.0
|
||||||
|
github.com/syndtr/goleveldb v1.0.0
|
||||||
go.uber.org/zap v1.27.0
|
go.uber.org/zap v1.27.0
|
||||||
golang.org/x/crypto v0.37.0
|
golang.org/x/crypto v0.37.0
|
||||||
golang.org/x/term v0.31.0
|
golang.org/x/term v0.31.0
|
||||||
@@ -64,6 +74,8 @@ require (
|
|||||||
github.com/Masterminds/squirrel v1.5.4 // indirect
|
github.com/Masterminds/squirrel v1.5.4 // indirect
|
||||||
github.com/Microsoft/go-winio v0.6.2 // indirect
|
github.com/Microsoft/go-winio v0.6.2 // indirect
|
||||||
github.com/Microsoft/hcsshim v0.11.7 // indirect
|
github.com/Microsoft/hcsshim v0.11.7 // indirect
|
||||||
|
github.com/PaesslerAG/gval v1.0.0 // indirect
|
||||||
|
github.com/alecthomas/repr v0.4.0 // indirect
|
||||||
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
||||||
github.com/beorn7/perks v1.0.1 // indirect
|
github.com/beorn7/perks v1.0.1 // indirect
|
||||||
github.com/blang/semver/v4 v4.0.0 // indirect
|
github.com/blang/semver/v4 v4.0.0 // indirect
|
||||||
@@ -104,17 +116,18 @@ require (
|
|||||||
github.com/gobwas/glob v0.2.3 // indirect
|
github.com/gobwas/glob v0.2.3 // indirect
|
||||||
github.com/gogo/protobuf v1.3.2 // indirect
|
github.com/gogo/protobuf v1.3.2 // indirect
|
||||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
||||||
|
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db // indirect
|
||||||
github.com/google/btree v1.1.3 // indirect
|
github.com/google/btree v1.1.3 // indirect
|
||||||
github.com/google/gnostic-models v0.6.9 // indirect
|
github.com/google/gnostic-models v0.6.9 // indirect
|
||||||
github.com/google/go-cmp v0.7.0 // indirect
|
github.com/google/go-cmp v0.7.0 // indirect
|
||||||
github.com/google/gopacket v1.1.19 // indirect
|
github.com/google/gopacket v1.1.19 // indirect
|
||||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
||||||
github.com/google/uuid v1.6.0 // indirect
|
|
||||||
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
|
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
|
||||||
github.com/gosuri/uitable v0.0.4 // indirect
|
github.com/gosuri/uitable v0.0.4 // indirect
|
||||||
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
|
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
|
||||||
github.com/hashicorp/errwrap v1.1.0 // indirect
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
||||||
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
||||||
|
github.com/hexops/gotextdiff v1.0.3 // indirect
|
||||||
github.com/huandu/xstrings v1.5.0 // indirect
|
github.com/huandu/xstrings v1.5.0 // indirect
|
||||||
github.com/jonboulle/clockwork v0.4.0 // indirect
|
github.com/jonboulle/clockwork v0.4.0 // indirect
|
||||||
github.com/json-iterator/go v1.1.12 // indirect
|
github.com/json-iterator/go v1.1.12 // indirect
|
||||||
@@ -151,6 +164,7 @@ require (
|
|||||||
github.com/opencontainers/runtime-spec v1.1.0 // indirect
|
github.com/opencontainers/runtime-spec v1.1.0 // indirect
|
||||||
github.com/opencontainers/selinux v1.11.0 // indirect
|
github.com/opencontainers/selinux v1.11.0 // indirect
|
||||||
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
|
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
|
||||||
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
||||||
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
|
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
|
||||||
github.com/prometheus/client_golang v1.22.0 // indirect
|
github.com/prometheus/client_golang v1.22.0 // indirect
|
||||||
github.com/prometheus/client_model v0.6.1 // indirect
|
github.com/prometheus/client_model v0.6.1 // indirect
|
||||||
|
|||||||
45
cli/go.sum
45
cli/go.sum
@@ -30,6 +30,15 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo
|
|||||||
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
|
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
|
||||||
github.com/Microsoft/hcsshim v0.11.7 h1:vl/nj3Bar/CvJSYo7gIQPyRWc9f3c6IeSNavBTSZNZQ=
|
github.com/Microsoft/hcsshim v0.11.7 h1:vl/nj3Bar/CvJSYo7gIQPyRWc9f3c6IeSNavBTSZNZQ=
|
||||||
github.com/Microsoft/hcsshim v0.11.7/go.mod h1:MV8xMfmECjl5HdO7U/3/hFVnkmSBjAjmA09d4bExKcU=
|
github.com/Microsoft/hcsshim v0.11.7/go.mod h1:MV8xMfmECjl5HdO7U/3/hFVnkmSBjAjmA09d4bExKcU=
|
||||||
|
github.com/PaesslerAG/gval v1.0.0 h1:GEKnRwkWDdf9dOmKcNrar9EA1bz1z9DqPIO1+iLzhd8=
|
||||||
|
github.com/PaesslerAG/gval v1.0.0/go.mod h1:y/nm5yEyTeX6av0OfKJNp9rBNj2XrGhAf5+v24IBN1I=
|
||||||
|
github.com/PaesslerAG/jsonpath v0.1.0/go.mod h1:4BzmtoM/PI8fPO4aQGIusjGxGir2BzcV0grWtFzq1Y8=
|
||||||
|
github.com/PaesslerAG/jsonpath v0.1.1 h1:c1/AToHQMVsduPAa4Vh6xp2U0evy4t8SWp8imEsylIk=
|
||||||
|
github.com/PaesslerAG/jsonpath v0.1.1/go.mod h1:lVboNxFGal/VwW6d9JzIy56bUsYAP6tH/x80vjnCseY=
|
||||||
|
github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0=
|
||||||
|
github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
|
||||||
|
github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc=
|
||||||
|
github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
|
||||||
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
|
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
|
||||||
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
|
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
|
||||||
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so=
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so=
|
||||||
@@ -85,6 +94,12 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
|
|||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
|
||||||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
|
github.com/decentralized-identity/web5-go v0.25.0 h1:7QcWuIXHybscmoQ6eoEcDGdbQSPqHIJ4WAo7FBbntIE=
|
||||||
|
github.com/decentralized-identity/web5-go v0.25.0/go.mod h1:fzRcApHJZmekJXwjdbG8tYSFxdyZjyjUEmfh92mdhwY=
|
||||||
|
github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y=
|
||||||
|
github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo=
|
||||||
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 h1:8UrgZ3GkP4i/CLijOJx79Yu+etlyjdBU4sfcs2WYQMs=
|
||||||
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0=
|
||||||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
|
||||||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
|
||||||
github.com/distribution/distribution/v3 v3.0.0 h1:q4R8wemdRQDClzoNNStftB2ZAfqOiN6UX90KJc4HjyM=
|
github.com/distribution/distribution/v3 v3.0.0 h1:q4R8wemdRQDClzoNNStftB2ZAfqOiN6UX90KJc4HjyM=
|
||||||
@@ -123,6 +138,7 @@ github.com/foxcpp/go-mockdns v1.1.0 h1:jI0rD8M0wuYAxL7r/ynTrCQQq0BVqfB99Vgk7Dlme
|
|||||||
github.com/foxcpp/go-mockdns v1.1.0/go.mod h1:IhLeSFGed3mJIAXPH2aiRQB+kqz7oqu8ld2qVbOu7Wk=
|
github.com/foxcpp/go-mockdns v1.1.0/go.mod h1:IhLeSFGed3mJIAXPH2aiRQB+kqz7oqu8ld2qVbOu7Wk=
|
||||||
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
|
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
|
||||||
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
|
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
|
||||||
|
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
|
||||||
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
|
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
|
||||||
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
|
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
|
||||||
github.com/fxamacker/cbor/v2 v2.7.0 h1:iM5WgngdRBanHcxugY4JySA0nk1wZorNOpTgCMedv5E=
|
github.com/fxamacker/cbor/v2 v2.7.0 h1:iM5WgngdRBanHcxugY4JySA0nk1wZorNOpTgCMedv5E=
|
||||||
@@ -183,6 +199,8 @@ github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw
|
|||||||
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
|
||||||
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
|
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
|
||||||
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
|
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
|
||||||
|
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db h1:woRePGFeVFfLKN/pOkfl+p/TAqKOfFu+7KPlMVpok/w=
|
||||||
|
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
|
||||||
github.com/google/btree v1.1.3 h1:CVpQJjYgC4VbzxeGVHfvZrv1ctoYCAI8vbl07Fcxlyg=
|
github.com/google/btree v1.1.3 h1:CVpQJjYgC4VbzxeGVHfvZrv1ctoYCAI8vbl07Fcxlyg=
|
||||||
github.com/google/btree v1.1.3/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4=
|
github.com/google/btree v1.1.3/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4=
|
||||||
github.com/google/gnostic-models v0.6.9 h1:MU/8wDLif2qCXZmzncUQ/BOfxWfthHi63KqpoNbWqVw=
|
github.com/google/gnostic-models v0.6.9 h1:MU/8wDLif2qCXZmzncUQ/BOfxWfthHi63KqpoNbWqVw=
|
||||||
@@ -234,6 +252,10 @@ github.com/hashicorp/golang-lru/arc/v2 v2.0.5 h1:l2zaLDubNhW4XO3LnliVj0GXO3+/CGN
|
|||||||
github.com/hashicorp/golang-lru/arc/v2 v2.0.5/go.mod h1:ny6zBSQZi2JxIeYcv7kt2sH2PXJtirBN7RDhRpxPkxU=
|
github.com/hashicorp/golang-lru/arc/v2 v2.0.5/go.mod h1:ny6zBSQZi2JxIeYcv7kt2sH2PXJtirBN7RDhRpxPkxU=
|
||||||
github.com/hashicorp/golang-lru/v2 v2.0.5 h1:wW7h1TG88eUIJ2i69gaE3uNVtEPIagzhGvHgwfx2Vm4=
|
github.com/hashicorp/golang-lru/v2 v2.0.5 h1:wW7h1TG88eUIJ2i69gaE3uNVtEPIagzhGvHgwfx2Vm4=
|
||||||
github.com/hashicorp/golang-lru/v2 v2.0.5/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
|
github.com/hashicorp/golang-lru/v2 v2.0.5/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
|
||||||
|
github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
|
||||||
|
github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
|
||||||
|
github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=
|
||||||
|
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
|
||||||
github.com/huandu/xstrings v1.5.0 h1:2ag3IFq9ZDANvthTwTiqSSZLjDc+BedvHPAp5tJy2TI=
|
github.com/huandu/xstrings v1.5.0 h1:2ag3IFq9ZDANvthTwTiqSSZLjDc+BedvHPAp5tJy2TI=
|
||||||
github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE=
|
github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE=
|
||||||
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
|
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
|
||||||
@@ -327,14 +349,22 @@ github.com/modood/table v0.0.0-20220527013332-8d47e76dad33 h1:T5IbS9C1G2zeHb6eBy
|
|||||||
github.com/modood/table v0.0.0-20220527013332-8d47e76dad33/go.mod h1:41qyXVI5QH9/ObyPj27CGCVau5v/njfc3Gjj7yzr0HQ=
|
github.com/modood/table v0.0.0-20220527013332-8d47e76dad33/go.mod h1:41qyXVI5QH9/ObyPj27CGCVau5v/njfc3Gjj7yzr0HQ=
|
||||||
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 h1:n6/2gBQ3RWajuToeY6ZtZTIKv2v7ThUy5KKusIT0yc0=
|
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 h1:n6/2gBQ3RWajuToeY6ZtZTIKv2v7ThUy5KKusIT0yc0=
|
||||||
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4=
|
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4=
|
||||||
|
github.com/mr-tron/base58 v1.2.0 h1:T/HDJBh4ZCPbU39/+c3rRvE0uKBQlU27+QI8LJ4t64o=
|
||||||
|
github.com/mr-tron/base58 v1.2.0/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc=
|
||||||
|
github.com/multiformats/go-varint v0.0.7 h1:sWSGR+f/eu5ABZA2ZpYKBILXTTs9JWpdEM/nEGOHFS8=
|
||||||
|
github.com/multiformats/go-varint v0.0.7/go.mod h1:r8PUYw/fD/SjBCiKOoDlGF6QawOELpZAu9eioSos/OU=
|
||||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
|
||||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
|
||||||
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus=
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus=
|
||||||
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw=
|
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw=
|
||||||
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
|
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
|
||||||
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
|
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
|
||||||
|
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
|
||||||
|
github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs=
|
||||||
|
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
|
||||||
github.com/onsi/ginkgo/v2 v2.22.0 h1:Yed107/8DjTr0lKCNt7Dn8yQ6ybuDRQoMGrNFKzMfHg=
|
github.com/onsi/ginkgo/v2 v2.22.0 h1:Yed107/8DjTr0lKCNt7Dn8yQ6ybuDRQoMGrNFKzMfHg=
|
||||||
github.com/onsi/ginkgo/v2 v2.22.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo=
|
github.com/onsi/ginkgo/v2 v2.22.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo=
|
||||||
|
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
|
||||||
github.com/onsi/gomega v1.36.1 h1:bJDPBO7ibjxcbHMgSCoo4Yj18UWbKDlLwX1x9sybDcw=
|
github.com/onsi/gomega v1.36.1 h1:bJDPBO7ibjxcbHMgSCoo4Yj18UWbKDlLwX1x9sybDcw=
|
||||||
github.com/onsi/gomega v1.36.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog=
|
github.com/onsi/gomega v1.36.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog=
|
||||||
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
|
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
|
||||||
@@ -388,10 +418,12 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf
|
|||||||
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
|
||||||
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d h1:hrujxIzL1woJ7AwssoOcM/tq5JjjG2yYOc8odClEiXA=
|
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d h1:hrujxIzL1woJ7AwssoOcM/tq5JjjG2yYOc8odClEiXA=
|
||||||
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d/go.mod h1:uugorj2VCxiV1x+LzaIdVa9b4S4qGAcH6cbhh4qVxOU=
|
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d/go.mod h1:uugorj2VCxiV1x+LzaIdVa9b4S4qGAcH6cbhh4qVxOU=
|
||||||
|
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 h1:lZUw3E0/J3roVtGQ+SCrUrg3ON6NgVqpn3+iol9aGu4=
|
||||||
|
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1/go.mod h1:uToXkOrWAZ6/Oc07xWQrPOhJotwFIyu2bBVN41fcDUY=
|
||||||
github.com/schollz/progressbar/v3 v3.17.1 h1:bI1MTaoQO+v5kzklBjYNRQLoVpe0zbyRZNK6DFkVC5U=
|
github.com/schollz/progressbar/v3 v3.17.1 h1:bI1MTaoQO+v5kzklBjYNRQLoVpe0zbyRZNK6DFkVC5U=
|
||||||
github.com/schollz/progressbar/v3 v3.17.1/go.mod h1:RzqpnsPQNjUyIgdglUjRLgD7sVnxN1wpmBMV+UiEbL4=
|
github.com/schollz/progressbar/v3 v3.17.1/go.mod h1:RzqpnsPQNjUyIgdglUjRLgD7sVnxN1wpmBMV+UiEbL4=
|
||||||
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
|
github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
|
||||||
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
|
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
|
||||||
github.com/shirou/gopsutil/v4 v4.25.2 h1:NMscG3l2CqtWFS86kj3vP7soOczqrQYIEhO/pMvvQkk=
|
github.com/shirou/gopsutil/v4 v4.25.2 h1:NMscG3l2CqtWFS86kj3vP7soOczqrQYIEhO/pMvvQkk=
|
||||||
github.com/shirou/gopsutil/v4 v4.25.2/go.mod h1:34gBYJzyqCDT11b6bMHP0XCvWeU3J61XRT7a2EmCRTA=
|
github.com/shirou/gopsutil/v4 v4.25.2/go.mod h1:34gBYJzyqCDT11b6bMHP0XCvWeU3J61XRT7a2EmCRTA=
|
||||||
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k=
|
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k=
|
||||||
@@ -425,6 +457,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
|
|||||||
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
|
||||||
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
|
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
|
||||||
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||||
|
github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE=
|
||||||
|
github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ=
|
||||||
github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU=
|
github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU=
|
||||||
github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
|
github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
|
||||||
github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk=
|
github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk=
|
||||||
@@ -519,6 +553,7 @@ golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
|
|||||||
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
|
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
|
||||||
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||||
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||||
|
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||||
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||||
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
|
||||||
@@ -543,6 +578,7 @@ golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJ
|
|||||||
golang.org/x/sync v0.14.0 h1:woo0S4Yywslg6hp4eUFjTVOyKt0RookbpAHG4c1HmhQ=
|
golang.org/x/sync v0.14.0 h1:woo0S4Yywslg6hp4eUFjTVOyKt0RookbpAHG4c1HmhQ=
|
||||||
golang.org/x/sync v0.14.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
|
golang.org/x/sync v0.14.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
|
||||||
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
|
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
|
||||||
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
@@ -630,8 +666,13 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntN
|
|||||||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
|
||||||
gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4=
|
gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4=
|
||||||
gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
|
gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
|
||||||
|
gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=
|
||||||
|
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
|
||||||
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
|
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
|
||||||
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
|
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
|
||||||
|
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
|
||||||
|
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
|
||||||
|
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||||
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
|
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
|
||||||
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
|
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
|
||||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
kubekeyapiv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
kubekeyapiv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"helm.sh/helm/v3/pkg/cli"
|
"helm.sh/helm/v3/pkg/cli"
|
||||||
"helm.sh/helm/v3/pkg/getter"
|
"helm.sh/helm/v3/pkg/getter"
|
||||||
|
|||||||
@@ -40,9 +40,9 @@ import (
|
|||||||
"k8s.io/client-go/rest"
|
"k8s.io/client-go/rest"
|
||||||
"k8s.io/client-go/util/homedir"
|
"k8s.io/client-go/util/homedir"
|
||||||
|
|
||||||
kubekeyapiv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
kubekeyapiv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
func debug(format string, v ...interface{}) {
|
func debug(format string, v ...interface{}) {
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
package addons
|
package addons
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/task"
|
"github.com/beclab/Olares/cli/pkg/core/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AddonsModule struct {
|
type AddonsModule struct {
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Install struct {
|
type Install struct {
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ package binaries
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/prepare"
|
"github.com/beclab/Olares/cli/pkg/core/prepare"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Ubuntu24AppArmorCheck struct {
|
type Ubuntu24AppArmorCheck struct {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package binaries
|
package binaries
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"bytetrade.io/web3os/installer/pkg/manifest"
|
"github.com/beclab/Olares/cli/pkg/manifest"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ package binaries
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/manifest"
|
"github.com/beclab/Olares/cli/pkg/manifest"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InstallAppArmorTask struct {
|
type InstallAppArmorTask struct {
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
package confirm
|
package confirm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/task"
|
"github.com/beclab/Olares/cli/pkg/core/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InstallConfirmModule struct {
|
type InstallConfirmModule struct {
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ import (
|
|||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
versionutil "k8s.io/apimachinery/pkg/util/version"
|
versionutil "k8s.io/apimachinery/pkg/util/version"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PreCheckResults defines the items to be checked.
|
// PreCheckResults defines the items to be checked.
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package download
|
package download
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/task"
|
"github.com/beclab/Olares/cli/pkg/core/task"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PackageDownloadModule struct {
|
type PackageDownloadModule struct {
|
||||||
|
|||||||
@@ -9,14 +9,14 @@ import (
|
|||||||
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
cc "bytetrade.io/web3os/installer/pkg/core/common"
|
cc "github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/files"
|
"github.com/beclab/Olares/cli/pkg/files"
|
||||||
"bytetrade.io/web3os/installer/pkg/manifest"
|
"github.com/beclab/Olares/cli/pkg/manifest"
|
||||||
"bytetrade.io/web3os/installer/pkg/utils"
|
"github.com/beclab/Olares/cli/pkg/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PackageDownload struct {
|
type PackageDownload struct {
|
||||||
|
|||||||
@@ -19,14 +19,14 @@ package os
|
|||||||
import (
|
import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/kubernetes"
|
"github.com/beclab/Olares/cli/pkg/kubernetes"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/bootstrap/os/templates"
|
"github.com/beclab/Olares/cli/pkg/bootstrap/os/templates"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/action"
|
"github.com/beclab/Olares/cli/pkg/core/action"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/prepare"
|
"github.com/beclab/Olares/cli/pkg/core/prepare"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/task"
|
"github.com/beclab/Olares/cli/pkg/core/task"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PvePatchModule struct {
|
type PvePatchModule struct {
|
||||||
|
|||||||
@@ -17,11 +17,11 @@
|
|||||||
package os
|
package os
|
||||||
|
|
||||||
import (
|
import (
|
||||||
kubekeyv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
kubekeyv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CheckHwClock struct {
|
type CheckHwClock struct {
|
||||||
|
|||||||
@@ -28,13 +28,13 @@ import (
|
|||||||
osrelease "github.com/dominodatalab/os-release"
|
osrelease "github.com/dominodatalab/os-release"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/bootstrap/os/templates"
|
"github.com/beclab/Olares/cli/pkg/bootstrap/os/templates"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
cc "bytetrade.io/web3os/installer/pkg/core/common"
|
cc "github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"bytetrade.io/web3os/installer/pkg/utils"
|
"github.com/beclab/Olares/cli/pkg/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// pve-lxc
|
// pve-lxc
|
||||||
|
|||||||
@@ -20,10 +20,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/bootstrap/registry"
|
"github.com/beclab/Olares/cli/pkg/bootstrap/registry"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"github.com/lithammer/dedent"
|
"github.com/lithammer/dedent"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
package patch
|
package patch
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/binaries"
|
"github.com/beclab/Olares/cli/pkg/binaries"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/prepare"
|
"github.com/beclab/Olares/cli/pkg/core/prepare"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/task"
|
"github.com/beclab/Olares/cli/pkg/core/task"
|
||||||
"bytetrade.io/web3os/installer/pkg/manifest"
|
"github.com/beclab/Olares/cli/pkg/manifest"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InstallDepsModule struct {
|
type InstallDepsModule struct {
|
||||||
|
|||||||
@@ -4,13 +4,13 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/utils"
|
"github.com/beclab/Olares/cli/pkg/utils"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type EnableSSHTask struct {
|
type EnableSSHTask struct {
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ package precheck
|
|||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/module"
|
"github.com/beclab/Olares/cli/pkg/core/module"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/task"
|
"github.com/beclab/Olares/cli/pkg/core/task"
|
||||||
"bytetrade.io/web3os/installer/pkg/manifest"
|
"github.com/beclab/Olares/cli/pkg/manifest"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RemoveChattrModule struct {
|
type RemoveChattrModule struct {
|
||||||
|
|||||||
@@ -32,12 +32,12 @@ import (
|
|||||||
"k8s.io/apimachinery/pkg/util/sets"
|
"k8s.io/apimachinery/pkg/util/sets"
|
||||||
ctrl "sigs.k8s.io/controller-runtime"
|
ctrl "sigs.k8s.io/controller-runtime"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/action"
|
"github.com/beclab/Olares/cli/pkg/core/action"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"bytetrade.io/web3os/installer/pkg/utils"
|
"github.com/beclab/Olares/cli/pkg/utils"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
kclient "k8s.io/client-go/kubernetes"
|
kclient "k8s.io/client-go/kubernetes"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -21,11 +21,11 @@ import (
|
|||||||
|
|
||||||
versionutil "k8s.io/apimachinery/pkg/util/version"
|
versionutil "k8s.io/apimachinery/pkg/util/version"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/certs/templates"
|
"github.com/beclab/Olares/cli/pkg/certs/templates"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/action"
|
"github.com/beclab/Olares/cli/pkg/core/action"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/task"
|
"github.com/beclab/Olares/cli/pkg/core/task"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AutoRenewCertsModule struct {
|
type AutoRenewCertsModule struct {
|
||||||
|
|||||||
@@ -19,9 +19,9 @@ package certs
|
|||||||
import (
|
import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/certs/templates"
|
"github.com/beclab/Olares/cli/pkg/certs/templates"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AutoRenewCertsEnabled struct {
|
type AutoRenewCertsEnabled struct {
|
||||||
|
|||||||
@@ -21,11 +21,11 @@ import (
|
|||||||
"path"
|
"path"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/certs/templates"
|
"github.com/beclab/Olares/cli/pkg/certs/templates"
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
cc "bytetrade.io/web3os/installer/pkg/core/common"
|
cc "github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ package common
|
|||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
cc "bytetrade.io/web3os/installer/pkg/core/common"
|
cc "github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
package common
|
package common
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/core/action"
|
"github.com/beclab/Olares/cli/pkg/core/action"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
)
|
)
|
||||||
|
|
||||||
type KubeAction struct {
|
type KubeAction struct {
|
||||||
|
|||||||
@@ -17,9 +17,9 @@
|
|||||||
package common
|
package common
|
||||||
|
|
||||||
import (
|
import (
|
||||||
kubekeyapiv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
kubekeyapiv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
kubekeyclientset "bytetrade.io/web3os/installer/clients/clientset/versioned"
|
kubekeyclientset "github.com/beclab/Olares/cli/clients/clientset/versioned"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/module"
|
"github.com/beclab/Olares/cli/pkg/core/module"
|
||||||
)
|
)
|
||||||
|
|
||||||
type KubeConf struct {
|
type KubeConf struct {
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
package common
|
package common
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/prepare"
|
"github.com/beclab/Olares/cli/pkg/core/prepare"
|
||||||
)
|
)
|
||||||
|
|
||||||
type KubePrepare struct {
|
type KubePrepare struct {
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
package common
|
package common
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/rollback"
|
"github.com/beclab/Olares/cli/pkg/core/rollback"
|
||||||
)
|
)
|
||||||
|
|
||||||
type KubeRollback struct {
|
type KubeRollback struct {
|
||||||
|
|||||||
@@ -19,23 +19,24 @@ package common
|
|||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/joho/godotenv"
|
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/joho/godotenv"
|
||||||
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"github.com/spf13/pflag"
|
"github.com/spf13/pflag"
|
||||||
|
|
||||||
kubekeyapiv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
kubekeyapiv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
kubekeyclientset "bytetrade.io/web3os/installer/clients/clientset/versioned"
|
kubekeyclientset "github.com/beclab/Olares/cli/clients/clientset/versioned"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/common"
|
"github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/storage"
|
"github.com/beclab/Olares/cli/pkg/core/storage"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
kresource "k8s.io/apimachinery/pkg/api/resource"
|
kresource "k8s.io/apimachinery/pkg/api/resource"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ package common
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
@@ -31,8 +30,10 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
kubekeyapiv1alpha2 "bytetrade.io/web3os/installer/apis/kubekey/v1alpha2"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"bytetrade.io/web3os/installer/pkg/version/kubesphere"
|
|
||||||
|
kubekeyapiv1alpha2 "github.com/beclab/Olares/cli/apis/kubekey/v1alpha2"
|
||||||
|
"github.com/beclab/Olares/cli/pkg/version/kubesphere"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"gopkg.in/yaml.v2"
|
"gopkg.in/yaml.v2"
|
||||||
k8syaml "k8s.io/apimachinery/pkg/util/yaml"
|
k8syaml "k8s.io/apimachinery/pkg/util/yaml"
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"os/user"
|
"os/user"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/prepare"
|
"github.com/beclab/Olares/cli/pkg/core/prepare"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -24,14 +24,14 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/container/templates"
|
"github.com/beclab/Olares/cli/pkg/container/templates"
|
||||||
cc "bytetrade.io/web3os/installer/pkg/core/common"
|
cc "github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"bytetrade.io/web3os/installer/pkg/manifest"
|
"github.com/beclab/Olares/cli/pkg/manifest"
|
||||||
"bytetrade.io/web3os/installer/pkg/utils"
|
"github.com/beclab/Olares/cli/pkg/utils"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -21,13 +21,13 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/container/templates"
|
"github.com/beclab/Olares/cli/pkg/container/templates"
|
||||||
"bytetrade.io/web3os/installer/pkg/registry"
|
"github.com/beclab/Olares/cli/pkg/registry"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
"bytetrade.io/web3os/installer/pkg/files"
|
"github.com/beclab/Olares/cli/pkg/files"
|
||||||
"bytetrade.io/web3os/installer/pkg/utils"
|
"github.com/beclab/Olares/cli/pkg/utils"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -21,19 +21,19 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/kubernetes"
|
"github.com/beclab/Olares/cli/pkg/kubernetes"
|
||||||
"bytetrade.io/web3os/installer/pkg/manifest"
|
"github.com/beclab/Olares/cli/pkg/manifest"
|
||||||
"bytetrade.io/web3os/installer/pkg/registry"
|
"github.com/beclab/Olares/cli/pkg/registry"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/container/templates"
|
"github.com/beclab/Olares/cli/pkg/container/templates"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/action"
|
"github.com/beclab/Olares/cli/pkg/core/action"
|
||||||
cc "bytetrade.io/web3os/installer/pkg/core/common"
|
cc "github.com/beclab/Olares/cli/pkg/core/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/logger"
|
"github.com/beclab/Olares/cli/pkg/core/logger"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/prepare"
|
"github.com/beclab/Olares/cli/pkg/core/prepare"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/task"
|
"github.com/beclab/Olares/cli/pkg/core/task"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/util"
|
"github.com/beclab/Olares/cli/pkg/core/util"
|
||||||
"bytetrade.io/web3os/installer/pkg/images"
|
"github.com/beclab/Olares/cli/pkg/images"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InstallContainerModule struct {
|
type InstallContainerModule struct {
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ package container
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DockerExist struct {
|
type DockerExist struct {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"bytetrade.io/web3os/installer/pkg/common"
|
"github.com/beclab/Olares/cli/pkg/common"
|
||||||
"github.com/lithammer/dedent"
|
"github.com/lithammer/dedent"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
package action
|
package action
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytetrade.io/web3os/installer/pkg/core/cache"
|
"github.com/beclab/Olares/cli/pkg/core/cache"
|
||||||
"bytetrade.io/web3os/installer/pkg/core/connector"
|
"github.com/beclab/Olares/cli/pkg/core/connector"
|
||||||
)
|
)
|
||||||
|
|
||||||
type BaseAction struct {
|
type BaseAction struct {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user