HostKit.Plan.Summary (host_kit v0.1.0-beta.6)

Copy Markdown View Source

Shared summaries for plans, audits, reads, and plan artifacts.

Summary

Functions

action_counts(changes)

@spec action_counts([HostKit.Change.t()] | HostKit.Plan.t()) :: map()

artifact_stats(plan)

@spec artifact_stats(HostKit.Plan.t()) :: map()

audit_report(plan)

@spec audit_report(HostKit.Plan.t()) :: map()

change_counts_by_type(changes)

@spec change_counts_by_type([HostKit.Change.t()] | HostKit.Plan.t()) :: map()

down_report(plan)

@spec down_report(HostKit.Plan.t()) :: map()

drift_count(changes)

@spec drift_count([HostKit.Change.t()] | HostKit.Plan.t()) :: non_neg_integer()

drift_counts_by_type(changes)

@spec drift_counts_by_type([HostKit.Change.t()] | HostKit.Plan.t()) :: map()

irreversible_warnings(diagnostics)

@spec irreversible_warnings(HostKit.Diagnostics.t()) :: [HostKit.Diagnostic.t()]

redacted_config_count(plan_or_resources)

@spec redacted_config_count([struct()] | HostKit.Plan.t()) :: non_neg_integer()

redacted_config_paths(resources)

@spec redacted_config_paths([struct()] | HostKit.Plan.t()) :: [map()]

resource_count_type(resource)

resource_counts(resources)

@spec resource_counts([struct()] | HostKit.Plan.t()) :: map()

resource_id_type(change)

resource_type(module)