- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Action (0.24 sec)
-
istioctl/pkg/writer/ztunnel/configdump/policies.go
if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r } return cmp.Compare(a.Name, b.Name) }) fmt.Fprintln(w, "NAMESPACE\tPOLICY NAME\tACTION\tSCOPE") for _, pol := range pols { fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", pol.Namespace, pol.Name, pol.Action, pol.Scope) } return w.Flush() } // PrintPolicyDump prints the relevant services in the config dump to the ConfigWriter stdout
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.5K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer_test.go
}, ClientStatus: 453, }, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { var buf bytes.Buffer a.Print(&buf) expectedOutput := "ACTION AuthorizationPolicy RULES\n" actualOutput := buf.String() if !reflect.DeepEqual(expectedOutput, actualOutput) { t.Errorf("Found %v, wanted %v", actualOutput, expectedOutput) } }) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/wait/wait_test.go
if err != nil { t.Fatal(err) } fc := k.Dynamic().(*dynamicfake.FakeDynamicClient) fc.PrependWatchReactor("*", func(action clienttesting.Action) (handled bool, ret watch.Interface, err error) { gvr := action.GetResource() ns := action.GetNamespace() watch, err := fc.Tracker().Watch(gvr, ns) if err != nil { return false, nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 6.8K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/api.go
} type ZtunnelPolicy struct { Name string `json:"name"` Namespace string `json:"namespace"` Scope string `json:"scope"` Action string `json:"action"` Rules [][][]*PolicyMatch `json:"rules"` } type ZtunnelDump struct { Workloads map[string]*ZtunnelWorkload `json:"workloads"` Services map[string]*ZtunnelService `json:"services"`
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 02:16:06 GMT 2024 - 5.2K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
if err != nil { return err } } destLoggerLevels := map[string]Level{} if reset { // reset logging level to `defaultOutputLevel`, and ignore the `level` option levelString, _ := getLogLevelFromConfigMap(ctx) level, ok := stringToLevel[levelString] if ok { destLoggerLevels[defaultLoggerName] = level } else {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
msgOutputFormat = strings.ToLower(msgOutputFormat) _, ok := formatting.MsgOutputFormats[msgOutputFormat] if !ok { return util.CommandParseError{ Err: fmt.Errorf("%s not a valid option for format. See istioctl analyze --help", msgOutputFormat), } } if listAnalyzers { fmt.Print(AnalyzersAsString(analyzers.All())) return nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 17K bytes - Viewed (0) -
istioctl/cmd/root.go
rootCmd.AddCommand(proxyconfig.ClustersCommand(ctx)) rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{ Title: "Istio Control", Section: "istioctl CLI", Manual: "Istio Control", })) validateCmd := validate.NewValidateCommand(ctx) hideInheritedFlags(validateCmd, "kubeconfig") rootCmd.AddCommand(validateCmd)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
cni/pkg/cmd/root.go
ctrlzOptions.AttachCobraFlags(rootCmd) rootCmd.AddCommand(version.CobraCommand()) rootCmd.AddCommand(collateral.CobraCommand(rootCmd, collateral.Metadata{ Title: "Istio CNI Plugin Installer", Section: "install-cni CLI", Manual: "Istio CNI Plugin Installer", })) registerStringParameter(constants.CNINetDir, "/etc/cni/net.d", "Directory on the host where CNI network plugins are installed")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0)