- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for persze (0.18 sec)
-
cni/pkg/plugin/plugin.go
func parseConfig(stdin []byte) (*Config, error) { conf := Config{} if err := json.Unmarshal(stdin, &conf); err != nil { return nil, fmt.Errorf("failed to parse network configuration: %v", err) } log.Debugf("istio-cni: Config is: %+v", conf) // Parse previous result. Remove this if your plugin is not chained. if conf.RawPrevResult != nil { resultBytes, err := json.Marshal(conf.RawPrevResult) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
args := buildCmdArgs(stdinData, testPodName, testNSName) conf, err := parseConfig(args.StdinData) if err != nil { t.Fatalf("config parse failed with error: %v", err) } // Create a kube client client := kube.NewFakeClient(objects...) mockRedir := &mockInterceptRuleMgr{} err = doAddRun(args, conf, client.Kube(), mockRedir)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
Makefile.core.mk
ifneq ($(GOOS_LOCAL),"linux") BUILD_DEPS += build-linux endif endif export ARTIFACTS ?= $(TARGET_OUT) export JUNIT_OUT ?= $(ARTIFACTS)/junit.xml export REPO_ROOT := $(shell git rev-parse --show-toplevel) # Make directories needed by the build system $(shell mkdir -p $(TARGET_OUT_LINUX)) $(shell mkdir -p $(TARGET_OUT_LINUX)/logs) $(shell mkdir -p $(dir $(JUNIT_OUT)))
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 20:25:15 GMT 2024 - 22.5K bytes - Viewed (0)