- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getAction (0.2 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/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) -
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) -
istioctl/pkg/util/configdump/util.go
secrets configTypeURL = "type.googleapis.com/envoy.admin.v3.SecretsConfigDump" ecds configTypeURL = "type.googleapis.com/envoy.admin.v3.EcdsConfigDump" ) // getSection takes a TypeURL and returns the types.Any from the config dump corresponding to that URL func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) { var dumpAny *anypb.Any for _, conf := range w.Configs { if conf.TypeUrl == string(sectionTypeURL) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Dec 24 08:16:26 GMT 2023 - 2.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/bootstrap.go
) // GetBootstrapConfigDump retrieves the bootstrap config dump from the ConfigDump func (w *Wrapper) GetBootstrapConfigDump() (*admin.BootstrapConfigDump, error) { bootstrapDumpAny, err := w.getSection(bootstrap) if err != nil { return nil, err } bootstrapDump := &admin.BootstrapConfigDump{} err = bootstrapDumpAny.UnmarshalTo(bootstrapDump) if err != nil { return nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 1.1K bytes - Viewed (0)