// Options returns the options available to configure this Bee.
328485
func (factory *TwitterBeeFactory) Options() []bees.BeeOptionDescriptor {
	opts := []bees.BeeOptionDescriptor{
		{
			Name:        "consumer_key",
			Description: "Consumer key for Twitter API",
			Type:        "string",
		},
		{
			Name:        "consumer_secret",
			Description: "Consumer secret for Twitter API",
			Type:        "string",
		},
		{
			Name:        "access_token",
			Description: "Access token for Twitter API",
			Type:        "string",
		},
		{
			Name:        "access_token_secret",
			Description: "API secret for Twitter API",
			Type:        "string",
		},
	}
	return opts
}
102057
func (F *Frisby) Options(url string) *Frisby {
	F.Method = "OPTIONS"
	F.Url = url
	return F
}
226987
func (c *Ctx) SetOptions(options Options) Options {
	return Options(C.X_SSL_CTX_set_options(
		c.ctx, C.long(options)))
}
858767
func (mh *MethodHandler) Options(options *sparta.LambdaFunctionOptions) *MethodHandler {
	mh.options = options
	return mh
}
1077813
func (r *router) OPTIONS(path string, handler Route) {
	r.group.OPTIONS(path, handler)
}
682085
func (s *ScalingParametersStatus) SetOptions(v *ScalingParameters) *ScalingParametersStatus {
	s.Options = v
	return s
}
33236
func (i *Index) Options() IndexOptions {
	i.mu.RLock()
	defer i.mu.RUnlock()
	return i.options()
}
698649
func (g *Group) Options(path string, handler context.Handler) {
	g.Handle(http.MethodOptions, path, handler)
}
390314
func (factory *mastodonBeeFactory) Options() []bees.BeeOptionDescriptor {
	opts := []bees.BeeOptionDescriptor{
		{
			Name:        "server",
			Description: "URL for the desired mastodon server",
			Type:        "string",
			Mandatory:   true,
		},
		{
			Name:        "client_id",
			Description: "Client id for the mastodon client",
			Type:        "string",
			Mandatory:   true,
		},
		{
			Name:        "client_secret",
			Description: "Client secret for the mastodon client",
			Type:        "string",
			Mandatory:   true,
		},
		{
			Name:        "email",
			Description: "User account email",
			Type:        "string",
			Mandatory:   true,
		},
		{
			Name:        "password",
			Description: "User account password",
			Type:        "string",
			Mandatory:   true,
		},
	}
	return opts
}
291073
func (w *Weavebox) Options(route string, h Handler) {
	w.add("OPTIONS", route, h)
}
178248
func (fm *FieldMapping) Options() document.IndexingOptions {
	var rv document.IndexingOptions
	if fm.Store {
		rv |= document.StoreField
	}
	if fm.Index {
		rv |= document.IndexField
	}
	if fm.IncludeTermVectors {
		rv |= document.IncludeTermVectors
	}
	if fm.DocValues {
		rv |= document.DocValues
	}
	return rv
}
614359
func (self *Config) Options(section string) (options []string, err error) {
	if _, ok := self.data[section]; !ok {
		return nil, errors.New(sectionError(section).String())
	}

	options = make([]string, len(self.data[_DEFAULT_SECTION])+len(self.data[section]))
	i := 0
	for s, _ := range self.data[_DEFAULT_SECTION] {
		options[i] = s
		i++
	}
	for s, _ := range self.data[section] {
		options[i] = s
		i++
	}

	return options, nil
}
5877
func (factory *FacebookBeeFactory) Options() []bees.BeeOptionDescriptor {
	conf := &oauth2.Config{
		ClientID:     "__client_id__",
		ClientSecret: "__client_secret__",
		RedirectURL:  api.CanonicalURL().String() + "/" + path.Join("oauth2", factory.ID(), "__client_id__", "__client_secret__"),
		Scopes:       []string{"public_profile", "publish_actions"},
		Endpoint:     oauth2fb.Endpoint,
	}
	u, err := url.Parse(conf.Endpoint.AuthURL)
	if err != nil {
		log.Fatal("Parse:", err)
	}
	parameters := url.Values{}
	parameters.Add("client_id", conf.ClientID)
	parameters.Add("scope", strings.Join(conf.Scopes, " "))
	parameters.Add("redirect_uri", conf.RedirectURL)
	parameters.Add("response_type", "code")
	parameters.Add("state", "beehive")
	u.RawQuery = parameters.Encode()

	opts := []bees.BeeOptionDescriptor{
		{
			Name:        "client_id",
			Description: "App ID for the Facebook API",
			Type:        "string",
		},
		{
			Name:        "client_secret",
			Description: "App Secret for the Facebook API",
			Type:        "string",
		},
		{
			Name:        "access_token",
			Description: "Access token for the Facebook API",
			Type:        "oauth2:" + u.String(),
		},
	}
	return opts
}
1180686
func (s *Server) Options(w http.ResponseWriter, req *http.Request) {
	w.Header().Set("Access-Control-Allow-Headers", "Content-Type")
	w.WriteHeader(http.StatusOK)
}
462151
func (db *Database) Options(opts ...Option) {
	for _, opt := range opts {
		opt(db)
	}
}
816654
func (s *DescribeConfigurationOptionsInput) SetOptions(v []*OptionSpecification) *DescribeConfigurationOptionsInput {
	s.Options = v
	return s
}
414048
func (r *Request) Options(output interface{}) (*Response, error) {
	return r.createResponse(r.Request.Options(), output)
}