We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kcl mod init && kcl mod add k8s
import k8s.api.apps.v1 as k8sapps pod = k8sapps.Deployment { metadata.name = "web-app" spec = { selector = { matchLabels = { app = "ngx" } } template.spec.containers = [{ name = "nginx" image = "nginx" ports = [{ containerPort = 80 name = "http" }] }] } }
6) try nix-shell -p kcl
nix-shell -p kcl
no errors with lsp and kclvm_cli - go cli is obviously able to find the modules in ~/.kcl
module not found error - lsp and kclvm_cli are probably not searching in ~/.kcl for modules
# nix installed - go cli [nix-shell:~/devel/kcl]$ kcl --version kcl version v0.10.0 # mason install rust cli/lsp ~/devel/kcl master* ❯ kcl-language-server --version kcl-language-server Version: 0.11.1-c020ab3eb4b9179219d6837a57f5d323 Platform: x86_64-unknown-linux-gnu GitCommit: d8964b29170ba28c98a31b561a2d9525112d1f30 ~/devel/kcl master* ❯ kcl --version kclvm_cli 0.11.1
The text was updated successfully, but these errors were encountered:
There are a few questions that need to be confirmed.
Sorry, something went wrong.
No branches or pull requests
Bug Report
1. Minimal reproduce step (Required)
kcl mod init && kcl mod add k8s
6) try
nix-shell -p kcl
2. What did you expect to see? (Required)
no errors with lsp and kclvm_cli - go cli is obviously able to find the modules in ~/.kcl
3. What did you see instead (Required)
module not found error - lsp and kclvm_cli are probably not searching in ~/.kcl for modules
4. What is your KCL components version? (Required)
The text was updated successfully, but these errors were encountered: