mirror of
https://github.com/rancher/types.git
synced 2025-09-01 13:18:20 +00:00
catalog types changes
This commit is contained in:
committed by
Darren Shepherd
parent
87897aa616
commit
02f805be04
@@ -35,9 +35,18 @@ var (
|
||||
Init(replicaSet).
|
||||
Init(replicationController).
|
||||
Init(daemonSet).
|
||||
Init(workloadTypes)
|
||||
Init(workloadTypes).
|
||||
Init(configMapTypes)
|
||||
)
|
||||
|
||||
func configMapTypes(schemas *types.Schemas) *types.Schemas {
|
||||
return ConfigMapTypes(&Version, schemas)
|
||||
}
|
||||
|
||||
func ConfigMapTypes(version *types.APIVersion, schemas *types.Schemas) *types.Schemas {
|
||||
return schemas.MustImport(version, v1.ConfigMap{})
|
||||
}
|
||||
|
||||
func namespaceTypes(schemas *types.Schemas) *types.Schemas {
|
||||
return NamespaceTypes(&Version, schemas)
|
||||
}
|
||||
|
Reference in New Issue
Block a user