Documentation ¶
Index ¶
- Variables
- type ACL
- func (*ACL) Descriptor() ([]byte, []int)deprecated
- func (x *ACL) GetACLID() string
- func (x *ACL) GetMMIDs() []string
- func (x *ACL) GetRealm() string
- func (x *ACL) GetUsers() map[string]bool
- func (*ACL) ProtoMessage()
- func (x *ACL) ProtoReflect() protoreflect.Message
- func (x *ACL) Reset()
- func (x *ACL) String() string
- type ACLs
- type Metric
- type Role
- func (*Role) Descriptor() ([]byte, []int)deprecated
- func (x *Role) GetPermissions() []string
- func (x *Role) GetRealm() string
- func (x *Role) GetRoleID() string
- func (x *Role) GetUsers() map[string]bool
- func (*Role) ProtoMessage()
- func (x *Role) ProtoReflect() protoreflect.Message
- func (x *Role) Reset()
- func (x *Role) String() string
- type Roles
- type SecurityGroup
- func (*SecurityGroup) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityGroup) GetRealm() string
- func (x *SecurityGroup) GetSecurityGroupID() string
- func (x *SecurityGroup) GetTenants() []string
- func (x *SecurityGroup) GetUsers() map[string]bool
- func (*SecurityGroup) ProtoMessage()
- func (x *SecurityGroup) ProtoReflect() protoreflect.Message
- func (x *SecurityGroup) Reset()
- func (x *SecurityGroup) String() string
- type SecurityGroups
- type TOTP
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetACLs() []string
- func (x *User) GetCredentials() *UserCredentials
- func (x *User) GetEmail() string
- func (x *User) GetEmailVerified() bool
- func (x *User) GetEventMetrics() *metrics.EventMetrics
- func (x *User) GetNewEmail() string
- func (x *User) GetRealm() string
- func (x *User) GetRoles() []string
- func (x *User) GetSecurityGroups() []string
- func (x *User) GetStats() *UserStats
- func (x *User) GetStatus() *UserStatus
- func (x *User) GetUserID() string
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserCredentials
- func (*UserCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *UserCredentials) GetPassword() string
- func (x *UserCredentials) GetPasswordReset() string
- func (x *UserCredentials) GetTOTP() *TOTP
- func (*UserCredentials) ProtoMessage()
- func (x *UserCredentials) ProtoReflect() protoreflect.Message
- func (x *UserCredentials) Reset()
- func (x *UserCredentials) String() string
- type UserStats
- func (*UserStats) Descriptor() ([]byte, []int)deprecated
- func (x *UserStats) GetActivity() map[string]*Metric
- func (x *UserStats) GetFirstSeen() int64
- func (x *UserStats) GetLastActivity() string
- func (x *UserStats) GetLastSeen() int64
- func (x *UserStats) GetSecurityIssues() *Metric
- func (x *UserStats) GetTimespan() string
- func (*UserStats) ProtoMessage()
- func (x *UserStats) ProtoReflect() protoreflect.Message
- func (x *UserStats) Reset()
- func (x *UserStats) String() string
- type UserStatus
- type Users
Constants ¶
This section is empty.
Variables ¶
View Source
var File_mmesh_protobuf_network_v1_resources_iam_rbac_proto protoreflect.FileDescriptor
View Source
var File_mmesh_protobuf_network_v1_resources_iam_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ACL ¶
type ACL struct { Realm string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"` ACLID string `protobuf:"bytes,2,opt,name=ACLID,proto3" json:"ACLID,omitempty"` // acl (mmIDs group) MMIDs []string `protobuf:"bytes,3,rep,name=MMIDs,proto3" json:"MMIDs,omitempty"` // objects (mmIDs): "p, <acl>, <realm>, <mmID>" Users map[string]bool `` // subjects (users): "g, <user>, <acl>, <realm>" /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ACL) ProtoReflect ¶
func (x *ACL) ProtoReflect() protoreflect.Message
type ACLs ¶
type ACLs struct { ACLs []*ACL `protobuf:"bytes,1,rep,name=ACLs,proto3" json:"ACLs,omitempty"` // contains filtered or unexported fields }
func (*ACLs) ProtoReflect ¶
func (x *ACLs) ProtoReflect() protoreflect.Message
type Metric ¶
type Metric struct { Total uint32 `protobuf:"fixed32,1,opt,name=total,proto3" json:"total,omitempty"` Average float32 `protobuf:"fixed32,2,opt,name=average,proto3" json:"average,omitempty"` // contains filtered or unexported fields }
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type Role ¶
type Role struct { Realm string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"` RoleID string `protobuf:"bytes,2,opt,name=roleID,proto3" json:"roleID,omitempty"` // role (permissions group) Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"` // objects (permissions): "p, <role>, <realm>, <permission>" Users map[string]bool `` // subjects (users): "g, <user>, <role>, <realm>" /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Role) ProtoReflect ¶
func (x *Role) ProtoReflect() protoreflect.Message
type Roles ¶
type Roles struct { Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` // contains filtered or unexported fields }
func (*Roles) ProtoReflect ¶
func (x *Roles) ProtoReflect() protoreflect.Message
type SecurityGroup ¶
type SecurityGroup struct { Realm string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"` SecurityGroupID string `protobuf:"bytes,2,opt,name=securityGroupID,proto3" json:"securityGroupID,omitempty"` // security-group (tenants group) Tenants []string `protobuf:"bytes,3,rep,name=tenants,proto3" json:"tenants,omitempty"` // objects (tenants): "p, <segurity-group>, <realm>, <tenant>" Users map[string]bool `` // subjects (users): "g, <user>, <segurity-group>, <realm>" /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SecurityGroup) Descriptor
deprecated
func (*SecurityGroup) Descriptor() ([]byte, []int)
Deprecated: Use SecurityGroup.ProtoReflect.Descriptor instead.
func (*SecurityGroup) GetRealm ¶
func (x *SecurityGroup) GetRealm() string
func (*SecurityGroup) GetSecurityGroupID ¶
func (x *SecurityGroup) GetSecurityGroupID() string
func (*SecurityGroup) GetTenants ¶
func (x *SecurityGroup) GetTenants() []string
func (*SecurityGroup) GetUsers ¶
func (x *SecurityGroup) GetUsers() map[string]bool
func (*SecurityGroup) ProtoMessage ¶
func (*SecurityGroup) ProtoMessage()
func (*SecurityGroup) ProtoReflect ¶
func (x *SecurityGroup) ProtoReflect() protoreflect.Message
func (*SecurityGroup) Reset ¶
func (x *SecurityGroup) Reset()
func (*SecurityGroup) String ¶
func (x *SecurityGroup) String() string
type SecurityGroups ¶
type SecurityGroups struct { SecurityGroups []*SecurityGroup `protobuf:"bytes,1,rep,name=securityGroups,proto3" json:"securityGroups,omitempty"` // contains filtered or unexported fields }
func (*SecurityGroups) Descriptor
deprecated
func (*SecurityGroups) Descriptor() ([]byte, []int)
Deprecated: Use SecurityGroups.ProtoReflect.Descriptor instead.
func (*SecurityGroups) GetSecurityGroups ¶
func (x *SecurityGroups) GetSecurityGroups() []*SecurityGroup
func (*SecurityGroups) ProtoMessage ¶
func (*SecurityGroups) ProtoMessage()
func (*SecurityGroups) ProtoReflect ¶
func (x *SecurityGroups) ProtoReflect() protoreflect.Message
func (*SecurityGroups) Reset ¶
func (x *SecurityGroups) Reset()
func (*SecurityGroups) String ¶
func (x *SecurityGroups) String() string
type TOTP ¶
type TOTP struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*TOTP) ProtoReflect ¶
func (x *TOTP) ProtoReflect() protoreflect.Message
type User ¶
type User struct { Realm string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` EmailVerified bool `protobuf:"varint,5,opt,name=emailVerified,proto3" json:"emailVerified,omitempty"` NewEmail string `protobuf:"bytes,6,opt,name=newEmail,proto3" json:"newEmail,omitempty"` Credentials *UserCredentials `protobuf:"bytes,7,opt,name=credentials,proto3" json:"credentials,omitempty"` Status *UserStatus `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` SecurityGroups []string `protobuf:"bytes,9,rep,name=securityGroups,proto3" json:"securityGroups,omitempty"` Roles []string `protobuf:"bytes,10,rep,name=roles,proto3" json:"roles,omitempty"` ACLs []string `protobuf:"bytes,11,rep,name=ACLs,proto3" json:"ACLs,omitempty"` Stats *UserStats `protobuf:"bytes,12,opt,name=stats,proto3" json:"stats,omitempty"` EventMetrics *metrics.EventMetrics `protobuf:"bytes,13,opt,name=eventMetrics,proto3" json:"eventMetrics,omitempty"` // contains filtered or unexported fields }
func (*User) GetCredentials ¶
func (x *User) GetCredentials() *UserCredentials
func (*User) GetEventMetrics ¶
func (x *User) GetEventMetrics() *metrics.EventMetrics
func (*User) GetStatus ¶
func (x *User) GetStatus() *UserStatus
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserCredentials ¶
type UserCredentials struct { Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"` PasswordReset string `protobuf:"bytes,2,opt,name=passwordReset,proto3" json:"passwordReset,omitempty"` TOTP *TOTP `protobuf:"bytes,3,opt,name=TOTP,proto3" json:"TOTP,omitempty"` // contains filtered or unexported fields }
func (*UserCredentials) Descriptor
deprecated
func (*UserCredentials) Descriptor() ([]byte, []int)
Deprecated: Use UserCredentials.ProtoReflect.Descriptor instead.
func (*UserCredentials) GetPassword ¶
func (x *UserCredentials) GetPassword() string
func (*UserCredentials) GetPasswordReset ¶
func (x *UserCredentials) GetPasswordReset() string
func (*UserCredentials) GetTOTP ¶
func (x *UserCredentials) GetTOTP() *TOTP
func (*UserCredentials) ProtoMessage ¶
func (*UserCredentials) ProtoMessage()
func (*UserCredentials) ProtoReflect ¶
func (x *UserCredentials) ProtoReflect() protoreflect.Message
func (*UserCredentials) Reset ¶
func (x *UserCredentials) Reset()
func (*UserCredentials) String ¶
func (x *UserCredentials) String() string
type UserStats ¶
type UserStats struct { SecurityIssues *Metric `protobuf:"bytes,1,opt,name=securityIssues,proto3" json:"securityIssues,omitempty"` Activity map[string]*Metric `` // map[userActivity]*Metric /* 157-byte string literal not displayed */ FirstSeen int64 `protobuf:"varint,3,opt,name=firstSeen,proto3" json:"firstSeen,omitempty"` LastSeen int64 `protobuf:"varint,4,opt,name=lastSeen,proto3" json:"lastSeen,omitempty"` Timespan string `protobuf:"bytes,5,opt,name=timespan,proto3" json:"timespan,omitempty"` LastActivity string `protobuf:"bytes,6,opt,name=lastActivity,proto3" json:"lastActivity,omitempty"` // contains filtered or unexported fields }
func (*UserStats) ProtoReflect ¶
func (x *UserStats) ProtoReflect() protoreflect.Message
type UserStatus ¶
type UserStatus struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*UserStatus) Descriptor
deprecated
func (*UserStatus) Descriptor() ([]byte, []int)
Deprecated: Use UserStatus.ProtoReflect.Descriptor instead.
func (*UserStatus) GetEnabled ¶
func (x *UserStatus) GetEnabled() bool
func (*UserStatus) ProtoMessage ¶
func (*UserStatus) ProtoMessage()
func (*UserStatus) ProtoReflect ¶
func (x *UserStatus) ProtoReflect() protoreflect.Message
func (*UserStatus) Reset ¶
func (x *UserStatus) Reset()
func (*UserStatus) String ¶
func (x *UserStatus) String() string
Click to show internal directories.
Click to hide internal directories.