mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 01:26:28 +00:00
GroupMetaFactoryArgs documentation
This commit is contained in:
parent
c84f3abca1
commit
1169868d7b
@ -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 is the base go package of the API-Group
|
||||||
|
//
|
||||||
|
// example: 'k8s.io/kubernetes/pkg/apis/autoscaling'
|
||||||
ImportPrefix string
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user