MCPcopy Create free account

hub / github.com/aluttik/go-crossplane / functions

Functions48 in github.com/aluttik/go-crossplane

↓ 19 callersFunctionpStr
(s string)
parse_test.go:22
↓ 16 callersMethodkey
()
parse.go:18
↓ 8 callersFunctionpInt
(i int)
parse_test.go:18
↓ 5 callersFunctionanalyze
(fname string, stmt Directive, term string, ctx blockCtx, options *ParseOptions)
analyze.go:80
↓ 5 callersFunctionisSpace
(s string)
util.go:23
↓ 4 callersFunctionBuild
Build creates an NGINX config from a crossplane.Config.
build.go:63
↓ 4 callersFunctionParse
Parse parses an NGINX configuration file.
parse.go:75
↓ 4 callersFunctionenquote
(arg string)
build.go:131
↓ 3 callersMethodError
()
errors.go:13
↓ 2 callersMethodCombined
Combined returns a new Payload that is the same except that the inluding logic is performed on its configs. This means that the resulting Payload will
types.go:55
↓ 2 callersMethodIsComment
IsComment returns true iff the directive represents a comment.
types.go:48
↓ 2 callersFunctionequalBlocks
(b1, b2 []Directive)
build_test.go:466
↓ 2 callersFunctionequalPayloads
(p1, p2 Payload)
build_test.go:413
↓ 2 callersFunctionlex
(reader io.Reader)
lex.go:21
↓ 2 callersFunctionmargin
(options *BuildOptions, depth int)
build.go:124
↓ 2 callersFunctionnoSuchFileErrMsg
()
parse_test.go:26
↓ 2 callersFunctionvalidFlag
(s string)
util.go:40
↓ 1 callersFunctionBuildFiles
BuildFiles builds all of the config files in a crossplane.Payload and writes them to disk.
build.go:20
↓ 1 callersMethodIsBlock
IsBlock returns true if this is a block directive.
types.go:38
↓ 1 callersMethodIsInclude
IsInclude returns true if this is an include directive.
types.go:43
↓ 1 callersFunctionbalanceBraces
(tokens chan ngxToken)
lex.go:25
↓ 1 callersFunctionbuildBlock
(output string, block []Directive, depth int, lastLine int, options *BuildOptions)
build.go:82
↓ 1 callersFunctioncombineConfigs
combineConfigs combines config files into one by using include directives.
util.go:63
↓ 1 callersFunctioncontains
(xs []string, x string)
util.go:14
↓ 1 callersFunctionenterBlockCtx
(stmt Directive, ctx blockCtx)
analyze.go:71
↓ 1 callersFunctionequalConfigErrors
(e1, e2 []ConfigError)
build_test.go:452
↓ 1 callersFunctionequalConfigs
(c1, c2 Config)
build_test.go:446
↓ 1 callersFunctionequalDirectives
(d1, d2 Directive)
build_test.go:478
↓ 1 callersFunctionequalPayloadConfigs
(c1, c2 []Config)
build_test.go:434
↓ 1 callersFunctionequalPayloadErrors
(e1, e2 []PayloadError)
build_test.go:419
↓ 1 callersFunctionescape
(s string)
build.go:176
↓ 1 callersFunctionescapeChars
(chars chan string)
lex.go:211
↓ 1 callersFunctionlineCount
(chars chan string)
lex.go:194
↓ 1 callersFunctionneedsQuotes
(s string)
build.go:139
↓ 1 callersMethodparse
parse Recursively parses directives from an nginx config context.
parse.go:152
↓ 1 callersFunctionperformIncludes
(old Payload, fromfile string, block []Directive)
util.go:106
↓ 1 callersFunctionprepareIfArgs
prepareIfArgs removes parentheses from an `if` directive's arguments.
util.go:46
↓ 1 callersFunctionreadChars
(reader io.Reader)
lex.go:179
↓ 1 callersFunctionrepr
(s string)
util.go:27
↓ 1 callersFunctiontokenize
(reader io.Reader)
lex.go:69
FunctionTestAnalyze
(t *testing.T)
analyze_test.go:8
FunctionTestBuild
(t *testing.T)
build_test.go:256
FunctionTestBuildFiles
(t *testing.T)
build_test.go:316
FunctionTestCompareParsedAndBuilt
(t *testing.T)
build_test.go:352
FunctionTestLex
(t *testing.T)
lex_test.go:222
FunctionTestParse
(t *testing.T)
parse_test.go:929
FunctionTestPayload
(t *testing.T)
util_test.go:8
Functionmain
()
cmd/parse/main.go:12