pkg/apis/config/register.go [34:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	AddToScheme = localSchemeBuilder.AddToScheme
)

// addKnownTypes registers known types to the given scheme
func addKnownTypes(scheme *runtime.Scheme) error {
	scheme.AddKnownTypes(SchemeGroupVersion,
		&CoschedulingArgs{},
		&NodeResourcesAllocatableArgs{},
		&CapacitySchedulingArgs{},
		&TargetLoadPackingArgs{},
		&LoadVariationRiskBalancingArgs{},
		&NodeResourceTopologyMatchArgs{},
	)
	return nil
}

func init() {
	// We only register manually written functions here. The registration of the
	// generated functions takes place in the generated files. The separation
	// makes the code compile even when the generated files are missing.
	localSchemeBuilder.Register(addKnownTypes)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pkg/apis/config/v1beta1/register.go [34:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	AddToScheme = localSchemeBuilder.AddToScheme
)

// addKnownTypes registers known types to the given scheme
func addKnownTypes(scheme *runtime.Scheme) error {
	scheme.AddKnownTypes(SchemeGroupVersion,
		&CoschedulingArgs{},
		&NodeResourcesAllocatableArgs{},
		&CapacitySchedulingArgs{},
		&TargetLoadPackingArgs{},
		&LoadVariationRiskBalancingArgs{},
		&NodeResourceTopologyMatchArgs{},
	)
	return nil
}

func init() {
	// We only register manually written functions here. The registration of the
	// generated functions takes place in the generated files. The separation
	// makes the code compile even when the generated files are missing.
	localSchemeBuilder.Register(addKnownTypes)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



