Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 483 for resc (3.32 sec)

  1. pkg/registry/core/componentstatus/rest.go

    	return &REST{
    		GetServersToValidate: serverRetriever,
    		TableConvertor:       printerstorage.TableConvertor{TableGenerator: printers.NewTableGenerator().With(printersinternal.AddHandlers)},
    	}
    }
    
    func (*REST) NamespaceScoped() bool {
    	return false
    }
    
    func (rs *REST) New() runtime.Object {
    	return &api.ComponentStatus{}
    }
    
    var _ rest.SingularNameProvider = &REST{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 13 08:10:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. pkg/registry/authentication/selfsubjectreview/rest.go

    	genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
    	"k8s.io/apiserver/pkg/registry/rest"
    	authenticationapi "k8s.io/kubernetes/pkg/apis/authentication"
    )
    
    var _ interface {
    	rest.Creater
    	rest.NamespaceScopedStrategy
    	rest.Scoper
    	rest.Storage
    } = &REST{}
    
    // REST implements a RESTStorage for selfsubjectreviews.
    type REST struct {
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 23:42:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. pkg/registry/authorization/localsubjectaccessreview/rest.go

    }
    
    func (r *REST) New() runtime.Object {
    	return &authorizationapi.LocalSubjectAccessReview{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *REST) Destroy() {
    	// Given no underlying store, we don't destroy anything
    	// here explicitly.
    }
    
    var _ rest.SingularNameProvider = &REST{}
    
    func (r *REST) GetSingularName() string {
    	return "localsubjectaccessreview"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  4. src/net/http/sniff_test.go

    			wantContentType = ""
    		}
    		if ct := resp.Header.Get("Content-Type"); ct != wantContentType {
    			t.Errorf("%v: Content-Type = %q, want %q", tt.desc, ct, wantContentType)
    		}
    		data, err := io.ReadAll(resp.Body)
    		if err != nil {
    			t.Errorf("%v: reading body: %v", tt.desc, err)
    		} else if !bytes.Equal(data, tt.data) {
    			t.Errorf("%v: data is %q, want %q", tt.desc, data, tt.data)
    		}
    		resp.Body.Close()
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 07 16:53:14 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  5. .github/workflows/create_issue.js

      const resp = await github.rest.issues.create({
        owner,
        repo,
        assignees: assignee_logins,
        title: `Issue created for Rollback of PR #${pr_number}: ${pr_title}`,
        body: `Merged PR #${pr_number} is rolled back in ${rollback_commit}.
        Please follow up with the reviewer and close this issue once its resolved.`
      });
      return `Issue created: ${resp.data.number} with Title: ${resp.data.title}`;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 18 23:04:59 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  6. pkg/registry/authorization/selfsubjectaccessreview/rest.go

    }
    
    func (r *REST) New() runtime.Object {
    	return &authorizationapi.SelfSubjectAccessReview{}
    }
    
    // Destroy cleans up resources on shutdown.
    func (r *REST) Destroy() {
    	// Given no underlying store, we don't destroy anything
    	// here explicitly.
    }
    
    var _ rest.SingularNameProvider = &REST{}
    
    func (r *REST) GetSingularName() string {
    	return "selfsubjectaccessreview"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker_test.go

    limitations under the License.
    */
    
    package rest
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"net/http"
    	"reflect"
    	"strings"
    	"testing"
    
    	"k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    )
    
    func TestGenericHttpResponseChecker(t *testing.T) {
    	responseChecker := NewGenericHttpResponseChecker(v1.Resource("pods"), "foo")
    	tests := []struct {
    		resp        *http.Response
    		expectError bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 19:04:33 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/optimize_batch_matmul.mlir

      // CHECK: %[[RES1:.*]] = "tfl.batch_matmul"(%[[RES0]], %arg2) <{adj_x = false, adj_y = false, asymmetric_quantize_inputs = false}> : (tensor<8x4xf32>, tensor<4x256xf32>) -> tensor<8x256xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. pkg/client/tests/listwatch_test.go

    	table := []struct {
    		desc          string
    		location      string
    		resource      string
    		namespace     string
    		fieldSelector fields.Selector
    	}{
    		{
    			desc:          "node",
    			location:      "/api/v1/nodes",
    			resource:      "nodes",
    			namespace:     metav1.NamespaceAll,
    			fieldSelector: parseSelectorOrDie(""),
    		},
    		{
    			desc: "pod with 'assigned' field selector",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 02 17:08:23 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  10. cmd/lock-rest-client.go

    }
    
    // RLock calls read lock REST API.
    func (c *lockRESTClient) RLock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCRLock, &args)
    }
    
    // Lock calls lock REST API.
    func (c *lockRESTClient) Lock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCLock, &args)
    }
    
    // RUnlock calls read unlock REST API.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 24 17:07:14 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top