TestimoX

API Reference

Class

BenchmarkRolloutPlanSerializer

Namespace TestimoX.Benchmarks.Deployment
Assembly TestimoX
Modifiers static

Reads, writes, and verifies portable benchmark rollout plans.

Inheritance

  • Object
  • BenchmarkRolloutPlanSerializer

Methods

public static String CalculateHash(BenchmarkRolloutPlan plan) #
Returns: String

Calculates the canonical SHA-256 hash while excluding the mutable hash property.

Parameters

plan TestimoX.Benchmarks.Deployment.BenchmarkRolloutPlan requiredposition: 0
public static BenchmarkRolloutPlan Deserialize(String json, Boolean verifyHash = true, String sourceName = null) #
Returns: BenchmarkRolloutPlan

Deserializes and integrity-checks a rollout plan from JSON.

Parameters

json System.String requiredposition: 0
verifyHash System.Boolean = true optionalposition: 1
sourceName System.String = null optionalposition: 2
public static BenchmarkRolloutPlan Load(String path, Boolean verifyHash = true) #
Returns: BenchmarkRolloutPlan

Loads and integrity-checks a rollout plan.

Parameters

path System.String requiredposition: 0
verifyHash System.Boolean = true optionalposition: 1
public static Void Save(BenchmarkRolloutPlan plan, String path) #
Returns: Void

Updates the plan hash and writes the plan atomically.

Parameters

plan TestimoX.Benchmarks.Deployment.BenchmarkRolloutPlan requiredposition: 0
path System.String requiredposition: 1
public static String Serialize(BenchmarkRolloutPlan plan) #
Returns: String

Serializes a rollout plan after refreshing its integrity hash.

Parameters

plan TestimoX.Benchmarks.Deployment.BenchmarkRolloutPlan requiredposition: 0