# PipelineSummary

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents pipeline summary information to be displayed after pipeline completion. This is a general-purpose key-value collection that pipeline steps can contribute to.

## Remarks

This class provides a flexible way for any pipeline step to contribute
information to be displayed after pipeline execution. The data is stored as
key-value pairs that will be formatted as a table or list in the CLI output.
Pipeline steps can add any relevant information such as resource group names,
subscription IDs, URLs, namespaces, cluster names, or any other details.
Values can be plain text or Markdown-formatted by using `MarkdownString`.
The summary is available via the `Summary`
property and can be accessed from any pipeline step.

## Definition

```go
type PipelineSummary interface{}
```

## Methods

- [Add](/reference/api/go/aspire.hosting/pipelinesummary/add.md) -- `method` -- Adds a key-value pair to the pipeline summary with a plain-text value.
  ```go
  Add(key string, value string) error
  ```
- [AddMarkdown](/reference/api/go/aspire.hosting/pipelinesummary/addmarkdown.md) -- `method` -- Adds a key-value pair to the pipeline summary with a Markdown-formatted value.
  ```go
  AddMarkdown(key string, markdownString string) error
  ```
