emissary/internal/agent/metadata/collector.go

13 lines
198 B
Go
Raw Permalink Normal View History

package metadata
import (
"context"
"errors"
)
var ErrMetadataNotAvailable = errors.New("metadata not available")
type Collector interface {
Collect(context.Context) (string, string, error)
}