mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
feat(code): equalize the code with EE EE-6218 (#10518)
This commit is contained in:
parent
e110856003
commit
6c55cac52a
6 changed files with 11 additions and 15 deletions
|
@ -477,7 +477,9 @@ type (
|
|||
// EndpointAuthorizations represents the authorizations associated to a set of environments(endpoints)
|
||||
EndpointAuthorizations map[EndpointID]Authorizations
|
||||
|
||||
// EndpointGroup represents a group of environments(endpoints)
|
||||
// EndpointGroup represents a group of environments(endpoints).
|
||||
//
|
||||
// An environment(endpoint) may belong to only 1 environment(endpoint) group.
|
||||
EndpointGroup struct {
|
||||
// Environment(Endpoint) group Identifier
|
||||
ID EndpointGroupID `json:"Id" example:"1"`
|
||||
|
@ -1123,7 +1125,9 @@ type (
|
|||
// TeamID represents a team identifier
|
||||
TeamID int
|
||||
|
||||
// TeamMembership represents a membership association between a user and a team
|
||||
// TeamMembership represents a membership association between a user and a team.
|
||||
//
|
||||
// A user may belong to multiple teams.
|
||||
TeamMembership struct {
|
||||
// Membership Identifier
|
||||
ID TeamMembershipID `json:"Id" example:"1"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue