github.com/interconnectedcloud/qdr-operator@v0.0.0-20210826174505-576d2b33dac7/pkg/apis/apis.go (about)

     1  package apis
     2  
     3  import (
     4  	"k8s.io/apimachinery/pkg/runtime"
     5  )
     6  
     7  // AddToSchemes may be used to add all resources defined in the project to a Scheme
     8  var AddToSchemes runtime.SchemeBuilder
     9  
    10  // AddToScheme adds all Resources to the Scheme
    11  func AddToScheme(s *runtime.Scheme) error {
    12  	return AddToSchemes.AddToScheme(s)
    13  }