karbor.services.operationengine.operations package

Submodules

karbor.services.operationengine.operations.base module

Operation classes

class karbor.services.operationengine.operations.base.Operation(user_trust_manager)

Bases: object

OPERATION_TYPE = ''
abstract check_operation_definition(operation_definition)

Check operation definition

Parameters

operation_definition – the definition of operation

property karbor_endpoint
run(operation_definition, **kwargs)

karbor.services.operationengine.operations.protect_operation module

class karbor.services.operationengine.operations.protect_operation.ProtectOperation(user_trust_manager)

Bases: karbor.services.operationengine.operations.base.Operation

Protect operation.

OPERATION_TYPE = 'protect'
check_operation_definition(operation_definition)

Check operation definition

Parameters

operation_definition – the definition of operation

karbor.services.operationengine.operations.retention_operation module

class karbor.services.operationengine.operations.retention_operation.RetentionProtectOperation(user_trust_manager)

Bases: karbor.services.operationengine.operations.base.Operation

Protect operation.

OPERATION_TYPE = 'retention_protect'
check_operation_definition(operation_definition)

Check operation definition

Parameters

operation_definition – the definition of operation

Module contents

Operation classes

class karbor.services.operationengine.operations.OperationHandler

Bases: karbor.loadables.BaseLoader

karbor.services.operationengine.operations.all_operations()

Get all operation classes.