profile

package
v0.0.0-...-efd50ba Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProfileService_GetUserProfile_FullMethodName       = "/bellis.backend.mobile.profile.ProfileService/GetUserProfile"
	ProfileService_ChangePassword_FullMethodName       = "/bellis.backend.mobile.profile.ProfileService/ChangePassword"
	ProfileService_ChangeEmail_FullMethodName          = "/bellis.backend.mobile.profile.ProfileService/ChangeEmail"
	ProfileService_ChangeSensitive_FullMethodName      = "/bellis.backend.mobile.profile.ProfileService/ChangeSensitive"
	ProfileService_CreateEnvoyPolicy_FullMethodName    = "/bellis.backend.mobile.profile.ProfileService/CreateEnvoyPolicy"
	ProfileService_UpdateEnvoyPolicy_FullMethodName    = "/bellis.backend.mobile.profile.ProfileService/UpdateEnvoyPolicy"
	ProfileService_DeleteEnvoyPolicy_FullMethodName    = "/bellis.backend.mobile.profile.ProfileService/DeleteEnvoyPolicy"
	ProfileService_GetEnvoyTelegramLink_FullMethodName = "/bellis.backend.mobile.profile.ProfileService/GetEnvoyTelegramLink"
	ProfileService_GetUserLoginLogs_FullMethodName     = "/bellis.backend.mobile.profile.ProfileService/GetUserLoginLogs"
)
View Source
const (
	TLSService_GetUserTLS_FullMethodName = "/bellis.backend.mobile.profile.TLSService/GetUserTLS"
	TLSService_CreateTLS_FullMethodName  = "/bellis.backend.mobile.profile.TLSService/CreateTLS"
	TLSService_UpdateTLS_FullMethodName  = "/bellis.backend.mobile.profile.TLSService/UpdateTLS"
	TLSService_DeleteTLS_FullMethodName  = "/bellis.backend.mobile.profile.TLSService/DeleteTLS"
)

Variables

View Source
var File_profile_profile_proto protoreflect.FileDescriptor
View Source
var File_profile_tls_proto protoreflect.FileDescriptor
View Source
var ProfileService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bellis.backend.mobile.profile.ProfileService",
	HandlerType: (*ProfileServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserProfile",
			Handler:    _ProfileService_GetUserProfile_Handler,
		},
		{
			MethodName: "ChangePassword",
			Handler:    _ProfileService_ChangePassword_Handler,
		},
		{
			MethodName: "ChangeEmail",
			Handler:    _ProfileService_ChangeEmail_Handler,
		},
		{
			MethodName: "ChangeSensitive",
			Handler:    _ProfileService_ChangeSensitive_Handler,
		},
		{
			MethodName: "CreateEnvoyPolicy",
			Handler:    _ProfileService_CreateEnvoyPolicy_Handler,
		},
		{
			MethodName: "UpdateEnvoyPolicy",
			Handler:    _ProfileService_UpdateEnvoyPolicy_Handler,
		},
		{
			MethodName: "DeleteEnvoyPolicy",
			Handler:    _ProfileService_DeleteEnvoyPolicy_Handler,
		},
		{
			MethodName: "GetEnvoyTelegramLink",
			Handler:    _ProfileService_GetEnvoyTelegramLink_Handler,
		},
		{
			MethodName: "GetUserLoginLogs",
			Handler:    _ProfileService_GetUserLoginLogs_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "profile/profile.proto",
}

ProfileService_ServiceDesc is the grpc.ServiceDesc for ProfileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TLSService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "bellis.backend.mobile.profile.TLSService",
	HandlerType: (*TLSServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserTLS",
			Handler:    _TLSService_GetUserTLS_Handler,
		},
		{
			MethodName: "CreateTLS",
			Handler:    _TLSService_CreateTLS_Handler,
		},
		{
			MethodName: "UpdateTLS",
			Handler:    _TLSService_UpdateTLS_Handler,
		},
		{
			MethodName: "DeleteTLS",
			Handler:    _TLSService_DeleteTLS_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "profile/tls.proto",
}

TLSService_ServiceDesc is the grpc.ServiceDesc for TLSService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterProfileServiceServer

func RegisterProfileServiceServer(s grpc.ServiceRegistrar, srv ProfileServiceServer)

func RegisterTLSServiceServer

func RegisterTLSServiceServer(s grpc.ServiceRegistrar, srv TLSServiceServer)

Types

type Email

type Email struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*Email) Descriptor deprecated

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

Deprecated: Use Email.ProtoReflect.Descriptor instead.

