forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.go
44 lines (38 loc) · 1.41 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
package v1
import (
"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
"github.com/openshift/origin/pkg/cmd/server/api"
)
var Codec = runtime.CodecFor(api.Scheme, "v1")
func init() {
api.Scheme.AddKnownTypes("v1",
&MasterConfig{},
&NodeConfig{},
&SessionSecrets{},
&IdentityProvider{},
&BasicAuthPasswordIdentityProvider{},
&AllowAllPasswordIdentityProvider{},
&DenyAllPasswordIdentityProvider{},
&HTPasswdPasswordIdentityProvider{},
&LDAPPasswordIdentityProvider{},
&RequestHeaderIdentityProvider{},
&GitHubIdentityProvider{},
&GoogleIdentityProvider{},
&OpenIDIdentityProvider{},
&GrantConfig{},
)
}
func (*IdentityProvider) IsAnAPIObject() {}
func (*BasicAuthPasswordIdentityProvider) IsAnAPIObject() {}
func (*AllowAllPasswordIdentityProvider) IsAnAPIObject() {}
func (*DenyAllPasswordIdentityProvider) IsAnAPIObject() {}
func (*HTPasswdPasswordIdentityProvider) IsAnAPIObject() {}
func (*LDAPPasswordIdentityProvider) IsAnAPIObject() {}
func (*RequestHeaderIdentityProvider) IsAnAPIObject() {}
func (*GitHubIdentityProvider) IsAnAPIObject() {}
func (*GoogleIdentityProvider) IsAnAPIObject() {}
func (*OpenIDIdentityProvider) IsAnAPIObject() {}
func (*GrantConfig) IsAnAPIObject() {}
func (*MasterConfig) IsAnAPIObject() {}
func (*NodeConfig) IsAnAPIObject() {}
func (*SessionSecrets) IsAnAPIObject() {}