Skip to content

class_map.proto

ClassMapMgrService

resync_init

rpc resync_init(ClassMapResyncInitRequest) ClassMapResyncInitResponse

Initiates a class map resync process. Starts a blank configuration to be applied once resync_complete is called.

EosSdk reference: eos::class_map_mgr::resync_init

resync_complete

rpc resync_complete(ClassMapResyncCompleteRequest) ClassMapResyncCompleteResponse

Ends the current class map resync process.

EosSdk reference: eos::class_map_mgr::resync_complete

exists

rpc exists(ClassMapExistsRequest) ClassMapExistsResponse

Queries whether the specified class map is configured or not.

EosSdk reference: eos::class_map_mgr::exists

class_map

rpc class_map(ClassMapRequest) ClassMapResponse

Queries a class map given its key.

EosSdk reference: eos::class_map_mgr::class_map

class_map_is

rpc class_map_is(ClassMapIsRequest) ClassMapIsResponse

Creates or updates a class map.

EosSdk reference: eos::class_map_mgr::class_map_is

bulk_class_map_is

rpc bulk_class_map_is(BulkClassMapIsRequest) BulkClassMapIsResponse

Creates or updates multiple class maps in a single call.

EosSdk reference: eos::class_map_mgr::class_map_is

class_map_del

rpc class_map_del(ClassMapDelRequest) ClassMapDelResponse

Deletes a class map.

EosSdk reference: eos::class_map_mgr::class_map_del

bulk_class_map_del

rpc bulk_class_map_del(BulkClassMapDelRequest) BulkClassMapDelResponse

Deletes multiple class maps in a single call.

EosSdk reference: eos::class_map_mgr::class_map_del

class_maps

rpc class_maps(ClassMapsRequest) ClassMapsResponse

Returns a list of the keys of the configured class maps for a specified policy_feature

EosSdk reference: eos::class_map_mgr::class_map_iter

Messages

BulkClassMapDelRequest

Name Value Description
requests repeated ClassMapDelRequest List of ClassMapDelRequests specifying the class maps to delete

BulkClassMapDelResponse

Name Value Description
processed uint64 Number of consecutive successful requests.
status RpcResponseStatus Success or error details in the case of failure.

BulkClassMapIsRequest

Name Value Description
requests repeated ClassMapIsRequest List of ClassMapIsRequests specifying the class maps to create.

BulkClassMapIsResponse

Name Value Description
processed uint64 Number of consecutive successful requests.
status RpcResponseStatus Success or error details in the case of failure.

ClassMapDelRequest

Name Value Description
key PolicyMapKey The key of the class map to delete.

ClassMapDelResponse

Empty message.

ClassMapExistsRequest

Name Value Description
key PolicyMapKey The key of the class map to query.

ClassMapExistsResponse

Name Value Description
exists bool True if the class map is configured otherwise false.

ClassMapIsRequest

Name Value Description
class_map ClassMap The class map to create or update.

ClassMapIsResponse

Empty message.

ClassMapRequest

Name Value Description
key PolicyMapKey The key of the class map to query.

ClassMapResponse

Name Value Description
class_map ClassMap The class map corresponding to the key or empty if not found.

ClassMapResyncCompleteRequest

Empty message.

ClassMapResyncCompleteResponse

Empty message.

ClassMapResyncInitRequest

Empty message.

ClassMapResyncInitResponse

Empty message.

ClassMapsRequest

Name Value Description
feature PolicyFeature The policy feature to list the configured class maps for

ClassMapsResponse

Name Value Description
key PolicyMapKey The key of the feature's configured class maps.