code: func (group *NodeGroup) SetSelector(selector NodeSelector, opts ...SelectOption) {
  	if group == nil {
  		return
  	}
  	group.mux.Lock()
  	defer group.mux.Unlock()
  
  	group.selector = selector
  	group.selectorOptions = opts
  }
docs: // SetSelector sets node selector with options for the group.