Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/mockapi/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ type Deployment struct {

type Org struct {
ID string `json:"id"`
Type string `json:"type"`
Name string `json:"name"`
Label string `json:"label"`
Owner string `json:"owner_id"`
Expand All @@ -172,6 +173,7 @@ type Org struct {
func (o *Org) AsRef() *OrgRef {
return &OrgRef{
ID: o.ID,
Type: o.Type,
Name: o.Name,
Label: o.Label,
Owner: o.Owner,
Expand All @@ -180,6 +182,7 @@ func (o *Org) AsRef() *OrgRef {

type OrgRef struct {
ID string `json:"id"`
Type string `json:"type"`
Name string `json:"name"`
Label string `json:"label"`
Owner string `json:"owner_id"`
Expand Down