- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for Hiller (0.17 sec)
-
istioctl/pkg/writer/ztunnel/configdump/workload.go
"fmt" "sort" "strings" "sigs.k8s.io/yaml" ) // WorkloadFilter is used to pass filter information into workload based config writer print functions type WorkloadFilter struct { Address string Node string Verbose bool Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *WorkloadFilter) Verify(workload *ZtunnelWorkload) bool {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
func (c *ConfigWriter) PrintEndpointsSummary(filter EndpointFilter) error { if c.clusters == nil { return fmt.Errorf("config writer has not been primed") } w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0) clusterEndpoint := make([]EndpointCluster, 0) for _, cluster := range c.clusters.ClusterStatuses { for _, host := range cluster.HostStatuses { if filter.Verify(host, cluster.Name) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 5.8K bytes - Viewed (0) -
istioctl/cmd/options.go
package cmd import ( "github.com/spf13/cobra" "github.com/spf13/pflag" ) var helpFlags = map[string]bool{ "log_as_json": true, "log_stacktrace_level": true, "log_target": true, "log_caller": true, "log_output_level": true, // istioctl also inherits support for log_rotate, log_rotate_max_age, log_rotate_max_backups,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.8K bytes - Viewed (0) -
cni/pkg/repair/netns.go
func getLinkWithDestinationOf(ip string) (netlink.Link, error) { routes, err := netlink.RouteListFiltered( netlink.FAMILY_V4, &netlink.Route{Dst: &net.IPNet{IP: net.ParseIP(ip), Mask: net.CIDRMask(32, 32)}}, netlink.RT_FILTER_DST) if err != nil { return nil, err } if len(routes) == 0 { return nil, fmt.Errorf("no routes found for %s", ip) } linkIndex := routes[0].LinkIndex return netlink.LinkByIndex(linkIndex) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint_test.go
outputFormat: "json", filter: EndpointFilter{}, }, { name: "emptyfilter", outputFormat: "yaml", filter: EndpointFilter{}, }, { name: "portfilter", outputFormat: "json", filter: EndpointFilter{ Port: 8080, }, }, { name: "portfilter", outputFormat: "yaml", filter: EndpointFilter{ Port: 8080, }, }, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 12 02:25:59 GMT 2022 - 2.4K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
} // PrintServiceSummary prints a summary of the relevant services in the config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintPolicySummary(filter PolicyFilter) error { w := c.tabwriter() zDump := c.ztunnelDump pols := slices.Filter(maps.Values(zDump.Policies), filter.Verify) slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int { if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r }
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) -
operator/cmd/mesh/manifest-generate.go
cmd.PersistentFlags().StringSliceVar(&args.Components, "component", nil, ComponentFlagHelpStr) cmd.PersistentFlags().StringSliceVar(&args.Filter, "filter", nil, "") _ = 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.") }
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/authz/listener.go
case *listener.Filter_TypedConfig: if err := c.TypedConfig.UnmarshalTo(out); err != nil { return err } } return nil } func getHTTPConnectionManager(filter *listener.Filter) *hcm.HttpConnectionManager { cm := &hcm.HttpConnectionManager{} if err := getFilterConfig(filter, cm); err != nil { log.Errorf("failed to get HTTP connection manager config: %s", err) return nil } return cm }
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/ztunnel/configdump/connections.go
return r } return cmp.Compare(a.Info.Namespace, b.Info.Namespace) }) for _, wl := range workloads { if filter.Namespace != "" && filter.Namespace != wl.Info.Namespace { continue } name := fmt.Sprintf("%s.%s", wl.Info.Name, wl.Info.Namespace) if filter.Direction != "outbound" { for _, c := range wl.Connections.Inbound {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 15:39:28 GMT 2024 - 3.3K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
"istio.io/istio/pkg/config/host" ) // ClusterFilter is used to pass filter information into cluster based config writer print functions type ClusterFilter struct { FQDN host.Name Port int Subset string Direction model.TrafficDirection } // Verify returns true if the passed cluster matches the filter fields func (c *ClusterFilter) Verify(cluster *cluster.Cluster) bool { name := cluster.Name
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 5.9K bytes - Viewed (0)