e7b1438ad4
init project use operator-sdk
14 lines
315 B
Go
14 lines
315 B
Go
package apis
|
|
|
|
import (
|
|
"k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// AddToSchemes may be used to add all resources defined in the project to a Scheme
|
|
var AddToSchemes runtime.SchemeBuilder
|
|
|
|
// AddToScheme adds all Resources to the Scheme
|
|
func AddToScheme(s *runtime.Scheme) error {
|
|
return AddToSchemes.AddToScheme(s)
|
|
}
|