Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for groupVersionKinds (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/openapi/openapi.go

    	}
    	return prefix + ToValidOperationID(op, prefix != ""), tags, nil
    }
    
    type groupVersionKinds []v1.GroupVersionKind
    
    func (s groupVersionKinds) Len() int {
    	return len(s)
    }
    
    func (s groupVersionKinds) Swap(i, j int) {
    	s[i], s[j] = s[j], s[i]
    }
    
    func (s groupVersionKinds) Less(i, j int) bool {
    	if s[i].Group == s[j].Group {
    		if s[i].Version == s[j].Version {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 09 18:11:41 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/resource/mapper.go

    	groupVersionKinds, _, err := typer.ObjectKinds(obj)
    	if err != nil {
    		return nil, fmt.Errorf("unable to get type info from the object %q: %v", reflect.TypeOf(obj), err)
    	}
    
    	gvk := groupVersionKinds[0]
    	if len(groupVersionKinds) > 1 && len(preferredGVKs) > 0 {
    		gvk = preferredObjectKind(groupVersionKinds, preferredGVKs)
    	}
    
    	name, _ := metadataAccessor.Name(obj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 03 10:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. pkg/config/schema/collection/schemas.go

    		}
    	}
    
    	return nil, false
    }
    
    // All returns all known Schemas
    func (s Schemas) All() []resource.Schema {
    	return slices.Clone(s.byAddOrder)
    }
    
    // GroupVersionKinds returns all known GroupVersionKinds
    func (s Schemas) GroupVersionKinds() []config.GroupVersionKind {
    	res := []config.GroupVersionKind{}
    	for _, r := range s.All() {
    		res = append(res, r.GroupVersionKind())
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 08:10:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. operator/pkg/apis/addtoscheme_istio_v1alpha1.go

    // limitations under the License.
    
    package apis
    
    import (
    	"istio.io/istio/operator/pkg/apis/istio/v1alpha1"
    )
    
    func init() {
    	// Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
    	AddToSchemes = append(AddToSchemes, v1alpha1.SchemeBuilder.AddToScheme)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 855 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    	return sets.NewString(globalNonRoundTrippableTypes.List()...)
    }
    
    // RoundTripTypesWithoutProtobuf applies the round-trip test to all round-trippable Kinds
    // in the scheme.  It will skip all the GroupVersionKinds in the skip list.
    func RoundTripTypesWithoutProtobuf(t *testing.T, scheme *runtime.Scheme, codecFactory runtimeserializer.CodecFactory, fuzzer *fuzz.Fuzzer, nonRoundTrippableTypes map[schema.GroupVersionKind]bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/config/upgradeconfiguration.go

    // The map may contain many different YAML documents. These YAML documents are parsed one-by-one
    // and well-known ComponentConfig GroupVersionKinds are stored inside of the internal UpgradeConfiguration struct.
    // The resulting UpgradeConfiguration is then dynamically defaulted and validated prior to return.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/config/initconfiguration.go

    // The map may contain many different YAML documents. These YAML documents are parsed one-by-one
    // and well-known ComponentConfig GroupVersionKinds are stored inside of the internal InitConfiguration struct.
    // The resulting InitConfiguration is then dynamically defaulted and validated prior to return.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top