- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for getAction (0.22 sec)
-
istioctl/pkg/authz/listener.go
policyToRule[name][rule] = struct{}{} } for _, parsed := range parsedListeners { for _, fc := range parsed.filterChains { for _, rbacHTTP := range fc.rbacHTTP { action := rbacHTTP.GetRules().GetAction() for name := range rbacHTTP.GetRules().GetPolicies() { nameOfPolicy, indexOfRule := extractName(name) addPolicy(action, nameOfPolicy, indexOfRule) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Sep 11 15:29:30 GMT 2023 - 6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
return "" } if len(vh.GetRoutes()) != 1 { return "" } r := vh.GetRoutes()[0] if r.GetMatch().GetPrefix() != "/" { return "" } a, ok := r.GetAction().(*route.Route_Route) if !ok { return "" } cl, ok := a.Route.ClusterSpecifier.(*route.RouteAction_Cluster) if !ok { return "" } if strings.Contains(cl.Cluster, "Cluster") {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
route.Name = fmt.Sprintf("route/%s", route.Name) } if filter.Verbose { for _, vhosts := range route.GetVirtualHosts() { for _, r := range vhosts.Routes { if !isPassthrough(r.GetAction()) { fmt.Fprintf(w, "%v\t%s\t%s\t%s\t%s\n", route.Name, vhosts.Name, describeRouteDomains(vhosts.GetDomains()), describeMatch(r.GetMatch()),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 7.2K bytes - Viewed (0) -
cmd/leak-detect_test.go
"strings" "time" ) const ( // deadline (in seconds) up to which the go routine leak detection has to be retried. leakDetectDeadline = 5 // pause time (in milliseconds) between each snapshot at the end of the go routine leak detection. leakDetectPauseTimeMs = 50 ) // LeakDetect - type with methods for go routine leak detection. type LeakDetect struct { relevantRoutines map[string]bool }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.2K bytes - Viewed (0) -
istioctl/pkg/util/configdump/cluster.go
} // GetClusterConfigDump retrieves the cluster config dump from the ConfigDump func (w *Wrapper) GetClusterConfigDump() (*admin.ClustersConfigDump, error) { clusterDumpAny, err := w.getSection(clusters) if err != nil { return nil, err } clusterDump := &admin.ClustersConfigDump{} err = clusterDumpAny.UnmarshalTo(clusterDump) if err != nil { return nil, err } return clusterDump, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 2.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/route.go
} // GetRouteConfigDump retrieves the route config dump from the ConfigDump func (w *Wrapper) GetRouteConfigDump() (*admin.RoutesConfigDump, error) { routeDumpAny, err := w.getSection(routes) if err != nil { return nil, err } routeDump := &admin.RoutesConfigDump{} err = routeDumpAny.UnmarshalTo(routeDump) if err != nil { return nil, err } return routeDump, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 3.2K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
_ = cmd.PersistentFlags().MarkHidden("filter") cmd.PersistentFlags().BoolVar(&args.EnableClusterSpecific, "cluster-specific", false, "If enabled, the current cluster will be checked for cluster-specific setting detection.") } func ManifestGenerateCmd(ctx cli.Context, rootArgs *RootArgs, mgArgs *ManifestGenerateArgs) *cobra.Command { return &cobra.Command{ Use: "generate", Short: "Generates an Istio install manifest",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
cmd/auth-handler_test.go
} } } // TestIsRequestPresignedSignatureV4 - Test validates the logic for presign signature version v4 detection. func TestIsRequestPresignedSignatureV4(t *testing.T) { testCases := []struct { inputQueryKey string inputQueryValue string expectedResult bool }{ // Test case - 1.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 15.4K bytes - Viewed (0) -
istioctl/pkg/util/configdump/endpoint.go
) // GetEndpointsConfigDump retrieves the listener config dump from the ConfigDump func (w *Wrapper) GetEndpointsConfigDump() (*admin.EndpointsConfigDump, error) { endpointsDumpAny, err := w.getSection(endpoints) if err != nil { return nil, nil } endpointsDump := &admin.EndpointsConfigDump{} err = endpointsDumpAny.UnmarshalTo(endpointsDump) if err != nil { return nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 24 14:14:42 GMT 2023 - 1.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/secret.go
) // GetSecretConfigDump retrieves a secret dump from a config dump wrapper func (w *Wrapper) GetSecretConfigDump() (*admin.SecretsConfigDump, error) { secretDumpAny, err := w.getSection(secrets) if err != nil { return nil, err } secretDump := &admin.SecretsConfigDump{} err = secretDumpAny.UnmarshalTo(secretDump) if err != nil { return nil, err } return secretDump, nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 25 04:09:53 GMT 2023 - 2.2K bytes - Viewed (0)