feat(gateway):enable to deploy and delete function with request (#54)

* fix:move trait IAMHandler to types/

* feat:enable to resolve request and to set proxy for request

* save implementation for trait IAMHandler

* remove trait IAMHandler and add deploy and delete

* add feishu_bot.yml

* 修复一点ctr逻辑 (#29)

* 修复一点逻辑

* fmt

* feat:remove trait IAMHandler and bind fucntion to gateway

* resolve conflict in cni_network

* fix(delete): fix delete task.

* fix(clippy): fmt

* fix:remove darwin and launch.json

* fix:hakari generate

* fix: remove files and build targets

* fix: some format problems

---------

Co-authored-by: vitus213 <2811215248@qq.com>
Co-authored-by: 火花 <sparkhhhhhhhhhh@outlook.com>
Co-authored-by: scutKKsix <1129332011@qq.com>
Co-authored-by: Samuka007 <samuka007@dragonos.org>
This commit is contained in:
DoL
2025-04-12 00:02:49 +08:00
committed by GitHub
parent eeac4b0204
commit 1acbab92fc
23 changed files with 439 additions and 208 deletions

View File

@ -13,7 +13,7 @@
};
outputs = { self, nixpkgs, crane, flake-utils, rust-overlay, nix-github-actions, ... }:
flake-utils.lib.eachDefaultSystem (system:
flake-utils.lib.eachSystem [ "x86_64-linux" "aarch64-linux" ] (system:
let
# reference: https://crane.dev/examples/quick-start-workspace.html
overlays = [ (import rust-overlay) ];
@ -33,6 +33,8 @@
strictDeps = true;
# Add additional build inputs here
buildInputs = with pkgs; [
cni
cni-plugins
openssl
protobuf
pkg-config
@ -153,9 +155,7 @@
// {
githubActions = nix-github-actions.lib.mkGithubMatrix {
checks.x86_64-linux = self.checks.x86_64-linux;
checks.x86_64-darwin.faas-rs-crate = self.checks.x86_64-darwin.faas-rs-crate;
checks.aarch64-linux.faas-rs-crate = self.checks.aarch64-linux.faas-rs-crate;
checks.aarch64-darwin.faas-rs-crate = self.checks.aarch64-darwin.faas-rs-crate;
};
};
}