func (*Email) GetAddress

func (x *Email) GetAddress() string

func (*Email) ProtoMessage

func (*Email) ProtoMessage()

func (*Email) ProtoReflect

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

func (*Email) Reset

func (x *Email) Reset()

func (*Email) String

func (x *Email) String() string

type EnvoyPolicy

type EnvoyPolicy struct {
	PolicyID      string              `protobuf:"bytes,1,opt,name=policyID,proto3" json:"policyID,omitempty"`
	PolicyType    int32               `protobuf:"varint,2,opt,name=policyType,proto3" json:"policyType,omitempty"`
	Sensitive     int32               `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
	OfflineAlert  bool                `protobuf:"varint,4,opt,name=offlineAlert,proto3" json:"offlineAlert,omitempty"`
	PolicyContent *EnvoyPolicyContent `protobuf:"bytes,5,opt,name=policyContent,proto3" json:"policyContent,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvoyPolicy) Descriptor deprecated

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

Deprecated: Use EnvoyPolicy.ProtoReflect.Descriptor instead.

func (*EnvoyPolicy) GetOfflineAlert

func (x *EnvoyPolicy) GetOfflineAlert() bool

func (*EnvoyPolicy) GetPolicyContent

func (x *EnvoyPolicy) GetPolicyContent() *EnvoyPolicyContent

func (*EnvoyPolicy) GetPolicyID

func (x *EnvoyPolicy) GetPolicyID() string

func (*EnvoyPolicy) GetPolicyType

func (x *EnvoyPolicy) GetPolicyType() int32

func (*EnvoyPolicy) GetSensitive

func (x *EnvoyPolicy) GetSensitive() int32

func (*EnvoyPolicy) ProtoMessage

func (*EnvoyPolicy) ProtoMessage()

func (*EnvoyPolicy) ProtoReflect

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

func (*EnvoyPolicy) Reset

func (x *EnvoyPolicy) Reset()

func (*EnvoyPolicy) String

func (x *EnvoyPolicy) String() string

type EnvoyPolicyContent

type EnvoyPolicyContent struct {

	// Types that are assignable to Content:
	//
	//	*EnvoyPolicyContent_Gotify
	//	*EnvoyPolicyContent_Email
	//	*EnvoyPolicyContent_Webhook
	//	*EnvoyPolicyContent_Telegram
	Content isEnvoyPolicyContent_Content `protobuf_oneof:"content"`
	// contains filtered or unexported fields
}

func (*EnvoyPolicyContent) Descriptor deprecated

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

Deprecated: Use EnvoyPolicyContent.ProtoReflect.Descriptor instead.

func (*EnvoyPolicyContent) GetContent

func (m *EnvoyPolicyContent) GetContent() isEnvoyPolicyContent_Content

func (*EnvoyPolicyContent) GetEmail

func (x *EnvoyPolicyContent) GetEmail() *Email

func (*EnvoyPolicyContent) GetGotify

func (x *EnvoyPolicyContent) GetGotify() *Gotify

func (*EnvoyPolicyContent) GetTelegram

func (x *EnvoyPolicyContent) GetTelegram() *Telegram

func (*EnvoyPolicyContent) GetWebhook

func (x *EnvoyPolicyContent) GetWebhook() *Webhook

func (*EnvoyPolicyContent) ProtoMessage

func (*EnvoyPolicyContent) ProtoMessage()

func (*EnvoyPolicyContent) ProtoReflect

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

func (*EnvoyPolicyContent) Reset

func (x *EnvoyPolicyContent) Reset()

func (*EnvoyPolicyContent) String

func (x *EnvoyPolicyContent) String() string

type EnvoyPolicyContent_Email

type EnvoyPolicyContent_Email struct {
	Email *Email `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}

type EnvoyPolicyContent_Gotify

type EnvoyPolicyContent_Gotify struct {
	Gotify *Gotify `protobuf:"bytes,1,opt,name=gotify,proto3,oneof"`
}

type EnvoyPolicyContent_Telegram

type EnvoyPolicyContent_Telegram struct {
	Telegram *Telegram `protobuf:"bytes,4,opt,name=telegram,proto3,oneof"`
}

type EnvoyPolicyContent_Webhook

type EnvoyPolicyContent_Webhook struct {
	Webhook *Webhook `protobuf:"bytes,3,opt,name=webhook,proto3,oneof"`
}
type EnvoyTelegramLink struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvoyTelegramLink) Descriptor deprecated

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

Deprecated: Use EnvoyTelegramLink.ProtoReflect.Descriptor instead.

func (*EnvoyTelegramLink) GetUrl

func (x *EnvoyTelegramLink) GetUrl() string

func (*EnvoyTelegramLink) ProtoMessage

func (*EnvoyTelegramLink) ProtoMessage()

func (*EnvoyTelegramLink) ProtoReflect

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

func (*EnvoyTelegramLink) Reset

func (x *EnvoyTelegramLink) Reset()

func (*EnvoyTelegramLink) String

func (x *EnvoyTelegramLink) String() string

type Gotify

type Gotify struct {
	Url   string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*Gotify) Descriptor deprecated

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

Deprecated: Use Gotify.ProtoReflect.Descriptor instead.

func (*Gotify) GetToken

func (x *Gotify) GetToken() string

func (*Gotify) GetUrl

func (x *Gotify) GetUrl() string

func (*Gotify) ProtoMessage

func (*Gotify) ProtoMessage()

func (*Gotify) ProtoReflect

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

func (*Gotify) Reset

func (x *Gotify) Reset()

func (*Gotify) String

func (x *Gotify) String() string

type NewEmail

type NewEmail struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*NewEmail) Descriptor deprecated

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

Deprecated: Use NewEmail.ProtoReflect.Descriptor instead.

func (*NewEmail) GetEmail

func (x *NewEmail) GetEmail() string

func (*NewEmail) ProtoMessage

func (*NewEmail) ProtoMessage()

func (*NewEmail) ProtoReflect

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

func (*NewEmail) Reset

func (x *NewEmail) Reset()

func (*NewEmail) String

func (x *NewEmail) String() string

type NewPassword

type NewPassword struct {
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*NewPassword) Descriptor deprecated

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

Deprecated: Use NewPassword.ProtoReflect.Descriptor instead.

func (*NewPassword) GetPassword

func (x *NewPassword) GetPassword() string

func (*NewPassword) ProtoMessage

func (*NewPassword) ProtoMessage()

func (*NewPassword) ProtoReflect

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

func (*NewPassword) Reset

func (x *NewPassword) Reset()

func (*NewPassword) String

func (x *NewPassword) String() string

type ProfileServiceClient

type ProfileServiceClient interface {
	GetUserProfile(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserProfile, error)
	ChangePassword(ctx context.Context, in *NewPassword, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ChangeEmail(ctx context.Context, in *NewEmail, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ChangeSensitive(ctx context.Context, in *Sensitive, opts ...grpc.CallOption) (*emptypb.Empty, error)
	CreateEnvoyPolicy(ctx context.Context, in *EnvoyPolicy, opts ...grpc.CallOption) (*emptypb.Empty, error)
	UpdateEnvoyPolicy(ctx context.Context, in *EnvoyPolicy, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteEnvoyPolicy(ctx context.Context, in *EnvoyPolicy, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetEnvoyTelegramLink(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*EnvoyTelegramLink, error)
	GetUserLoginLogs(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserLoginLogs, error)
}

ProfileServiceClient is the client API for ProfileService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ProfileServiceServer

type ProfileServiceServer interface {
	GetUserProfile(context.Context, *emptypb.Empty) (*UserProfile, error)
	ChangePassword(context.Context, *NewPassword) (*emptypb.Empty, error)
	ChangeEmail(context.Context, *NewEmail) (*emptypb.Empty, error)
	ChangeSensitive(context.Context, *Sensitive) (*emptypb.Empty, error)
	CreateEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error)
	UpdateEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error)
	DeleteEnvoyPolicy(context.Context, *EnvoyPolicy) (*emptypb.Empty, error)
	GetEnvoyTelegramLink(context.Context, *emptypb.Empty) (*EnvoyTelegramLink, error)
	GetUserLoginLogs(context.Context, *emptypb.Empty) (*UserLoginLogs, error)
}

ProfileServiceServer is the server API for ProfileService service. All implementations should embed UnimplementedProfileServiceServer for forward compatibility

type Sensitive

type Sensitive struct {
	Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*Sensitive) Descriptor deprecated

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

Deprecated: Use Sensitive.ProtoReflect.Descriptor instead.

func (*Sensitive) GetLevel

func (x *Sensitive) GetLevel() int32

func (*Sensitive) ProtoMessage

func (*Sensitive) ProtoMessage()

func (*Sensitive) ProtoReflect

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

func (*Sensitive) Reset

func (x *Sensitive) Reset()

func (*Sensitive) String

func (x *Sensitive) String() string

type TLS

type TLS struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	UserId        string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	Name          string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	TlsCA         string `protobuf:"bytes,4,opt,name=tlsCA,proto3" json:"tlsCA,omitempty"`
	TlsCert       string `protobuf:"bytes,5,opt,name=tlsCert,proto3" json:"tlsCert,omitempty"`
	TlsKey        string `protobuf:"bytes,6,opt,name=tlsKey,proto3" json:"tlsKey,omitempty"`
	TlsKeyPwd     string `protobuf:"bytes,7,opt,name=tlsKeyPwd,proto3" json:"tlsKeyPwd,omitempty"`
	TlsMinVersion string `protobuf:"bytes,8,opt,name=tlsMinVersion,proto3" json:"tlsMinVersion,omitempty"`
	Insecure      bool   `protobuf:"varint,9,opt,name=insecure,proto3" json:"insecure,omitempty"`
	// contains filtered or unexported fields
}

func (*TLS) Descriptor deprecated

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

Deprecated: Use TLS.ProtoReflect.Descriptor instead.

func (*TLS) GetId

func (x *TLS) GetId() string

func (*TLS) GetInsecure

func (x *TLS) GetInsecure() bool

func (*TLS) GetName

func (x *TLS) GetName() string

func (*TLS) GetTlsCA

func (x *TLS) GetTlsCA() string

func (*TLS) GetTlsCert

func (x *TLS) GetTlsCert() string

func (*TLS) GetTlsKey

func (x *TLS) GetTlsKey() string

func (*TLS) GetTlsKeyPwd

func (x *TLS) GetTlsKeyPwd() string

func (*TLS) GetTlsMinVersion

func (x *TLS) GetTlsMinVersion() string

func (*TLS) GetUserId

func (x *TLS) GetUserId() string

func (*TLS) ProtoMessage

func (*TLS) ProtoMessage()

func (*TLS) ProtoReflect

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

func (*TLS) Reset

func (x *TLS) Reset()

func (*TLS) String

func (x *TLS) String() string

type TLSList

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

func (*TLSList) Descriptor deprecated

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

Deprecated: Use TLSList.ProtoReflect.Descriptor instead.

func (*TLSList) GetList

func (x *TLSList) GetList() []*TLS

func (*TLSList) ProtoMessage

func (*TLSList) ProtoMessage()

func (*TLSList) ProtoReflect

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

func (*TLSList) Reset

func (x *TLSList) Reset()

func (*TLSList) String

func (x *TLSList) String() string

type TLSServiceClient

type TLSServiceClient interface {
	GetUserTLS(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*TLSList, error)
	CreateTLS(ctx context.Context, in *TLS, opts ...grpc.CallOption) (*TLS, error)
	UpdateTLS(ctx context.Context, in *TLS, opts ...grpc.CallOption) (*TLS, error)
	DeleteTLS(ctx context.Context, in *public.PrimitiveID, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

TLSServiceClient is the client API for TLSService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTLSServiceClient

func NewTLSServiceClient(cc grpc.ClientConnInterface) TLSServiceClient

type TLSServiceServer

type TLSServiceServer interface {
	GetUserTLS(context.Context, *emptypb.Empty) (*TLSList, error)
	CreateTLS(context.Context, *TLS) (*TLS, error)
	UpdateTLS(context.Context, *TLS) (*TLS, error)
	DeleteTLS(context.Context, *public.PrimitiveID) (*emptypb.Empty, error)
}

TLSServiceServer is the server API for TLSService service. All implementations should embed UnimplementedTLSServiceServer for forward compatibility

type Telegram

type Telegram struct {
	ChatId int64 `protobuf:"varint,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Telegram) Descriptor deprecated

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

Deprecated: Use Telegram.ProtoReflect.Descriptor instead.

func (*Telegram) GetChatId

func (x *Telegram) GetChatId() int64

func (*Telegram) ProtoMessage

func (*Telegram) ProtoMessage()

func (*Telegram) ProtoReflect

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

func (*Telegram) Reset

func (x *Telegram) Reset()

func (*Telegram) String

func (x *Telegram) String() string

type UnimplementedProfileServiceServer

type UnimplementedProfileServiceServer struct {
}

UnimplementedProfileServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedProfileServiceServer) ChangeEmail

func (UnimplementedProfileServiceServer) ChangePassword

func (UnimplementedProfileServiceServer) ChangeSensitive

func (UnimplementedProfileServiceServer) CreateEnvoyPolicy

func (UnimplementedProfileServiceServer) DeleteEnvoyPolicy

func (UnimplementedProfileServiceServer) GetUserLoginLogs

func (UnimplementedProfileServiceServer) GetUserProfile

func (UnimplementedProfileServiceServer) UpdateEnvoyPolicy

type UnimplementedTLSServiceServer

type UnimplementedTLSServiceServer struct {
}

UnimplementedTLSServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTLSServiceServer) CreateTLS

