Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for New (0.12 sec)

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

    func (c *ConfigWriter) PrintSecretSummary() error {
    	if c.ztunnelDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    	secretDump := c.ztunnelDump.Certificates
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0)
    	fmt.Fprintln(w, "CERTIFICATE NAME\tTYPE\tSTATUS\tVALID CERT\tSERIAL NUMBER\tNOT AFTER\tNOT BEFORE")
    
    	for _, secret := range secretDump {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    func (c *ConfigWriter) PrintPodRootCAFromDynamicSecretDump() (string, error) {
    	// TODO
    	return "", nil
    }
    
    func (c *ConfigWriter) tabwriter() *tabwriter.Writer {
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 1, ' ', 0)
    	return w
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net.go

    			err := addPodToHostNSIpset(pod, podIPs, &s.hostsideProbeIPSet)
    			if err != nil {
    				return err
    			}
    			addedIPSnapshot = append(addedIPSnapshot, podIPs...)
    		}
    
    	}
    	return pruneHostIPset(sets.New(addedIPSnapshot...), &s.hostsideProbeIPSet)
    }
    
    // addPodToHostNSIpset:
    // 1. get pod manifest
    // 2. Get all pod ips (might be several, v6/v4)
    // 3. update ipsets accordingly
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  4. cni/pkg/nodeagent/informers_test.go

    }
    
    func TestExistingPodNotAddedIfNoIPInAnyStatusField(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	mt := monitortest.New(t)
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net_test.go

    	netServer := fixture.netServer
    	ztunnelServer := fixture.ztunnelServer
    
    	podMeta := metav1.ObjectMeta{
    		Name:      "foo",
    		Namespace: "bar",
    		UID:       "123",
    	}
    	ztunnelServer.addError = errors.New("fake error")
    	podIP := netip.MustParseAddr("99.9.9.9")
    	podIPs := []netip.Addr{podIP}
    
    	expectPodAddedToIPSet(fixture.ipsetDeps, podMeta)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/informers.go

    		// we get here in 2 cases:
    		// 1. new pod was created on our node
    		// 2. we were restarted and current existing pods are added to our cache
    
    		// We have no good way to distinguish between these two cases from here. But we don't need to!
    		// Existing pods will be handled by the dataplane using `GetAmbientPods`,
    		// and the initial enqueueNamespace, and new pods will be handled by the CNI.
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  7. operator/cmd/mesh/install.go

    	if err != nil {
    		return fmt.Errorf("fetch Istio version: %v", err)
    	}
    
    	// return warning if current date is near the EOL date
    	if operatorVer.IsEOL() {
    		warnMarker := color.New(color.FgYellow).Add(color.Italic).Sprint("WARNING:")
    		fmt.Printf("%s Istio %v may be out of support (EOL) already: see https://istio.io/latest/docs/releases/supported-releases/ for supported releases\n",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  8. cni/pkg/ipset/nldeps_unspecified.go

    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) flush(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) clearEntriesWithComment(name, comment string) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) clearEntriesWithIP(name string, ip netip.Addr) error {
    	return errors.New("not implemented on this platform")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var (
    	revision      = ""
    	waitReady     bool
    	allNamespaces bool
    
    	deleteAll bool
    
    	trafficType       = ""
    	validTrafficTypes = sets.New(constants.ServiceTraffic, constants.WorkloadTraffic, constants.AllTraffic, constants.NoTraffic)
    
    	waypointName    = constants.DefaultNamespaceWaypoint
    	enrollNamespace bool
    )
    
    const waitTimeout = 90 * time.Second
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	configCmd.AddCommand(connectionsCmd(ctx))
    
    	return configCmd
    }
    
    type Command struct {
    	Name string
    }
    
    func certificatesConfigCmd(ctx cli.Context) *cobra.Command {
    	common := new(commonFlags)
    	cmd := &cobra.Command{
    		Use:   "certificate",
    		Short: "Retrieves certificate for the specified Ztunnel pod.",
    		Long:  `Retrieve information about certificates for the Ztunnel instance.`,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
Back to top