-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
register.go
43 lines (37 loc) · 1.32 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
package api
import (
"k8s.io/kubernetes/pkg/runtime"
)
var Scheme = runtime.NewScheme()
func init() {
Scheme.AddKnownTypes("",
&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() {}