Skip to content

Commit

Permalink
WIP: Add generator
Browse files Browse the repository at this point in the history
Signed-off-by: Enrique Llorente <ellorent@redhat.com>
  • Loading branch information
qinqon committed May 6, 2024
1 parent bc7f77f commit e17ffa8
Show file tree
Hide file tree
Showing 25 changed files with 11,512 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
Expand All @@ -9,8 +10,8 @@ jobs:
- name: install deps
run: |
#!/bin/bash -e
apt-get update
apt-get install -y make git curl gcc
sudo apt-get update
sudo apt-get install -y make git curl gcc
- name: Install GH CLI
uses: dev-hanz-ops/install-gh-cli-action@v0.1.0
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.output
target
.k8s
330 changes: 330 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "nmstate-kubernetes-go-apigen"
edition = "2018"
rust-version = "1.58"
version = "0.0.1"

[[bin]]
name = "nmstate-kubernetes-go-apigen"

[dependencies]
anyhow = "1.0.82"
log = "0.4.21"
env_logger = "0.11.3"
regex = "1.10.2"
clap = { version = "4.5.4", features = ["cargo", "derive"] }
syn = {version = "2.0.39", features = ["visit", "extra-traits", "full"]}
convert_case = "0.6.0"
proc-macro2 = "1.0.56"
Loading

0 comments on commit e17ffa8

Please sign in to comment.