Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for byCollection (0.13 sec)

  1. pkg/config/schema/collection/schemas.go

    func NewSchemasBuilder() *SchemasBuilder {
    	s := Schemas{
    		byCollection: make(map[config.GroupVersionKind]resource.Schema),
    	}
    
    	return &SchemasBuilder{
    		schemas: s,
    	}
    }
    
    // Add a new collection to the schemas.
    func (b *SchemasBuilder) Add(s resource.Schema) error {
    	if _, found := b.schemas.byCollection[s.GroupVersionKind()]; found {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 08:10:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CollectionPropertyIntegrationTest.groovy

        }
    
        def "circular evaluation of #collection property is detected"() {
            buildFile """
                def myCollection = objects.${initializer}(String)
                def p = myCollection.map { it.join(", ") }
                myCollection.add(p)
    
                myCollection.get()
            """
    
            when:
            fails "help"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:57:00 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top