mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-09 17:45:35 +00:00
Refactor the API registration and installation
This commit is contained in:
@@ -37,8 +37,8 @@ func Resource(resource string) unversioned.GroupResource {
|
||||
return SchemeGroupVersion.WithResource(resource).GroupResource()
|
||||
}
|
||||
|
||||
func init() {
|
||||
// Register the API.
|
||||
func AddToScheme() {
|
||||
// Add the API to Scheme.
|
||||
addKnownTypes()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user