Config

exception narrenschiff.config.ConfigurationException[source]

Use this when something goes wrong with the configuration.

class narrenschiff.config.Keychain[source]

Bundle password and salt.

class narrenschiff.config.KubectlContext[source]

Handle context switching.

switch()[source]

Switch kubectl context.

class narrenschiff.config.NarrenschiffConfiguration[source]

Load configuration file.

This class should never be called directly, nor it should be inherited from. Other classes should use it by composition principle (see implementation of e.g. narrenschiff.config.Keychain). This should make classes that depend on subset of config easier to test.