Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for schemaFor (0.14 sec)

  1. pilot/pkg/config/monitor/monitor_test.go

    	ts := &testState{
    		ConfigFiles: map[string][]byte{"gateway.yml": []byte(statusRegressionYAML)},
    	}
    
    	ts.testSetup(t)
    
    	store := memory.Make(collection.SchemasFor(collections.Gateway))
    	fileWatcher := NewFileSnapshot(ts.rootPath, collection.SchemasFor(), "foo")
    
    	mon := NewMonitor("", store, fileWatcher.ReadConfigFiles, "")
    	stop := make(chan struct{})
    	defer func() { close(stop) }()
    	mon.Start(stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. pilot/pkg/config/monitor/file_snapshot_test.go

    	g := NewWithT(t)
    
    	ts := &testState{
    		ConfigFiles: map[string][]byte{"gateway.yml": []byte(gatewayYAML)},
    	}
    
    	ts.testSetup(t)
    
    	fileWatcher := NewFileSnapshot(ts.rootPath, collection.SchemasFor(), "foo")
    	configs, err := fileWatcher.ReadConfigFiles()
    	g.Expect(err).NotTo(HaveOccurred())
    	g.Expect(configs).To(HaveLen(1))
    	g.Expect(configs[0].Domain).To(Equal("foo"))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/ArtifactHandler.java

     *   schema
     * }
     *
     * task schemaJar(type: Jar) {
     *   //some imaginary task that creates a jar artifact with some schema
     * }
     *
     * //associating the task that produces the artifact with the configuration
     * artifacts {
     *   //configuration name and the task:
     *   schema schemaJar
     * }
     * </pre>
     */
    @ServiceScope(Scope.Project.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. pkg/config/schema/collection/schemas.go

    // Schemas contains metadata about configuration resources.
    type Schemas struct {
    	byCollection map[config.GroupVersionKind]resource.Schema
    	byAddOrder   []resource.Schema
    }
    
    // SchemasFor is a shortcut for creating Schemas. It uses MustAdd for each element.
    func SchemasFor(schemas ...resource.Schema) Schemas {
    	b := NewSchemasBuilder()
    	for _, s := range schemas {
    		b.MustAdd(s)
    	}
    	return b.Build()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 08:10:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/ingress.go

    	var (
    		addr string
    		port int
    	)
    	opts = opts.DeepCopy()
    	var addrs []string
    	var ports []int
    	if opts.Port.ServicePort == 0 {
    		s, err := c.schemeFor(opts)
    		if err != nil {
    			return echo.CallResult{}, err
    		}
    		opts.Scheme = s
    
    		// Default port based on protocol
    		switch s {
    		case scheme.HTTP:
    			addrs, ports = c.HTTPAddresses()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 17:13:34 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. docs/pl/docs/tutorial/first-steps.md

    #### OpenAPI i JSON Schema
    
    OpenAPI definiuje API Schema dla Twojego API, który zawiera definicje (lub "schematy") danych wysyłanych i odbieranych przez Twój interfejs API przy użyciu **JSON Schema**, standardu dla schematów danych w formacie JSON.
    
    #### Sprawdź `openapi.json`
    
    Jeśli jesteś ciekawy, jak wygląda surowy schemat OpenAPI, FastAPI automatycznie generuje JSON Schema z opisami wszystkich Twoich API.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. pilot/pkg/model/authorization_test.go

    		ns  string
    		cfg config.Config
    	}{
    		typ: cfg.GroupVersionKind,
    		ns:  cfg.Namespace,
    		cfg: cfg,
    	})
    }
    
    func (fs *authzFakeStore) Schemas() collection.Schemas {
    	return collection.SchemasFor()
    }
    
    func (fs *authzFakeStore) Get(_ config.GroupVersionKind, _, _ string) *config.Config {
    	return nil
    }
    
    func (fs *authzFakeStore) List(typ config.GroupVersionKind, namespace string) []config.Config {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/ingress/controller.go

    //   If we need more flexibility - we can add it (but likely we'll deprecate ingress support first)
    // -
    
    var schemas = collection.SchemasFor(
    	collections.VirtualService,
    	collections.Gateway)
    
    // Control needs RBAC permissions to write to Pods.
    
    type controller struct {
    	meshWatcher  mesh.Holder
    	domainSuffix string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/controller.go

    	if credsController != nil {
    		credsController.AddSecretHandler(gatewayController.secretEvent)
    	}
    
    	return gatewayController
    }
    
    func (c *Controller) Schemas() collection.Schemas {
    	return collection.SchemasFor(
    		collections.VirtualService,
    		collections.Gateway,
    	)
    }
    
    func (c *Controller) Get(typ config.GroupVersionKind, name, namespace string) *config.Config {
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         *   schema
         * }
         *
         * task schemaJar(type: Jar) {
         *   //some imaginary task that creates a jar artifact with the schema
         * }
         *
         * //associating the task that produces the artifact with the configuration
         * artifacts {
         *   //configuration name and the task:
         *   schema schemaJar
         * }
         * </pre>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top