- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for schemaFor (0.85 sec)
-
pilot/pkg/config/aggregate/config_test.go
store1 := memory.Make(collection.SchemasFor(schemaFor("SomeConfig", "broken message name"))) stores := []model.ConfigStore{store1} store, err := makeStore(stores, nil) g.Expect(err).To(MatchError(ContainSubstring("not found: broken message name"))) g.Expect(store).To(BeNil()) } func TestAggregateStoreGet(t *testing.T) { g := NewWithT(t) store1 := memory.Make(collection.SchemasFor(collections.GatewayClass))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessors.kt
private val schema = Cached.of { schemaOf(project) } @Suppress("unused") @TaskAction internal fun printExtensions() { printAccessorsFor(schema.get()!!) } private fun schemaOf(project: Project) = projectSchemaProvider.schemaFor(project) } internal fun printAccessorsFor(schema: TypedProjectSchema) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaProvider.kt
import org.gradle.internal.service.scopes.ServiceScope import org.gradle.kotlin.dsl.* import java.io.Serializable @ServiceScope(Scope.UserHome::class) interface ProjectSchemaProvider { fun schemaFor(scriptTarget: Any): TypedProjectSchema? } data class SchemaType(val value: TypeOf<*>) { companion object { inline fun <reified T> of() = SchemaType(typeOf<T>()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:46 UTC 2024 - 2.6K bytes - Viewed (0) -
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) -
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)