model

package
v1.84.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserGrantAggregate models.AggregateType = "usergrant"

	UserGrantAdded       models.EventType = "user.grant.added"
	UserGrantChanged     models.EventType = "user.grant.changed"
	UserGrantRemoved     models.EventType = "user.grant.removed"
	UserGrantDeactivated models.EventType = "user.grant.deactivated"
	UserGrantReactivated models.EventType = "user.grant.reactivated"

	UserGrantCascadeRemoved models.EventType = "user.grant.cascade.removed"
	UserGrantCascadeChanged models.EventType = "user.grant.cascade.changed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UserGrant

type UserGrant struct {
	es_models.ObjectRoot

	State     int32    `json:"-"`
	UserID    string   `json:"userId,omitempty"`
	ProjectID string   `json:"projectId,omitempty"`
	GrantID   string   `json:"grantId,omitempty"`
	RoleKeys  []string `json:"roleKeys,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL