auth

package
v0.0.0-...-f2fa0db Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package auth is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by swagger-to-go. DO NOT EDIT.

Package auth is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by swagger-to-go. DO NOT EDIT.

Package auth is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by swagger-to-go. DO NOT EDIT.

Package auth is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by swagger-to-go. DO NOT EDIT.

Package auth is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by swagger-to-go. DO NOT EDIT.

Package auth is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by swagger-to-go. DO NOT EDIT.

Package auth is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Code generated by swagger-to-go. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	Effect_name = map[int32]string{
		0: "DENY",
		1: "ALLOW",
	}
	Effect_value = map[string]int32{
		"DENY":  0,
		"ALLOW": 1,
	}
)

Enum value maps for Effect.

View Source
var File_api_proto_v1_apps_proto protoreflect.FileDescriptor
View Source
var File_api_proto_v1_audit_logs_proto protoreflect.FileDescriptor
View Source
var File_api_proto_v1_auth_proto protoreflect.FileDescriptor
View Source
var File_api_proto_v1_domains_proto protoreflect.FileDescriptor
View Source
var File_api_proto_v1_roles_proto protoreflect.FileDescriptor
View Source
var File_api_proto_v1_rules_proto protoreflect.FileDescriptor
View Source
var File_api_proto_v1_users_proto protoreflect.FileDescriptor

Functions

func RegisterAppServiceHandler

func RegisterAppServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAppServiceHandler registers the http handlers for service AppService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAppServiceHandlerClient

func RegisterAppServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AppServiceClient) error

RegisterAppServiceHandlerClient registers the http handlers for service AppService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AppServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AppServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AppServiceClient" to call the correct interceptors.

func RegisterAppServiceHandlerFromEndpoint

func RegisterAppServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAppServiceHandlerFromEndpoint is same as RegisterAppServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAppServiceHandlerServer

func RegisterAppServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AppServiceServer) error

RegisterAppServiceHandlerServer registers the http handlers for service AppService to "mux". UnaryRPC :call AppServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAppServiceHandlerFromEndpoint instead.

func RegisterAppServiceServer

func RegisterAppServiceServer(s *grpc.Server, srv AppServiceServer)

func RegisterAuditLogServiceHandler

func RegisterAuditLogServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAuditLogServiceHandler registers the http handlers for service AuditLogService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAuditLogServiceHandlerClient

func RegisterAuditLogServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuditLogServiceClient) error

RegisterAuditLogServiceHandlerClient registers the http handlers for service AuditLogService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuditLogServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuditLogServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuditLogServiceClient" to call the correct interceptors.

func RegisterAuditLogServiceHandlerFromEndpoint

func RegisterAuditLogServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAuditLogServiceHandlerFromEndpoint is same as RegisterAuditLogServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAuditLogServiceHandlerServer

func RegisterAuditLogServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuditLogServiceServer) error

RegisterAuditLogServiceHandlerServer registers the http handlers for service AuditLogService to "mux". UnaryRPC :call AuditLogServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuditLogServiceHandlerFromEndpoint instead.

func RegisterAuditLogServiceServer

func RegisterAuditLogServiceServer(s *grpc.Server, srv AuditLogServiceServer)

func RegisterAuthServiceHandler

func RegisterAuthServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAuthServiceHandler registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAuthServiceHandlerClient

func RegisterAuthServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuthServiceClient) error

RegisterAuthServiceHandlerClient registers the http handlers for service AuthService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuthServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuthServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AuthServiceClient" to call the correct interceptors.

func RegisterAuthServiceHandlerFromEndpoint

func RegisterAuthServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAuthServiceHandlerFromEndpoint is same as RegisterAuthServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAuthServiceHandlerServer

func RegisterAuthServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuthServiceServer) error

RegisterAuthServiceHandlerServer registers the http handlers for service AuthService to "mux". UnaryRPC :call AuthServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuthServiceHandlerFromEndpoint instead.

func RegisterAuthServiceServer

func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer)

func RegisterDomainServiceHandler

func RegisterDomainServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDomainServiceHandler registers the http handlers for service DomainService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDomainServiceHandlerClient

func RegisterDomainServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DomainServiceClient) error

RegisterDomainServiceHandlerClient registers the http handlers for service DomainService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DomainServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DomainServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DomainServiceClient" to call the correct interceptors.

func RegisterDomainServiceHandlerFromEndpoint

func RegisterDomainServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDomainServiceHandlerFromEndpoint is same as RegisterDomainServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDomainServiceHandlerServer

func RegisterDomainServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DomainServiceServer) error

RegisterDomainServiceHandlerServer registers the http handlers for service DomainService to "mux". UnaryRPC :call DomainServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDomainServiceHandlerFromEndpoint instead.

func RegisterDomainServiceServer

func RegisterDomainServiceServer(s *grpc.Server, srv DomainServiceServer)

func RegisterRoleServiceHandler

func RegisterRoleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRoleServiceHandler registers the http handlers for service RoleService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRoleServiceHandlerClient

func RegisterRoleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RoleServiceClient) error

RegisterRoleServiceHandlerClient registers the http handlers for service RoleService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RoleServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RoleServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RoleServiceClient" to call the correct interceptors.

func RegisterRoleServiceHandlerFromEndpoint

func RegisterRoleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRoleServiceHandlerFromEndpoint is same as RegisterRoleServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRoleServiceHandlerServer

func RegisterRoleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RoleServiceServer) error

RegisterRoleServiceHandlerServer registers the http handlers for service RoleService to "mux". UnaryRPC :call RoleServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRoleServiceHandlerFromEndpoint instead.

func RegisterRoleServiceServer

func RegisterRoleServiceServer(s *grpc.Server, srv RoleServiceServer)

func RegisterRuleServiceHandler

func RegisterRuleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterRuleServiceHandler registers the http handlers for service RuleService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterRuleServiceHandlerClient

func RegisterRuleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RuleServiceClient) error

RegisterRuleServiceHandlerClient registers the http handlers for service RuleService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RuleServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RuleServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RuleServiceClient" to call the correct interceptors.

func RegisterRuleServiceHandlerFromEndpoint

func RegisterRuleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterRuleServiceHandlerFromEndpoint is same as RegisterRuleServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterRuleServiceHandlerServer

func RegisterRuleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RuleServiceServer) error

RegisterRuleServiceHandlerServer registers the http handlers for service RuleService to "mux". UnaryRPC :call RuleServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRuleServiceHandlerFromEndpoint instead.

func RegisterRuleServiceServer

func RegisterRuleServiceServer(s *grpc.Server, srv RuleServiceServer)

func RegisterUserServiceHandler

func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUserServiceHandlerClient

func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error

RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.

func RegisterUserServiceHandlerFromEndpoint

func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUserServiceHandlerServer

func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error

RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead.

func RegisterUserServiceServer

func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)

Types

type AddUserRoleRequest

