Closed neoaggelos closed 4 days ago
pkg/k8s/client.Client
pkg/client/k8sd.Client
snap.Snap.K8sdClient(address string)
k8s generate-auth-token
k8s revoke-auth-token
k8sd.Client
client.Client
IsBootstrapped
NodeStatus()
Summary
pkg/k8s/client.Client
topkg/client/k8sd.Client
snap.Snap.K8sdClient(address string)
method (empty address for local clients, non-empty for remote. currently unused)Changes
k8s generate-auth-token
andk8s revoke-auth-token
hidden commands, since we do not use tokens any morek8sd.Client
interface, which only focuses on interacting with a k8sd API. It does not include any logic that requires the local nodeDifferences between
client.Client
->k8sd.Client
IsBootstrapped
method, clients should useNodeStatus()
instead and check for errors