Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blackstork-io/blackstork-cli
/ functions
Functions
2,920 in github.com/blackstork-io/blackstork-cli
⨍
Functions
2,920
◇
Types & classes
652
↓ 4 callers
Method
ValTypeEqual
(v cty.Value)
pkg/encapsulator/decoder.go:23
↓ 4 callers
Function
WithBuiltIn
WithBuiltIn sets the built-in plugin.
engine/options.go:58
↓ 4 callers
Function
WithLogger
WithLogger sets the logger. Default is a logger that discards all logs.
engine/options.go:65
↓ 4 callers
Function
WithLogging
WithLogging wraps the printer with logging instrumentation.
print/logging.go:18
↓ 4 callers
Function
WithTracer
WithTracer sets the tracer. Default is noop tracer.
engine/options.go:72
↓ 4 callers
Function
WithTracing
WithTracing wraps a printer with tracing instrumentation.
print/tracing.go:21
↓ 4 callers
Method
call
call makes a http request to the registry with the given timeout.
plugin/resolver/source_remote.go:144
↓ 4 callers
Function
ctyToInt
(val cty.Value)
plugin/dataspec/attr_spec.go:184
↓ 4 callers
Method
decode
()
plugin/ast/v1/enum_codec.go:65
↓ 4 callers
Function
decodeCty
(val *Cty, decodeType bool)
plugin/pluginapi/v1/cty_decoder.go:97
↓ 4 callers
Method
encodeSegment
(seg text.Segment)
plugin/ast/v1/ast_encoder.go:71
↓ 4 callers
Method
encodeSegments
(seg *text.Segments)
plugin/ast/v1/ast_encoder.go:341
↓ 4 callers
Method
execute
(idx int, fn func() T)
pkg/parexec/parexec.go:137
↓ 4 callers
Function
exitCommand
(eng *engine.Engine, cmd *cobra.Command, diags diagnostics.Diag)
cmd/root.go:214
↓ 4 callers
Function
fetchHTTPData
(ctx context.Context, params *plugin.RetrieveDataParams, version string)
internal/builtin/data_http.go:220
↓ 4 callers
Function
fullLintTest
(t *testing.T, testName string, files []string, diagAsserts [][]diagtest.Assert)
engine/helpers_test.go:147
↓ 4 callers
Function
genTextContentText
(text string, datactx plugindata.Map)
internal/builtin/content_text.go:62
↓ 4 callers
Function
int64ptr
(i int64)
internal/github/data_github_issues_test.go:55
↓ 4 callers
Method
mock
(fn http.HandlerFunc, apiKey string)
internal/snyk/client/client_test.go:30
↓ 4 callers
Method
mock
(fn http.HandlerFunc, apiKey *string)
internal/elastic/kbclient/client_test.go:31
↓ 4 callers
Method
mock
(fn http.HandlerFunc, opts ...Option)
internal/openai/client/client_test.go:32
↓ 4 callers
Method
mock
(fn http.HandlerFunc, apiToken, version string)
internal/builtin/hubapi/client_test.go:38
↓ 4 callers
Function
panicToDiag
(r any, summary string)
plugin/pluginapi/v1/cty_encoder.go:30
↓ 4 callers
Method
parseFrontmatter
(contentStr string)
internal/builtin/content_frontmatter_test.go:64
↓ 4 callers
Method
taskAdd
(n int)
pkg/parexec/parexec.go:105
↓ 4 callers
Function
validateBlockName
(block *hclsyntax.Block, idx int, required bool)
parser/definitions/validators.go:12
↓ 4 callers
Function
validateLabelsLength
(block *hclsyntax.Block, maxLabels int, labelUsage string)
parser/definitions/validators.go:83
↓ 3 callers
Function
AcquireTokenWithCreds
(ctx context.Context, tokenFn AcquireTokenFn, cfg *dataspec.Block, scopes []string)
internal/microsoft/client/microsoftonline_client.go:37
↓ 3 callers
Function
AddSource
(val bool)
pkg/sloghclog/sloghclog.go:52
↓ 3 callers
Method
AppendBody
(body string)
plugin/plugintest/blocktest.go:47
↓ 3 callers
Method
AsBytes
AsBytes returns the source as a byte slice. Returned bytes should be treated as read-only or modified with care, ensuring that the offsets are not cha
plugin/ast/astsrc/astsrc.go:45
↓ 3 callers
Method
Compact
Compact removes empty sections from the content tree.
plugin/content.go:194
↓ 3 callers
Method
CreateDocument
(ctx context.Context, params *DocumentParams)
internal/builtin/hubapi/client.go:31
↓ 3 callers
Method
CreateSearchJob
(ctx context.Context, req *CreateSearchJobReq)
internal/splunk/client/client.go:14
↓ 3 callers
Method
DatasourceName
()
internal/misp/data_misp_events_test.go:38
↓ 3 callers
Method
Descriptor
Deprecated: Use Node.ProtoReflect.Descriptor instead.
plugin/ast/v1/ast.pb.go:404
↓ 3 callers
Method
Exists
()
parser/evaluation/evaluation.go:16
↓ 3 callers
Method
FileMap
()
engine/engine.go:81
↓ 3 callers
Method
GetDiagnostics
()
plugin/pluginapi/v1/plugin.pb.go:465
↓ 3 callers
Method
GetKind
()
plugin/ast/v1/ast.pb.go:408
↓ 3 callers
Method
GetLines
()
plugin/ast/v1/ast.pb.go:1074
↓ 3 callers
Method
GetName
()
plugin/pluginapi/v1/schema.pb.go:169
↓ 3 callers
Method
GetSchema
(ctx context.Context, in *GetSchemaRequest, opts ...grpc.CallOption)
plugin/pluginapi/v1/plugin_grpc.pb.go:32
↓ 3 callers
Method
GetSearchJobResults
(ctx context.Context, req *GetSearchJobResultsReq)
internal/splunk/client/client.go:16
↓ 3 callers
Method
GetValue
()
plugin/ast/v1/ast.pb.go:1496
↓ 3 callers
Method
Gists
()
internal/github/plugin.go:24
↓ 3 callers
Method
Install
Install all plugins based the version constraints and return updated a lock file.
plugin/resolver/resolver.go:43
↓ 3 callers
Method
IsDebug
Indicate if DEBUG logs would be emitted. This and the other Is* guards
pkg/sloghclog/sloghclog.go:150
↓ 3 callers
Method
IsInfo
Indicate if INFO logs would be emitted. This and the other Is* guards
pkg/sloghclog/sloghclog.go:155
↓ 3 callers
Method
IsTrace
Indicate if TRACE logs would be emitted. This and the other Is* guards are used to elide expensive logging code based on the current level.
pkg/sloghclog/sloghclog.go:145
↓ 3 callers
Function
IsTruthy
(d Data)
plugin/plugindata/data.go:205
↓ 3 callers
Method
IsWarn
Indicate if WARN logs would be emitted. This and the other Is* guards
pkg/sloghclog/sloghclog.go:160
↓ 3 callers
Function
JoinSurround
(sep, surround string, elems ...string)
pkg/utils/string.go:13
↓ 3 callers
Method
ListAlerts
(ctx context.Context, req *ListAlertsReq)
internal/iris/client/client.go:17
↓ 3 callers
Function
LoadDocument
(ctx context.Context, plugins Plugins, node *definitions.ParsedDocument)
eval/document.go:128
↓ 3 callers
Function
MapMap
Produce a new map by applying function fn to the values of the map m.
pkg/utils/maps.go:31
↓ 3 callers
Method
MatchesTags
(requiredTags []string)
parser/definitions/meta.go:22
↓ 3 callers
Function
NewCodec
NewCodec creates a Codec (encoder + decoder). Will use cty.Capsule if capsuleOps is nil, and cty.CapsuleWithOps otherwise
pkg/encapsulator/codec.go:15
↓ 3 callers
Function
ParseContentMeta
(data plugindata.Data)
plugin/content.go:510
↓ 3 callers
Method
ParseDocument
(ctx context.Context, d *definitions.Document)
parser/parse_document.go:15
↓ 3 callers
Function
Plugin
(version string, loader ClientLoaderFn)
internal/misp/plugin.go:43
↓ 3 callers
Function
Plugin
(version string, loader ClientLoaderFn)
internal/crowdstrike/plugin.go:87
↓ 3 callers
Function
PrintDiags
(output io.Writer, diags []*hcl.Diagnostic, fileMap map[string]*hcl.File, colorize bool)
pkg/diagnostics/printer.go:14
↓ 3 callers
Method
PublisherName
()
internal/misp/publish_misp_event_reports_test.go:47
↓ 3 callers
Method
RenderContent
( ctx context.Context, target string, requiredTags []string, )
engine/engine.go:476
↓ 3 callers
Method
ResetNamed
Create a logger that will prepend the name string on the front of all messages. This sets the name of the logger to the value directly, unlike Named w
pkg/sloghclog/sloghclog.go:243
↓ 3 callers
Function
Resolve
(db *DefinedBlocks, expr hcl.Expression)
parser/traversal.go:13
↓ 3 callers
Method
Return
(_a0 cty.Type)
mocks/parser/definitions/fabric_block.go:61
↓ 3 callers
Method
Return
(resp client.AddEventReportResponse, err error)
mocks/internalpkg/misp/client.go:73
↓ 3 callers
Method
Return
(_a0 *client.GetUserAPIUsageRes, _a1 error)
mocks/internalpkg/virustotal/client/client.go:134
↓ 3 callers
Method
Return
(_a0 github.GistClient)
mocks/internalpkg/github/client.go:60
↓ 3 callers
Method
Return
(_a0 *hubapi.Document, _a1 error)
mocks/internalpkg/builtin/hubapi/client.go:76
↓ 3 callers
Method
Return
(_a0 *discover.GetHostsOK, _a1 error)
mocks/internalpkg/crowdstrike/discover_client.go:86
↓ 3 callers
Method
Return
(_a0 *detects.QueryDetectsOK, _a1 error)
mocks/internalpkg/crowdstrike/detects_client.go:159
↓ 3 callers
Method
Return
(_a0 *client.ListCasesRes, _a1 error)
mocks/internalpkg/iris/client/client.go:134
↓ 3 callers
Method
Return
(object plugindata.Data, err error)
mocks/internalpkg/microsoft/microsoft_graph_client.go:78
↓ 3 callers
Method
SearchIssues
(ctx context.Context, req *SearchIssuesReq)
internal/atlassian/client/client.go:13
↓ 3 callers
Method
String
()
plugin/resolver/checksum.go:74
↓ 3 callers
Method
String
(val string)
internal/crowdstrike/data_falcon_discover_host_details_test.go:65
↓ 3 callers
Function
UnwrapDynamicContent
unwrapDynamicContent unwraps dynamic content in children
eval/dynamic.go:81
↓ 3 callers
Method
UploadDocumentContent
(ctx context.Context, documentID string, content *pluginapiv1.Content)
internal/builtin/hubapi/client.go:32
↓ 3 callers
Method
ValidateValue
(val cty.Value)
plugin/dataspec/attr_spec.go:192
↓ 3 callers
Function
WithAPIKey
(apiKey string)
internal/openai/client/options.go:17
↓ 3 callers
Function
WithOrgID
(orgID string)
internal/openai/client/options.go:11
↓ 3 callers
Method
applyName
()
pkg/sloghclog/sloghclog.go:204
↓ 3 callers
Method
auth
(r *http.Request)
internal/splunk/client/client.go:35
↓ 3 callers
Method
callOptions
()
plugin/pluginapi/v1/plugin.go:70
↓ 3 callers
Function
comment
(tokens hclwrite.Tokens, text string)
plugin/dataspec/genutil.go:55
↓ 3 callers
Method
decodeBody
decodeBody decodes the http response from the registry into the provided value.
plugin/resolver/source_remote.go:155
↓ 3 callers
Function
decodeCtyType
(src *CtyType)
plugin/pluginapi/v1/cty_decoder.go:23
↓ 3 callers
Function
decodeDiagnosticList
(src []*Diagnostic)
plugin/pluginapi/v1/hcl_decoder.go:9
↓ 3 callers
Function
decodeMapData
(src map[string]*Data)
plugin/pluginapi/v1/data_decoder.go:30
↓ 3 callers
Function
decodeSequence
Returns the decoded sequence values or types (if sequence is empty). The second return value has length 1 for lists and sets, and varies for tuples.
plugin/pluginapi/v1/cty_decoder.go:59
↓ 3 callers
Method
decodeText
(txt *Text)
plugin/ast/v1/ast_decoder.go:95
↓ 3 callers
Function
encodeCellAlignments
(align []east.Alignment)
plugin/ast/v1/enum_codec.go:110
↓ 3 callers
Function
encodeCtyType
(ty cty.Type)
plugin/pluginapi/v1/cty_encoder.go:51
↓ 3 callers
Function
encodeDiagnosticList
(src []*hcl.Diagnostic)
plugin/pluginapi/v1/hcl_encoder.go:9
↓ 3 callers
Function
encodeMapData
(m plugindata.Map)
plugin/pluginapi/v1/data_encoder.go:63
↓ 3 callers
Function
fetchDataTest
(t *testing.T, testName string, files []string, target string, expectedResult plugindata.Map, diagAsserts diag
engine/helpers_test.go:84
↓ 3 callers
Function
file_pluginapi_v1_data_proto_init
()
plugin/pluginapi/v1/data.pb.go:319
← previous
next →
301–400 of 2,920, ranked by callers