MCPcopy Create free account

hub / github.com/blackstork-io/blackstork-cli / functions

Functions2,920 in github.com/blackstork-io/blackstork-cli

↓ 10 callersMethodMkdirAll
(path string, perm os.FileMode)
internal/sqlite/helpers_test.go:54
↓ 10 callersFunctionNew
Create a new parallel executor 'processor' func is called synchronously (under lock) with result of execution and idx – a monotonically increasing fr
pkg/parexec/parexec.go:43
↓ 10 callersMethodProvideContent
(ctx context.Context, in *ProvideContentRequest, opts ...grpc.CallOption)
plugin/pluginapi/v1/plugin_grpc.pb.go:34
↓ 10 callersMethodSetAttr
(name string, value cty.Value)
plugin/plugintest/blocktest.go:80
↓ 10 callersMethodString
()
plugin/dataspec/constraint/constraint.go:50
↓ 10 callersMethodToCty
ToCty encapsulates *T into cty.Value.
pkg/encapsulator/encoder.go:58
↓ 10 callersFunctionfile_pluginapi_v1_cty_proto_rawDescGZIP
()
plugin/pluginapi/v1/cty.pb.go:789
↓ 9 callersFunctionCheck
Checks if the passed in ptr was added previously.
pkg/circularRefDetector/circularRefs.go:29
↓ 9 callersFunctionDecodeAttr
Decodes hclsyntax.Attribute into a cty.Value according to the given AttrSpec. No validation is performed on the value.
plugin/dataspec/decode.go:398
↓ 9 callersMethodGetData
()
plugin/pluginapi/v1/cty.pb.go:75
↓ 9 callersMethodNamespace
Namespace returns the namespace part of the plugin name.
plugin/resolver/name.go:18
↓ 9 callersMethodParseConfig
(ctx context.Context, spec *dataspec.RootSpec)
parser/evaluation/evaluation.go:14
↓ 9 callersFunctionPlugin
(version string, logger *slog.Logger, tracer trace.Tracer)
internal/builtin/plugin.go:13
↓ 9 callersMethodReturn
(_a0 []Version, _a1 error)
plugin/resolver/mock_source_test.go:73
↓ 9 callersMethodReturn
(_a0 crowdstrike.IntelClient)
mocks/internalpkg/crowdstrike/client.go:201
↓ 8 callersMethodAppendErr
Creates diagnostic and appends it if err != nil.
pkg/diagnostics/diagnostics.go:62
↓ 8 callersMethodCompare
Compare compares the plugin name with another plugin name.
plugin/resolver/name.go:33
↓ 8 callersMethodCtyType
()
parser/definitions/definitions.go:32
↓ 8 callersFunctionDecodeAndEvalBlock
Decodes hclsyntax.Block into a Block according to the given RootSpec. Deferred evaluation is performed immediatly.
plugin/dataspec/decode.go:182
↓ 8 callersMethodError
()
internal/virustotal/client/dto.go:26
↓ 8 callersFunctionEvalAttr
EvalAttr evaluates deferred values in the given attribute and validates it.
plugin/dataspec/decode.go:431
↓ 8 callersMethodGo
Execute function f in parallel executor, returns the result into executor's "processor" function.
pkg/parexec/parexec.go:168
↓ 8 callersMethodLoadPluginResolver
(ctx context.Context, includeRemote bool)
engine/engine.go:180
↓ 8 callersMethodMeta
()
plugin/content.go:59
↓ 8 callersMethodMissingItemRange
()
plugin/dataspec/block.go:45
↓ 8 callersFunctionNew
New creates a new Engine instance with the provided options.
engine/engine.go:49
↓ 8 callersMethodSetHeaders
SetHeaders sets the block type and labels.
plugin/plugintest/blocktest.go:64
↓ 8 callersFunctionStringPtr
(s string)
internal/builtin/data_http.go:119
↓ 8 callersFunctiondecodeCtyValue
(src *CtyValue)
plugin/pluginapi/v1/cty_decoder.go:37
↓ 8 callersFunctionencodeCtyValue
(val cty.Value)
plugin/pluginapi/v1/cty_encoder.go:63
↓ 8 callersFunctionfile_pluginapi_v1_plugin_proto_rawDescGZIP
()
plugin/pluginapi/v1/plugin.pb.go:518
↓ 8 callersFunctionmustConstraint
(t *testing.T, str string)
plugin/resolver/version_test.go:129
↓ 7 callersFunctionAdd
Adds pointer to circular reference detection. refRange is optional.
pkg/circularRefDetector/circularRefs.go:23
↓ 7 callersMethodAdd
Add new diagnostic error.
pkg/diagnostics/diagnostics.go:32
↓ 7 callersFunctionAddPath
Stores path in hcl.Diagnostic.Extra, or via Diag.Refine. Add path, prepending if any already exist.
pkg/diagnostics/path.go:69
↓ 7 callersFunctionApplyVars
Evaluates `variables` and stores the results in `dataCtx` under the key "vars".
eval/vars.go:31
↓ 7 callersMethodAsMarkdownSrc
AsMarkdownSrc returns the markdown source of the content element. Deprecated: opt in to working with the new AST by using .AsNode()
plugin/content.go:298
↓ 7 callersMethodDatasource
()
internal/crowdstrike/data_falcon_detection_details_test.go:44
↓ 7 callersMethodExecute
(dataCtx plugindata.Map)
eval/evaluator.go:169
↓ 7 callersMethodGetValue
()
plugin/pluginapi/v1/cty.pb.go:322
↓ 7 callersFunctionGoWithArg
Transforms fn (func from I to T) into func(I) that executes in [Executor] and returns the result T into executor's "processor" function.
pkg/parexec/parexec.go:178
↓ 7 callersMethodLoadPluginRunner
(ctx context.Context)
engine/engine.go:247
↓ 7 callersMethodLookup
Lookup returns a list of available versions for the given plugin.
plugin/resolver/source.go:26
↓ 7 callersFunctionNew
New creates a new markdown printer.
print/mdprint/printer.go:24
↓ 7 callersFunctionNewResolver
NewResolver creates a new plugin resolver.
plugin/resolver/resolver.go:22
↓ 7 callersMethodString
(val string)
internal/crowdstrike/data_falcon_vulnerabilities_test.go:65
↓ 7 callersMethodString
()
cmd/validations.go:29
↓ 7 callersMethodValue
(v any)
cmd/fabctx/fabctx.go:57
↓ 7 callersMethodWarn
Emit a message and key/value pairs at the WARN level
pkg/sloghclog/sloghclog.go:134
↓ 7 callersFunctionWithSources
WithSources sets the sources for the resolver.
plugin/resolver/options.go:35
↓ 7 callersFunctionbubbleWrap
bubbleWrap wraps an error in a bubbleError and returns it (not panics).
plugin/ast/v1/bubble_error.go:17
↓ 7 callersFunctionfile_pluginapi_v1_content_proto_rawDescGZIP
()
plugin/pluginapi/v1/content.pb.go:460
↓ 7 callersFunctionlevelToSlog
(level hclog.Level)
pkg/sloghclog/sloghclog.go:71
↓ 7 callersMethodmock
(fn http.HandlerFunc, tkn string)
internal/virustotal/client/client_test.go:31
↓ 7 callersMethodmock
(fn http.HandlerFunc, tkn string)
internal/splunk/client/client_test.go:30
↓ 7 callersFunctionmustBase64
(t *testing.T, s string)
plugin/resolver/checksum_test.go:15
↓ 7 callersFunctionmustName
(t *testing.T, str string)
plugin/resolver/name_test.go:10
↓ 6 callersFunctionAssertNoErrors
(tb testing.TB, diags []*hcl.Diagnostic, fileMap map[string]*hcl.File, msgs ...any)
pkg/diagnostics/diagtest/diagtest.go:241
↓ 6 callersMethodBlockSpec
()
plugin/dataspec/root_spec.go:43
↓ 6 callersMethodDatasource
()
internal/crowdstrike/data_falcon_discover_host_details_test.go:53
↓ 6 callersMethodDatasource
()
internal/crowdstrike/data_falcon_vulnerabilities_test.go:61
↓ 6 callersMethodDatasource
()
internal/crowdstrike/data_falcon_intel_indicators_test.go:49
↓ 6 callersMethodEXPECT
()
plugin/resolver/mock_source_test.go:20
↓ 6 callersFunctionFnMapErr
Produce a new slice by applying (possibly erroring) function fn to items of the slice s. Returns on the first error with nil slice.
pkg/utils/slices.go:35
↓ 6 callersMethodGetArgs
()
plugin/pluginapi/v1/plugin.pb.go:393
↓ 6 callersMethodGetChildren
()
plugin/ast/v1/ast.pb.go:323
↓ 6 callersMethodGetConfig
()
plugin/pluginapi/v1/plugin.pb.go:400
↓ 6 callersMethodGetDoc
()
plugin/pluginapi/v1/schema.pb.go:204
↓ 6 callersMethodGetHCLBlock
()
parser/definitions/definitions.go:31
↓ 6 callersMethodImpliedArgs
ImpliedArgs returns With key/value pairs
pkg/sloghclog/sloghclog.go:170
↓ 6 callersMethodParsePlugin
Evaluates a defined plugin.
parser/parse_plugin.go:21
↓ 6 callersFunctionPlugin
(version string, loader ClientLoadFn)
internal/iris/plugin.go:19
↓ 6 callersFunctionRemove
Removes pointer from circular reference detection and appends the backtrace to the diagnostic marked by ExtraMarker (if it exists).
pkg/circularRefDetector/circularRefs.go:37
↓ 6 callersFunctionRootSpecFromBlock
(b *BlockSpec)
plugin/dataspec/root_spec.go:8
↓ 6 callersMethodScan
(value any)
internal/sqlite/data_sqlite.go:174
↓ 6 callersFunctionString
(s string)
internal/atlassian/client/dto.go:7
↓ 6 callersMethodType
()
plugin/pluginapi/v1/schema.pb.go:112
↓ 6 callersMethodValidateSpec
()
plugin/dataspec/root_spec.go:82
↓ 6 callersFunctionWithQueryFuncs
Adds "query_jq" function to the eval context
plugin/dataspec/deferred/jq.go:55
↓ 6 callersFunctionboolPtr
(b bool)
internal/stixview/content_stixview.go:179
↓ 6 callersFunctionbubbleUp
bubbleUp wraps an error in a bubbleError and panics it.
plugin/ast/v1/bubble_error.go:22
↓ 6 callersFunctiondecodeBlock
(src *Block)
plugin/pluginapi/v1/dataspec_decoder.go:100
↓ 6 callersFunctiondecodeBlockSpec
(src *BlockSpec)
plugin/pluginapi/v1/dataspec_decoder.go:51
↓ 6 callersFunctiondumpAttrNames
(spec *dataspec.RootSpec)
tools/docgen/main.go:155
↓ 6 callersMethodenabled
(level slog.Level)
pkg/sloghclog/sloghclog.go:99
↓ 6 callersFunctionencodeBlock
(src *dataspec.Block)
plugin/pluginapi/v1/dataspec_encoder.go:86
↓ 6 callersFunctionencodeRange
(src *hcl.Range)
plugin/pluginapi/v1/hcl_encoder.go:34
↓ 6 callersFunctionencodeRootSpec
(src *dataspec.RootSpec)
plugin/pluginapi/v1/dataspec_encoder.go:36
↓ 6 callersFunctionfile_pluginapi_v1_dataspec_proto_rawDescGZIP
()
plugin/pluginapi/v1/dataspec.pb.go:576
↓ 6 callersFunctionfile_pluginapi_v1_schema_proto_rawDescGZIP
()
plugin/pluginapi/v1/schema.pb.go:495
↓ 6 callersMethodlog
(level hclog.Level, msg string, args ...interface{})
pkg/sloghclog/sloghclog.go:103
↓ 6 callersFunctionlogDataBlockValue
(value *dataspec.Block)
plugin/logging.go:94
↓ 6 callersMethodmock
(fn http.HandlerFunc)
internal/builtin/data_http_test.go:44
↓ 6 callersFunctionnewMockSource
newMockSource creates a new instance of mockSource. It also registers a testing interface on the mock and a cleanup function to assert the mocks expec
plugin/resolver/mock_source_test.go:146
↓ 6 callersFunctionparseScope
(datactx plugindata.Map)
internal/builtin/content_helpers.go:32
↓ 6 callersFunctionprepareTestDB
(tb testing.TB, data testData)
internal/sqlite/helpers_test.go:65
↓ 6 callersFunctiontraceback
(r any, step cty.PathStep)
plugin/pluginapi/v1/cty_encoder.go:19
↓ 5 callersMethodCtyTypeEqual
(ty cty.Type)
pkg/encapsulator/encoder.go:12
↓ 5 callersMethodDatasource
()
internal/misp/data_misp_events_test.go:42
↓ 5 callersMethodDatasourceName
()
internal/crowdstrike/data_falcon_vulnerabilities_test.go:57
← previousnext →101–200 of 2,920, ranked by callers