@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
13 lines (12 loc) • 695 B
TypeScript
import { ConfigMapStorageBackend } from './config-map-storage-backend.js';
import { type ObjectStorageBackend } from '../api/object-storage-backend.js';
import { type ConfigMap } from '../../../integration/kube/resources/config-map/config-map.js';
/**
* YamlConfigMapStorageBackend is a storage backend that uses a {@link ConfigMap} to store data.
* The key will be the name of the property within the data object within the ConfigMap.
*/
export declare class YamlConfigMapStorageBackend extends ConfigMapStorageBackend implements ObjectStorageBackend {
readObject(key: string): Promise<object>;
writeObject(key: string, data: object): Promise<void>;
getConfigMap(): ConfigMap;
}