forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
register.go
60 lines (50 loc) · 1.99 KB
/
register.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package v1
import (
"k8s.io/kubernetes/pkg/api/unversioned"
"k8s.io/kubernetes/pkg/runtime"
"github.com/openshift/origin/pkg/cmd/server/api"
)
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = unversioned.GroupVersion{Group: "", Version: "v1"}
// Codec encodes internal objects to the v1 scheme
var Codec = runtime.CodecFor(api.Scheme, SchemeGroupVersion.String())
func init() {
api.Scheme.AddKnownTypes(SchemeGroupVersion,
&MasterConfig{},
&NodeConfig{},
&SessionSecrets{},
&IdentityProvider{},
&BasicAuthPasswordIdentityProvider{},
&AllowAllPasswordIdentityProvider{},
&DenyAllPasswordIdentityProvider{},
&HTPasswdPasswordIdentityProvider{},
&LDAPPasswordIdentityProvider{},
&KeystonePasswordIdentityProvider{},
&RequestHeaderIdentityProvider{},
&GitHubIdentityProvider{},
&GitLabIdentityProvider{},
&GoogleIdentityProvider{},
&OpenIDIdentityProvider{},
&GrantConfig{},
&AdmissionPluginConfig{},
&LDAPSyncConfig{},
)
}
func (*LDAPSyncConfig) IsAnAPIObject() {}
func (*IdentityProvider) IsAnAPIObject() {}
func (*BasicAuthPasswordIdentityProvider) IsAnAPIObject() {}
func (*AllowAllPasswordIdentityProvider) IsAnAPIObject() {}
func (*DenyAllPasswordIdentityProvider) IsAnAPIObject() {}
func (*HTPasswdPasswordIdentityProvider) IsAnAPIObject() {}
func (*LDAPPasswordIdentityProvider) IsAnAPIObject() {}
func (*KeystonePasswordIdentityProvider) IsAnAPIObject() {}
func (*RequestHeaderIdentityProvider) IsAnAPIObject() {}
func (*GitHubIdentityProvider) IsAnAPIObject() {}
func (*GitLabIdentityProvider) IsAnAPIObject() {}
func (*GoogleIdentityProvider) IsAnAPIObject() {}
func (*OpenIDIdentityProvider) IsAnAPIObject() {}
func (*GrantConfig) IsAnAPIObject() {}
func (*AdmissionPluginConfig) IsAnAPIObject() {}
func (*MasterConfig) IsAnAPIObject() {}
func (*NodeConfig) IsAnAPIObject() {}
func (*SessionSecrets) IsAnAPIObject() {}