type AddUserRoleRequest struct {
	Uuid       string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	RoleUuid   string `protobuf:"bytes,2,opt,name=role_uuid,json=roleUuid,proto3" json:"role_uuid,omitempty"`
	DomainUuid string `protobuf:"bytes,3,opt,name=domain_uuid,json=domainUuid,proto3" json:"domain_uuid,omitempty"`
	Enable     bool   `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*AddUserRoleRequest) Descriptor deprecated

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

Deprecated: Use AddUserRoleRequest.ProtoReflect.Descriptor instead.

func (*AddUserRoleRequest) GetDomainUuid

func (x *AddUserRoleRequest) GetDomainUuid() string

func (*AddUserRoleRequest) GetEnable

func (x *AddUserRoleRequest) GetEnable() bool

func (*AddUserRoleRequest) GetRoleUuid

func (x *AddUserRoleRequest) GetRoleUuid() string

func (*AddUserRoleRequest) GetUuid

func (x *AddUserRoleRequest) GetUuid() string

func (*AddUserRoleRequest) ProtoMessage

func (*AddUserRoleRequest) ProtoMessage()

func (*AddUserRoleRequest) ProtoReflect

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

func (*AddUserRoleRequest) Reset

func (x *AddUserRoleRequest) Reset()

func (*AddUserRoleRequest) String

func (x *AddUserRoleRequest) String() string

type App

type App struct {
	Uuid      string               `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name      string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Enable    bool                 `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*App) Descriptor deprecated

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

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetCreatedAt

func (x *App) GetCreatedAt() *timestamp.Timestamp

func (*App) GetEnable

func (x *App) GetEnable() bool

func (*App) GetName

func (x *App) GetName() string

func (*App) GetUpdatedAt

func (x *App) GetUpdatedAt() *timestamp.Timestamp

func (*App) GetUuid

func (x *App) GetUuid() string

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) ProtoReflect

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

func (*App) Reset

func (x *App) Reset()

func (*App) String

func (x *App) String() string

type AppServiceClient

type AppServiceClient interface {
	// List Apps
	ListApps(ctx context.Context, in *ListAppsRequest, opts ...grpc.CallOption) (*ListAppsResponse, error)
	// Get App
	GetApp(ctx context.Context, in *GetAppRequest, opts ...grpc.CallOption) (*App, error)
	// Create App request
	CreateApp(ctx context.Context, in *CreateAppRequest, opts ...grpc.CallOption) (*App, error)
	// Update App request
	UpdateApp(ctx context.Context, in *UpdateAppRequest, opts ...grpc.CallOption) (*App, error)
	// Delete App request
	DeleteApp(ctx context.Context, in *DeleteAppRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// List App Resources
	ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error)
	// Get App Resource
	GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*Resource, error)
	// Create App Resource object request
	CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*Resource, error)
	// Update App Resource object request
	UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*Resource, error)
	// Delete App Resource object request
	DeleteResource(ctx context.Context, in *DeleteResourceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// List App Objects
	ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*ListObjectsResponse, error)
	// Get App Object
	GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*Object, error)
	// Create App Object request
	CreateObject(ctx context.Context, in *CreateObjectRequest, opts ...grpc.CallOption) (*Object, error)
	// Update App Object request
	UpdateObject(ctx context.Context, in *UpdateObjectRequest, opts ...grpc.CallOption) (*Object, error)
	// Delete App Object request
	DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

AppServiceClient is the client API for AppService 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 NewAppServiceClient

func NewAppServiceClient(cc grpc.ClientConnInterface) AppServiceClient

type AppServiceServer

type AppServiceServer interface {
	// List Apps
	ListApps(context.Context, *ListAppsRequest) (*ListAppsResponse, error)
	// Get App
	GetApp(context.Context, *GetAppRequest) (*App, error)
	// Create App request
	CreateApp(context.Context, *CreateAppRequest) (*App, error)
	// Update App request
	UpdateApp(context.Context, *UpdateAppRequest) (*App, error)
	// Delete App request
	DeleteApp(context.Context, *DeleteAppRequest) (*empty.Empty, error)
	// List App Resources
	ListResources(context.Context, *ListResourcesRequest) (*ListResourcesResponse, error)
	// Get App Resource
	GetResource(context.Context, *GetResourceRequest) (*Resource, error)
	// Create App Resource object request
	CreateResource(context.Context, *CreateResourceRequest) (*Resource, error)
	// Update App Resource object request
	UpdateResource(context.Context, *UpdateResourceRequest) (*Resource, error)
	// Delete App Resource object request
	DeleteResource(context.Context, *DeleteResourceRequest) (*empty.Empty, error)
	// List App Objects
	ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
	// Get App Object
	GetObject(context.Context, *GetObjectRequest) (*Object, error)
	// Create App Object request
	CreateObject(context.Context, *CreateObjectRequest) (*Object, error)
	// Update App Object request
	UpdateObject(context.Context, *UpdateObjectRequest) (*Object, error)
	// Delete App Object request
	DeleteObject(context.Context, *DeleteObjectRequest) (*empty.Empty, error)
	// contains filtered or unexported methods
}

AppServiceServer is the server API for AppService service. All implementations must embed UnimplementedAppServiceServer for forward compatibility

type AuditLog

type AuditLog struct {
	Uuid      string               `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	User      *User                `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	Action    string               `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
	Object    string               `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"`
	OldValue  string               `protobuf:"bytes,5,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	NewValue  string               `protobuf:"bytes,6,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditLog) Descriptor deprecated

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

Deprecated: Use AuditLog.ProtoReflect.Descriptor instead.

func (*AuditLog) GetAction

func (x *AuditLog) GetAction() string

func (*AuditLog) GetCreatedAt

func (x *AuditLog) GetCreatedAt() *timestamp.Timestamp

func (*AuditLog) GetNewValue

func (x *AuditLog) GetNewValue() string

func (*AuditLog) GetObject

func (x *AuditLog) GetObject() string

func (*AuditLog) GetOldValue

func (x *AuditLog) GetOldValue() string

func (*AuditLog) GetUpdatedAt

func (x *AuditLog) GetUpdatedAt() *timestamp.Timestamp

func (*AuditLog) GetUser

func (x *AuditLog) GetUser() *User

func (*AuditLog) GetUuid

func (x *AuditLog) GetUuid() string

func (*AuditLog) ProtoMessage

func (*AuditLog) ProtoMessage()

func (*AuditLog) ProtoReflect

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

func (*AuditLog) Reset

func (x *AuditLog) Reset()

func (*AuditLog) String

func (x *AuditLog) String() string

type AuditLogServiceClient

type AuditLogServiceClient interface {
	// List AuditLogs
	ListAuditLogs(ctx context.Context, in *ListAuditLogsRequest, opts ...grpc.CallOption) (*ListAuditLogsResponse, error)
	// Get AuditLog
	GetAuditLog(ctx context.Context, in *GetAuditLogRequest, opts ...grpc.CallOption) (*AuditLog, error)
}

AuditLogServiceClient is the client API for AuditLogService 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 AuditLogServiceServer

type AuditLogServiceServer interface {
	// List AuditLogs
	ListAuditLogs(context.Context, *ListAuditLogsRequest) (*ListAuditLogsResponse, error)
	// Get AuditLog
	GetAuditLog(context.Context, *GetAuditLogRequest) (*AuditLog, error)
	// contains filtered or unexported methods
}

AuditLogServiceServer is the server API for AuditLogService service. All implementations must embed UnimplementedAuditLogServiceServer for forward compatibility

type AuthServiceClient

type AuthServiceClient interface {
	// Login login user
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// Login login user
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	// Logout will close user session
	Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
	// VerifyToken will verify and return token
	VerifyToken(ctx context.Context, in *VerifyTokenRequest, opts ...grpc.CallOption) (*VerifyTokenResponse, error)
	// RefreshToken will check and return new token
	RefreshToken(ctx context.Context, in *RefreshTokenRequest, opts ...grpc.CallOption) (*RefreshTokenResponse, error)
	// Validate will check token and return user data in response header
	Validate(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

AuthServiceClient is the client API for AuthService 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 AuthServiceServer

type AuthServiceServer interface {
	// Login login user
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// Login login user
	Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
	// Logout will close user session
	Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
	// VerifyToken will verify and return token
	VerifyToken(context.Context, *VerifyTokenRequest) (*VerifyTokenResponse, error)
	// RefreshToken will check and return new token
	RefreshToken(context.Context, *RefreshTokenRequest) (*RefreshTokenResponse, error)
	// Validate will check token and return user data in response header
	Validate(context.Context, *ValidateRequest) (*empty.Empty, error)
	// contains filtered or unexported methods
}

AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility

type CreateAppRequest

type CreateAppRequest struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Enable bool   `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAppRequest) Descriptor deprecated

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

Deprecated: Use CreateAppRequest.ProtoReflect.Descriptor instead.

func (*CreateAppRequest) GetEnable

func (x *CreateAppRequest) GetEnable() bool

func (*CreateAppRequest) GetName

func (x *CreateAppRequest) GetName() string

func (*CreateAppRequest) ProtoMessage

func (*CreateAppRequest) ProtoMessage()

func (*CreateAppRequest) ProtoReflect

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

func (*CreateAppRequest) Reset

func (x *CreateAppRequest) Reset()

func (*CreateAppRequest) String

func (x *CreateAppRequest) String() string

type CreateAuditLogRequest

type CreateAuditLogRequest struct {
	UserUuid string `protobuf:"bytes,1,opt,name=user_uuid,json=userUuid,proto3" json:"user_uuid,omitempty"`
	Action   string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Object   string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	OldValue string `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"`
	NewValue string `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAuditLogRequest) Descriptor deprecated

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

Deprecated: Use CreateAuditLogRequest.ProtoReflect.Descriptor instead.

func (*CreateAuditLogRequest) GetAction

func (x *CreateAuditLogRequest) GetAction() string

func (*CreateAuditLogRequest) GetNewValue

func (x *CreateAuditLogRequest) GetNewValue() string

func (*CreateAuditLogRequest) GetObject

func (x *CreateAuditLogRequest) GetObject() string

func (*CreateAuditLogRequest) GetOldValue

func (x *CreateAuditLogRequest) GetOldValue() string

func (*CreateAuditLogRequest) GetUserUuid

func (x *CreateAuditLogRequest) GetUserUuid() string

func (*CreateAuditLogRequest) ProtoMessage

func (*CreateAuditLogRequest) ProtoMessage()

func (*CreateAuditLogRequest) ProtoReflect

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

func (*CreateAuditLogRequest) Reset

func (x *CreateAuditLogRequest) Reset()

func (*CreateAuditLogRequest) String

func (x *CreateAuditLogRequest) String() string

type CreateDomainRequest

type CreateDomainRequest struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Enable bool   `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDomainRequest) Descriptor deprecated

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

Deprecated: Use CreateDomainRequest.ProtoReflect.Descriptor instead.

func (*CreateDomainRequest) GetEnable

func (x *CreateDomainRequest) GetEnable() bool

func (*CreateDomainRequest) GetName

func (x *CreateDomainRequest) GetName() string

func (*CreateDomainRequest) ProtoMessage

func (*CreateDomainRequest) ProtoMessage()

func (*CreateDomainRequest) ProtoReflect

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

func (*CreateDomainRequest) Reset

func (x *CreateDomainRequest) Reset()

func (*CreateDomainRequest) String

func (x *CreateDomainRequest) String() string

type CreateObjectRequest

type CreateObjectRequest struct {
	Uuid       string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateObjectRequest) Descriptor deprecated

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

Deprecated: Use CreateObjectRequest.ProtoReflect.Descriptor instead.

func (*CreateObjectRequest) GetIdentifier

func (x *CreateObjectRequest) GetIdentifier() string

func (*CreateObjectRequest) GetUuid

func (x *CreateObjectRequest) GetUuid() string

func (*CreateObjectRequest) ProtoMessage

func (*CreateObjectRequest) ProtoMessage()

func (*CreateObjectRequest) ProtoReflect

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

func (*CreateObjectRequest) Reset

func (x *CreateObjectRequest) Reset()

func (*CreateObjectRequest) String

func (x *CreateObjectRequest) String() string

type CreateResourceRequest

type CreateResourceRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateResourceRequest) Descriptor deprecated

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

Deprecated: Use CreateResourceRequest.ProtoReflect.Descriptor instead.

func (*CreateResourceRequest) GetName

func (x *CreateResourceRequest) GetName() string

func (*CreateResourceRequest) GetUuid

func (x *CreateResourceRequest) GetUuid() string

func (*CreateResourceRequest) ProtoMessage

func (*CreateResourceRequest) ProtoMessage()

func (*CreateResourceRequest) ProtoReflect

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

func (*CreateResourceRequest) Reset

func (x *CreateResourceRequest) Reset()

func (*CreateResourceRequest) String

func (x *CreateResourceRequest) String() string

type CreateRoleRequest

type CreateRoleRequest struct {
	Title  string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Enable bool   `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleRequest) Descriptor deprecated

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

Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleRequest) GetEnable

func (x *CreateRoleRequest) GetEnable() bool

func (*CreateRoleRequest) GetTitle

func (x *CreateRoleRequest) GetTitle() string

func (*CreateRoleRequest) ProtoMessage

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) ProtoReflect

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

func (*CreateRoleRequest) Reset

func (x *CreateRoleRequest) Reset()

func (*CreateRoleRequest) String

func (x *CreateRoleRequest) String() string

type CreateRuleRequest

type CreateRuleRequest struct {
	Role     string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	Domain   string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	Object   string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	Action   string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
	Effect   Effect `protobuf:"varint,6,opt,name=effect,proto3,enum=authV1.Effect" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRuleRequest) Descriptor deprecated

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

Deprecated: Use CreateRuleRequest.ProtoReflect.Descriptor instead.

func (*CreateRuleRequest) GetAction

func (x *CreateRuleRequest) GetAction() string

func (*CreateRuleRequest) GetDomain

func (x *CreateRuleRequest) GetDomain() string

func (*CreateRuleRequest) GetEffect

func (x *CreateRuleRequest) GetEffect() Effect

func (*CreateRuleRequest) GetObject

func (x *CreateRuleRequest) GetObject() string

func (*CreateRuleRequest) GetResource

func (x *CreateRuleRequest) GetResource() string

func (*CreateRuleRequest) GetRole

func (x *CreateRuleRequest) GetRole() string

func (*CreateRuleRequest) ProtoMessage

func (*CreateRuleRequest) ProtoMessage()

func (*CreateRuleRequest) ProtoReflect

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

func (*CreateRuleRequest) Reset

func (x *CreateRuleRequest) Reset()

func (*CreateRuleRequest) String

func (x *CreateRuleRequest) String() string

type CreateUserRequest

type CreateUserRequest struct {
	Firstname string `protobuf:"bytes,1,opt,name=firstname,proto3" json:"firstname,omitempty"`
	Lastname  string `protobuf:"bytes,2,opt,name=lastname,proto3" json:"lastname,omitempty"`
	Gender    string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"`
	AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Username  string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	Password  string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	Email     string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
	Enable    bool   `protobuf:"varint,8,opt,name=enable,proto3" json:"enable,omitempty"`
	RawData   string `protobuf:"bytes,9,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetAvatarUrl

func (x *CreateUserRequest) GetAvatarUrl() string

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetEnable

func (x *CreateUserRequest) GetEnable() bool

func (*CreateUserRequest) GetFirstname

func (x *CreateUserRequest) GetFirstname() string

func (*CreateUserRequest) GetGender

func (x *CreateUserRequest) GetGender() string

func (*CreateUserRequest) GetLastname

func (x *CreateUserRequest) GetLastname() string

func (*CreateUserRequest) GetPassword

func (x *CreateUserRequest) GetPassword() string

func (*CreateUserRequest) GetRawData

func (x *CreateUserRequest) GetRawData() string

func (*CreateUserRequest) GetUsername

func (x *CreateUserRequest) GetUsername() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type DeleteAppRequest

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

func (*DeleteAppRequest) Descriptor deprecated

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

Deprecated: Use DeleteAppRequest.ProtoReflect.Descriptor instead.

func (*DeleteAppRequest) GetUuid

func (x *DeleteAppRequest) GetUuid() string

func (*DeleteAppRequest) ProtoMessage

func (*DeleteAppRequest) ProtoMessage()

func (*DeleteAppRequest) ProtoReflect

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

func (*DeleteAppRequest) Reset

func (x *DeleteAppRequest) Reset()

func (*DeleteAppRequest) String

func (x *DeleteAppRequest) String() string

type DeleteDomainRequest

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

func (*DeleteDomainRequest) Descriptor deprecated

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

Deprecated: Use DeleteDomainRequest.ProtoReflect.Descriptor instead.

func (*DeleteDomainRequest) GetUuid

func (x *DeleteDomainRequest) GetUuid() string

func (*DeleteDomainRequest) ProtoMessage

func (*DeleteDomainRequest) ProtoMessage()

func (*DeleteDomainRequest) ProtoReflect

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

func (*DeleteDomainRequest) Reset

func (x *DeleteDomainRequest) Reset()

func (*DeleteDomainRequest) String

func (x *DeleteDomainRequest) String() string

type DeleteObjectRequest

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

func (*DeleteObjectRequest) Descriptor deprecated

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

Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteObjectRequest) GetUuid

func (x *DeleteObjectRequest) GetUuid() string

func (*DeleteObjectRequest) ProtoMessage

func (*DeleteObjectRequest) ProtoMessage()

func (*DeleteObjectRequest) ProtoReflect

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

func (*DeleteObjectRequest) Reset

func (x *DeleteObjectRequest) Reset()

func (*DeleteObjectRequest) String

func (x *DeleteObjectRequest) String() string

type DeleteResourceRequest

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

func (*DeleteResourceRequest) Descriptor deprecated

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

Deprecated: Use DeleteResourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteResourceRequest) GetUuid

func (x *DeleteResourceRequest) GetUuid() string

func (*DeleteResourceRequest) ProtoMessage

func (*DeleteResourceRequest) ProtoMessage()

func (*DeleteResourceRequest) ProtoReflect

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

func (*DeleteResourceRequest) Reset

func (x *DeleteResourceRequest) Reset()

func (*DeleteResourceRequest) String

func (x *DeleteResourceRequest) String() string

type DeleteRoleRequest

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

func (*DeleteRoleRequest) Descriptor deprecated

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

Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleRequest) GetUuid

func (x *DeleteRoleRequest) GetUuid() string

func (*DeleteRoleRequest) ProtoMessage

func (*DeleteRoleRequest) ProtoMessage()

func (*DeleteRoleRequest) ProtoReflect

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

func (*DeleteRoleRequest) Reset

func (x *DeleteRoleRequest) Reset()

func (*DeleteRoleRequest) String

func (x *DeleteRoleRequest) String() string

type DeleteRuleRequest

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

func (*DeleteRuleRequest) Descriptor deprecated

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

Deprecated: Use DeleteRuleRequest.ProtoReflect.Descriptor instead.

func (*DeleteRuleRequest) GetUuid

func (x *DeleteRuleRequest) GetUuid() string

func (*DeleteRuleRequest) ProtoMessage

func (*DeleteRuleRequest) ProtoMessage()

func (*DeleteRuleRequest) ProtoReflect

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

func (*DeleteRuleRequest) Reset

func (x *DeleteRuleRequest) Reset()

func (*DeleteRuleRequest) String

func (x *DeleteRuleRequest) String() string

type DeleteUserRequest

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

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetUuid

func (x *DeleteUserRequest) GetUuid() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserRoleRequest

type DeleteUserRoleRequest struct {
	Uuid         string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	UserRoleUuid string `protobuf:"bytes,2,opt,name=user_role_uuid,json=userRoleUuid,proto3" json:"user_role_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRoleRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRoleRequest) GetUserRoleUuid

func (x *DeleteUserRoleRequest) GetUserRoleUuid() string

func (*DeleteUserRoleRequest) GetUuid

func (x *DeleteUserRoleRequest) GetUuid() string

func (*DeleteUserRoleRequest) ProtoMessage

func (*DeleteUserRoleRequest) ProtoMessage()

func (*DeleteUserRoleRequest) ProtoReflect

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

func (*DeleteUserRoleRequest) Reset

func (x *DeleteUserRoleRequest) Reset()

func (*DeleteUserRoleRequest) String

func (x *DeleteUserRoleRequest) String() string

type Domain

type Domain struct {
	Uuid      string               `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name      string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Enable    bool                 `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Domain) Descriptor deprecated

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

Deprecated: Use Domain.ProtoReflect.Descriptor instead.

func (*Domain) GetCreatedAt

func (x *Domain) GetCreatedAt() *timestamp.Timestamp

func (*Domain) GetEnable

func (x *Domain) GetEnable() bool

func (*Domain) GetName

func (x *Domain) GetName() string

func (*Domain) GetUpdatedAt

func (x *Domain) GetUpdatedAt() *timestamp.Timestamp

func (*Domain) GetUuid

func (x *Domain) GetUuid() string

func (*Domain) ProtoMessage

func (*Domain) ProtoMessage()

func (*Domain) ProtoReflect

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

func (*Domain) Reset

func (x *Domain) Reset()

func (*Domain) String

func (x *Domain) String() string

type DomainServiceClient

type DomainServiceClient interface {
	// List Domains
	ListDomains(ctx context.Context, in *ListDomainsRequest, opts ...grpc.CallOption) (*ListDomainsResponse, error)
	// Get Domain
	GetDomain(ctx context.Context, in *GetDomainRequest, opts ...grpc.CallOption) (*Domain, error)
	// Create Domain object request
	CreateDomain(ctx context.Context, in *CreateDomainRequest, opts ...grpc.CallOption) (*Domain, error)
	// Update Domain object request
	UpdateDomain(ctx context.Context, in *UpdateDomainRequest, opts ...grpc.CallOption) (*Domain, error)
	// Delete Domain object request
	DeleteDomain(ctx context.Context, in *DeleteDomainRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

DomainServiceClient is the client API for DomainService 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 DomainServiceServer

type DomainServiceServer interface {
	// List Domains
	ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error)
	// Get Domain
	GetDomain(context.Context, *GetDomainRequest) (*Domain, error)
	// Create Domain object request
	CreateDomain(context.Context, *CreateDomainRequest) (*Domain, error)
	// Update Domain object request
	UpdateDomain(context.Context, *UpdateDomainRequest) (*Domain, error)
	// Delete Domain object request
	DeleteDomain(context.Context, *DeleteDomainRequest) (*empty.Empty, error)
	// contains filtered or unexported methods
}

DomainServiceServer is the server API for DomainService service. All implementations must embed UnimplementedDomainServiceServer for forward compatibility

type Effect

type Effect int32
const (
	Effect_DENY  Effect = 0
	Effect_ALLOW Effect = 1
)

func (Effect) Descriptor

func (Effect) Descriptor() protoreflect.EnumDescriptor

func (Effect) Enum

func (x Effect) Enum() *Effect

func (Effect) EnumDescriptor deprecated

func (Effect) EnumDescriptor() ([]byte, []int)

Deprecated: Use Effect.Descriptor instead.

func (Effect) Number

func (x Effect) Number() protoreflect.EnumNumber

func (Effect) String

func (x Effect) String() string

func (Effect) Type

func (Effect) Type() protoreflect.EnumType

type GetAppRequest

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

func (*GetAppRequest) Descriptor deprecated

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

Deprecated: Use GetAppRequest.ProtoReflect.Descriptor instead.

func (*GetAppRequest) GetUuid

func (x *GetAppRequest) GetUuid() string

func (*GetAppRequest) ProtoMessage

func (*GetAppRequest) ProtoMessage()

func (*GetAppRequest) ProtoReflect

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

func (*GetAppRequest) Reset

func (x *GetAppRequest) Reset()

func (*GetAppRequest) String

func (x *GetAppRequest) String() string

type GetAuditLogRequest

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

func (*GetAuditLogRequest) Descriptor deprecated

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

Deprecated: Use GetAuditLogRequest.ProtoReflect.Descriptor instead.

func (*GetAuditLogRequest) GetUuid

func (x *GetAuditLogRequest) GetUuid() string

func (*GetAuditLogRequest) ProtoMessage

func (*GetAuditLogRequest) ProtoMessage()

func (*GetAuditLogRequest) ProtoReflect

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

func (*GetAuditLogRequest) Reset

func (x *GetAuditLogRequest) Reset()

func (*GetAuditLogRequest) String

func (x *GetAuditLogRequest) String() string

type GetDomainRequest

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

func (*GetDomainRequest) Descriptor deprecated

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

Deprecated: Use GetDomainRequest.ProtoReflect.Descriptor instead.

func (*GetDomainRequest) GetUuid

func (x *GetDomainRequest) GetUuid() string

func (*GetDomainRequest) ProtoMessage

func (*GetDomainRequest) ProtoMessage()

func (*GetDomainRequest) ProtoReflect

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

func (*GetDomainRequest) Reset

func (x *GetDomainRequest) Reset()

func (*GetDomainRequest) String

func (x *GetDomainRequest) String() string

type GetObjectRequest

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

func (*GetObjectRequest) Descriptor deprecated

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

Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.

func (*GetObjectRequest) GetUuid

func (x *GetObjectRequest) GetUuid() string

func (*GetObjectRequest) ProtoMessage

func (*GetObjectRequest) ProtoMessage()

func (*GetObjectRequest) ProtoReflect

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

func (*GetObjectRequest) Reset

func (x *GetObjectRequest) Reset()

func (*GetObjectRequest) String

func (x *GetObjectRequest) String() string

type GetResourceRequest

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

func (*GetResourceRequest) Descriptor deprecated

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

Deprecated: Use GetResourceRequest.ProtoReflect.Descriptor instead.

func (*GetResourceRequest) GetUuid

func (x *GetResourceRequest) GetUuid() string

func (*GetResourceRequest) ProtoMessage

func (*GetResourceRequest) ProtoMessage()

func (*GetResourceRequest) ProtoReflect

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

func (*GetResourceRequest) Reset

func (x *GetResourceRequest) Reset()

func (*GetResourceRequest) String

func (x *GetResourceRequest) String() string

type GetRoleRequest

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

func (*GetRoleRequest) Descriptor deprecated

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

Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead.

func (*GetRoleRequest) GetUuid

func (x *GetRoleRequest) GetUuid() string

func (*GetRoleRequest) ProtoMessage

func (*GetRoleRequest) ProtoMessage()

func (*GetRoleRequest) ProtoReflect

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

func (*GetRoleRequest) Reset

func (x *GetRoleRequest) Reset()

func (*GetRoleRequest) String

func (x *GetRoleRequest) String() string

type GetRuleRequest

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

func (*GetRuleRequest) Descriptor deprecated

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

Deprecated: Use GetRuleRequest.ProtoReflect.Descriptor instead.

func (*GetRuleRequest) GetUuid

func (x *GetRuleRequest) GetUuid() string

func (*GetRuleRequest) ProtoMessage

func (*GetRuleRequest) ProtoMessage()

func (*GetRuleRequest) ProtoReflect

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

func (*GetRuleRequest) Reset

func (x *GetRuleRequest) Reset()

func (*GetRuleRequest) String

func (x *GetRuleRequest) String() string

type GetUserRequest

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

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetUuid

func (x *GetUserRequest) GetUuid() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type ListAppsRequest

type ListAppsRequest struct {
	Limit  int64  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Query  string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppsRequest) Descriptor deprecated

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

Deprecated: Use ListAppsRequest.ProtoReflect.Descriptor instead.

func (*ListAppsRequest) GetLimit

func (x *ListAppsRequest) GetLimit() int64

func (*ListAppsRequest) GetOffset

func (x *ListAppsRequest) GetOffset() int64

func (*ListAppsRequest) GetQuery

func (x *ListAppsRequest) GetQuery() string

func (*ListAppsRequest) ProtoMessage

func (*ListAppsRequest) ProtoMessage()

func (*ListAppsRequest) ProtoReflect

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

func (*ListAppsRequest) Reset

func (x *ListAppsRequest) Reset()

func (*ListAppsRequest) String

func (x *ListAppsRequest) String() string

type ListAppsResponse

type ListAppsResponse struct {
	Apps       []*App `protobuf:"bytes,1,rep,name=apps,proto3" json:"apps,omitempty"`
	TotalCount int64  `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Limit      int64  `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset     int64  `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAppsResponse) Descriptor deprecated

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

Deprecated: Use ListAppsResponse.ProtoReflect.Descriptor instead.

func (*ListAppsResponse) GetApps

func (x *ListAppsResponse) GetApps() []*App

func (*ListAppsResponse) GetLimit

func (x *ListAppsResponse) GetLimit() int64

func (*ListAppsResponse) GetOffset

func (x *ListAppsResponse) GetOffset() int64

func (*ListAppsResponse) GetTotalCount

func (x *ListAppsResponse) GetTotalCount() int64

func (*ListAppsResponse) ProtoMessage

func (*ListAppsResponse) ProtoMessage()

func (*ListAppsResponse) ProtoReflect

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

func (*ListAppsResponse) Reset

func (x *ListAppsResponse) Reset()

func (*ListAppsResponse) String

func (x *ListAppsResponse) String() string

type ListAuditLogsRequest

type ListAuditLogsRequest struct {
	Limit  int64  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Query  string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditLogsRequest) Descriptor deprecated

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

Deprecated: Use ListAuditLogsRequest.ProtoReflect.Descriptor instead.

func (*ListAuditLogsRequest) GetLimit

func (x *ListAuditLogsRequest) GetLimit() int64

func (*ListAuditLogsRequest) GetOffset

func (x *ListAuditLogsRequest) GetOffset() int64

func (*ListAuditLogsRequest) GetQuery

func (x *ListAuditLogsRequest) GetQuery() string

func (*ListAuditLogsRequest) ProtoMessage

func (*ListAuditLogsRequest) ProtoMessage()

func (*ListAuditLogsRequest) ProtoReflect

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

func (*ListAuditLogsRequest) Reset

func (x *ListAuditLogsRequest) Reset()

func (*ListAuditLogsRequest) String

func (x *ListAuditLogsRequest) String() string

type ListAuditLogsResponse

type ListAuditLogsResponse struct {
	AuditLogs  []*AuditLog `protobuf:"bytes,1,rep,name=audit_logs,json=auditLogs,proto3" json:"audit_logs,omitempty"`
	TotalCount int64       `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Limit      int64       `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset     int64       `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditLogsResponse) Descriptor deprecated

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

Deprecated: Use ListAuditLogsResponse.ProtoReflect.Descriptor instead.

func (*ListAuditLogsResponse) GetAuditLogs

func (x *ListAuditLogsResponse) GetAuditLogs() []*AuditLog

func (*ListAuditLogsResponse) GetLimit

func (x *ListAuditLogsResponse) GetLimit() int64

func (*ListAuditLogsResponse) GetOffset

func (x *ListAuditLogsResponse) GetOffset() int64

func (*ListAuditLogsResponse) GetTotalCount

func (x *ListAuditLogsResponse) GetTotalCount() int64

func (*ListAuditLogsResponse) ProtoMessage

func (*ListAuditLogsResponse) ProtoMessage()

func (*ListAuditLogsResponse) ProtoReflect

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

func (*ListAuditLogsResponse) Reset

func (x *ListAuditLogsResponse) Reset()

func (*ListAuditLogsResponse) String

func (x *ListAuditLogsResponse) String() string

type ListDomainsRequest

type ListDomainsRequest struct {
	Limit  int64  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Query  string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDomainsRequest) Descriptor deprecated

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

Deprecated: Use ListDomainsRequest.ProtoReflect.Descriptor instead.

func (*ListDomainsRequest) GetLimit

func (x *ListDomainsRequest) GetLimit() int64

func (*ListDomainsRequest) GetOffset

func (x *ListDomainsRequest) GetOffset() int64

func (*ListDomainsRequest) GetQuery

func (x *ListDomainsRequest) GetQuery() string

func (*ListDomainsRequest) ProtoMessage

func (*ListDomainsRequest) ProtoMessage()

func (*ListDomainsRequest) ProtoReflect

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

func (*ListDomainsRequest) Reset

func (x *ListDomainsRequest) Reset()

func (*ListDomainsRequest) String

func (x *ListDomainsRequest) String() string

type ListDomainsResponse

type ListDomainsResponse struct {
	Domains    []*Domain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
	TotalCount int64     `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Limit      int64     `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset     int64     `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDomainsResponse) Descriptor deprecated

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

Deprecated: Use ListDomainsResponse.ProtoReflect.Descriptor instead.

func (*ListDomainsResponse) GetDomains

func (x *ListDomainsResponse) GetDomains() []*Domain

func (*ListDomainsResponse) GetLimit

func (x *ListDomainsResponse) GetLimit() int64

func (*ListDomainsResponse) GetOffset

func (x *ListDomainsResponse) GetOffset() int64

func (*ListDomainsResponse) GetTotalCount

func (x *ListDomainsResponse) GetTotalCount() int64

func (*ListDomainsResponse) ProtoMessage

func (*ListDomainsResponse) ProtoMessage()

func (*ListDomainsResponse) ProtoReflect

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

func (*ListDomainsResponse) Reset

func (x *ListDomainsResponse) Reset()

func (*ListDomainsResponse) String

func (x *ListDomainsResponse) String() string

type ListObjectsRequest

type ListObjectsRequest struct {
	Limit  int64  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Query  string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	Uuid   string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*ListObjectsRequest) Descriptor deprecated

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

Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.

func (*ListObjectsRequest) GetLimit

func (x *ListObjectsRequest) GetLimit() int64

func (*ListObjectsRequest) GetOffset

func (x *ListObjectsRequest) GetOffset() int64

func (*ListObjectsRequest) GetQuery

func (x *ListObjectsRequest) GetQuery() string

func (*ListObjectsRequest) GetUuid

func (x *ListObjectsRequest) GetUuid() string

func (*ListObjectsRequest) ProtoMessage

func (*ListObjectsRequest) ProtoMessage()

func (*ListObjectsRequest) ProtoReflect

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

func (*ListObjectsRequest) Reset

func (x *ListObjectsRequest) Reset()

func (*ListObjectsRequest) String

func (x *ListObjectsRequest) String() string

type ListObjectsResponse

type ListObjectsResponse struct {
	Objects    []*Object `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	TotalCount int64     `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Limit      int64     `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset     int64     `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListObjectsResponse) Descriptor deprecated

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

Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.

func (*ListObjectsResponse) GetLimit

func (x *ListObjectsResponse) GetLimit() int64

func (*ListObjectsResponse) GetObjects

func (x *ListObjectsResponse) GetObjects() []*Object

func (*ListObjectsResponse) GetOffset

func (x *ListObjectsResponse) GetOffset() int64

func (*ListObjectsResponse) GetTotalCount

func (x *ListObjectsResponse) GetTotalCount() int64

func (*ListObjectsResponse) ProtoMessage

func (*ListObjectsResponse) ProtoMessage()

func (*ListObjectsResponse) ProtoReflect

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

func (*ListObjectsResponse) Reset

func (x *ListObjectsResponse) Reset()

func (*ListObjectsResponse) String

func (x *ListObjectsResponse) String() string

type ListResourcesRequest

type ListResourcesRequest struct {
	Limit  int64  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Query  string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	Uuid   string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesRequest) Descriptor deprecated

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

Deprecated: Use ListResourcesRequest.ProtoReflect.Descriptor instead.

func (*ListResourcesRequest) GetLimit

func (x *ListResourcesRequest) GetLimit() int64

func (*ListResourcesRequest) GetOffset

func (x *ListResourcesRequest) GetOffset() int64

func (*ListResourcesRequest) GetQuery

func (x *ListResourcesRequest) GetQuery() string

func (*ListResourcesRequest) GetUuid

func (x *ListResourcesRequest) GetUuid() string

func (*ListResourcesRequest) ProtoMessage

func (*ListResourcesRequest) ProtoMessage()

func (*ListResourcesRequest) ProtoReflect

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

func (*ListResourcesRequest) Reset

func (x *ListResourcesRequest) Reset()

func (*ListResourcesRequest) String

func (x *ListResourcesRequest) String() string

type ListResourcesResponse

type ListResourcesResponse struct {
	Resources  []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
	TotalCount int64       `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Limit      int64       `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset     int64       `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcesResponse) Descriptor deprecated

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

Deprecated: Use ListResourcesResponse.ProtoReflect.Descriptor instead.

func (*ListResourcesResponse) GetLimit

func (x *ListResourcesResponse) GetLimit() int64

func (*ListResourcesResponse) GetOffset

func (x *ListResourcesResponse) GetOffset() int64

func (*ListResourcesResponse) GetResources

func (x *ListResourcesResponse) GetResources() []*Resource

func (*ListResourcesResponse) GetTotalCount

func (x *ListResourcesResponse) GetTotalCount() int64

func (*ListResourcesResponse) ProtoMessage

func (*ListResourcesResponse) ProtoMessage()

func (*ListResourcesResponse) ProtoReflect

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

func (*ListResourcesResponse) Reset

func (x *ListResourcesResponse) Reset()

func (*ListResourcesResponse) String

func (x *ListResourcesResponse) String() string

type ListRolesRequest

type ListRolesRequest struct {
	Limit  int64  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Query  string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesRequest) Descriptor deprecated

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

Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.

func (*ListRolesRequest) GetLimit

func (x *ListRolesRequest) GetLimit() int64

func (*ListRolesRequest) GetOffset

func (x *ListRolesRequest) GetOffset() int64

func (*ListRolesRequest) GetQuery

func (x *ListRolesRequest) GetQuery() string

func (*ListRolesRequest) ProtoMessage

func (*ListRolesRequest) ProtoMessage()

func (*ListRolesRequest) ProtoReflect

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

func (*ListRolesRequest) Reset

func (x *ListRolesRequest) Reset()

func (*ListRolesRequest) String

func (x *ListRolesRequest) String() string

type ListRolesResponse

type ListRolesResponse struct {
	Roles      []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	TotalCount int64   `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Limit      int64   `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset     int64   `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesResponse) Descriptor deprecated

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

Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.

func (*ListRolesResponse) GetLimit

func (x *ListRolesResponse) GetLimit() int64

func (*ListRolesResponse) GetOffset

func (x *ListRolesResponse) GetOffset() int64

func (*ListRolesResponse) GetRoles

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

func (*ListRolesResponse) GetTotalCount

func (x *ListRolesResponse) GetTotalCount() int64

func (*ListRolesResponse) ProtoMessage

func (*ListRolesResponse) ProtoMessage()

func (*ListRolesResponse) ProtoReflect

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

func (*ListRolesResponse) Reset

func (x *ListRolesResponse) Reset()

func (*ListRolesResponse) String

func (x *ListRolesResponse) String() string

type ListRulesRequest

type ListRulesRequest struct {
	Limit  int64  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Query  string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRulesRequest) Descriptor deprecated

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

Deprecated: Use ListRulesRequest.ProtoReflect.Descriptor instead.

func (*ListRulesRequest) GetLimit

func (x *ListRulesRequest) GetLimit() int64

func (*ListRulesRequest) GetOffset

func (x *ListRulesRequest) GetOffset() int64

func (*ListRulesRequest) GetQuery

func (x *ListRulesRequest) GetQuery() string

func (*ListRulesRequest) ProtoMessage

func (*ListRulesRequest) ProtoMessage()

func (*ListRulesRequest) ProtoReflect

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

func (*ListRulesRequest) Reset

func (x *ListRulesRequest) Reset()

func (*ListRulesRequest) String

func (x *ListRulesRequest) String() string

type ListRulesResponse

type ListRulesResponse struct {
	Rules      []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	TotalCount int64   `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Limit      int64   `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset     int64   `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRulesResponse) Descriptor deprecated

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

Deprecated: Use ListRulesResponse.ProtoReflect.Descriptor instead.

func (*ListRulesResponse) GetLimit

func (x *ListRulesResponse) GetLimit() int64

func (*ListRulesResponse) GetOffset

func (x *ListRulesResponse) GetOffset() int64

func (*ListRulesResponse) GetRules

func (x *ListRulesResponse) GetRules() []*Rule

func (*ListRulesResponse) GetTotalCount

func (x *ListRulesResponse) GetTotalCount() int64

func (*ListRulesResponse) ProtoMessage

func (*ListRulesResponse) ProtoMessage()

func (*ListRulesResponse) ProtoReflect

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

func (*ListRulesResponse) Reset

func (x *ListRulesResponse) Reset()

func (*ListRulesResponse) String

func (x *ListRulesResponse) String() string

type ListUsersRequest

type ListUsersRequest struct {
	Limit  int64  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Query  string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetLimit

func (x *ListUsersRequest) GetLimit() int64

func (*ListUsersRequest) GetOffset

func (x *ListUsersRequest) GetOffset() int64

func (*ListUsersRequest) GetQuery

func (x *ListUsersRequest) GetQuery() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {
	Users      []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	TotalCount int64   `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Limit      int64   `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset     int64   `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetLimit

func (x *ListUsersResponse) GetLimit() int64

func (*ListUsersResponse) GetOffset

func (x *ListUsersResponse) GetOffset() int64

func (*ListUsersResponse) GetTotalCount

func (x *ListUsersResponse) GetTotalCount() int64

func (*ListUsersResponse) GetUsers

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

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

type LoginRequest

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

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetUsername

func (x *LoginRequest) GetUsername() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetAccessToken

func (x *LoginResponse) GetAccessToken() string

func (*LoginResponse) GetRefreshToken

func (x *LoginResponse) GetRefreshToken() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type LogoutRequest

type LogoutRequest struct {
	// contains filtered or unexported fields
}

func (*LogoutRequest) Descriptor deprecated

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

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

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

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

type LogoutResponse

type LogoutResponse struct {
	RedirectTo string `protobuf:"bytes,1,opt,name=redirect_to,json=redirectTo,proto3" json:"redirect_to,omitempty"`
	// contains filtered or unexported fields
}

func (*LogoutResponse) Descriptor deprecated

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

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) GetRedirectTo

func (x *LogoutResponse) GetRedirectTo() string

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

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

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

type Object

type Object struct {
	Uuid       string               `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Identifier string               `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	App        *App                 `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"`
	CreatedAt  *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Object) Descriptor deprecated

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetApp

func (x *Object) GetApp() *App

func (*Object) GetCreatedAt

func (x *Object) GetCreatedAt() *timestamp.Timestamp

func (*Object) GetIdentifier

func (x *Object) GetIdentifier() string

func (*Object) GetUpdatedAt

func (x *Object) GetUpdatedAt() *timestamp.Timestamp

func (*Object) GetUuid

func (x *Object) GetUuid() string

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

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

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

type RefreshTokenRequest

type RefreshTokenRequest struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenRequest) Descriptor deprecated

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

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) GetRefreshToken

func (x *RefreshTokenRequest) GetRefreshToken() string

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) ProtoReflect

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

func (*RefreshTokenRequest) Reset

func (x *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (x *RefreshTokenRequest) String() string

type RefreshTokenResponse

type RefreshTokenResponse struct {
	AccessToken  string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshTokenResponse) Descriptor deprecated

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

Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.

func (*RefreshTokenResponse) GetAccessToken

func (x *RefreshTokenResponse) GetAccessToken() string

func (*RefreshTokenResponse) GetRefreshToken

func (x *RefreshTokenResponse) GetRefreshToken() string

func (*RefreshTokenResponse) ProtoMessage

func (*RefreshTokenResponse) ProtoMessage()

func (*RefreshTokenResponse) ProtoReflect

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

func (*RefreshTokenResponse) Reset

func (x *RefreshTokenResponse) Reset()

func (*RefreshTokenResponse) String

func (x *RefreshTokenResponse) String() string

type RegisterRequest

type RegisterRequest struct {
	Firstname string `protobuf:"bytes,1,opt,name=firstname,proto3" json:"firstname,omitempty"`
	Lastname  string `protobuf:"bytes,2,opt,name=lastname,proto3" json:"lastname,omitempty"`
	Gender    string `protobuf:"bytes,3,opt,name=gender,proto3" json:"gender,omitempty"`
	AvatarUrl string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Username  string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	Password  string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	Email     string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
	RawData   string `protobuf:"bytes,8,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetAvatarUrl

func (x *RegisterRequest) GetAvatarUrl() string

func (*RegisterRequest) GetEmail

func (x *RegisterRequest) GetEmail() string

func (*RegisterRequest) GetFirstname

func (x *RegisterRequest) GetFirstname() string

func (*RegisterRequest) GetGender

func (x *RegisterRequest) GetGender() string

func (*RegisterRequest) GetLastname

func (x *RegisterRequest) GetLastname() string

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() string

func (*RegisterRequest) GetRawData

func (x *RegisterRequest) GetRawData() string

func (*RegisterRequest) GetUsername

func (x *RegisterRequest) GetUsername() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterResponse

type RegisterResponse struct {
	Uuid      string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Firstname string `protobuf:"bytes,2,opt,name=firstname,proto3" json:"firstname,omitempty"`
	Lastname  string `protobuf:"bytes,3,opt,name=lastname,proto3" json:"lastname,omitempty"`
	Gender    string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"`
	AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Username  string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`
	Password  string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"`
	Email     string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"`
	RawData   string `protobuf:"bytes,9,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse) Descriptor deprecated

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetAvatarUrl

func (x *RegisterResponse) GetAvatarUrl() string

func (*RegisterResponse) GetEmail

func (x *RegisterResponse) GetEmail() string

func (*RegisterResponse) GetFirstname

func (x *RegisterResponse) GetFirstname() string

func (*RegisterResponse) GetGender

func (x *RegisterResponse) GetGender() string

func (*RegisterResponse) GetLastname

func (x *RegisterResponse) GetLastname() string

func (*RegisterResponse) GetPassword

func (x *RegisterResponse) GetPassword() string

func (*RegisterResponse) GetRawData

func (x *RegisterResponse) GetRawData() string

func (*RegisterResponse) GetUsername

func (x *RegisterResponse) GetUsername() string

func (*RegisterResponse) GetUuid

func (x *RegisterResponse) GetUuid() string

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type Resource

type Resource struct {
	Uuid      string               `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name      string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	App       *App                 `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetApp

func (x *Resource) GetApp() *App

func (*Resource) GetCreatedAt

func (x *Resource) GetCreatedAt() *timestamp.Timestamp

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) GetUpdatedAt

func (x *Resource) GetUpdatedAt() *timestamp.Timestamp

func (*Resource) GetUuid

func (x *Resource) GetUuid() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type Role

type Role struct {
	Uuid      string               `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Title     string               `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Enable    bool                 `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetCreatedAt

func (x *Role) GetCreatedAt() *timestamp.Timestamp

func (*Role) GetEnable

func (x *Role) GetEnable() bool

func (*Role) GetTitle

func (x *Role) GetTitle() string

func (*Role) GetUpdatedAt

func (x *Role) GetUpdatedAt() *timestamp.Timestamp

func (*Role) GetUuid

func (x *Role) GetUuid() string

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 RoleServiceClient

type RoleServiceClient interface {
	// List Roles
	ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, error)
	// Get Role
	GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*Role, error)
	// Create Role object request
	CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*Role, error)
	// Update Role object request
	UpdateRole(ctx context.Context, in *UpdateRoleRequest, opts ...grpc.CallOption) (*Role, error)
	// Delete Role object request
	DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

RoleServiceClient is the client API for RoleService 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 RoleServiceServer

type RoleServiceServer interface {
	// List Roles
	ListRoles(context.Context, *ListRolesRequest) (*ListRolesResponse, error)
	// Get Role
	GetRole(context.Context, *GetRoleRequest) (*Role, error)
	// Create Role object request
	CreateRole(context.Context, *CreateRoleRequest) (*Role, error)
	// Update Role object request
	UpdateRole(context.Context, *UpdateRoleRequest) (*Role, error)
	// Delete Role object request
	DeleteRole(context.Context, *DeleteRoleRequest) (*empty.Empty, error)
	// contains filtered or unexported methods
}

RoleServiceServer is the server API for RoleService service. All implementations must embed UnimplementedRoleServiceServer for forward compatibility

type Rule

type Rule struct {
	Uuid      string               `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Role      string               `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	Domain    string               `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	Object    string               `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"`
	Action    string               `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
	Resource  string               `protobuf:"bytes,6,opt,name=resource,proto3" json:"resource,omitempty"`
	Effect    Effect               `protobuf:"varint,7,opt,name=effect,proto3,enum=authV1.Effect" json:"effect,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Rule) Descriptor deprecated

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

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetAction

func (x *Rule) GetAction() string

func (*Rule) GetCreatedAt

func (x *Rule) GetCreatedAt() *timestamp.Timestamp

func (*Rule) GetDomain

func (x *Rule) GetDomain() string

func (*Rule) GetEffect

func (x *Rule) GetEffect() Effect

func (*Rule) GetObject

func (x *Rule) GetObject() string

func (*Rule) GetResource

func (x *Rule) GetResource() string

func (*Rule) GetRole

func (x *Rule) GetRole() string

func (*Rule) GetUpdatedAt

func (x *Rule) GetUpdatedAt() *timestamp.Timestamp

func (*Rule) GetUuid

func (x *Rule) GetUuid() string

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

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

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) String

func (x *Rule) String() string

type RuleServiceClient

type RuleServiceClient interface {
	// List Rules
	ListRules(ctx context.Context, in *ListRulesRequest, opts ...grpc.CallOption) (*ListRulesResponse, error)
	// Get Rule
	GetRule(ctx context.Context, in *GetRuleRequest, opts ...grpc.CallOption) (*Rule, error)
	// Create Rule object request
	CreateRule(ctx context.Context, in *CreateRuleRequest, opts ...grpc.CallOption) (*Rule, error)
	// Update Rule object request
	UpdateRule(ctx context.Context, in *UpdateRuleRequest, opts ...grpc.CallOption) (*Rule, error)
	// Delete Rule object request
	DeleteRule(ctx context.Context, in *DeleteRuleRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

RuleServiceClient is the client API for RuleService 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 RuleServiceServer

type RuleServiceServer interface {
	// List Rules
	ListRules(context.Context, *ListRulesRequest) (*ListRulesResponse, error)
	// Get Rule
	GetRule(context.Context, *GetRuleRequest) (*Rule, error)
	// Create Rule object request
	CreateRule(context.Context, *CreateRuleRequest) (*Rule, error)
	// Update Rule object request
	UpdateRule(context.Context, *UpdateRuleRequest) (*Rule, error)
	// Delete Rule object request
	DeleteRule(context.Context, *DeleteRuleRequest) (*empty.Empty, error)
	// contains filtered or unexported methods
}

RuleServiceServer is the server API for RuleService service. All implementations must embed UnimplementedRuleServiceServer for forward compatibility

type UnimplementedAppServiceServer

type UnimplementedAppServiceServer struct {
}

UnimplementedAppServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAppServiceServer) CreateApp

func (UnimplementedAppServiceServer) CreateObject

func (UnimplementedAppServiceServer) CreateResource

func (UnimplementedAppServiceServer) DeleteApp

func (UnimplementedAppServiceServer) DeleteObject

func (UnimplementedAppServiceServer) DeleteResource

func (UnimplementedAppServiceServer) GetApp

func (UnimplementedAppServiceServer) GetObject

func (UnimplementedAppServiceServer) GetResource

func (UnimplementedAppServiceServer) ListApps

func (UnimplementedAppServiceServer) ListObjects

func (UnimplementedAppServiceServer) ListResources

func (UnimplementedAppServiceServer) UpdateApp

func (UnimplementedAppServiceServer) UpdateObject

func (UnimplementedAppServiceServer) UpdateResource

type UnimplementedAuditLogServiceServer

type UnimplementedAuditLogServiceServer struct {
}

UnimplementedAuditLogServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuditLogServiceServer) GetAuditLog

func (UnimplementedAuditLogServiceServer) ListAuditLogs

type UnimplementedAuthServiceServer

type UnimplementedAuthServiceServer struct {
}

UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAuthServiceServer) Login

