Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for ParseDuration (0.15 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go

    	// - byte: base64 encoded binary data
    	// - password: any kind of string
    	// - date: a date string like "2006-01-02" as defined by full-date in RFC3339
    	// - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format
    	// - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
    	Format string `json:"format,omitempty" protobuf:"bytes,6,opt,name=format"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/script/cmds.go

    			},
    			Async: true,
    		},
    		func(s *State, args ...string) (WaitFunc, error) {
    			if len(args) != 1 {
    				return nil, ErrUsage
    			}
    
    			d, err := time.ParseDuration(args[0])
    			if err != nil {
    				return nil, err
    			}
    
    			timer := time.NewTimer(d)
    			wait := func(s *State) (stdout, stderr string, err error) {
    				ctx := s.Context()
    				select {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_inbound.go

    	}
    	tcpProxy := &tcp.TcpProxy{
    		StatPrefix:       statPrefix,
    		ClusterSpecifier: &tcp.TcpProxy_Cluster{Cluster: fcc.clusterName},
    		IdleTimeout:      parseDuration(lb.node.Metadata.IdleTimeout),
    	}
    	tcpFilter := setAccessLogAndBuildTCPFilter(lb.push, lb.node, tcpProxy, istionetworking.ListenerClassSidecarInbound, fcc.policyService)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. src/database/sql/fakedb_test.go

    		if firstStmt == nil {
    			firstStmt = stmt
    		}
    		if len(parts) >= 3 {
    			switch parts[0] {
    			case "PANIC":
    				stmt.panic = parts[1]
    				parts = parts[2:]
    			case "WAIT":
    				wait, err := time.ParseDuration(parts[1])
    				if err != nil {
    					return nil, errf("expected section after WAIT to be a duration, got %q %v", parts[1], err)
    				}
    				parts = parts[2:]
    				stmt.wait = wait
    			}
    		}
    		cmd := parts[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      // - password: any kind of string
      // - date: a date string like "2006-01-02" as defined by full-date in RFC3339
      // - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format
      // - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
      optional string format = 6;
    
      optional string title = 7;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

      // - password: any kind of string
      // - date: a date string like "2006-01-02" as defined by full-date in RFC3339
      // - duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format
      // - datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
      optional string format = 6;
    
      optional string title = 7;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. src/os/exec/exec_test.go

    	}
    	in.Close()
    
    	b := <-outc
    	if !bytes.Equal(b, []byte(msg)) {
    		t.Fatalf("read %q from stdout pipe; want %q", b, msg)
    	}
    }
    
    func cmdHang(args ...string) {
    	sleep, err := time.ParseDuration(args[0])
    	if err != nil {
    		panic(err)
    	}
    
    	fs := flag.NewFlagSet("hang", flag.ExitOnError)
    	exitOnInterrupt := fs.Bool("interrupt", false, "if true, commands should exit 0 on os.Interrupt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top