Documentation
¶
Index ¶
- Variables
- type LoginRule
- func (*LoginRule) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRule) GetMetadata() *types.Metadata
- func (x *LoginRule) GetPriority() int32
- func (x *LoginRule) GetTraitsExpression() string
- func (x *LoginRule) GetTraitsMap() map[string]*wrappers.StringValues
- func (x *LoginRule) GetVersion() string
- func (*LoginRule) ProtoMessage()
- func (x *LoginRule) ProtoReflect() protoreflect.Message
- func (x *LoginRule) Reset()
- func (x *LoginRule) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_teleport_loginrule_v1_loginrule_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LoginRule ¶
type LoginRule struct { // Metadata is resource metadata. Metadata *types.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // Version is the resource version. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Priority is the priority of the login rule relative to other login rules // in the same cluster. Login rules with a lower numbered priority will be // evaluated first. Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"` // TraitsMap is a map of trait keys to lists of predicate expressions which // should evaluate to the desired values for that trait. TraitsMap map[string]*wrappers.StringValues `` /* 176-byte string literal not displayed */ // TraitsExpression is a predicate expression which should return the // desired traits for the user upon login. TraitsExpression string `protobuf:"bytes,5,opt,name=traits_expression,json=traitsExpression,proto3" json:"traits_expression,omitempty"` // contains filtered or unexported fields }
LoginRule is a resource to configure rules and logic which should run during Teleport user login.
func (*LoginRule) Descriptor
deprecated
func (*LoginRule) GetMetadata ¶
func (*LoginRule) GetPriority ¶
func (*LoginRule) GetTraitsExpression ¶
func (*LoginRule) GetTraitsMap ¶
func (x *LoginRule) GetTraitsMap() map[string]*wrappers.StringValues
func (*LoginRule) GetVersion ¶
func (*LoginRule) ProtoMessage ¶
func (*LoginRule) ProtoMessage()
func (*LoginRule) ProtoReflect ¶
func (x *LoginRule) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.