func (UnimplementedAuthServiceServer) Logout

func (UnimplementedAuthServiceServer) RefreshToken

func (UnimplementedAuthServiceServer) Register

func (UnimplementedAuthServiceServer) Validate

func (UnimplementedAuthServiceServer) VerifyToken

type UnimplementedDomainServiceServer

type UnimplementedDomainServiceServer struct {
}

UnimplementedDomainServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDomainServiceServer) CreateDomain

func (UnimplementedDomainServiceServer) DeleteDomain

func (UnimplementedDomainServiceServer) GetDomain

func (UnimplementedDomainServiceServer) ListDomains

func (UnimplementedDomainServiceServer) UpdateDomain

type UnimplementedRoleServiceServer

type UnimplementedRoleServiceServer struct {
}

UnimplementedRoleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRoleServiceServer) CreateRole

func (UnimplementedRoleServiceServer) DeleteRole

func (UnimplementedRoleServiceServer) GetRole

func (UnimplementedRoleServiceServer) ListRoles

func (UnimplementedRoleServiceServer) UpdateRole

type UnimplementedRuleServiceServer

type UnimplementedRuleServiceServer struct {
}

UnimplementedRuleServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRuleServiceServer) CreateRule

func (UnimplementedRuleServiceServer) DeleteRule

