code: func createRunAsGroupStrategy(opts *policy.RunAsGroupStrategyOptions) (group.GroupStrategy, error) {
  	if opts == nil {
  		return group.NewRunAsAny()
  	}
  	switch opts.Rule {
  	case policy.RunAsGroupStrategyMustRunAs:
  		return group.NewMustRunAs(opts.Ranges)
  	case policy.RunAsGroupStrategyRunAsAny:
  		return group.NewRunAsAny()
  	case policy.RunAsGroupStrategyMayRunAs:
  		return group.NewMayRunAs(opts.Ranges)
  	default:
  		return nil, fmt.Errorf("Unrecognized RunAsGroup strategy type %s", opts.Rule)
  	}
  }
docs: // createRunAsGroupStrategy creates a new group strategy.