github.com/kyma-incubator/compass/components/director@v0.0.0-20230623144113-d764f56ff805/internal/domain/healthcheck/repository.go (about)

     1  package healthcheck
     2  
     3  import (
     4  	"github.com/kyma-incubator/compass/components/director/internal/model"
     5  )
     6  
     7  type inMemoryRepository struct {
     8  	store map[string]*model.Runtime
     9  }
    10  
    11  // NewRepository missing godoc
    12  func NewRepository() *inMemoryRepository {
    13  	return &inMemoryRepository{store: make(map[string]*model.Runtime)}
    14  }