func (UnimplementedRuleServiceServer) GetRule

func (UnimplementedRuleServiceServer) ListRules

func (UnimplementedRuleServiceServer) UpdateRule

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) AddUserRole

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) DeleteUser

func (UnimplementedUserServiceServer) DeleteUserRole

func (UnimplementedUserServiceServer) GetUser

func (UnimplementedUserServiceServer) ListUsers

func (UnimplementedUserServiceServer) UpdateUser

func (UnimplementedUserServiceServer) UpdateUserRole

type UnsafeAppServiceServer

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

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

type UnsafeAuditLogServiceServer

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

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

type UnsafeAuthServiceServer

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

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

type UnsafeDomainServiceServer

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

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

type UnsafeRoleServiceServer

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

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

type UnsafeRuleServiceServer

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

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

type UnsafeUserServiceServer

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

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

type UpdateAppRequest

type UpdateAppRequest struct {
	Uuid   string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Enable bool   `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAppRequest) Descriptor deprecated

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

Deprecated: Use UpdateAppRequest.ProtoReflect.Descriptor instead.

func (*UpdateAppRequest) GetEnable

func (x *UpdateAppRequest) GetEnable() bool

func (*UpdateAppRequest) GetName

func (x *UpdateAppRequest) GetName() string

func (*UpdateAppRequest) GetUuid

func (x *UpdateAppRequest) GetUuid() string

func (*UpdateAppRequest) ProtoMessage

func (*UpdateAppRequest) ProtoMessage()

func (*UpdateAppRequest) ProtoReflect

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

func (*UpdateAppRequest) Reset

func (x *UpdateAppRequest) Reset()

func (*UpdateAppRequest) String

func (x *UpdateAppRequest) String() string

type UpdateDomainRequest

type UpdateDomainRequest struct {
	Uuid   string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Enable bool   `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDomainRequest) Descriptor deprecated

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

