MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / FindDirectives

Method FindDirectives

agent/utils/nginx/components/statement.go:5–5  ·  view source on GitHub ↗
(directiveName string)

Source from the content-addressed store, hash-verified

3type IBlock interface {
4 GetDirectives() []IDirective
5 FindDirectives(directiveName string) []IDirective
6 RemoveDirective(name string, params []string)
7 UpdateDirective(name string, params []string)
8 GetComment() string

Callers 13

getNginxParamsByKeysFunction · 0.95
FindDirectivesMethod · 0.65
FindDirectivesMethod · 0.65
FindDirectivesMethod · 0.65
FindDirectivesMethod · 0.65
FindDirectivesMethod · 0.65
FindDirectivesMethod · 0.65
FindServersMethod · 0.65
FindHttpMethod · 0.65
FindUpstreamsMethod · 0.65
GetWebsiteMethod · 0.65
UpdateAntiLeechMethod · 0.65

Implementers 6

Serveragent/utils/nginx/components/server.go
Httpagent/utils/nginx/components/http.go
LuaBlockagent/utils/nginx/components/lua_block
Locationagent/utils/nginx/components/location.
Upstreamagent/utils/nginx/components/upstream.
Blockagent/utils/nginx/components/block.go

Calls

no outgoing calls

Tested by

no test coverage detected