iam

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor deprecated

func (*ACL) Descriptor() ([]byte, []int)

Deprecated: Use ACL.ProtoReflect.Descriptor instead.

func (*ACL) GetACLID

func (x *ACL) GetACLID() string

func (*ACL) GetMMIDs

func (x *ACL) GetMMIDs() []string

func (*ACL) GetRealm

func (x *ACL) GetRealm() string

func (*ACL) GetUsers

func (x *ACL) GetUsers() map[string]bool

func (*ACL) ProtoMessage

func (*ACL) ProtoMessage()

func (*ACL) ProtoReflect

func (x *ACL) ProtoReflect() protoreflect.Message

func (*ACL) Reset

func (x *ACL) Reset()

func (*ACL) String

func (x *ACL) String() string

type ACLs

type ACLs struct {
	ACLs []*ACL `protobuf:"bytes,1,rep,name=ACLs,proto3" json:"ACLs,omitempty"`
	// contains filtered or unexported fields
}

func (*ACLs) Descriptor deprecated

func (*ACLs) Descriptor() ([]byte, []int)

Deprecated: Use ACLs.ProtoReflect.Descriptor instead.

func (*ACLs) GetACLs

func (x *ACLs) GetACLs() []*ACL

func (*ACLs) ProtoMessage

func (*ACLs) ProtoMessage()

func (*ACLs) ProtoReflect

func (x *ACLs) ProtoReflect() protoreflect.Message

func (*ACLs) Reset

func (x *ACLs) Reset()

func (*ACLs) String

func (x *ACLs) String() string

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) Descriptor deprecated

func (*Metric) Descriptor() ([]byte, []int)

Deprecated: Use Metric.ProtoReflect.Descriptor instead.

func (*Metric) GetAverage

func (x *Metric) GetAverage() float32

func (*Metric) GetTotal

func (x *Metric) GetTotal() uint32

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) ProtoReflect

func (x *Metric) ProtoReflect() protoreflect.Message

func (*Metric) Reset

func (x *Metric) Reset()

func (*Metric) String

func (x *Metric) String() string

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) Descriptor deprecated

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetPermissions

func (x *Role) GetPermissions() []string

func (*Role) GetRealm

func (x *Role) GetRealm() string

func (*Role) GetRoleID

func (x *Role) GetRoleID() string

func (*Role) GetUsers

func (x *Role) GetUsers() map[string]bool

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type Roles

type Roles struct {
	Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*Roles) Descriptor deprecated

func (*Roles) Descriptor() ([]byte, []int)

Deprecated: Use Roles.ProtoReflect.Descriptor instead.

func (*Roles) GetRoles

func (x *Roles) GetRoles() []*Role

func (*Roles) ProtoMessage

func (*Roles) ProtoMessage()

func (*Roles) ProtoReflect

func (x *Roles) ProtoReflect() protoreflect.Message

func (*Roles) Reset

func (x *Roles) Reset()

func (*Roles) String

func (x *Roles) String() string

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) Descriptor deprecated

func (*TOTP) Descriptor() ([]byte, []int)

Deprecated: Use TOTP.ProtoReflect.Descriptor instead.

func (*TOTP) GetEnabled

func (x *TOTP) GetEnabled() bool

func (*TOTP) GetSecret

func (x *TOTP) GetSecret() string

func (*TOTP) ProtoMessage

func (*TOTP) ProtoMessage()

func (*TOTP) ProtoReflect

func (x *TOTP) ProtoReflect() protoreflect.Message

func (*TOTP) Reset

func (x *TOTP) Reset()

func (*TOTP) String

func (x *TOTP) String() string

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) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetACLs

func (x *User) GetACLs() []string

func (*User) GetCredentials

func (x *User) GetCredentials() *UserCredentials

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetEmailVerified

func (x *User) GetEmailVerified() bool

func (*User) GetEventMetrics

func (x *User) GetEventMetrics() *metrics.EventMetrics

func (*User) GetNewEmail

func (x *User) GetNewEmail() string

func (*User) GetRealm

func (x *User) GetRealm() string

func (*User) GetRoles

func (x *User) GetRoles() []string

func (*User) GetSecurityGroups

func (x *User) GetSecurityGroups() []string

func (*User) GetStats

func (x *User) GetStats() *UserStats

func (*User) GetStatus

func (x *User) GetStatus() *UserStatus

func (*User) GetUserID

func (x *User) GetUserID() string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

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) Descriptor deprecated

func (*UserStats) Descriptor() ([]byte, []int)

Deprecated: Use UserStats.ProtoReflect.Descriptor instead.

func (*UserStats) GetActivity

func (x *UserStats) GetActivity() map[string]*Metric

func (*UserStats) GetFirstSeen

func (x *UserStats) GetFirstSeen() int64

func (*UserStats) GetLastActivity

func (x *UserStats) GetLastActivity() string

func (*UserStats) GetLastSeen

func (x *UserStats) GetLastSeen() int64

func (*UserStats) GetSecurityIssues

func (x *UserStats) GetSecurityIssues() *Metric

func (*UserStats) GetTimespan

func (x *UserStats) GetTimespan() string

func (*UserStats) ProtoMessage

func (*UserStats) ProtoMessage()

func (*UserStats) ProtoReflect

func (x *UserStats) ProtoReflect() protoreflect.Message

func (*UserStats) Reset

func (x *UserStats) Reset()

func (*UserStats) String

func (x *UserStats) String() string

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

type Users

type Users struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*Users) Descriptor deprecated

func (*Users) Descriptor() ([]byte, []int)

Deprecated: Use Users.ProtoReflect.Descriptor instead.

func (*Users) GetUsers

func (x *Users) GetUsers() []*User

func (*Users) ProtoMessage

func (*Users) ProtoMessage()

func (*Users) ProtoReflect

func (x *Users) ProtoReflect() protoreflect.Message

func (*Users) Reset

func (x *Users) Reset()

func (*Users) String

func (x *Users) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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