Documentation
¶
Index ¶
- Constants
- Variables
- func GetAuth(cmd *cobra.Command, envFlagApiKey, envFlagJwt string) (authToken string, authType client.AuthType)
- func ReadAPIKey(cmd *cobra.Command, envFlagName string) string
- func ReadAPIToken(cmd *cobra.Command, envFlagName string) string
- func StoreStatsE(cmd *cobra.Command, args []string) error
- type FileInfo
- type KeyStats
- type StoreStats
- type ValueStats
Constants ¶
View Source
const MAX_LIST_DISPLAY_COUNT = 6
Variables ¶
View Source
var Cmd = &cobra.Command{Use: "tools", Short: "Developer tools related to substreams"}
View Source
var EmptyStoreError = errors.New("store is empty")
View Source
var ExamplePrefixed = func(prefix, in string) string { return string(cli.ExamplePrefixed(prefix, in)) }
Functions ¶
func ReadAPIToken ¶ added in v1.1.1
Types ¶
type StoreStats ¶ added in v0.1.0
type StoreStats struct {
Name string `json:"module_name"`
ModuleHash string `json:"module_hash"`
InitialBlock uint64 `json:"module_initial_block"`
ValueType string `json:"module_value_type"`
UpdatePolicy string `json:"module_update_policy"`
KeysCount uint64 `json:"count"`
FileInfo *FileInfo `json:"file_info,omitempty"`
KeyStats *KeyStats `json:"keys,inline,omitempty"`
ValueStats *ValueStats `json:"values,inline,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.