Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 483 for resc (0.04 sec)

  1. cmd/storage-rest-common.go

    Anis Eleuch <******@****.***> 1718034687 +0100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. cmd/storage-rest-common_gen_test.go

    Klaus Post <******@****.***> 1700528975 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. cmd/lock-rest-client_test.go

    Klaus Post <******@****.***> 1700528975 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. cmd/storage-rest-common_gen.go

    Klaus Post <******@****.***> 1700528975 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. cmd/lock-rest-server.go

    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(context.Background(), *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    		return l.makeResp(resp, errLockNotFound)
    	}
    	return l.makeResp(resp, err)
    }
    
    // LockHandler - Acquires a lock.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. operator/pkg/util/common_test.go

    )
    
    func TestIsFilePath(t *testing.T) {
    	tests := []struct {
    		desc string
    		in   string
    		want bool
    	}{
    		{
    			desc: "empty",
    			in:   "",
    			want: false,
    		},
    		{
    			desc: "no-markers",
    			in:   "foobar",
    			want: false,
    		},
    		{
    			desc: "with-slash",
    			in:   "/home/bobby/go_rocks/main",
    			want: true,
    		},
    		{
    			desc: "with-period",
    			in:   "istio.go",
    			want: true,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  7. operator/pkg/util/path_test.go

    func TestSplitEscaped(t *testing.T) {
    	tests := []struct {
    		desc string
    		in   string
    		want []string
    	}{
    		{
    			desc: "empty",
    			in:   "",
    			want: []string{},
    		},
    		{
    			desc: "no match",
    			in:   "foo",
    			want: []string{"foo"},
    		},
    		{
    			desc: "first",
    			in:   ":foo",
    			want: []string{"", "foo"},
    		},
    		{
    			desc: "last",
    			in:   "foo:",
    			want: []string{"foo", ""},
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Aug 29 00:15:38 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  8. operator/pkg/util/util_test.go

    	tests := []struct {
    		desc string
    		in   string
    		want any
    	}{
    		{
    			desc: "empty",
    			in:   "",
    			want: "",
    		},
    		{
    			desc: "true",
    			in:   "true",
    			want: true,
    		},
    		{
    			desc: "false",
    			in:   "false",
    			want: false,
    		},
    		{
    			desc: "numeric-one",
    			in:   "1",
    			want: 1,
    		},
    		{
    			desc: "numeric-zero",
    			in:   "0",
    			want: 0,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    )
    
    func TestKMSProviderTimeoutDefaults(t *testing.T) {
    	testCases := []struct {
    		desc string
    		in   *KMSConfiguration
    		want *KMSConfiguration
    	}{
    		{
    			desc: "timeout not supplied",
    			in:   &KMSConfiguration{},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "timeout supplied",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. operator/pkg/tpath/util_test.go

    func TestAddSpecRoot(t *testing.T) {
    	tests := []struct {
    		desc   string
    		in     string
    		expect string
    		err    error
    	}{
    		{
    			desc: "empty",
    			in:   ``,
    			expect: `spec: {}
    `,
    			err: nil,
    		},
    		{
    			desc: "add-root",
    			in: `
    a: va
    b: foo`,
    			expect: `spec:
      a: va
      b: foo
    `,
    			err: nil,
    		},
    		{
    			desc:   "err",
    			in:     `i can't be yaml, can I?`,
    			expect: ``,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 09:06:29 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top