Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,529 for spec3 (0.13 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge_test.go

    import (
    	"reflect"
    	"testing"
    
    	"k8s.io/kube-openapi/pkg/spec3"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    func TestMergeSpecV3(t *testing.T) {
    	tests := []struct {
    		name     string
    		specs    []*spec3.OpenAPI
    		expected *spec3.OpenAPI
    	}{
    		{
    			name: "oneCRD",
    			specs: []*spec3.OpenAPI{{
    				Paths: &spec3.Paths{
    					Paths: map[string]*spec3.Path{
    						"/apis/stable.example.com/v1/crd1": {},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 12 20:11:45 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge.go

    	"strings"
    
    	"k8s.io/kube-openapi/pkg/aggregator"
    	"k8s.io/kube-openapi/pkg/spec3"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    const metadataGV = "io.k8s.apimachinery.pkg.apis.meta.v1"
    const autoscalingGV = "io.k8s.api.autoscaling.v1"
    
    // MergeSpecs aggregates all OpenAPI specs, reusing the metadata of the first, static spec as the basis.
    // The static spec has the highest priority, and its paths and definitions won't get overlapped by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 16 14:08:01 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsTest.groovy

            def spec1 = Mock(ClassLoaderSpec)
            def spec2 = Mock(ClassLoaderSpec)
            def spec3 = Mock(ClassLoaderSpec)
            def spec4 = Mock(ClassLoaderSpec)
            def settings1 = daemonForkOptionsBuilder()
                    .withClassLoaderStructure(new HierarchicalClassLoaderStructure(spec1).withChild(spec2).withChild(spec3))
                    .build()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier_v3_test.go

    			err: "Invalid OpenAPI V3 document",
    		},
    		"empty Paths returns error": {
    			spec: &spec3.OpenAPI{
    				Version: "openapi 3.0.0",
    				Paths:   &spec3.Paths{},
    			},
    			err: "Path not found for GVK",
    		},
    		"nil Path returns error": {
    			spec: &spec3.OpenAPI{
    				Version: "openapi 3.0.0",
    				Paths:   &spec3.Paths{Paths: map[string]*spec3.Path{"/version": nil}},
    			},
    			err: "Path not found for GVK",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 04:44:45 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/testing/openapi3.go

    	})
    	return f.bytes
    }
    
    func (f *OpenAPIV3Getter) SchemaOrDie() *spec3.OpenAPI {
    	f.once.Do(func() {
    		_, err := os.Stat(f.Path)
    		if err != nil {
    			panic(err)
    		}
    		spec, err := os.ReadFile(f.Path)
    		if err != nil {
    			panic(err)
    		}
    
    		err = f.openapiv3.UnmarshalJSON(spec)
    		if err != nil {
    			panic(err)
    		}
    	})
    	return &f.openapiv3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapiv3/controller.go

    		c.openAPIV3Service.DeleteGroupVersion(groupVersionToOpenAPIV3Path(gv))
    		return nil
    	}
    
    	var specs []*spec3.OpenAPI
    	for _, spec := range c.specsByGVandName[gv] {
    		specs = append(specs, spec)
    	}
    
    	mergedSpec, err := builder.MergeSpecsV3(specs...)
    	if err != nil {
    		return fmt.Errorf("failed to merge specs: %v", err)
    	}
    
    	c.openAPIV3Service.UpdateGroupVersion(groupVersionToOpenAPIV3Path(gv), mergedSpec)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. pkg/kubeapiserver/authenticator/config.go

    	var authenticators []authenticator.Request
    	var tokenAuthenticators []authenticator.Token
    	securityDefinitionsV2 := spec.SecurityDefinitions{}
    	securitySchemesV3 := spec3.SecuritySchemes{}
    
    	// front-proxy, BasicAuth methods, local first, then remote
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/386.s

    	JCS	2(PC)
    	JMP	(AX)(AX*4)
    
    // LTYPEN spec4	{ outcode(int($1), &$2); }
    	NOP
    	NOP	AX
    	NOP	foo+4(SB)
    
    // LTYPES spec5	{ outcode(int($1), &$2); }
    	SHLL	$4, BX
    	SHLL	$4, foo+4(SB)
    	SHLL	$4, foo+4(SB):AX // SHLL $4, AX, foo+4(SB)
    
    // LTYPEM spec6	{ outcode(int($1), &$2); }
    	MOVL	AX, BX
    	MOVL	$4, BX
    
    // LTYPEI spec7	{ outcode(int($1), &$2); }
    	IMULL	AX
    	IMULL	$4, CX
    	IMULL	AX, BX
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier_v3.go

    	"k8s.io/client-go/openapi"
    	"k8s.io/client-go/openapi3"
    	"k8s.io/kube-openapi/pkg/spec3"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    var _ Verifier = &queryParamVerifierV3{}
    
    // NewQueryParamVerifierV3 returns a pointer to the created queryParamVerifier3 struct,
    // which implements the Verifier interface. The caching characteristics of the
    // OpenAPI V3 specs are determined by the passed oapiClient. For memory caching, the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 01:23:27 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/amd64.s

    	JCS	2(PC)
    	JMP	(AX)(AX*4)
    	JCS	2(PC)
    	JMP	R13
    
    // LTYPEN spec4	{ outcode($1, &$2); }
    	NOP
    	NOP	AX
    	NOP	foo+4(SB)
    
    // LTYPES spec5	{ outcode($1, &$2); }
    	SHLL	CX, R12
    	SHLL	CX, foo+4(SB)
    	// Old syntax, still accepted:
    	SHLL	CX, R11:AX // SHLL CX, AX, R11
    
    // LTYPEM spec6	{ outcode($1, &$2); }
    	MOVL	AX, R11
    	MOVL	$4, R11
    //	MOVL	AX, 0(AX):DS // no longer works - did it ever?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 3.3K bytes
    - Viewed (0)
Back to top