mirror of
https://github.com/rancher/types.git
synced 2025-09-13 05:26:11 +00:00
Update schemas
This commit is contained in:
20
io.cattle.authorization/v1/schema/schema.go
Normal file
20
io.cattle.authorization/v1/schema/schema.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package schema
|
||||
|
||||
import (
|
||||
"github.com/rancher/norman/types"
|
||||
"github.com/rancher/types/io.cattle.authorization/v1"
|
||||
)
|
||||
|
||||
var (
|
||||
Version = types.APIVersion{
|
||||
Version: "v1",
|
||||
Group: "io.cattle.authorization",
|
||||
Path: "/v1-authz",
|
||||
}
|
||||
|
||||
Schemas = types.NewSchemas().
|
||||
MustImport(&Version, v1.Project{}).
|
||||
MustImport(&Version, v1.RoleTemplate{}).
|
||||
MustImport(&Version, v1.PodSecurityPolicyTemplate{}).
|
||||
MustImport(&Version, v1.ProjectRoleBinding{})
|
||||
)
|
Reference in New Issue
Block a user