Skip to content

Commit

Permalink
[api] add ObjectList and extend Object
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostman committed Mar 18, 2024
1 parent 3562fcf commit f35a833
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions api/meta/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,18 @@ type Validatable interface {
}

type Object interface {
client.Object

Defaultable
Validatable
}

type ObjectList interface {
client.ObjectList

GetItems() []Object
}

type UserCreds struct {
Name string `json:"name,omitempty"`
Password string `json:"password,omitempty"`
Expand Down

0 comments on commit f35a833

Please sign in to comment.