Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for Services (0.22 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/services.go

    			return false
    		}
    	}
    
    	return true
    }
    
    // PrintServiceSummary prints a summary of the relevant services in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintServiceSummary(filter ServiceFilter) error {
    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	svcs := slices.Filter(maps.Values(zDump.Services), filter.Verify)
    	slices.SortFunc(svcs, func(a, b *ZtunnelService) int {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/policies.go

    		if !strings.EqualFold(pol.Namespace, wf.Namespace) {
    			return false
    		}
    	}
    
    	return true
    }
    
    // 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)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. istioctl/pkg/completion/completion.go

    	serviceList, err := client.Kube().CoreV1().Services(ns).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    	var serviceNameList []string
    	for _, service := range serviceList.Items {
    		if toComplete == "" || strings.HasPrefix(service.Name, toComplete) {
    			serviceNameList = append(serviceNameList, service.Name)
    		}
    	}
    
    	return serviceNameList, nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	common := new(commonFlags)
    	cmd := &cobra.Command{
    		Use:   "service",
    		Short: "Retrieves services for the specified Ztunnel pod.",
    		Long:  `Retrieve information about services for the Ztunnel instance.`,
    		Example: `  # Retrieve summary about services configuration for a randomly chosen ztunnel.
      istioctl x ztunnel-config services
    
      # Retrieve full certificate dump of workloads for a given Ztunnel instance.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/api.go

    	Action    string             `json:"action"`
    	Rules     [][][]*PolicyMatch `json:"rules"`
    }
    
    type ZtunnelDump struct {
    	Workloads     map[string]*ZtunnelWorkload `json:"workloads"`
    	Services      map[string]*ZtunnelService  `json:"services"`
    	Policies      map[string]*ZtunnelPolicy   `json:"policies"`
    	Certificates  []*CertsDump                `json:"certificates"`
    	WorkloadState map[string]WorkloadState    `json:"workloadState"`
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. istioctl/pkg/precheck/precheck.go

    func checkTracing(cli kube.CLIClient, messages *diag.Messages) error {
    	// In 1.22, we remove the default tracing config which points to zipkin.istio-system
    	// This has no effect for users, unless they have this service.
    	svc, err := cli.Kube().CoreV1().Services("istio-system").Get(context.Background(), "zipkin", metav1.GetOptions{})
    	if err != nil && !kerrors.IsNotFound(err) {
    		return err
    	}
    	if err != nil {
    		// not found
    		return nil
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. cni/pkg/iptables/iptables.go

    // via the nodeIP
    // - kubelet (node-local healthchecks, which we do not capture)
    // - kube-proxy (fowarded/proxied traffic from LoadBalancer-backed services, potentially with public IPs, which we must capture)
    func (cfg *IptablesConfigurator) CreateHostRulesForHealthChecks(hostSNATIP, hostSNATIPV6 *netip.Addr) error {
    	// Append our rules here
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/workload.go

    	return nil
    }
    
    func waypointName(wl *ZtunnelWorkload, services map[string]*ZtunnelService) string {
    	if wl.Waypoint == nil {
    		return "None"
    	}
    
    	if svc, ok := services[wl.Waypoint.Destination]; ok {
    		return svc.Name
    	}
    
    	return "NA" // Shouldn't normally reach here
    }
    
    func serviceWaypointName(svc *ZtunnelService, services map[string]*ZtunnelService) string {
    	if svc.Waypoint == nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. internal/config/dns/types.go

    	// TargetStrip > 0 we strip the left most TargetStrip labels from the
    	// DNS name.
    	TargetStrip int `json:"targetstrip,omitempty"`
    
    	// Group is used to group (or *not* to group) different services
    	// together. Services with an identical Group are returned in
    	// the same answer.
    	Group string `json:"group,omitempty"`
    
    	// Key carries the original key used during Put().
    	Key string `json:"-"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-diff.go

    	// The format of each renaming pair is A->B, all renaming pairs are comma separated.
    	// e.g. Service:*:istio-pilot->Service:*:istio-control - rename istio-pilot service into istio-control
    	renameResources string
    }
    
    func addManifestDiffFlags(cmd *cobra.Command, diffArgs *manifestDiffArgs) {
    	cmd.PersistentFlags().BoolVarP(&diffArgs.compareDir, "directory", "r",
    		false, "Compare directory.")
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top