plainbox.impl.secure.job – secure code for job definitions

Warning

THIS MODULE DOES NOT HAVE STABLE PUBLIC API

class plainbox.impl.secure.job.BaseJob(data)[source]

Base Job definition class.

checksum[source]

Checksum of the job definition.

This property can be used to compute the checksum of the canonical form of the job definition. The canonical form is the UTF-8 encoded JSON serialization of the data that makes up the full definition of the job (all keys and values). The JSON serialization uses no indent and minimal separators.

The checksum is defined as the SHA256 hash of the canonical form.

command[source]
environ[source]
get_environ_settings()[source]

Return a set of requested environment variables

get_record_value(name, default=None)[source]

Obtain the value of the specified record attribute

plugin[source]
user[source]

Previous topic

plainbox.impl.config – configuration

Next topic

plainbox.impl.secure.launcher1 – plainbox-trusted-launcher-1

This Page