Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for Now (0.16 sec)

  1. cni/pkg/nodeagent/ztunnelserver_test.go

    		panic(err)
    	}
    	err = c.SetWriteDeadline(time.Now().Add(time.Second))
    	if err != nil {
    		panic(err)
    	}
    	c.Write(data)
    }
    
    func sendHello(c *net.UnixConn) {
    	ack := &zdsapi.ZdsHello{
    		Version: zdsapi.Version_V1,
    	}
    	data, err := proto.Marshal(ack)
    	if err != nil {
    		panic(err)
    	}
    	err = c.SetWriteDeadline(time.Now().Add(time.Second))
    	if err != nil {
    		panic(err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. istioctl/pkg/authz/analyzer_test.go

    						VersionInfo: "2023-06-20T09:07:41Z/3",
    						Listener: &anypb.Any{
    							TypeUrl: "type.googleapis.com/envoy.config.listener.v3.Listener",
    						},
    						LastUpdated: timestamppb.Now(),
    					},
    					ClientStatus: 453,
    				},
    			},
    		},
    	}
    	tests := []struct {
    		name  string
    		input *envoy_admin.ListenersConfigDump_DynamicListener
    	}{
    		{
    			name: "Test2",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    }
    
    func certNotExpired(cert *Cert) bool {
    	// case where cert state is in either Initializing or Unavailable state
    	if cert.ExpirationTime == "" && cert.ValidFrom == "" {
    		return false
    	}
    	today := time.Now()
    	expDate, err := time.Parse(time.RFC3339, cert.ExpirationTime)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err)
    		return false
    	}
    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)
  4. istioctl/pkg/writer/compare/sds/util.go

    	if err != nil {
    		return SecretMeta{}, err
    	}
    	var certType string
    	if cert.IsCA {
    		certType = "CA"
    	} else {
    		certType = "Cert Chain"
    	}
    
    	today := time.Now()
    	return SecretMeta{
    		SerialNumber: fmt.Sprintf("%x", cert.SerialNumber),
    		NotAfter:     cert.NotAfter.Format(time.RFC3339),
    		NotBefore:    cert.NotBefore.Format(time.RFC3339),
    		Type:         certType,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    func (s *NetServer) RemovePodFromMesh(ctx context.Context, pod *corev1.Pod) error {
    	log := log.WithLabels("ns", pod.Namespace, "name", pod.Name)
    	log.Debugf("Pod is now opt out... cleaning up.")
    
    	openNetns := s.currentPodSnapshot.Take(string(pod.UID))
    	if openNetns == nil {
    		log.Warn("failed to find pod netns")
    		return fmt.Errorf("failed to find pod netns")
    	}
    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)
  6. common/scripts/tracing.sh

      { set +x; } 2>/dev/null
      # Throughout, "local" usage is critical to avoid nested calls overwriting things
      local start
      start="$(date -u +%s.%N)"
      # First, get a trace and span ID. We need to get one now so we can propagate it to the child
      # Get trace ID from TRACEPARENT, if present
      local tid
      tid="$(<<<"${TRACEPARENT:-}" cut -d- -f2)"
      tid="${tid:-"$(tr -dc 'a-f0-9' < /dev/urandom | head -c 32)"}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. Makefile.core.mk

    	@echo "Please install go-junit-report (ex. go install github.com/jstemmer/go-junit-report@latest)"
    	@exit 1
    
    # This is just an alias for racetest now
    test: racetest ## Runs all unit tests
    
    # For now, keep a minimal subset. This can be expanded in the future.
    BENCH_TARGETS ?= ./pilot/...
    
    PKG ?= ./...
    .PHONY: racetest
    racetest: $(JUNIT_REPORT)
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/server.go

    	iptablesConfigurator, err := iptables.NewIptablesConfigurator(cfg, realDependencies(), iptables.RealNlDeps())
    	if err != nil {
    		return nil, fmt.Errorf("error configuring iptables: %w", err)
    	}
    
    	// Create hostprobe rules now, in the host netns
    	// Later we will reuse this same configurator inside the pod netns for adding other rules
    	iptablesConfigurator.DeleteHostRules()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

      // items is the list of VolumeAttachments
      repeated VolumeAttachment items = 2;
    }
    
    // VolumeAttachmentSource represents a volume that should be attached.
    // Right now only PersistenVolumes can be attached via external attacher,
    // in future we may allow also inline volumes in pods.
    // Exactly one member can be set.
    message VolumeAttachmentSource {
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // well-known group names.
      // Required.
      optional string name = 1;
    }
    
    // LimitResponse defines how to handle requests that can not be executed right now.
    // +union
    message LimitResponse {
      // `type` is "Queue" or "Reject".
      // "Queue" means that requests that can not be executed upon arrival
      // are held in a queue until they can be executed or a queuing limit
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
Back to top