Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for byCollection (0.08 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)
Back to top