code: func NewReleaseServer(env *environment.Environment, clientset kubernetes.Interface, useRemote bool) *ReleaseServer {
  	var releaseModule ReleaseModule
  	if useRemote {
  		releaseModule = &RemoteReleaseModule{}
  	} else {
  		releaseModule = &LocalReleaseModule{
  			clientset: clientset,
  		}
  	}
  
  	return &ReleaseServer{
  		env:           env,
  		clientset:     clientset,
  		ReleaseModule: releaseModule,
  		Log:           func(_ string, _ ...interface{}) {},
  	}
  }
docs: // NewReleaseServer creates a new release server.