github.com/interconnectedcloud/qdr-operator@v0.0.0-20210826174505-576d2b33dac7/test/e2e/framework/qdrmanagement/entities/entity.go (about)

     1  package entities
     2  
     3  // EntityCommon represents the common attributes
     4  // of any Dispatch Router Entity
     5  type EntityCommon struct {
     6  	Name     string `json:"name"`
     7  	Identity string `json:"identity"`
     8  	Type     string `json:"type"`
     9  }
    10  
    11  // Entity interface must be implemented by all entities
    12  type Entity interface {
    13  	GetEntityId() string
    14  }