MCPcopy
hub / github.com/crowdsecurity/crowdsec / OperationType

Method OperationType

pkg/hubops/plan.go:43–43  ·  view source on GitHub ↗

OperationType returns a unique string representing the type of operation to perform (e.g., "download", "enable").

()

Source from the content-addressed store, hash-verified

41 // OperationType returns a unique string representing the type of operation to perform
42 // (e.g., "download", "enable").
43 OperationType() string
44
45 // ItemType returns the type of item the operation is performed on
46 // (e.g., "collections"). Used in confirmation prompt and dry-run.

Callers 4

colorizeOpTypeFunction · 0.65
UniqueKeyFunction · 0.65
verboseDescriptionMethod · 0.65
compactDescriptionMethod · 0.65

Implementers 5

PurgeCommandpkg/hubops/purge.go
EnableCommandpkg/hubops/enable.go
DownloadCommandpkg/hubops/download.go
DisableCommandpkg/hubops/disable.go
DataRefreshCommandpkg/hubops/datarefresh.go

Calls

no outgoing calls

Tested by

no test coverage detected