Deprecated: Use UpdateDomainRequest.ProtoReflect.Descriptor instead.

func (*UpdateDomainRequest) GetEnable

func (x *UpdateDomainRequest) GetEnable() bool

func (*UpdateDomainRequest) GetName

func (x *UpdateDomainRequest) GetName() string

func (*UpdateDomainRequest) GetUuid

func (x *UpdateDomainRequest) GetUuid() string

func (*UpdateDomainRequest) ProtoMessage

func (*UpdateDomainRequest) ProtoMessage()

func (*UpdateDomainRequest) ProtoReflect

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

func (*UpdateDomainRequest) Reset

func (x *UpdateDomainRequest) Reset()

func (*UpdateDomainRequest) String

func (x *UpdateDomainRequest) String() string

type UpdateObjectRequest

type UpdateObjectRequest struct {
	Uuid       string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Identifier string `protobuf:"bytes,2,opt,name=identifier,proto3" json:"identifier,omitempty"`
	AppUuid    string `protobuf:"bytes,3,opt,name=app_uuid,json=appUuid,proto3" json:"app_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateObjectRequest) Descriptor deprecated

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

Deprecated: Use UpdateObjectRequest.ProtoReflect.Descriptor instead.

func (*UpdateObjectRequest) GetAppUuid

func (x *UpdateObjectRequest) GetAppUuid() string

func (*UpdateObjectRequest) GetIdentifier

func (x *UpdateObjectRequest) GetIdentifier() string

func (*UpdateObjectRequest) GetUuid

func (x *UpdateObjectRequest) GetUuid() string

func (*UpdateObjectRequest) ProtoMessage

func (*UpdateObjectRequest) ProtoMessage()

func (*UpdateObjectRequest) ProtoReflect

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

func (*UpdateObjectRequest) Reset

func (x *UpdateObjectRequest) Reset()

func (*UpdateObjectRequest) String

func (x *UpdateObjectRequest) String() string

type UpdateResourceRequest

type UpdateResourceRequest struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	AppUuid string `protobuf:"bytes,3,opt,name=app_uuid,json=appUuid,proto3" json:"app_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResourceRequest) Descriptor deprecated

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

Deprecated: Use UpdateResourceRequest.ProtoReflect.Descriptor instead.

func (*UpdateResourceRequest) GetAppUuid

func (x *UpdateResourceRequest) GetAppUuid() string

func (*UpdateResourceRequest) GetName

func (x *UpdateResourceRequest) GetName() string

func (*UpdateResourceRequest) GetUuid

func (x *UpdateResourceRequest) GetUuid() string

func (*UpdateResourceRequest) ProtoMessage

func (*UpdateResourceRequest) ProtoMessage()

func (*UpdateResourceRequest) ProtoReflect

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

func (*UpdateResourceRequest) Reset

func (x *UpdateResourceRequest) Reset()

func (*UpdateResourceRequest) String

func (x *UpdateResourceRequest) String() string

type UpdateRoleRequest

type UpdateRoleRequest struct {
	Uuid   string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Title  string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Enable bool   `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleRequest) Descriptor deprecated

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

Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetEnable

func (x *UpdateRoleRequest) GetEnable() bool

func (*UpdateRoleRequest) GetTitle

func (x *UpdateRoleRequest) GetTitle() string

func (*UpdateRoleRequest) GetUuid

func (x *UpdateRoleRequest) GetUuid() string

func (*UpdateRoleRequest) ProtoMessage

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) ProtoReflect

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

func (*UpdateRoleRequest) Reset

func (x *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) String

func (x *UpdateRoleRequest) String() string

type UpdateRuleRequest

type UpdateRuleRequest struct {
	Uuid     string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Role     string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	Domain   string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	Object   string `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"`
	Action   string `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
	Resource string `protobuf:"bytes,6,opt,name=resource,proto3" json:"resource,omitempty"`
	Effect   Effect `protobuf:"varint,7,opt,name=effect,proto3,enum=authV1.Effect" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRuleRequest) Descriptor deprecated

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

Deprecated: Use UpdateRuleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRuleRequest) GetAction

