mirror of
https://github.com/rancher/types.git
synced 2025-08-31 04:40:56 +00:00
Add PersistentVolume
This commit is contained in:
@@ -18,7 +18,8 @@ var (
|
||||
|
||||
Schemas = factory.Schemas(&Version).
|
||||
Init(namespaceTypes).
|
||||
Init(nodeTypes)
|
||||
Init(nodeTypes).
|
||||
Init(volumeTypes)
|
||||
)
|
||||
|
||||
func namespaceTypes(schemas *types.Schemas) *types.Schemas {
|
||||
@@ -49,3 +50,8 @@ func nodeTypes(schemas *types.Schemas) *types.Schemas {
|
||||
}{}).
|
||||
MustImport(&Version, v1.Node{})
|
||||
}
|
||||
|
||||
func volumeTypes(schemas *types.Schemas) *types.Schemas {
|
||||
return schemas.
|
||||
MustImport(&Version, v1.PersistentVolume{})
|
||||
}
|
||||
|
Reference in New Issue
Block a user