1
0
mirror of https://github.com/rancher/types.git synced 2025-09-13 05:26:11 +00:00

Update schemas

This commit is contained in:
Darren Shepherd
2017-11-11 21:14:05 -07:00
parent 88242c48c9
commit 9d4da2e2e1
12 changed files with 866 additions and 72 deletions

View 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{})
)