func (x *UpdateRuleRequest) GetAction() string

func (*UpdateRuleRequest) GetDomain

func (x *UpdateRuleRequest) GetDomain() string

func (*UpdateRuleRequest) GetEffect

func (x *UpdateRuleRequest) GetEffect() Effect

func (*UpdateRuleRequest) GetObject

func (x *UpdateRuleRequest) GetObject() string

func (*UpdateRuleRequest) GetResource

func (x *UpdateRuleRequest) GetResource() string

func (*UpdateRuleRequest) GetRole

func (x *UpdateRuleRequest) GetRole() string

func (*UpdateRuleRequest) GetUuid

func (x *UpdateRuleRequest) GetUuid() string

func (*UpdateRuleRequest) ProtoMessage

func (*UpdateRuleRequest) ProtoMessage()

func (*UpdateRuleRequest) ProtoReflect

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

func (*UpdateRuleRequest) Reset

func (x *UpdateRuleRequest) Reset()

func (*UpdateRuleRequest) String

func (x *UpdateRuleRequest) String() string

type UpdateUserRequest

type UpdateUserRequest struct {
	Uuid      string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Firstname string `protobuf:"bytes,2,opt,name=firstname,proto3" json:"firstname,omitempty"`
	Lastname  string `protobuf:"bytes,3,opt,name=lastname,proto3" json:"lastname,omitempty"`
	Gender    string `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"`
	AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Username  string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`
	Password  string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"`
	Email     string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"`
	Enable    bool   `protobuf:"varint,9,opt,name=enable,proto3" json:"enable,omitempty"`
	RawData   string `protobuf:"bytes,10,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetAvatarUrl

func (x *UpdateUserRequest) GetAvatarUrl() string

func (*UpdateUserRequest) GetEmail

func (x *UpdateUserRequest) GetEmail() string

func (*UpdateUserRequest) GetEnable

func (x *UpdateUserRequest) GetEnable() bool

func (*UpdateUserRequest) GetFirstname

func (x *UpdateUserRequest) GetFirstname() string

func (*UpdateUserRequest) GetGender

func (x *UpdateUserRequest) GetGender() string

func (*UpdateUserRequest) GetLastname

func (x *UpdateUserRequest) GetLastname() string

func (*UpdateUserRequest) GetPassword

func (x *UpdateUserRequest) GetPassword() string

func (*UpdateUserRequest) GetRawData

func (x *UpdateUserRequest) GetRawData() string

func (*UpdateUserRequest) GetUsername

func (x *UpdateUserRequest) GetUsername() string

func (*UpdateUserRequest) GetUuid

func (x *UpdateUserRequest) GetUuid() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type UpdateUserRoleRequest

type UpdateUserRoleRequest struct {
	Uuid         string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	UserRoleUuid string `protobuf:"bytes,2,opt,name=user_role_uuid,json=userRoleUuid,proto3" json:"user_role_uuid,omitempty"`
	RoleUuid     string `protobuf:"bytes,3,opt,name=role_uuid,json=roleUuid,proto3" json:"role_uuid,omitempty"`
	DomainUuid   string `protobuf:"bytes,4,opt,name=domain_uuid,json=domainUuid,proto3" json:"domain_uuid,omitempty"`
	Enable       bool   `protobuf:"varint,5,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRoleRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRoleRequest) GetDomainUuid

func (x *UpdateUserRoleRequest) GetDomainUuid() string

func (*UpdateUserRoleRequest) GetEnable

func (x *UpdateUserRoleRequest) GetEnable() bool

func (*UpdateUserRoleRequest) GetRoleUuid

func (x *UpdateUserRoleRequest) GetRoleUuid() string

func (*UpdateUserRoleRequest) GetUserRoleUuid

func (x *UpdateUserRoleRequest) GetUserRoleUuid() string

func (*UpdateUserRoleRequest) GetUuid

func (x *UpdateUserRoleRequest) GetUuid() string

func (*UpdateUserRoleRequest) ProtoMessage

func (*UpdateUserRoleRequest) ProtoMessage()

func (*UpdateUserRoleRequest) ProtoReflect

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

func (*UpdateUserRoleRequest) Reset

func (x *UpdateUserRoleRequest) Reset()

func (*UpdateUserRoleRequest) String

func (x *UpdateUserRoleRequest) String() string

type User

type User struct {
	Uuid      string               `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Firstname string               `protobuf:"bytes,2,opt,name=firstname,proto3" json:"firstname,omitempty"`
	Lastname  string               `protobuf:"bytes,3,opt,name=lastname,proto3" json:"lastname,omitempty"`
	Gender    string               `protobuf:"bytes,4,opt,name=gender,proto3" json:"gender,omitempty"`
	AvatarUrl string               `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	Username  string               `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`
	Password  string               `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"`
	Email     string               `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"`
	Enable    bool                 `protobuf:"varint,9,opt,name=enable,proto3" json:"enable,omitempty"`
	RawData   string               `protobuf:"bytes,10,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"`
	Roles     []*UserRole          `protobuf:"bytes,11,rep,name=roles,proto3" json:"roles,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatarUrl

func (x *User) GetAvatarUrl() string

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamp.Timestamp

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetEnable

func (x *User) GetEnable() bool

func (*User) GetFirstname

func (x *User) GetFirstname() string

func (*User) GetGender

func (x *User) GetGender() string

func (*User) GetLastname

func (x *User) GetLastname() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetRawData

func (x *User) GetRawData() string

func (*User) GetRoles

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

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() *timestamp.Timestamp

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) GetUuid

func (x *User) GetUuid() 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 UserRole

type UserRole struct {
	Uuid      string               `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Role      string               `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	Domain    string               `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	Enable    bool                 `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRole) Descriptor deprecated

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

Deprecated: Use UserRole.ProtoReflect.Descriptor instead.

func (*UserRole) GetCreatedAt

func (x *UserRole) GetCreatedAt() *timestamp.Timestamp

func (*UserRole) GetDomain

func (x *UserRole) GetDomain() string

func (*UserRole) GetEnable

func (x *UserRole) GetEnable() bool

func (*UserRole) GetRole

func (x *UserRole) GetRole() string

func (*UserRole) GetUpdatedAt

func (x *UserRole) GetUpdatedAt() *timestamp.Timestamp

func (*UserRole) GetUuid

func (x *UserRole) GetUuid() string

func (*UserRole) ProtoMessage

func (*UserRole) ProtoMessage()

func (*UserRole) ProtoReflect

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

func (*UserRole) Reset

func (x *UserRole) Reset()

func (*UserRole) String

func (x *UserRole) String() string

type UserServiceClient

type UserServiceClient interface {
	// List Users
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// Get User
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error)
	// Create User object request
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error)
	// Update User object request
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*User, error)
	// Delete User object request
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// AddUserRole assign a role to a user
	AddUserRole(ctx context.Context, in *AddUserRoleRequest, opts ...grpc.CallOption) (*User, error)
	// UpdateUserRole update a user role
	UpdateUserRole(ctx context.Context, in *UpdateUserRoleRequest, opts ...grpc.CallOption) (*User, error)
	// DeleteUserRole remove a user role
	DeleteUserRole(ctx context.Context, in *DeleteUserRoleRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

UserServiceClient is the client API for UserService 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 UserServiceServer

type UserServiceServer interface {
	// List Users
	ListUsers(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	// Get User
	GetUser(context.Context, *GetUserRequest) (*User, error)
	// Create User object request
	CreateUser(context.Context, *CreateUserRequest) (*User, error)
	// Update User object request
	UpdateUser(context.Context, *UpdateUserRequest) (*User, error)
	// Delete User object request
	DeleteUser(context.Context, *DeleteUserRequest) (*empty.Empty, error)
	// AddUserRole assign a role to a user
	AddUserRole(context.Context, *AddUserRoleRequest) (*User, error)
	// UpdateUserRole update a user role
	UpdateUserRole(context.Context, *UpdateUserRoleRequest) (*User, error)
	// DeleteUserRole remove a user role
	DeleteUserRole(context.Context, *DeleteUserRoleRequest) (*empty.Empty, error)
	// contains filtered or unexported methods
}

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility

type ValidateRequest

type ValidateRequest struct {
	// contains filtered or unexported fields
}

func (*ValidateRequest) Descriptor deprecated

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

Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead.

func (*ValidateRequest) ProtoMessage

func (*ValidateRequest) ProtoMessage()

func (*ValidateRequest) ProtoReflect

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

func (*ValidateRequest) Reset

func (x *ValidateRequest) Reset()

func (*ValidateRequest) String

func (x *ValidateRequest) String() string

type VerifyTokenRequest

type VerifyTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyTokenRequest) Descriptor deprecated

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

Deprecated: Use VerifyTokenRequest.ProtoReflect.Descriptor instead.

func (*VerifyTokenRequest) GetAccessToken

func (x *VerifyTokenRequest) GetAccessToken() string

func (*VerifyTokenRequest) ProtoMessage

func (*VerifyTokenRequest) ProtoMessage()

func (*VerifyTokenRequest) ProtoReflect

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

func (*VerifyTokenRequest) Reset

func (x *VerifyTokenRequest) Reset()

func (*VerifyTokenRequest) String

func (x *VerifyTokenRequest) String() string

type VerifyTokenResponse

type VerifyTokenResponse struct {
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyTokenResponse) Descriptor deprecated

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

Deprecated: Use VerifyTokenResponse.ProtoReflect.Descriptor instead.

func (*VerifyTokenResponse) GetAccessToken

func (x *VerifyTokenResponse) GetAccessToken() string

func (*VerifyTokenResponse) ProtoMessage

func (*VerifyTokenResponse) ProtoMessage()

func (*VerifyTokenResponse) ProtoReflect

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

func (*VerifyTokenResponse) Reset

func (x *VerifyTokenResponse) Reset()

func (*VerifyTokenResponse) String

func (x *VerifyTokenResponse) String() string

Jump to

Keyboard shortcuts

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