func (UnimplementedTLSServiceServer) DeleteTLS

func (UnimplementedTLSServiceServer) GetUserTLS

func (UnimplementedTLSServiceServer) UpdateTLS

type UnsafeProfileServiceServer

type UnsafeProfileServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProfileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProfileServiceServer will result in compilation errors.

type UnsafeTLSServiceServer

type UnsafeTLSServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTLSServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TLSServiceServer will result in compilation errors.

type UserLoginLog

type UserLoginLog struct {
	LoginTime  string `protobuf:"bytes,1,opt,name=loginTime,proto3" json:"loginTime,omitempty"`
	Location   string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	Device     string `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
	DeticeType string `protobuf:"bytes,4,opt,name=deticeType,proto3" json:"deticeType,omitempty"`
	// contains filtered or unexported fields
}

func (*UserLoginLog) Descriptor deprecated

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

Deprecated: Use UserLoginLog.ProtoReflect.Descriptor instead.

func (*UserLoginLog) GetDeticeType

func (x *UserLoginLog) GetDeticeType() string

func (*UserLoginLog) GetDevice

func (x *UserLoginLog) GetDevice() string

func (*UserLoginLog) GetLocation

func (x *UserLoginLog) GetLocation() string

func (*UserLoginLog) GetLoginTime

func (x *UserLoginLog) GetLoginTime() string

func (*UserLoginLog) ProtoMessage

func (*UserLoginLog) ProtoMessage()

func (*UserLoginLog) ProtoReflect

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

func (*UserLoginLog) Reset

func (x *UserLoginLog) Reset()

func (*UserLoginLog) String

func (x *UserLoginLog) String() string

type UserLoginLogs

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

func (*UserLoginLogs) Descriptor deprecated

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

Deprecated: Use UserLoginLogs.ProtoReflect.Descriptor instead.

func (*UserLoginLogs) GetLogs

func (x *UserLoginLogs) GetLogs() []*UserLoginLog

func (*UserLoginLogs) ProtoMessage

func (*UserLoginLogs) ProtoMessage()

func (*UserLoginLogs) ProtoReflect

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

func (*UserLoginLogs) Reset

func (x *UserLoginLogs) Reset()

func (*UserLoginLogs) String

func (x *UserLoginLogs) String() string

type UserProfile

type UserProfile struct {
	Email     string         `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	CreatedAt string         `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	Level     uint32         `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
	Avatar    []byte         `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Policies  []*EnvoyPolicy `protobuf:"bytes,5,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

func (*UserProfile) Descriptor deprecated

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

Deprecated: Use UserProfile.ProtoReflect.Descriptor instead.

func (*UserProfile) GetAvatar

func (x *UserProfile) GetAvatar() []byte

func (*UserProfile) GetCreatedAt

func (x *UserProfile) GetCreatedAt() string

func (*UserProfile) GetEmail

func (x *UserProfile) GetEmail() string

func (*UserProfile) GetLevel

func (x *UserProfile) GetLevel() uint32

func (*UserProfile) GetPolicies

func (x *UserProfile) GetPolicies() []*EnvoyPolicy

func (*UserProfile) ProtoMessage

func (*UserProfile) ProtoMessage()

func (*UserProfile) ProtoReflect

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

func (*UserProfile) Reset

func (x *UserProfile) Reset()

func (*UserProfile) String

func (x *UserProfile) String() string

type Webhook

type Webhook struct {
	Url      string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Insecure bool   `protobuf:"varint,2,opt,name=insecure,proto3" json:"insecure,omitempty"`
	// contains filtered or unexported fields
}

func (*Webhook) Descriptor deprecated

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

Deprecated: Use Webhook.ProtoReflect.Descriptor instead.

func (*Webhook) GetInsecure

func (x *Webhook) GetInsecure() bool

func (*Webhook) GetUrl

func (x *Webhook) GetUrl() string

func (*Webhook) ProtoMessage

func (*Webhook) ProtoMessage()

func (*Webhook) ProtoReflect

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

func (*Webhook) Reset

func (x *Webhook) Reset()

func (*Webhook) String

func (x *Webhook) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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