Merge pull request #40894 from MHBauer/groupmetafactoryargs-doc
Automatic merge from submit-queue GroupMetaFactoryArgs documentation **What this PR does / why we need it**: Documentation for people writing new API-Groups. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: documentation **Special notes for your reviewer**: @deads2k @pmorie my thoughts from writing the service-catalog apiserver. **Release note**: ```release-note NONE ```
This commit is contained in:
		@@ -42,10 +42,16 @@ type GroupVersionFactoryArgs struct {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// GroupMetaFactoryArgs contains the group-level args of a GroupMetaFactory.
 | 
					// GroupMetaFactoryArgs contains the group-level args of a GroupMetaFactory.
 | 
				
			||||||
type GroupMetaFactoryArgs struct {
 | 
					type GroupMetaFactoryArgs struct {
 | 
				
			||||||
 | 
						// GroupName is the name of the API-Group
 | 
				
			||||||
 | 
						//
 | 
				
			||||||
 | 
						// example: 'servicecatalog.k8s.io'
 | 
				
			||||||
	GroupName              string
 | 
						GroupName              string
 | 
				
			||||||
	VersionPreferenceOrder []string
 | 
						VersionPreferenceOrder []string
 | 
				
			||||||
	ImportPrefix           string
 | 
						// ImportPrefix is the base go package of the API-Group
 | 
				
			||||||
 | 
						//
 | 
				
			||||||
 | 
						// example: 'k8s.io/kubernetes/pkg/apis/autoscaling'
 | 
				
			||||||
 | 
						ImportPrefix string
 | 
				
			||||||
 | 
						// RootScopedKinds are resources that are not namespaced.
 | 
				
			||||||
	RootScopedKinds sets.String // nil is allowed
 | 
						RootScopedKinds sets.String // nil is allowed
 | 
				
			||||||
	IgnoredKinds    sets.String // nil is allowed
 | 
						IgnoredKinds    sets.String // nil is allowed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user