rector

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 58 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RectorConfigService_GetAppConfig_FullMethodName    = "/services.rector.RectorConfigService/GetAppConfig"
	RectorConfigService_UpdateAppConfig_FullMethodName = "/services.rector.RectorConfigService/UpdateAppConfig"
)
View Source
const (
	RectorFilestoreService_ListFiles_FullMethodName  = "/services.rector.RectorFilestoreService/ListFiles"
	RectorFilestoreService_UploadFile_FullMethodName = "/services.rector.RectorFilestoreService/UploadFile"
	RectorFilestoreService_DeleteFile_FullMethodName = "/services.rector.RectorFilestoreService/DeleteFile"
)
View Source
const (
	RectorLawsService_CreateOrUpdateLawBook_FullMethodName = "/services.rector.RectorLawsService/CreateOrUpdateLawBook"
	RectorLawsService_DeleteLawBook_FullMethodName         = "/services.rector.RectorLawsService/DeleteLawBook"
	RectorLawsService_CreateOrUpdateLaw_FullMethodName     = "/services.rector.RectorLawsService/CreateOrUpdateLaw"
	RectorLawsService_DeleteLaw_FullMethodName             = "/services.rector.RectorLawsService/DeleteLaw"
)
View Source
const (
	RectorService_GetJobProps_FullMethodName      = "/services.rector.RectorService/GetJobProps"
	RectorService_SetJobProps_FullMethodName      = "/services.rector.RectorService/SetJobProps"
	RectorService_GetRoles_FullMethodName         = "/services.rector.RectorService/GetRoles"
	RectorService_GetRole_FullMethodName          = "/services.rector.RectorService/GetRole"
	RectorService_CreateRole_FullMethodName       = "/services.rector.RectorService/CreateRole"
	RectorService_DeleteRole_FullMethodName       = "/services.rector.RectorService/DeleteRole"
	RectorService_UpdateRolePerms_FullMethodName  = "/services.rector.RectorService/UpdateRolePerms"
	RectorService_GetPermissions_FullMethodName   = "/services.rector.RectorService/GetPermissions"
	RectorService_ViewAuditLog_FullMethodName     = "/services.rector.RectorService/ViewAuditLog"
	RectorService_UpdateRoleLimits_FullMethodName = "/services.rector.RectorService/UpdateRoleLimits"
)
View Source
const AuditLogPageSize = 30

Variables

View Source
var File_services_rector_config_proto protoreflect.FileDescriptor
View Source
var File_services_rector_filestore_proto protoreflect.FileDescriptor
View Source
var File_services_rector_laws_proto protoreflect.FileDescriptor
View Source
var File_services_rector_rector_proto protoreflect.FileDescriptor
View Source
var PermsRemap = map[string]string{

	"RectorConfigService/GetAppConfig":    "SuperUser",
	"RectorConfigService/UpdateAppConfig": "SuperUser",

	"RectorFilestoreService/DeleteFile": "SuperUser",
	"RectorFilestoreService/ListFiles":  "SuperUser",
	"RectorFilestoreService/UploadFile": "SuperUser",

	"RectorLawsService/CreateOrUpdateLaw":     "SuperUser",
	"RectorLawsService/CreateOrUpdateLawBook": "SuperUser",
	"RectorLawsService/DeleteLaw":             "SuperUser",
	"RectorLawsService/DeleteLawBook":         "SuperUser",

	"RectorService/GetPermissions":   "RectorService/GetRoles",
	"RectorService/GetRole":          "RectorService/GetRoles",
	"RectorService/UpdateRoleLimits": "SuperUser",
}
View Source
var RectorConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.rector.RectorConfigService",
	HandlerType: (*RectorConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAppConfig",
			Handler:    _RectorConfigService_GetAppConfig_Handler,
		},
		{
			MethodName: "UpdateAppConfig",
			Handler:    _RectorConfigService_UpdateAppConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/rector/config.proto",
}

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

View Source
var RectorFilestoreService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.rector.RectorFilestoreService",
	HandlerType: (*RectorFilestoreServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListFiles",
			Handler:    _RectorFilestoreService_ListFiles_Handler,
		},
		{
			MethodName: "UploadFile",
			Handler:    _RectorFilestoreService_UploadFile_Handler,
		},
		{
			MethodName: "DeleteFile",
			Handler:    _RectorFilestoreService_DeleteFile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/rector/filestore.proto",
}

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

View Source
var RectorLawsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.rector.RectorLawsService",
	HandlerType: (*RectorLawsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateOrUpdateLawBook",
			Handler:    _RectorLawsService_CreateOrUpdateLawBook_Handler,
		},
		{
			MethodName: "DeleteLawBook",
			Handler:    _RectorLawsService_DeleteLawBook_Handler,
		},
		{
			MethodName: "CreateOrUpdateLaw",
			Handler:    _RectorLawsService_CreateOrUpdateLaw_Handler,
		},
		{
			MethodName: "DeleteLaw",
			Handler:    _RectorLawsService_DeleteLaw_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/rector/laws.proto",
}

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

View Source
var RectorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.rector.RectorService",
	HandlerType: (*RectorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetJobProps",
			Handler:    _RectorService_GetJobProps_Handler,
		},
		{
			MethodName: "SetJobProps",
			Handler:    _RectorService_SetJobProps_Handler,
		},
		{
			MethodName: "GetRoles",
			Handler:    _RectorService_GetRoles_Handler,
		},
		{
			MethodName: "GetRole",
			Handler:    _RectorService_GetRole_Handler,
		},
		{
			MethodName: "CreateRole",
			Handler:    _RectorService_CreateRole_Handler,
		},
		{
			MethodName: "DeleteRole",
			Handler:    _RectorService_DeleteRole_Handler,
		},
		{
			MethodName: "UpdateRolePerms",
			Handler:    _RectorService_UpdateRolePerms_Handler,
		},
		{
			MethodName: "GetPermissions",
			Handler:    _RectorService_GetPermissions_Handler,
		},
		{
			MethodName: "ViewAuditLog",
			Handler:    _RectorService_ViewAuditLog_Handler,
		},
		{
			MethodName: "UpdateRoleLimits",
			Handler:    _RectorService_UpdateRoleLimits_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/rector/rector.proto",
}

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

Functions

func RegisterRectorConfigServiceServer

func RegisterRectorConfigServiceServer(s grpc.ServiceRegistrar, srv RectorConfigServiceServer)

func RegisterRectorFilestoreServiceServer

func RegisterRectorFilestoreServiceServer(s grpc.ServiceRegistrar, srv RectorFilestoreServiceServer)

func RegisterRectorLawsServiceServer

func RegisterRectorLawsServiceServer(s grpc.ServiceRegistrar, srv RectorLawsServiceServer)

func RegisterRectorServiceServer

func RegisterRectorServiceServer(s grpc.ServiceRegistrar, srv RectorServiceServer)

Types

type AttrsUpdate

type AttrsUpdate struct {
	ToUpdate []*permissions.RoleAttribute `protobuf:"bytes,1,rep,name=to_update,json=toUpdate,proto3" json:"to_update,omitempty"`
	ToRemove []*permissions.RoleAttribute `protobuf:"bytes,2,rep,name=to_remove,json=toRemove,proto3" json:"to_remove,omitempty"`
	// contains filtered or unexported fields
}

func (*AttrsUpdate) Descriptor deprecated

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

Deprecated: Use AttrsUpdate.ProtoReflect.Descriptor instead.

func (*AttrsUpdate) GetToRemove

func (x *AttrsUpdate) GetToRemove() []*permissions.RoleAttribute

func (*AttrsUpdate) GetToUpdate

func (x *AttrsUpdate) GetToUpdate() []*permissions.RoleAttribute

func (*AttrsUpdate) ProtoMessage

func (*AttrsUpdate) ProtoMessage()

func (*AttrsUpdate) ProtoReflect

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

func (*AttrsUpdate) Reset

func (x *AttrsUpdate) Reset()

func (*AttrsUpdate) String

func (x *AttrsUpdate) String() string

func (*AttrsUpdate) Validate

func (m *AttrsUpdate) Validate() error

Validate checks the field values on AttrsUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AttrsUpdate) ValidateAll

func (m *AttrsUpdate) ValidateAll() error

ValidateAll checks the field values on AttrsUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AttrsUpdateMultiError, or nil if none found.

type AttrsUpdateMultiError

type AttrsUpdateMultiError []error

AttrsUpdateMultiError is an error wrapping multiple validation errors returned by AttrsUpdate.ValidateAll() if the designated constraints aren't met.

func (AttrsUpdateMultiError) AllErrors

func (m AttrsUpdateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AttrsUpdateMultiError) Error

func (m AttrsUpdateMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AttrsUpdateValidationError

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

AttrsUpdateValidationError is the validation error returned by AttrsUpdate.Validate if the designated constraints aren't met.

func (AttrsUpdateValidationError) Cause

Cause function returns cause value.

func (AttrsUpdateValidationError) Error

Error satisfies the builtin error interface

func (AttrsUpdateValidationError) ErrorName

func (e AttrsUpdateValidationError) ErrorName() string

ErrorName returns error name.

func (AttrsUpdateValidationError) Field

Field function returns field value.

func (AttrsUpdateValidationError) Key

Key function returns key value.

func (AttrsUpdateValidationError) Reason

Reason function returns reason value.

type CreateOrUpdateLawBookRequest

type CreateOrUpdateLawBookRequest struct {
	LawBook *laws.LawBook `protobuf:"bytes,1,opt,name=lawBook,proto3" json:"lawBook,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateLawBookRequest) Descriptor deprecated

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

Deprecated: Use CreateOrUpdateLawBookRequest.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateLawBookRequest) GetLawBook

func (x *CreateOrUpdateLawBookRequest) GetLawBook() *laws.LawBook

func (*CreateOrUpdateLawBookRequest) ProtoMessage

func (*CreateOrUpdateLawBookRequest) ProtoMessage()

func (*CreateOrUpdateLawBookRequest) ProtoReflect

func (*CreateOrUpdateLawBookRequest) Reset

func (x *CreateOrUpdateLawBookRequest) Reset()

func (*CreateOrUpdateLawBookRequest) String

func (*CreateOrUpdateLawBookRequest) Validate

func (m *CreateOrUpdateLawBookRequest) Validate() error

Validate checks the field values on CreateOrUpdateLawBookRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateOrUpdateLawBookRequest) ValidateAll

func (m *CreateOrUpdateLawBookRequest) ValidateAll() error

ValidateAll checks the field values on CreateOrUpdateLawBookRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateLawBookRequestMultiError, or nil if none found.

type CreateOrUpdateLawBookRequestMultiError

type CreateOrUpdateLawBookRequestMultiError []error

CreateOrUpdateLawBookRequestMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateLawBookRequest.ValidateAll() if the designated constraints aren't met.

func (CreateOrUpdateLawBookRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateOrUpdateLawBookRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateOrUpdateLawBookRequestValidationError

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

CreateOrUpdateLawBookRequestValidationError is the validation error returned by CreateOrUpdateLawBookRequest.Validate if the designated constraints aren't met.

func (CreateOrUpdateLawBookRequestValidationError) Cause

Cause function returns cause value.

func (CreateOrUpdateLawBookRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateOrUpdateLawBookRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateOrUpdateLawBookRequestValidationError) Field

Field function returns field value.

func (CreateOrUpdateLawBookRequestValidationError) Key

Key function returns key value.

func (CreateOrUpdateLawBookRequestValidationError) Reason

Reason function returns reason value.

type CreateOrUpdateLawBookResponse

type CreateOrUpdateLawBookResponse struct {
	LawBook *laws.LawBook `protobuf:"bytes,1,opt,name=lawBook,proto3" json:"lawBook,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateLawBookResponse) Descriptor deprecated

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

Deprecated: Use CreateOrUpdateLawBookResponse.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateLawBookResponse) GetLawBook

func (x *CreateOrUpdateLawBookResponse) GetLawBook() *laws.LawBook

func (*CreateOrUpdateLawBookResponse) ProtoMessage

func (*CreateOrUpdateLawBookResponse) ProtoMessage()

func (*CreateOrUpdateLawBookResponse) ProtoReflect

func (*CreateOrUpdateLawBookResponse) Reset

func (x *CreateOrUpdateLawBookResponse) Reset()

func (*CreateOrUpdateLawBookResponse) String

func (*CreateOrUpdateLawBookResponse) Validate

func (m *CreateOrUpdateLawBookResponse) Validate() error

Validate checks the field values on CreateOrUpdateLawBookResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateOrUpdateLawBookResponse) ValidateAll

func (m *CreateOrUpdateLawBookResponse) ValidateAll() error

ValidateAll checks the field values on CreateOrUpdateLawBookResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateLawBookResponseMultiError, or nil if none found.

type CreateOrUpdateLawBookResponseMultiError

type CreateOrUpdateLawBookResponseMultiError []error

CreateOrUpdateLawBookResponseMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateLawBookResponse.ValidateAll() if the designated constraints aren't met.

func (CreateOrUpdateLawBookResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateOrUpdateLawBookResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateOrUpdateLawBookResponseValidationError

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

CreateOrUpdateLawBookResponseValidationError is the validation error returned by CreateOrUpdateLawBookResponse.Validate if the designated constraints aren't met.

func (CreateOrUpdateLawBookResponseValidationError) Cause

Cause function returns cause value.

func (CreateOrUpdateLawBookResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateOrUpdateLawBookResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateOrUpdateLawBookResponseValidationError) Field

Field function returns field value.

func (CreateOrUpdateLawBookResponseValidationError) Key

Key function returns key value.

func (CreateOrUpdateLawBookResponseValidationError) Reason

Reason function returns reason value.

type CreateOrUpdateLawRequest

type CreateOrUpdateLawRequest struct {
	Law *laws.Law `protobuf:"bytes,1,opt,name=law,proto3" json:"law,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateLawRequest) Descriptor deprecated

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

Deprecated: Use CreateOrUpdateLawRequest.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateLawRequest) GetLaw

func (x *CreateOrUpdateLawRequest) GetLaw() *laws.Law

func (*CreateOrUpdateLawRequest) ProtoMessage

func (*CreateOrUpdateLawRequest) ProtoMessage()

func (*CreateOrUpdateLawRequest) ProtoReflect

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

func (*CreateOrUpdateLawRequest) Reset

func (x *CreateOrUpdateLawRequest) Reset()

func (*CreateOrUpdateLawRequest) String

func (x *CreateOrUpdateLawRequest) String() string

func (*CreateOrUpdateLawRequest) Validate

func (m *CreateOrUpdateLawRequest) Validate() error

Validate checks the field values on CreateOrUpdateLawRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateOrUpdateLawRequest) ValidateAll

func (m *CreateOrUpdateLawRequest) ValidateAll() error

ValidateAll checks the field values on CreateOrUpdateLawRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateLawRequestMultiError, or nil if none found.

type CreateOrUpdateLawRequestMultiError

type CreateOrUpdateLawRequestMultiError []error

CreateOrUpdateLawRequestMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateLawRequest.ValidateAll() if the designated constraints aren't met.

func (CreateOrUpdateLawRequestMultiError) AllErrors

func (m CreateOrUpdateLawRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateOrUpdateLawRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateOrUpdateLawRequestValidationError

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

CreateOrUpdateLawRequestValidationError is the validation error returned by CreateOrUpdateLawRequest.Validate if the designated constraints aren't met.

func (CreateOrUpdateLawRequestValidationError) Cause

Cause function returns cause value.

func (CreateOrUpdateLawRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateOrUpdateLawRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateOrUpdateLawRequestValidationError) Field

Field function returns field value.

func (CreateOrUpdateLawRequestValidationError) Key

Key function returns key value.

func (CreateOrUpdateLawRequestValidationError) Reason

Reason function returns reason value.

type CreateOrUpdateLawResponse

type CreateOrUpdateLawResponse struct {
	Law *laws.Law `protobuf:"bytes,1,opt,name=law,proto3" json:"law,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateLawResponse) Descriptor deprecated

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

Deprecated: Use CreateOrUpdateLawResponse.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateLawResponse) GetLaw

func (x *CreateOrUpdateLawResponse) GetLaw() *laws.Law

func (*CreateOrUpdateLawResponse) ProtoMessage

func (*CreateOrUpdateLawResponse) ProtoMessage()

func (*CreateOrUpdateLawResponse) ProtoReflect

func (*CreateOrUpdateLawResponse) Reset

func (x *CreateOrUpdateLawResponse) Reset()

func (*CreateOrUpdateLawResponse) String

func (x *CreateOrUpdateLawResponse) String() string

func (*CreateOrUpdateLawResponse) Validate

func (m *CreateOrUpdateLawResponse) Validate() error

Validate checks the field values on CreateOrUpdateLawResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateOrUpdateLawResponse) ValidateAll

func (m *CreateOrUpdateLawResponse) ValidateAll() error

ValidateAll checks the field values on CreateOrUpdateLawResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateLawResponseMultiError, or nil if none found.

type CreateOrUpdateLawResponseMultiError

type CreateOrUpdateLawResponseMultiError []error

CreateOrUpdateLawResponseMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateLawResponse.ValidateAll() if the designated constraints aren't met.

func (CreateOrUpdateLawResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (CreateOrUpdateLawResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateOrUpdateLawResponseValidationError

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

CreateOrUpdateLawResponseValidationError is the validation error returned by CreateOrUpdateLawResponse.Validate if the designated constraints aren't met.

func (CreateOrUpdateLawResponseValidationError) Cause

Cause function returns cause value.

func (CreateOrUpdateLawResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateOrUpdateLawResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateOrUpdateLawResponseValidationError) Field

Field function returns field value.

func (CreateOrUpdateLawResponseValidationError) Key

Key function returns key value.

func (CreateOrUpdateLawResponseValidationError) Reason

Reason function returns reason value.

type CreateRoleRequest

type CreateRoleRequest struct {
	Job   string `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	Grade int32  `protobuf:"varint,2,opt,name=grade,proto3" json:"grade,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleRequest) Descriptor deprecated

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

Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleRequest) GetGrade

func (x *CreateRoleRequest) GetGrade() int32

func (*CreateRoleRequest) GetJob

func (x *CreateRoleRequest) GetJob() 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

func (*CreateRoleRequest) Validate

func (m *CreateRoleRequest) Validate() error

Validate checks the field values on CreateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateRoleRequest) ValidateAll

func (m *CreateRoleRequest) ValidateAll() error

ValidateAll checks the field values on CreateRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRoleRequestMultiError, or nil if none found.

type CreateRoleRequestMultiError

type CreateRoleRequestMultiError []error

CreateRoleRequestMultiError is an error wrapping multiple validation errors returned by CreateRoleRequest.ValidateAll() if the designated constraints aren't met.

func (CreateRoleRequestMultiError) AllErrors

func (m CreateRoleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateRoleRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateRoleRequestValidationError

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

CreateRoleRequestValidationError is the validation error returned by CreateRoleRequest.Validate if the designated constraints aren't met.

func (CreateRoleRequestValidationError) Cause

Cause function returns cause value.

func (CreateRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateRoleRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateRoleRequestValidationError) Field

Field function returns field value.

func (CreateRoleRequestValidationError) Key

Key function returns key value.

func (CreateRoleRequestValidationError) Reason

Reason function returns reason value.

type CreateRoleResponse

type CreateRoleResponse struct {
	Role *permissions.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleResponse) Descriptor deprecated

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

Deprecated: Use CreateRoleResponse.ProtoReflect.Descriptor instead.

func (*CreateRoleResponse) GetRole

func (x *CreateRoleResponse) GetRole() *permissions.Role

func (*CreateRoleResponse) ProtoMessage

func (*CreateRoleResponse) ProtoMessage()

func (*CreateRoleResponse) ProtoReflect

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

func (*CreateRoleResponse) Reset

func (x *CreateRoleResponse) Reset()

func (*CreateRoleResponse) String

func (x *CreateRoleResponse) String() string

func (*CreateRoleResponse) Validate

func (m *CreateRoleResponse) Validate() error

Validate checks the field values on CreateRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateRoleResponse) ValidateAll

func (m *CreateRoleResponse) ValidateAll() error

ValidateAll checks the field values on CreateRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRoleResponseMultiError, or nil if none found.

type CreateRoleResponseMultiError

type CreateRoleResponseMultiError []error

CreateRoleResponseMultiError is an error wrapping multiple validation errors returned by CreateRoleResponse.ValidateAll() if the designated constraints aren't met.

func (CreateRoleResponseMultiError) AllErrors

func (m CreateRoleResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateRoleResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateRoleResponseValidationError

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

CreateRoleResponseValidationError is the validation error returned by CreateRoleResponse.Validate if the designated constraints aren't met.

func (CreateRoleResponseValidationError) Cause

Cause function returns cause value.

func (CreateRoleResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateRoleResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateRoleResponseValidationError) Field

Field function returns field value.

func (CreateRoleResponseValidationError) Key

Key function returns key value.

func (CreateRoleResponseValidationError) Reason

Reason function returns reason value.

type DeleteFileRequest

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

func (*DeleteFileRequest) Descriptor deprecated

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

Deprecated: Use DeleteFileRequest.ProtoReflect.Descriptor instead.

func (*DeleteFileRequest) GetPath

func (x *DeleteFileRequest) GetPath() string

func (*DeleteFileRequest) ProtoMessage

func (*DeleteFileRequest) ProtoMessage()

func (*DeleteFileRequest) ProtoReflect

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

func (*DeleteFileRequest) Reset

func (x *DeleteFileRequest) Reset()

func (*DeleteFileRequest) String

func (x *DeleteFileRequest) String() string

func (*DeleteFileRequest) Validate

func (m *DeleteFileRequest) Validate() error

Validate checks the field values on DeleteFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteFileRequest) ValidateAll

func (m *DeleteFileRequest) ValidateAll() error

ValidateAll checks the field values on DeleteFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteFileRequestMultiError, or nil if none found.

type DeleteFileRequestMultiError

type DeleteFileRequestMultiError []error

DeleteFileRequestMultiError is an error wrapping multiple validation errors returned by DeleteFileRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteFileRequestMultiError) AllErrors

func (m DeleteFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteFileRequestValidationError

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

DeleteFileRequestValidationError is the validation error returned by DeleteFileRequest.Validate if the designated constraints aren't met.

func (DeleteFileRequestValidationError) Cause

Cause function returns cause value.

func (DeleteFileRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteFileRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteFileRequestValidationError) Field

Field function returns field value.

func (DeleteFileRequestValidationError) Key

Key function returns key value.

func (DeleteFileRequestValidationError) Reason

Reason function returns reason value.

type DeleteFileResponse

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

func (*DeleteFileResponse) Descriptor deprecated

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

Deprecated: Use DeleteFileResponse.ProtoReflect.Descriptor instead.

func (*DeleteFileResponse) ProtoMessage

func (*DeleteFileResponse) ProtoMessage()

func (*DeleteFileResponse) ProtoReflect

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

func (*DeleteFileResponse) Reset

func (x *DeleteFileResponse) Reset()

func (*DeleteFileResponse) String

func (x *DeleteFileResponse) String() string

func (*DeleteFileResponse) Validate

func (m *DeleteFileResponse) Validate() error

Validate checks the field values on DeleteFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteFileResponse) ValidateAll

func (m *DeleteFileResponse) ValidateAll() error

ValidateAll checks the field values on DeleteFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteFileResponseMultiError, or nil if none found.

type DeleteFileResponseMultiError

type DeleteFileResponseMultiError []error

DeleteFileResponseMultiError is an error wrapping multiple validation errors returned by DeleteFileResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteFileResponseMultiError) AllErrors

func (m DeleteFileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteFileResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteFileResponseValidationError

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

DeleteFileResponseValidationError is the validation error returned by DeleteFileResponse.Validate if the designated constraints aren't met.

func (DeleteFileResponseValidationError) Cause

Cause function returns cause value.

func (DeleteFileResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteFileResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteFileResponseValidationError) Field

Field function returns field value.

func (DeleteFileResponseValidationError) Key

Key function returns key value.

func (DeleteFileResponseValidationError) Reason

Reason function returns reason value.

type DeleteLawBookRequest

type DeleteLawBookRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteLawBookRequest) Descriptor deprecated

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

Deprecated: Use DeleteLawBookRequest.ProtoReflect.Descriptor instead.

func (*DeleteLawBookRequest) GetId

func (x *DeleteLawBookRequest) GetId() uint64

func (*DeleteLawBookRequest) ProtoMessage

func (*DeleteLawBookRequest) ProtoMessage()

func (*DeleteLawBookRequest) ProtoReflect

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

func (*DeleteLawBookRequest) Reset

func (x *DeleteLawBookRequest) Reset()

func (*DeleteLawBookRequest) String

func (x *DeleteLawBookRequest) String() string

func (*DeleteLawBookRequest) Validate

func (m *DeleteLawBookRequest) Validate() error

Validate checks the field values on DeleteLawBookRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteLawBookRequest) ValidateAll

func (m *DeleteLawBookRequest) ValidateAll() error

ValidateAll checks the field values on DeleteLawBookRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteLawBookRequestMultiError, or nil if none found.

type DeleteLawBookRequestMultiError

type DeleteLawBookRequestMultiError []error

DeleteLawBookRequestMultiError is an error wrapping multiple validation errors returned by DeleteLawBookRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteLawBookRequestMultiError) AllErrors

func (m DeleteLawBookRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteLawBookRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteLawBookRequestValidationError

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

DeleteLawBookRequestValidationError is the validation error returned by DeleteLawBookRequest.Validate if the designated constraints aren't met.

func (DeleteLawBookRequestValidationError) Cause

Cause function returns cause value.

func (DeleteLawBookRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteLawBookRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteLawBookRequestValidationError) Field

Field function returns field value.

func (DeleteLawBookRequestValidationError) Key

Key function returns key value.

func (DeleteLawBookRequestValidationError) Reason

Reason function returns reason value.

type DeleteLawBookResponse

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

func (*DeleteLawBookResponse) Descriptor deprecated

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

Deprecated: Use DeleteLawBookResponse.ProtoReflect.Descriptor instead.

func (*DeleteLawBookResponse) ProtoMessage

func (*DeleteLawBookResponse) ProtoMessage()

func (*DeleteLawBookResponse) ProtoReflect

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

func (*DeleteLawBookResponse) Reset

func (x *DeleteLawBookResponse) Reset()

func (*DeleteLawBookResponse) String

func (x *DeleteLawBookResponse) String() string

func (*DeleteLawBookResponse) Validate

func (m *DeleteLawBookResponse) Validate() error

Validate checks the field values on DeleteLawBookResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteLawBookResponse) ValidateAll

func (m *DeleteLawBookResponse) ValidateAll() error

ValidateAll checks the field values on DeleteLawBookResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteLawBookResponseMultiError, or nil if none found.

type DeleteLawBookResponseMultiError

type DeleteLawBookResponseMultiError []error

DeleteLawBookResponseMultiError is an error wrapping multiple validation errors returned by DeleteLawBookResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteLawBookResponseMultiError) AllErrors

func (m DeleteLawBookResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteLawBookResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteLawBookResponseValidationError

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

DeleteLawBookResponseValidationError is the validation error returned by DeleteLawBookResponse.Validate if the designated constraints aren't met.

func (DeleteLawBookResponseValidationError) Cause

Cause function returns cause value.

func (DeleteLawBookResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteLawBookResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteLawBookResponseValidationError) Field

Field function returns field value.

func (DeleteLawBookResponseValidationError) Key

Key function returns key value.

func (DeleteLawBookResponseValidationError) Reason

Reason function returns reason value.

type DeleteLawRequest

type DeleteLawRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteLawRequest) Descriptor deprecated

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

Deprecated: Use DeleteLawRequest.ProtoReflect.Descriptor instead.

func (*DeleteLawRequest) GetId

func (x *DeleteLawRequest) GetId() uint64

func (*DeleteLawRequest) ProtoMessage

func (*DeleteLawRequest) ProtoMessage()

func (*DeleteLawRequest) ProtoReflect

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

func (*DeleteLawRequest) Reset

func (x *DeleteLawRequest) Reset()

func (*DeleteLawRequest) String

func (x *DeleteLawRequest) String() string

func (*DeleteLawRequest) Validate

func (m *DeleteLawRequest) Validate() error

Validate checks the field values on DeleteLawRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteLawRequest) ValidateAll

func (m *DeleteLawRequest) ValidateAll() error

ValidateAll checks the field values on DeleteLawRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteLawRequestMultiError, or nil if none found.

type DeleteLawRequestMultiError

type DeleteLawRequestMultiError []error

DeleteLawRequestMultiError is an error wrapping multiple validation errors returned by DeleteLawRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteLawRequestMultiError) AllErrors

func (m DeleteLawRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteLawRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteLawRequestValidationError

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

DeleteLawRequestValidationError is the validation error returned by DeleteLawRequest.Validate if the designated constraints aren't met.

func (DeleteLawRequestValidationError) Cause

Cause function returns cause value.

func (DeleteLawRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteLawRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteLawRequestValidationError) Field

Field function returns field value.

func (DeleteLawRequestValidationError) Key

Key function returns key value.

func (DeleteLawRequestValidationError) Reason

Reason function returns reason value.

type DeleteLawResponse

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

func (*DeleteLawResponse) Descriptor deprecated

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

Deprecated: Use DeleteLawResponse.ProtoReflect.Descriptor instead.

func (*DeleteLawResponse) ProtoMessage

func (*DeleteLawResponse) ProtoMessage()

func (*DeleteLawResponse) ProtoReflect

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

func (*DeleteLawResponse) Reset

func (x *DeleteLawResponse) Reset()

func (*DeleteLawResponse) String

func (x *DeleteLawResponse) String() string

func (*DeleteLawResponse) Validate

func (m *DeleteLawResponse) Validate() error

Validate checks the field values on DeleteLawResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteLawResponse) ValidateAll

func (m *DeleteLawResponse) ValidateAll() error

ValidateAll checks the field values on DeleteLawResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteLawResponseMultiError, or nil if none found.

type DeleteLawResponseMultiError

type DeleteLawResponseMultiError []error

DeleteLawResponseMultiError is an error wrapping multiple validation errors returned by DeleteLawResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteLawResponseMultiError) AllErrors

func (m DeleteLawResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteLawResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteLawResponseValidationError

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

DeleteLawResponseValidationError is the validation error returned by DeleteLawResponse.Validate if the designated constraints aren't met.

func (DeleteLawResponseValidationError) Cause

Cause function returns cause value.

func (DeleteLawResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteLawResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteLawResponseValidationError) Field

Field function returns field value.

func (DeleteLawResponseValidationError) Key

Key function returns key value.

func (DeleteLawResponseValidationError) Reason

Reason function returns reason value.

type DeleteRoleRequest

type DeleteRoleRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoleRequest) Descriptor deprecated

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

Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleRequest) GetId

func (x *DeleteRoleRequest) GetId() uint64

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

func (*DeleteRoleRequest) Validate

func (m *DeleteRoleRequest) Validate() error

Validate checks the field values on DeleteRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteRoleRequest) ValidateAll

func (m *DeleteRoleRequest) ValidateAll() error

ValidateAll checks the field values on DeleteRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRoleRequestMultiError, or nil if none found.

type DeleteRoleRequestMultiError

type DeleteRoleRequestMultiError []error

DeleteRoleRequestMultiError is an error wrapping multiple validation errors returned by DeleteRoleRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteRoleRequestMultiError) AllErrors

func (m DeleteRoleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteRoleRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteRoleRequestValidationError

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

DeleteRoleRequestValidationError is the validation error returned by DeleteRoleRequest.Validate if the designated constraints aren't met.

func (DeleteRoleRequestValidationError) Cause

Cause function returns cause value.

func (DeleteRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRoleRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteRoleRequestValidationError) Field

Field function returns field value.

func (DeleteRoleRequestValidationError) Key

Key function returns key value.

func (DeleteRoleRequestValidationError) Reason

Reason function returns reason value.

type DeleteRoleResponse

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

func (*DeleteRoleResponse) Descriptor deprecated

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

Deprecated: Use DeleteRoleResponse.ProtoReflect.Descriptor instead.

func (*DeleteRoleResponse) ProtoMessage

func (*DeleteRoleResponse) ProtoMessage()

func (*DeleteRoleResponse) ProtoReflect

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

func (*DeleteRoleResponse) Reset

func (x *DeleteRoleResponse) Reset()

func (*DeleteRoleResponse) String

func (x *DeleteRoleResponse) String() string

func (*DeleteRoleResponse) Validate

func (m *DeleteRoleResponse) Validate() error

Validate checks the field values on DeleteRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteRoleResponse) ValidateAll

func (m *DeleteRoleResponse) ValidateAll() error

ValidateAll checks the field values on DeleteRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRoleResponseMultiError, or nil if none found.

type DeleteRoleResponseMultiError

type DeleteRoleResponseMultiError []error

DeleteRoleResponseMultiError is an error wrapping multiple validation errors returned by DeleteRoleResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteRoleResponseMultiError) AllErrors

func (m DeleteRoleResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteRoleResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteRoleResponseValidationError

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

DeleteRoleResponseValidationError is the validation error returned by DeleteRoleResponse.Validate if the designated constraints aren't met.

func (DeleteRoleResponseValidationError) Cause

Cause function returns cause value.

func (DeleteRoleResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteRoleResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteRoleResponseValidationError) Field

Field function returns field value.

func (DeleteRoleResponseValidationError) Key

Key function returns key value.

func (DeleteRoleResponseValidationError) Reason

Reason function returns reason value.

type GetAppConfigRequest

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

func (*GetAppConfigRequest) Descriptor deprecated

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

Deprecated: Use GetAppConfigRequest.ProtoReflect.Descriptor instead.

func (*GetAppConfigRequest) ProtoMessage

func (*GetAppConfigRequest) ProtoMessage()

func (*GetAppConfigRequest) ProtoReflect

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

func (*GetAppConfigRequest) Reset

func (x *GetAppConfigRequest) Reset()

func (*GetAppConfigRequest) String

func (x *GetAppConfigRequest) String() string

func (*GetAppConfigRequest) Validate

func (m *GetAppConfigRequest) Validate() error

Validate checks the field values on GetAppConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetAppConfigRequest) ValidateAll

func (m *GetAppConfigRequest) ValidateAll() error

ValidateAll checks the field values on GetAppConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAppConfigRequestMultiError, or nil if none found.

type GetAppConfigRequestMultiError

type GetAppConfigRequestMultiError []error

GetAppConfigRequestMultiError is an error wrapping multiple validation errors returned by GetAppConfigRequest.ValidateAll() if the designated constraints aren't met.

func (GetAppConfigRequestMultiError) AllErrors

func (m GetAppConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAppConfigRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetAppConfigRequestValidationError

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

GetAppConfigRequestValidationError is the validation error returned by GetAppConfigRequest.Validate if the designated constraints aren't met.

func (GetAppConfigRequestValidationError) Cause

Cause function returns cause value.

func (GetAppConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (GetAppConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (GetAppConfigRequestValidationError) Field

Field function returns field value.

func (GetAppConfigRequestValidationError) Key

Key function returns key value.

func (GetAppConfigRequestValidationError) Reason

Reason function returns reason value.

type GetAppConfigResponse

type GetAppConfigResponse struct {
	Config *rector.AppConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAppConfigResponse) Descriptor deprecated

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

Deprecated: Use GetAppConfigResponse.ProtoReflect.Descriptor instead.

func (*GetAppConfigResponse) GetConfig

func (x *GetAppConfigResponse) GetConfig() *rector.AppConfig

func (*GetAppConfigResponse) ProtoMessage

func (*GetAppConfigResponse) ProtoMessage()

func (*GetAppConfigResponse) ProtoReflect

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

func (*GetAppConfigResponse) Reset

func (x *GetAppConfigResponse) Reset()

func (*GetAppConfigResponse) String

func (x *GetAppConfigResponse) String() string

func (*GetAppConfigResponse) Validate

func (m *GetAppConfigResponse) Validate() error

Validate checks the field values on GetAppConfigResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetAppConfigResponse) ValidateAll

func (m *GetAppConfigResponse) ValidateAll() error

ValidateAll checks the field values on GetAppConfigResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetAppConfigResponseMultiError, or nil if none found.

type GetAppConfigResponseMultiError

type GetAppConfigResponseMultiError []error

GetAppConfigResponseMultiError is an error wrapping multiple validation errors returned by GetAppConfigResponse.ValidateAll() if the designated constraints aren't met.

func (GetAppConfigResponseMultiError) AllErrors

func (m GetAppConfigResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetAppConfigResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetAppConfigResponseValidationError

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

GetAppConfigResponseValidationError is the validation error returned by GetAppConfigResponse.Validate if the designated constraints aren't met.

func (GetAppConfigResponseValidationError) Cause

Cause function returns cause value.

func (GetAppConfigResponseValidationError) Error

Error satisfies the builtin error interface

func (GetAppConfigResponseValidationError) ErrorName

ErrorName returns error name.

func (GetAppConfigResponseValidationError) Field

Field function returns field value.

func (GetAppConfigResponseValidationError) Key

Key function returns key value.

func (GetAppConfigResponseValidationError) Reason

Reason function returns reason value.

type GetJobPropsRequest

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

func (*GetJobPropsRequest) Descriptor deprecated

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

Deprecated: Use GetJobPropsRequest.ProtoReflect.Descriptor instead.

func (*GetJobPropsRequest) ProtoMessage

func (*GetJobPropsRequest) ProtoMessage()

func (*GetJobPropsRequest) ProtoReflect

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

func (*GetJobPropsRequest) Reset

func (x *GetJobPropsRequest) Reset()

func (*GetJobPropsRequest) String

func (x *GetJobPropsRequest) String() string

func (*GetJobPropsRequest) Validate

func (m *GetJobPropsRequest) Validate() error

Validate checks the field values on GetJobPropsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetJobPropsRequest) ValidateAll

func (m *GetJobPropsRequest) ValidateAll() error

ValidateAll checks the field values on GetJobPropsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetJobPropsRequestMultiError, or nil if none found.

type GetJobPropsRequestMultiError

type GetJobPropsRequestMultiError []error

GetJobPropsRequestMultiError is an error wrapping multiple validation errors returned by GetJobPropsRequest.ValidateAll() if the designated constraints aren't met.

func (GetJobPropsRequestMultiError) AllErrors

func (m GetJobPropsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetJobPropsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetJobPropsRequestValidationError

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

GetJobPropsRequestValidationError is the validation error returned by GetJobPropsRequest.Validate if the designated constraints aren't met.

func (GetJobPropsRequestValidationError) Cause

Cause function returns cause value.

func (GetJobPropsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetJobPropsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetJobPropsRequestValidationError) Field

Field function returns field value.

func (GetJobPropsRequestValidationError) Key

Key function returns key value.

func (GetJobPropsRequestValidationError) Reason

Reason function returns reason value.

type GetJobPropsResponse

type GetJobPropsResponse struct {
	JobProps *users.JobProps `protobuf:"bytes,1,opt,name=job_props,json=jobProps,proto3" json:"job_props,omitempty"`
	// contains filtered or unexported fields
}

func (*GetJobPropsResponse) Descriptor deprecated

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

Deprecated: Use GetJobPropsResponse.ProtoReflect.Descriptor instead.

func (*GetJobPropsResponse) GetJobProps

func (x *GetJobPropsResponse) GetJobProps() *users.JobProps

func (*GetJobPropsResponse) ProtoMessage

func (*GetJobPropsResponse) ProtoMessage()

func (*GetJobPropsResponse) ProtoReflect

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

func (*GetJobPropsResponse) Reset

func (x *GetJobPropsResponse) Reset()

func (*GetJobPropsResponse) String

func (x *GetJobPropsResponse) String() string

func (*GetJobPropsResponse) Validate

func (m *GetJobPropsResponse) Validate() error

Validate checks the field values on GetJobPropsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetJobPropsResponse) ValidateAll

func (m *GetJobPropsResponse) ValidateAll() error

ValidateAll checks the field values on GetJobPropsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetJobPropsResponseMultiError, or nil if none found.

type GetJobPropsResponseMultiError

type GetJobPropsResponseMultiError []error

GetJobPropsResponseMultiError is an error wrapping multiple validation errors returned by GetJobPropsResponse.ValidateAll() if the designated constraints aren't met.

func (GetJobPropsResponseMultiError) AllErrors

func (m GetJobPropsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetJobPropsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetJobPropsResponseValidationError

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

GetJobPropsResponseValidationError is the validation error returned by GetJobPropsResponse.Validate if the designated constraints aren't met.

func (GetJobPropsResponseValidationError) Cause

Cause function returns cause value.

func (GetJobPropsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetJobPropsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetJobPropsResponseValidationError) Field

Field function returns field value.

func (GetJobPropsResponseValidationError) Key

Key function returns key value.

func (GetJobPropsResponseValidationError) Reason

Reason function returns reason value.

type GetPermissionsRequest

type GetPermissionsRequest struct {
	RoleId   uint64 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	Filtered *bool  `protobuf:"varint,2,opt,name=filtered,proto3,oneof" json:"filtered,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPermissionsRequest) Descriptor deprecated

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

Deprecated: Use GetPermissionsRequest.ProtoReflect.Descriptor instead.

func (*GetPermissionsRequest) GetFiltered

func (x *GetPermissionsRequest) GetFiltered() bool

func (*GetPermissionsRequest) GetRoleId

func (x *GetPermissionsRequest) GetRoleId() uint64

func (*GetPermissionsRequest) ProtoMessage

func (*GetPermissionsRequest) ProtoMessage()

func (*GetPermissionsRequest) ProtoReflect

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

func (*GetPermissionsRequest) Reset

func (x *GetPermissionsRequest) Reset()

func (*GetPermissionsRequest) String

func (x *GetPermissionsRequest) String() string

func (*GetPermissionsRequest) Validate

func (m *GetPermissionsRequest) Validate() error

Validate checks the field values on GetPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetPermissionsRequest) ValidateAll

func (m *GetPermissionsRequest) ValidateAll() error

ValidateAll checks the field values on GetPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPermissionsRequestMultiError, or nil if none found.

type GetPermissionsRequestMultiError

type GetPermissionsRequestMultiError []error

GetPermissionsRequestMultiError is an error wrapping multiple validation errors returned by GetPermissionsRequest.ValidateAll() if the designated constraints aren't met.

func (GetPermissionsRequestMultiError) AllErrors

func (m GetPermissionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPermissionsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetPermissionsRequestValidationError

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

GetPermissionsRequestValidationError is the validation error returned by GetPermissionsRequest.Validate if the designated constraints aren't met.

func (GetPermissionsRequestValidationError) Cause

Cause function returns cause value.

func (GetPermissionsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetPermissionsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetPermissionsRequestValidationError) Field

Field function returns field value.

func (GetPermissionsRequestValidationError) Key

Key function returns key value.

func (GetPermissionsRequestValidationError) Reason

Reason function returns reason value.

type GetPermissionsResponse

type GetPermissionsResponse struct {
	Permissions []*permissions.Permission    `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Attributes  []*permissions.RoleAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPermissionsResponse) Descriptor deprecated

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

Deprecated: Use GetPermissionsResponse.ProtoReflect.Descriptor instead.

func (*GetPermissionsResponse) GetAttributes

func (x *GetPermissionsResponse) GetAttributes() []*permissions.RoleAttribute

func (*GetPermissionsResponse) GetPermissions

func (x *GetPermissionsResponse) GetPermissions() []*permissions.Permission

func (*GetPermissionsResponse) ProtoMessage

func (*GetPermissionsResponse) ProtoMessage()

func (*GetPermissionsResponse) ProtoReflect

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

func (*GetPermissionsResponse) Reset

func (x *GetPermissionsResponse) Reset()

func (*GetPermissionsResponse) String

func (x *GetPermissionsResponse) String() string

func (*GetPermissionsResponse) Validate

func (m *GetPermissionsResponse) Validate() error

Validate checks the field values on GetPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetPermissionsResponse) ValidateAll

func (m *GetPermissionsResponse) ValidateAll() error

ValidateAll checks the field values on GetPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetPermissionsResponseMultiError, or nil if none found.

type GetPermissionsResponseMultiError

type GetPermissionsResponseMultiError []error

GetPermissionsResponseMultiError is an error wrapping multiple validation errors returned by GetPermissionsResponse.ValidateAll() if the designated constraints aren't met.

func (GetPermissionsResponseMultiError) AllErrors

func (m GetPermissionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPermissionsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetPermissionsResponseValidationError

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

GetPermissionsResponseValidationError is the validation error returned by GetPermissionsResponse.Validate if the designated constraints aren't met.

func (GetPermissionsResponseValidationError) Cause

Cause function returns cause value.

func (GetPermissionsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetPermissionsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetPermissionsResponseValidationError) Field

Field function returns field value.

func (GetPermissionsResponseValidationError) Key

Key function returns key value.

func (GetPermissionsResponseValidationError) Reason

Reason function returns reason value.

type GetRoleRequest

type GetRoleRequest struct {
	Id       uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Filtered *bool  `protobuf:"varint,2,opt,name=filtered,proto3,oneof" json:"filtered,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRoleRequest) Descriptor deprecated

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

Deprecated: Use GetRoleRequest.ProtoReflect.Descriptor instead.

func (*GetRoleRequest) GetFiltered

func (x *GetRoleRequest) GetFiltered() bool

func (*GetRoleRequest) GetId

func (x *GetRoleRequest) GetId() uint64

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

func (*GetRoleRequest) Validate

func (m *GetRoleRequest) Validate() error

Validate checks the field values on GetRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRoleRequest) ValidateAll

func (m *GetRoleRequest) ValidateAll() error

ValidateAll checks the field values on GetRoleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRoleRequestMultiError, or nil if none found.

type GetRoleRequestMultiError

type GetRoleRequestMultiError []error

GetRoleRequestMultiError is an error wrapping multiple validation errors returned by GetRoleRequest.ValidateAll() if the designated constraints aren't met.

func (GetRoleRequestMultiError) AllErrors

func (m GetRoleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRoleRequestMultiError) Error

func (m GetRoleRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetRoleRequestValidationError

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

GetRoleRequestValidationError is the validation error returned by GetRoleRequest.Validate if the designated constraints aren't met.

func (GetRoleRequestValidationError) Cause

Cause function returns cause value.

func (GetRoleRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRoleRequestValidationError) ErrorName

func (e GetRoleRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRoleRequestValidationError) Field

Field function returns field value.

func (GetRoleRequestValidationError) Key

Key function returns key value.

func (GetRoleRequestValidationError) Reason

Reason function returns reason value.

type GetRoleResponse

type GetRoleResponse struct {
	Role *permissions.Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRoleResponse) Descriptor deprecated

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

Deprecated: Use GetRoleResponse.ProtoReflect.Descriptor instead.

func (*GetRoleResponse) GetRole

func (x *GetRoleResponse) GetRole() *permissions.Role

func (*GetRoleResponse) ProtoMessage

func (*GetRoleResponse) ProtoMessage()

func (*GetRoleResponse) ProtoReflect

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

func (*GetRoleResponse) Reset

func (x *GetRoleResponse) Reset()

func (*GetRoleResponse) String

func (x *GetRoleResponse) String() string

func (*GetRoleResponse) Validate

func (m *GetRoleResponse) Validate() error

Validate checks the field values on GetRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRoleResponse) ValidateAll

func (m *GetRoleResponse) ValidateAll() error

ValidateAll checks the field values on GetRoleResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRoleResponseMultiError, or nil if none found.

type GetRoleResponseMultiError

type GetRoleResponseMultiError []error

GetRoleResponseMultiError is an error wrapping multiple validation errors returned by GetRoleResponse.ValidateAll() if the designated constraints aren't met.

func (GetRoleResponseMultiError) AllErrors

func (m GetRoleResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRoleResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetRoleResponseValidationError

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

GetRoleResponseValidationError is the validation error returned by GetRoleResponse.Validate if the designated constraints aren't met.

func (GetRoleResponseValidationError) Cause

Cause function returns cause value.

func (GetRoleResponseValidationError) Error

Error satisfies the builtin error interface

func (GetRoleResponseValidationError) ErrorName

func (e GetRoleResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetRoleResponseValidationError) Field

Field function returns field value.

func (GetRoleResponseValidationError) Key

Key function returns key value.

func (GetRoleResponseValidationError) Reason

Reason function returns reason value.

type GetRolesRequest

type GetRolesRequest struct {
	LowestRank *bool `protobuf:"varint,1,opt,name=lowest_rank,json=lowestRank,proto3,oneof" json:"lowest_rank,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRolesRequest) Descriptor deprecated

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

Deprecated: Use GetRolesRequest.ProtoReflect.Descriptor instead.

func (*GetRolesRequest) GetLowestRank

func (x *GetRolesRequest) GetLowestRank() bool

func (*GetRolesRequest) ProtoMessage

func (*GetRolesRequest) ProtoMessage()

func (*GetRolesRequest) ProtoReflect

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

func (*GetRolesRequest) Reset

func (x *GetRolesRequest) Reset()

func (*GetRolesRequest) String

func (x *GetRolesRequest) String() string

func (*GetRolesRequest) Validate

func (m *GetRolesRequest) Validate() error

Validate checks the field values on GetRolesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRolesRequest) ValidateAll

func (m *GetRolesRequest) ValidateAll() error

ValidateAll checks the field values on GetRolesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRolesRequestMultiError, or nil if none found.

type GetRolesRequestMultiError

type GetRolesRequestMultiError []error

GetRolesRequestMultiError is an error wrapping multiple validation errors returned by GetRolesRequest.ValidateAll() if the designated constraints aren't met.

func (GetRolesRequestMultiError) AllErrors

func (m GetRolesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRolesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetRolesRequestValidationError

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

GetRolesRequestValidationError is the validation error returned by GetRolesRequest.Validate if the designated constraints aren't met.

func (GetRolesRequestValidationError) Cause

Cause function returns cause value.

func (GetRolesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRolesRequestValidationError) ErrorName

func (e GetRolesRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRolesRequestValidationError) Field

Field function returns field value.

func (GetRolesRequestValidationError) Key

Key function returns key value.

func (GetRolesRequestValidationError) Reason

Reason function returns reason value.

type GetRolesResponse

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

func (*GetRolesResponse) Descriptor deprecated

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

Deprecated: Use GetRolesResponse.ProtoReflect.Descriptor instead.

func (*GetRolesResponse) GetRoles

func (x *GetRolesResponse) GetRoles() []*permissions.Role

func (*GetRolesResponse) ProtoMessage

func (*GetRolesResponse) ProtoMessage()

func (*GetRolesResponse) ProtoReflect

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

func (*GetRolesResponse) Reset

func (x *GetRolesResponse) Reset()

func (*GetRolesResponse) String

func (x *GetRolesResponse) String() string

func (*GetRolesResponse) Validate

func (m *GetRolesResponse) Validate() error

Validate checks the field values on GetRolesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRolesResponse) ValidateAll

func (m *GetRolesResponse) ValidateAll() error

ValidateAll checks the field values on GetRolesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRolesResponseMultiError, or nil if none found.

type GetRolesResponseMultiError

type GetRolesResponseMultiError []error

GetRolesResponseMultiError is an error wrapping multiple validation errors returned by GetRolesResponse.ValidateAll() if the designated constraints aren't met.

func (GetRolesResponseMultiError) AllErrors

func (m GetRolesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRolesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetRolesResponseValidationError

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

GetRolesResponseValidationError is the validation error returned by GetRolesResponse.Validate if the designated constraints aren't met.

func (GetRolesResponseValidationError) Cause

Cause function returns cause value.

func (GetRolesResponseValidationError) Error

Error satisfies the builtin error interface

func (GetRolesResponseValidationError) ErrorName

ErrorName returns error name.

func (GetRolesResponseValidationError) Field

Field function returns field value.

func (GetRolesResponseValidationError) Key

Key function returns key value.

func (GetRolesResponseValidationError) Reason

Reason function returns reason value.

type ListFilesRequest

type ListFilesRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Path       *string                     `protobuf:"bytes,2,opt,name=path,proto3,oneof" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFilesRequest) Descriptor deprecated

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

Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead.

func (*ListFilesRequest) GetPagination

func (x *ListFilesRequest) GetPagination() *database.PaginationRequest

func (*ListFilesRequest) GetPath

func (x *ListFilesRequest) GetPath() string

func (*ListFilesRequest) ProtoMessage

func (*ListFilesRequest) ProtoMessage()

func (*ListFilesRequest) ProtoReflect

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

func (*ListFilesRequest) Reset

func (x *ListFilesRequest) Reset()

func (*ListFilesRequest) String

func (x *ListFilesRequest) String() string

func (*ListFilesRequest) Validate

func (m *ListFilesRequest) Validate() error

Validate checks the field values on ListFilesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListFilesRequest) ValidateAll

func (m *ListFilesRequest) ValidateAll() error

ValidateAll checks the field values on ListFilesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListFilesRequestMultiError, or nil if none found.

type ListFilesRequestMultiError

type ListFilesRequestMultiError []error

ListFilesRequestMultiError is an error wrapping multiple validation errors returned by ListFilesRequest.ValidateAll() if the designated constraints aren't met.

func (ListFilesRequestMultiError) AllErrors

func (m ListFilesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListFilesRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListFilesRequestValidationError

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

ListFilesRequestValidationError is the validation error returned by ListFilesRequest.Validate if the designated constraints aren't met.

func (ListFilesRequestValidationError) Cause

Cause function returns cause value.

func (ListFilesRequestValidationError) Error

Error satisfies the builtin error interface

func (ListFilesRequestValidationError) ErrorName

ErrorName returns error name.

func (ListFilesRequestValidationError) Field

Field function returns field value.

func (ListFilesRequestValidationError) Key

Key function returns key value.

func (ListFilesRequestValidationError) Reason

Reason function returns reason value.

type ListFilesResponse

type ListFilesResponse struct {
	Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Files      []*filestore.FileInfo        `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFilesResponse) Descriptor deprecated

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

Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead.

func (*ListFilesResponse) GetFiles

func (x *ListFilesResponse) GetFiles() []*filestore.FileInfo

func (*ListFilesResponse) GetPagination

func (x *ListFilesResponse) GetPagination() *database.PaginationResponse

func (*ListFilesResponse) ProtoMessage

func (*ListFilesResponse) ProtoMessage()

func (*ListFilesResponse) ProtoReflect

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

func (*ListFilesResponse) Reset

func (x *ListFilesResponse) Reset()

func (*ListFilesResponse) String

func (x *ListFilesResponse) String() string

func (*ListFilesResponse) Validate

func (m *ListFilesResponse) Validate() error

Validate checks the field values on ListFilesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListFilesResponse) ValidateAll

func (m *ListFilesResponse) ValidateAll() error

ValidateAll checks the field values on ListFilesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListFilesResponseMultiError, or nil if none found.

type ListFilesResponseMultiError

type ListFilesResponseMultiError []error

ListFilesResponseMultiError is an error wrapping multiple validation errors returned by ListFilesResponse.ValidateAll() if the designated constraints aren't met.

func (ListFilesResponseMultiError) AllErrors

func (m ListFilesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListFilesResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListFilesResponseValidationError

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

ListFilesResponseValidationError is the validation error returned by ListFilesResponse.Validate if the designated constraints aren't met.

func (ListFilesResponseValidationError) Cause

Cause function returns cause value.

func (ListFilesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListFilesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListFilesResponseValidationError) Field

Field function returns field value.

func (ListFilesResponseValidationError) Key

Key function returns key value.

func (ListFilesResponseValidationError) Reason

Reason function returns reason value.

type Params

type Params struct {
	fx.In

	Logger    *zap.Logger
	DB        *sql.DB
	PS        perms.Permissions
	Aud       audit.IAuditer
	Enricher  *mstlystcdata.Enricher
	Cache     *mstlystcdata.Cache
	Storage   storage.IStorage
	Config    *config.Config
	AppConfig appconfig.IConfig
	JS        *events.JSWrapper
}

type PermItem

type PermItem struct {
	Id  uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Val bool   `protobuf:"varint,2,opt,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*PermItem) Descriptor deprecated

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

Deprecated: Use PermItem.ProtoReflect.Descriptor instead.

func (*PermItem) GetId

func (x *PermItem) GetId() uint64

func (*PermItem) GetVal

func (x *PermItem) GetVal() bool

func (*PermItem) ProtoMessage

func (*PermItem) ProtoMessage()

func (*PermItem) ProtoReflect

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

func (*PermItem) Reset

func (x *PermItem) Reset()

func (*PermItem) String

func (x *PermItem) String() string

func (*PermItem) Validate

func (m *PermItem) Validate() error

Validate checks the field values on PermItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PermItem) ValidateAll

func (m *PermItem) ValidateAll() error

ValidateAll checks the field values on PermItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermItemMultiError, or nil if none found.

type PermItemMultiError

type PermItemMultiError []error

PermItemMultiError is an error wrapping multiple validation errors returned by PermItem.ValidateAll() if the designated constraints aren't met.

func (PermItemMultiError) AllErrors

func (m PermItemMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PermItemMultiError) Error

func (m PermItemMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PermItemValidationError

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

PermItemValidationError is the validation error returned by PermItem.Validate if the designated constraints aren't met.

func (PermItemValidationError) Cause

func (e PermItemValidationError) Cause() error

Cause function returns cause value.

func (PermItemValidationError) Error

func (e PermItemValidationError) Error() string

Error satisfies the builtin error interface

func (PermItemValidationError) ErrorName

func (e PermItemValidationError) ErrorName() string

ErrorName returns error name.

func (PermItemValidationError) Field

func (e PermItemValidationError) Field() string

Field function returns field value.

func (PermItemValidationError) Key

func (e PermItemValidationError) Key() bool

Key function returns key value.

func (PermItemValidationError) Reason

func (e PermItemValidationError) Reason() string

Reason function returns reason value.

type PermsUpdate

type PermsUpdate struct {
	ToUpdate []*PermItem `protobuf:"bytes,1,rep,name=to_update,json=toUpdate,proto3" json:"to_update,omitempty"`
	ToRemove []uint64    `protobuf:"varint,2,rep,packed,name=to_remove,json=toRemove,proto3" json:"to_remove,omitempty"`
	// contains filtered or unexported fields
}

func (*PermsUpdate) Descriptor deprecated

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

Deprecated: Use PermsUpdate.ProtoReflect.Descriptor instead.

func (*PermsUpdate) GetToRemove

func (x *PermsUpdate) GetToRemove() []uint64

func (*PermsUpdate) GetToUpdate

func (x *PermsUpdate) GetToUpdate() []*PermItem

func (*PermsUpdate) ProtoMessage

func (*PermsUpdate) ProtoMessage()

func (*PermsUpdate) ProtoReflect

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

func (*PermsUpdate) Reset

func (x *PermsUpdate) Reset()

func (*PermsUpdate) String

func (x *PermsUpdate) String() string

func (*PermsUpdate) Validate

func (m *PermsUpdate) Validate() error

Validate checks the field values on PermsUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PermsUpdate) ValidateAll

func (m *PermsUpdate) ValidateAll() error

ValidateAll checks the field values on PermsUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermsUpdateMultiError, or nil if none found.

type PermsUpdateMultiError

type PermsUpdateMultiError []error

PermsUpdateMultiError is an error wrapping multiple validation errors returned by PermsUpdate.ValidateAll() if the designated constraints aren't met.

func (PermsUpdateMultiError) AllErrors

func (m PermsUpdateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PermsUpdateMultiError) Error

func (m PermsUpdateMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PermsUpdateValidationError

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

PermsUpdateValidationError is the validation error returned by PermsUpdate.Validate if the designated constraints aren't met.

func (PermsUpdateValidationError) Cause

Cause function returns cause value.

func (PermsUpdateValidationError) Error

Error satisfies the builtin error interface

func (PermsUpdateValidationError) ErrorName

func (e PermsUpdateValidationError) ErrorName() string

ErrorName returns error name.

func (PermsUpdateValidationError) Field

Field function returns field value.

func (PermsUpdateValidationError) Key

Key function returns key value.

func (PermsUpdateValidationError) Reason

Reason function returns reason value.

type RectorConfigServiceClient

type RectorConfigServiceClient interface {
	// @perm: Name=SuperUser
	GetAppConfig(ctx context.Context, in *GetAppConfigRequest, opts ...grpc.CallOption) (*GetAppConfigResponse, error)
	// @perm: Name=SuperUser
	UpdateAppConfig(ctx context.Context, in *UpdateAppConfigRequest, opts ...grpc.CallOption) (*UpdateAppConfigResponse, error)
}

RectorConfigServiceClient is the client API for RectorConfigService 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 RectorConfigServiceServer

type RectorConfigServiceServer interface {
	// @perm: Name=SuperUser
	GetAppConfig(context.Context, *GetAppConfigRequest) (*GetAppConfigResponse, error)
	// @perm: Name=SuperUser
	UpdateAppConfig(context.Context, *UpdateAppConfigRequest) (*UpdateAppConfigResponse, error)
	// contains filtered or unexported methods
}

RectorConfigServiceServer is the server API for RectorConfigService service. All implementations must embed UnimplementedRectorConfigServiceServer for forward compatibility

type RectorFilestoreServiceClient

type RectorFilestoreServiceClient interface {
	// @perm: Name=SuperUser
	ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (*ListFilesResponse, error)
	// @perm: Name=SuperUser
	UploadFile(ctx context.Context, in *UploadFileRequest, opts ...grpc.CallOption) (*UploadFileResponse, error)
	// @perm: Name=SuperUser
	DeleteFile(ctx context.Context, in *DeleteFileRequest, opts ...grpc.CallOption) (*DeleteFileResponse, error)
}

RectorFilestoreServiceClient is the client API for RectorFilestoreService 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 RectorFilestoreServiceServer

type RectorFilestoreServiceServer interface {
	// @perm: Name=SuperUser
	ListFiles(context.Context, *ListFilesRequest) (*ListFilesResponse, error)
	// @perm: Name=SuperUser
	UploadFile(context.Context, *UploadFileRequest) (*UploadFileResponse, error)
	// @perm: Name=SuperUser
	DeleteFile(context.Context, *DeleteFileRequest) (*DeleteFileResponse, error)
	// contains filtered or unexported methods
}

RectorFilestoreServiceServer is the server API for RectorFilestoreService service. All implementations must embed UnimplementedRectorFilestoreServiceServer for forward compatibility

type RectorLawsServiceClient

type RectorLawsServiceClient interface {
	// @perm: Name=SuperUser
	CreateOrUpdateLawBook(ctx context.Context, in *CreateOrUpdateLawBookRequest, opts ...grpc.CallOption) (*CreateOrUpdateLawBookResponse, error)
	// @perm: Name=SuperUser
	DeleteLawBook(ctx context.Context, in *DeleteLawBookRequest, opts ...grpc.CallOption) (*DeleteLawBookResponse, error)
	// @perm: Name=SuperUser
	CreateOrUpdateLaw(ctx context.Context, in *CreateOrUpdateLawRequest, opts ...grpc.CallOption) (*CreateOrUpdateLawResponse, error)
	// @perm: Name=SuperUser
	DeleteLaw(ctx context.Context, in *DeleteLawRequest, opts ...grpc.CallOption) (*DeleteLawResponse, error)
}

RectorLawsServiceClient is the client API for RectorLawsService 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 RectorLawsServiceServer

type RectorLawsServiceServer interface {
	// @perm: Name=SuperUser
	CreateOrUpdateLawBook(context.Context, *CreateOrUpdateLawBookRequest) (*CreateOrUpdateLawBookResponse, error)
	// @perm: Name=SuperUser
	DeleteLawBook(context.Context, *DeleteLawBookRequest) (*DeleteLawBookResponse, error)
	// @perm: Name=SuperUser
	CreateOrUpdateLaw(context.Context, *CreateOrUpdateLawRequest) (*CreateOrUpdateLawResponse, error)
	// @perm: Name=SuperUser
	DeleteLaw(context.Context, *DeleteLawRequest) (*DeleteLawResponse, error)
	// contains filtered or unexported methods
}

RectorLawsServiceServer is the server API for RectorLawsService service. All implementations must embed UnimplementedRectorLawsServiceServer for forward compatibility

type RectorServiceClient

type RectorServiceClient interface {
	// @perm
	GetJobProps(ctx context.Context, in *GetJobPropsRequest, opts ...grpc.CallOption) (*GetJobPropsResponse, error)
	// @perm
	SetJobProps(ctx context.Context, in *SetJobPropsRequest, opts ...grpc.CallOption) (*SetJobPropsResponse, error)
	// @perm
	GetRoles(ctx context.Context, in *GetRolesRequest, opts ...grpc.CallOption) (*GetRolesResponse, error)
	// @perm: Name=GetRoles
	GetRole(ctx context.Context, in *GetRoleRequest, opts ...grpc.CallOption) (*GetRoleResponse, error)
	// @perm
	CreateRole(ctx context.Context, in *CreateRoleRequest, opts ...grpc.CallOption) (*CreateRoleResponse, error)
	// @perm
	DeleteRole(ctx context.Context, in *DeleteRoleRequest, opts ...grpc.CallOption) (*DeleteRoleResponse, error)
	// @perm
	UpdateRolePerms(ctx context.Context, in *UpdateRolePermsRequest, opts ...grpc.CallOption) (*UpdateRolePermsResponse, error)
	// @perm: Name=GetRoles
	GetPermissions(ctx context.Context, in *GetPermissionsRequest, opts ...grpc.CallOption) (*GetPermissionsResponse, error)
	// @perm
	ViewAuditLog(ctx context.Context, in *ViewAuditLogRequest, opts ...grpc.CallOption) (*ViewAuditLogResponse, error)
	// @perm: Name=SuperUser
	UpdateRoleLimits(ctx context.Context, in *UpdateRoleLimitsRequest, opts ...grpc.CallOption) (*UpdateRoleLimitsResponse, error)
}

RectorServiceClient is the client API for RectorService 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 RectorServiceServer

type RectorServiceServer interface {
	// @perm
	GetJobProps(context.Context, *GetJobPropsRequest) (*GetJobPropsResponse, error)
	// @perm
	SetJobProps(context.Context, *SetJobPropsRequest) (*SetJobPropsResponse, error)
	// @perm
	GetRoles(context.Context, *GetRolesRequest) (*GetRolesResponse, error)
	// @perm: Name=GetRoles
	GetRole(context.Context, *GetRoleRequest) (*GetRoleResponse, error)
	// @perm
	CreateRole(context.Context, *CreateRoleRequest) (*CreateRoleResponse, error)
	// @perm
	DeleteRole(context.Context, *DeleteRoleRequest) (*DeleteRoleResponse, error)
	// @perm
	UpdateRolePerms(context.Context, *UpdateRolePermsRequest) (*UpdateRolePermsResponse, error)
	// @perm: Name=GetRoles
	GetPermissions(context.Context, *GetPermissionsRequest) (*GetPermissionsResponse, error)
	// @perm
	ViewAuditLog(context.Context, *ViewAuditLogRequest) (*ViewAuditLogResponse, error)
	// @perm: Name=SuperUser
	UpdateRoleLimits(context.Context, *UpdateRoleLimitsRequest) (*UpdateRoleLimitsResponse, error)
	// contains filtered or unexported methods
}

RectorServiceServer is the server API for RectorService service. All implementations must embed UnimplementedRectorServiceServer for forward compatibility

type Server

type Server struct {
	RectorServiceServer
	RectorConfigServiceServer
	RectorFilestoreServiceServer
	RectorLawsServiceServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(p Params) *Server

func (*Server) CreateOrUpdateLaw

func (s *Server) CreateOrUpdateLaw(ctx context.Context, req *CreateOrUpdateLawRequest) (*CreateOrUpdateLawResponse, error)

func (*Server) CreateOrUpdateLawBook

func (*Server) CreateRole

func (s *Server) CreateRole(ctx context.Context, req *CreateRoleRequest) (*CreateRoleResponse, error)

func (*Server) DeleteFile

func (s *Server) DeleteFile(ctx context.Context, req *DeleteFileRequest) (*DeleteFileResponse, error)

func (*Server) DeleteLaw

func (s *Server) DeleteLaw(ctx context.Context, req *DeleteLawRequest) (*DeleteLawResponse, error)

func (*Server) DeleteLawBook

func (s *Server) DeleteLawBook(ctx context.Context, req *DeleteLawBookRequest) (*DeleteLawBookResponse, error)

func (*Server) DeleteRole

func (s *Server) DeleteRole(ctx context.Context, req *DeleteRoleRequest) (*DeleteRoleResponse, error)

func (*Server) GetAppConfig

func (s *Server) GetAppConfig(ctx context.Context, req *GetAppConfigRequest) (*GetAppConfigResponse, error)

func (*Server) GetJobProps

func (s *Server) GetJobProps(ctx context.Context, req *GetJobPropsRequest) (*GetJobPropsResponse, error)

func (*Server) GetPermissions

func (s *Server) GetPermissions(ctx context.Context, req *GetPermissionsRequest) (*GetPermissionsResponse, error)

func (*Server) GetPermsRemap

func (s *Server) GetPermsRemap() map[string]string

func (*Server) GetRole

func (s *Server) GetRole(ctx context.Context, req *GetRoleRequest) (*GetRoleResponse, error)

func (*Server) GetRoles

func (s *Server) GetRoles(ctx context.Context, req *GetRolesRequest) (*GetRolesResponse, error)

func (*Server) ListFiles

func (s *Server) ListFiles(ctx context.Context, req *ListFilesRequest) (*ListFilesResponse, error)

func (*Server) RegisterServer

func (s *Server) RegisterServer(srv *grpc.Server)

func (*Server) SetJobProps

func (s *Server) SetJobProps(ctx context.Context, req *SetJobPropsRequest) (*SetJobPropsResponse, error)

func (*Server) UpdateAppConfig

func (s *Server) UpdateAppConfig(ctx context.Context, req *UpdateAppConfigRequest) (*UpdateAppConfigResponse, error)

func (*Server) UpdateRoleLimits

func (s *Server) UpdateRoleLimits(ctx context.Context, req *UpdateRoleLimitsRequest) (*UpdateRoleLimitsResponse, error)

func (*Server) UpdateRolePerms

func (s *Server) UpdateRolePerms(ctx context.Context, req *UpdateRolePermsRequest) (*UpdateRolePermsResponse, error)

func (*Server) UploadFile

func (s *Server) UploadFile(ctx context.Context, req *UploadFileRequest) (*UploadFileResponse, error)

func (*Server) ViewAuditLog

func (s *Server) ViewAuditLog(ctx context.Context, req *ViewAuditLogRequest) (*ViewAuditLogResponse, error)

type SetJobPropsRequest

type SetJobPropsRequest struct {
	JobProps *users.JobProps `protobuf:"bytes,1,opt,name=job_props,json=jobProps,proto3" json:"job_props,omitempty"`
	// contains filtered or unexported fields
}

func (*SetJobPropsRequest) Descriptor deprecated

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

Deprecated: Use SetJobPropsRequest.ProtoReflect.Descriptor instead.

func (*SetJobPropsRequest) GetJobProps

func (x *SetJobPropsRequest) GetJobProps() *users.JobProps

func (*SetJobPropsRequest) ProtoMessage

func (*SetJobPropsRequest) ProtoMessage()

func (*SetJobPropsRequest) ProtoReflect

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

func (*SetJobPropsRequest) Reset

func (x *SetJobPropsRequest) Reset()

func (*SetJobPropsRequest) String

func (x *SetJobPropsRequest) String() string

func (*SetJobPropsRequest) Validate

func (m *SetJobPropsRequest) Validate() error

Validate checks the field values on SetJobPropsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetJobPropsRequest) ValidateAll

func (m *SetJobPropsRequest) ValidateAll() error

ValidateAll checks the field values on SetJobPropsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetJobPropsRequestMultiError, or nil if none found.

type SetJobPropsRequestMultiError

type SetJobPropsRequestMultiError []error

SetJobPropsRequestMultiError is an error wrapping multiple validation errors returned by SetJobPropsRequest.ValidateAll() if the designated constraints aren't met.

func (SetJobPropsRequestMultiError) AllErrors

func (m SetJobPropsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetJobPropsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetJobPropsRequestValidationError

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

SetJobPropsRequestValidationError is the validation error returned by SetJobPropsRequest.Validate if the designated constraints aren't met.

func (SetJobPropsRequestValidationError) Cause

Cause function returns cause value.

func (SetJobPropsRequestValidationError) Error

Error satisfies the builtin error interface

func (SetJobPropsRequestValidationError) ErrorName

ErrorName returns error name.

func (SetJobPropsRequestValidationError) Field

Field function returns field value.

func (SetJobPropsRequestValidationError) Key

Key function returns key value.

func (SetJobPropsRequestValidationError) Reason

Reason function returns reason value.

type SetJobPropsResponse

type SetJobPropsResponse struct {
	JobProps *users.JobProps `protobuf:"bytes,1,opt,name=job_props,json=jobProps,proto3" json:"job_props,omitempty"`
	// contains filtered or unexported fields
}

func (*SetJobPropsResponse) Descriptor deprecated

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

Deprecated: Use SetJobPropsResponse.ProtoReflect.Descriptor instead.

func (*SetJobPropsResponse) GetJobProps

func (x *SetJobPropsResponse) GetJobProps() *users.JobProps

func (*SetJobPropsResponse) ProtoMessage

func (*SetJobPropsResponse) ProtoMessage()

func (*SetJobPropsResponse) ProtoReflect

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

func (*SetJobPropsResponse) Reset

func (x *SetJobPropsResponse) Reset()

func (*SetJobPropsResponse) String

func (x *SetJobPropsResponse) String() string

func (*SetJobPropsResponse) Validate

func (m *SetJobPropsResponse) Validate() error

Validate checks the field values on SetJobPropsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetJobPropsResponse) ValidateAll

func (m *SetJobPropsResponse) ValidateAll() error

ValidateAll checks the field values on SetJobPropsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetJobPropsResponseMultiError, or nil if none found.

type SetJobPropsResponseMultiError

type SetJobPropsResponseMultiError []error

SetJobPropsResponseMultiError is an error wrapping multiple validation errors returned by SetJobPropsResponse.ValidateAll() if the designated constraints aren't met.

func (SetJobPropsResponseMultiError) AllErrors

func (m SetJobPropsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetJobPropsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SetJobPropsResponseValidationError

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

SetJobPropsResponseValidationError is the validation error returned by SetJobPropsResponse.Validate if the designated constraints aren't met.

func (SetJobPropsResponseValidationError) Cause

Cause function returns cause value.

func (SetJobPropsResponseValidationError) Error

Error satisfies the builtin error interface

func (SetJobPropsResponseValidationError) ErrorName

ErrorName returns error name.

func (SetJobPropsResponseValidationError) Field

Field function returns field value.

func (SetJobPropsResponseValidationError) Key

Key function returns key value.

func (SetJobPropsResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedRectorConfigServiceServer

type UnimplementedRectorConfigServiceServer struct {
}

UnimplementedRectorConfigServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRectorConfigServiceServer) GetAppConfig

func (UnimplementedRectorConfigServiceServer) UpdateAppConfig

type UnimplementedRectorFilestoreServiceServer

type UnimplementedRectorFilestoreServiceServer struct {
}

UnimplementedRectorFilestoreServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRectorFilestoreServiceServer) DeleteFile

func (UnimplementedRectorFilestoreServiceServer) ListFiles

func (UnimplementedRectorFilestoreServiceServer) UploadFile

type UnimplementedRectorLawsServiceServer

type UnimplementedRectorLawsServiceServer struct {
}

UnimplementedRectorLawsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRectorLawsServiceServer) CreateOrUpdateLaw

func (UnimplementedRectorLawsServiceServer) DeleteLaw

func (UnimplementedRectorLawsServiceServer) DeleteLawBook

type UnimplementedRectorServiceServer

type UnimplementedRectorServiceServer struct {
}

UnimplementedRectorServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRectorServiceServer) CreateRole

func (UnimplementedRectorServiceServer) DeleteRole

func (UnimplementedRectorServiceServer) GetJobProps

func (UnimplementedRectorServiceServer) GetPermissions

func (UnimplementedRectorServiceServer) GetRole

func (UnimplementedRectorServiceServer) GetRoles

func (UnimplementedRectorServiceServer) SetJobProps

func (UnimplementedRectorServiceServer) UpdateRoleLimits

func (UnimplementedRectorServiceServer) UpdateRolePerms

func (UnimplementedRectorServiceServer) ViewAuditLog

type UnsafeRectorConfigServiceServer

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

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

type UnsafeRectorFilestoreServiceServer

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

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

type UnsafeRectorLawsServiceServer

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

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

type UnsafeRectorServiceServer

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

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

type UpdateAppConfigRequest

type UpdateAppConfigRequest struct {
	Config *rector.AppConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAppConfigRequest) Descriptor deprecated

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

Deprecated: Use UpdateAppConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateAppConfigRequest) GetConfig

func (x *UpdateAppConfigRequest) GetConfig() *rector.AppConfig

func (*UpdateAppConfigRequest) ProtoMessage

func (*UpdateAppConfigRequest) ProtoMessage()

func (*UpdateAppConfigRequest) ProtoReflect

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

func (*UpdateAppConfigRequest) Reset

func (x *UpdateAppConfigRequest) Reset()

func (*UpdateAppConfigRequest) String

func (x *UpdateAppConfigRequest) String() string

func (*UpdateAppConfigRequest) Validate

func (m *UpdateAppConfigRequest) Validate() error

Validate checks the field values on UpdateAppConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateAppConfigRequest) ValidateAll

func (m *UpdateAppConfigRequest) ValidateAll() error

ValidateAll checks the field values on UpdateAppConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateAppConfigRequestMultiError, or nil if none found.

type UpdateAppConfigRequestMultiError

type UpdateAppConfigRequestMultiError []error

UpdateAppConfigRequestMultiError is an error wrapping multiple validation errors returned by UpdateAppConfigRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateAppConfigRequestMultiError) AllErrors

func (m UpdateAppConfigRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateAppConfigRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateAppConfigRequestValidationError

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

UpdateAppConfigRequestValidationError is the validation error returned by UpdateAppConfigRequest.Validate if the designated constraints aren't met.

func (UpdateAppConfigRequestValidationError) Cause

Cause function returns cause value.

func (UpdateAppConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateAppConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateAppConfigRequestValidationError) Field

Field function returns field value.

func (UpdateAppConfigRequestValidationError) Key

Key function returns key value.

func (UpdateAppConfigRequestValidationError) Reason

Reason function returns reason value.

type UpdateAppConfigResponse

type UpdateAppConfigResponse struct {
	Config *rector.AppConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAppConfigResponse) Descriptor deprecated

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

Deprecated: Use UpdateAppConfigResponse.ProtoReflect.Descriptor instead.

func (*UpdateAppConfigResponse) GetConfig

func (x *UpdateAppConfigResponse) GetConfig() *rector.AppConfig

func (*UpdateAppConfigResponse) ProtoMessage

func (*UpdateAppConfigResponse) ProtoMessage()

func (*UpdateAppConfigResponse) ProtoReflect

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

func (*UpdateAppConfigResponse) Reset

func (x *UpdateAppConfigResponse) Reset()

func (*UpdateAppConfigResponse) String

func (x *UpdateAppConfigResponse) String() string

func (*UpdateAppConfigResponse) Validate

func (m *UpdateAppConfigResponse) Validate() error

Validate checks the field values on UpdateAppConfigResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateAppConfigResponse) ValidateAll

func (m *UpdateAppConfigResponse) ValidateAll() error

ValidateAll checks the field values on UpdateAppConfigResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateAppConfigResponseMultiError, or nil if none found.

type UpdateAppConfigResponseMultiError

type UpdateAppConfigResponseMultiError []error

UpdateAppConfigResponseMultiError is an error wrapping multiple validation errors returned by UpdateAppConfigResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateAppConfigResponseMultiError) AllErrors

func (m UpdateAppConfigResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateAppConfigResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateAppConfigResponseValidationError

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

UpdateAppConfigResponseValidationError is the validation error returned by UpdateAppConfigResponse.Validate if the designated constraints aren't met.

func (UpdateAppConfigResponseValidationError) Cause

Cause function returns cause value.

func (UpdateAppConfigResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateAppConfigResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateAppConfigResponseValidationError) Field

Field function returns field value.

func (UpdateAppConfigResponseValidationError) Key

Key function returns key value.

func (UpdateAppConfigResponseValidationError) Reason

Reason function returns reason value.

type UpdateRoleLimitsRequest

type UpdateRoleLimitsRequest struct {
	RoleId uint64       `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	Perms  *PermsUpdate `protobuf:"bytes,2,opt,name=perms,proto3,oneof" json:"perms,omitempty"`
	Attrs  *AttrsUpdate `protobuf:"bytes,3,opt,name=attrs,proto3,oneof" json:"attrs,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleLimitsRequest) Descriptor deprecated

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

Deprecated: Use UpdateRoleLimitsRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleLimitsRequest) GetAttrs

func (x *UpdateRoleLimitsRequest) GetAttrs() *AttrsUpdate

func (*UpdateRoleLimitsRequest) GetPerms

func (x *UpdateRoleLimitsRequest) GetPerms() *PermsUpdate

func (*UpdateRoleLimitsRequest) GetRoleId

func (x *UpdateRoleLimitsRequest) GetRoleId() uint64

func (*UpdateRoleLimitsRequest) ProtoMessage

func (*UpdateRoleLimitsRequest) ProtoMessage()

func (*UpdateRoleLimitsRequest) ProtoReflect

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

func (*UpdateRoleLimitsRequest) Reset

func (x *UpdateRoleLimitsRequest) Reset()

func (*UpdateRoleLimitsRequest) String

func (x *UpdateRoleLimitsRequest) String() string

func (*UpdateRoleLimitsRequest) Validate

func (m *UpdateRoleLimitsRequest) Validate() error

Validate checks the field values on UpdateRoleLimitsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateRoleLimitsRequest) ValidateAll

func (m *UpdateRoleLimitsRequest) ValidateAll() error

ValidateAll checks the field values on UpdateRoleLimitsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRoleLimitsRequestMultiError, or nil if none found.

type UpdateRoleLimitsRequestMultiError

type UpdateRoleLimitsRequestMultiError []error

UpdateRoleLimitsRequestMultiError is an error wrapping multiple validation errors returned by UpdateRoleLimitsRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateRoleLimitsRequestMultiError) AllErrors

func (m UpdateRoleLimitsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRoleLimitsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateRoleLimitsRequestValidationError

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

UpdateRoleLimitsRequestValidationError is the validation error returned by UpdateRoleLimitsRequest.Validate if the designated constraints aren't met.

func (UpdateRoleLimitsRequestValidationError) Cause

Cause function returns cause value.

func (UpdateRoleLimitsRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRoleLimitsRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateRoleLimitsRequestValidationError) Field

Field function returns field value.

func (UpdateRoleLimitsRequestValidationError) Key

Key function returns key value.

func (UpdateRoleLimitsRequestValidationError) Reason

Reason function returns reason value.

type UpdateRoleLimitsResponse

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

func (*UpdateRoleLimitsResponse) Descriptor deprecated

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

Deprecated: Use UpdateRoleLimitsResponse.ProtoReflect.Descriptor instead.

func (*UpdateRoleLimitsResponse) ProtoMessage

func (*UpdateRoleLimitsResponse) ProtoMessage()

func (*UpdateRoleLimitsResponse) ProtoReflect

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

func (*UpdateRoleLimitsResponse) Reset

func (x *UpdateRoleLimitsResponse) Reset()

func (*UpdateRoleLimitsResponse) String

func (x *UpdateRoleLimitsResponse) String() string

func (*UpdateRoleLimitsResponse) Validate

func (m *UpdateRoleLimitsResponse) Validate() error

Validate checks the field values on UpdateRoleLimitsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateRoleLimitsResponse) ValidateAll

func (m *UpdateRoleLimitsResponse) ValidateAll() error

ValidateAll checks the field values on UpdateRoleLimitsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRoleLimitsResponseMultiError, or nil if none found.

type UpdateRoleLimitsResponseMultiError

type UpdateRoleLimitsResponseMultiError []error

UpdateRoleLimitsResponseMultiError is an error wrapping multiple validation errors returned by UpdateRoleLimitsResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateRoleLimitsResponseMultiError) AllErrors

func (m UpdateRoleLimitsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRoleLimitsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateRoleLimitsResponseValidationError

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

UpdateRoleLimitsResponseValidationError is the validation error returned by UpdateRoleLimitsResponse.Validate if the designated constraints aren't met.

func (UpdateRoleLimitsResponseValidationError) Cause

Cause function returns cause value.

func (UpdateRoleLimitsResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateRoleLimitsResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateRoleLimitsResponseValidationError) Field

Field function returns field value.

func (UpdateRoleLimitsResponseValidationError) Key

Key function returns key value.

func (UpdateRoleLimitsResponseValidationError) Reason

Reason function returns reason value.

type UpdateRolePermsRequest

type UpdateRolePermsRequest struct {
	Id    uint64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Perms *PermsUpdate `protobuf:"bytes,2,opt,name=perms,proto3,oneof" json:"perms,omitempty"`
	Attrs *AttrsUpdate `protobuf:"bytes,3,opt,name=attrs,proto3,oneof" json:"attrs,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRolePermsRequest) Descriptor deprecated

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

Deprecated: Use UpdateRolePermsRequest.ProtoReflect.Descriptor instead.

func (*UpdateRolePermsRequest) GetAttrs

func (x *UpdateRolePermsRequest) GetAttrs() *AttrsUpdate

func (*UpdateRolePermsRequest) GetId

func (x *UpdateRolePermsRequest) GetId() uint64

func (*UpdateRolePermsRequest) GetPerms

func (x *UpdateRolePermsRequest) GetPerms() *PermsUpdate

func (*UpdateRolePermsRequest) ProtoMessage

func (*UpdateRolePermsRequest) ProtoMessage()

func (*UpdateRolePermsRequest) ProtoReflect

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

func (*UpdateRolePermsRequest) Reset

func (x *UpdateRolePermsRequest) Reset()

func (*UpdateRolePermsRequest) String

func (x *UpdateRolePermsRequest) String() string

func (*UpdateRolePermsRequest) Validate

func (m *UpdateRolePermsRequest) Validate() error

Validate checks the field values on UpdateRolePermsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateRolePermsRequest) ValidateAll

func (m *UpdateRolePermsRequest) ValidateAll() error

ValidateAll checks the field values on UpdateRolePermsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRolePermsRequestMultiError, or nil if none found.

type UpdateRolePermsRequestMultiError

type UpdateRolePermsRequestMultiError []error

UpdateRolePermsRequestMultiError is an error wrapping multiple validation errors returned by UpdateRolePermsRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateRolePermsRequestMultiError) AllErrors

func (m UpdateRolePermsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRolePermsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateRolePermsRequestValidationError

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

UpdateRolePermsRequestValidationError is the validation error returned by UpdateRolePermsRequest.Validate if the designated constraints aren't met.

func (UpdateRolePermsRequestValidationError) Cause

Cause function returns cause value.

func (UpdateRolePermsRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRolePermsRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateRolePermsRequestValidationError) Field

Field function returns field value.

func (UpdateRolePermsRequestValidationError) Key

Key function returns key value.

func (UpdateRolePermsRequestValidationError) Reason

Reason function returns reason value.

type UpdateRolePermsResponse

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

func (*UpdateRolePermsResponse) Descriptor deprecated

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

Deprecated: Use UpdateRolePermsResponse.ProtoReflect.Descriptor instead.

func (*UpdateRolePermsResponse) ProtoMessage

func (*UpdateRolePermsResponse) ProtoMessage()

func (*UpdateRolePermsResponse) ProtoReflect

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

func (*UpdateRolePermsResponse) Reset

func (x *UpdateRolePermsResponse) Reset()

func (*UpdateRolePermsResponse) String

func (x *UpdateRolePermsResponse) String() string

func (*UpdateRolePermsResponse) Validate

func (m *UpdateRolePermsResponse) Validate() error

Validate checks the field values on UpdateRolePermsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateRolePermsResponse) ValidateAll

func (m *UpdateRolePermsResponse) ValidateAll() error

ValidateAll checks the field values on UpdateRolePermsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRolePermsResponseMultiError, or nil if none found.

type UpdateRolePermsResponseMultiError

type UpdateRolePermsResponseMultiError []error

UpdateRolePermsResponseMultiError is an error wrapping multiple validation errors returned by UpdateRolePermsResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateRolePermsResponseMultiError) AllErrors

func (m UpdateRolePermsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRolePermsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateRolePermsResponseValidationError

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

UpdateRolePermsResponseValidationError is the validation error returned by UpdateRolePermsResponse.Validate if the designated constraints aren't met.

func (UpdateRolePermsResponseValidationError) Cause

Cause function returns cause value.

func (UpdateRolePermsResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateRolePermsResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateRolePermsResponseValidationError) Field

Field function returns field value.

func (UpdateRolePermsResponseValidationError) Key

Key function returns key value.

func (UpdateRolePermsResponseValidationError) Reason

Reason function returns reason value.

type UploadFileRequest

type UploadFileRequest struct {
	Prefix string          `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Name   string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	File   *filestore.File `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadFileRequest) Descriptor deprecated

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

Deprecated: Use UploadFileRequest.ProtoReflect.Descriptor instead.

func (*UploadFileRequest) GetFile

func (x *UploadFileRequest) GetFile() *filestore.File

func (*UploadFileRequest) GetName

func (x *UploadFileRequest) GetName() string

func (*UploadFileRequest) GetPrefix

func (x *UploadFileRequest) GetPrefix() string

func (*UploadFileRequest) ProtoMessage

func (*UploadFileRequest) ProtoMessage()

func (*UploadFileRequest) ProtoReflect

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

func (*UploadFileRequest) Reset

func (x *UploadFileRequest) Reset()

func (*UploadFileRequest) String

func (x *UploadFileRequest) String() string

func (*UploadFileRequest) Validate

func (m *UploadFileRequest) Validate() error

Validate checks the field values on UploadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadFileRequest) ValidateAll

func (m *UploadFileRequest) ValidateAll() error

ValidateAll checks the field values on UploadFileRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileRequestMultiError, or nil if none found.

type UploadFileRequestMultiError

type UploadFileRequestMultiError []error

UploadFileRequestMultiError is an error wrapping multiple validation errors returned by UploadFileRequest.ValidateAll() if the designated constraints aren't met.

func (UploadFileRequestMultiError) AllErrors

func (m UploadFileRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadFileRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UploadFileRequestValidationError

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

UploadFileRequestValidationError is the validation error returned by UploadFileRequest.Validate if the designated constraints aren't met.

func (UploadFileRequestValidationError) Cause

Cause function returns cause value.

func (UploadFileRequestValidationError) Error

Error satisfies the builtin error interface

func (UploadFileRequestValidationError) ErrorName

ErrorName returns error name.

func (UploadFileRequestValidationError) Field

Field function returns field value.

func (UploadFileRequestValidationError) Key

Key function returns key value.

func (UploadFileRequestValidationError) Reason

Reason function returns reason value.

type UploadFileResponse

type UploadFileResponse struct {
	File *filestore.FileInfo `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadFileResponse) Descriptor deprecated

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

Deprecated: Use UploadFileResponse.ProtoReflect.Descriptor instead.

func (*UploadFileResponse) GetFile

func (x *UploadFileResponse) GetFile() *filestore.FileInfo

func (*UploadFileResponse) ProtoMessage

func (*UploadFileResponse) ProtoMessage()

func (*UploadFileResponse) ProtoReflect

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

func (*UploadFileResponse) Reset

func (x *UploadFileResponse) Reset()

func (*UploadFileResponse) String

func (x *UploadFileResponse) String() string

func (*UploadFileResponse) Validate

func (m *UploadFileResponse) Validate() error

Validate checks the field values on UploadFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UploadFileResponse) ValidateAll

func (m *UploadFileResponse) ValidateAll() error

ValidateAll checks the field values on UploadFileResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UploadFileResponseMultiError, or nil if none found.

type UploadFileResponseMultiError

type UploadFileResponseMultiError []error

UploadFileResponseMultiError is an error wrapping multiple validation errors returned by UploadFileResponse.ValidateAll() if the designated constraints aren't met.

func (UploadFileResponseMultiError) AllErrors

func (m UploadFileResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UploadFileResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UploadFileResponseValidationError

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

UploadFileResponseValidationError is the validation error returned by UploadFileResponse.Validate if the designated constraints aren't met.

func (UploadFileResponseValidationError) Cause

Cause function returns cause value.

func (UploadFileResponseValidationError) Error

Error satisfies the builtin error interface

func (UploadFileResponseValidationError) ErrorName

ErrorName returns error name.

func (UploadFileResponseValidationError) Field

Field function returns field value.

func (UploadFileResponseValidationError) Key

Key function returns key value.

func (UploadFileResponseValidationError) Reason

Reason function returns reason value.

type ViewAuditLogRequest

type ViewAuditLogRequest struct {
	Pagination *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	UserIds    []int32                     `protobuf:"varint,2,rep,packed,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"`
	From       *timestamp.Timestamp        `protobuf:"bytes,3,opt,name=from,proto3,oneof" json:"from,omitempty"`
	To         *timestamp.Timestamp        `protobuf:"bytes,4,opt,name=to,proto3,oneof" json:"to,omitempty"`
	Service    *string                     `protobuf:"bytes,5,opt,name=service,proto3,oneof" json:"service,omitempty"`
	Method     *string                     `protobuf:"bytes,6,opt,name=method,proto3,oneof" json:"method,omitempty"`
	Search     *string                     `protobuf:"bytes,7,opt,name=search,proto3,oneof" json:"search,omitempty"`
	// contains filtered or unexported fields
}

func (*ViewAuditLogRequest) Descriptor deprecated

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

Deprecated: Use ViewAuditLogRequest.ProtoReflect.Descriptor instead.

func (*ViewAuditLogRequest) GetFrom

func (x *ViewAuditLogRequest) GetFrom() *timestamp.Timestamp

func (*ViewAuditLogRequest) GetMethod

func (x *ViewAuditLogRequest) GetMethod() string

func (*ViewAuditLogRequest) GetPagination

func (x *ViewAuditLogRequest) GetPagination() *database.PaginationRequest

func (*ViewAuditLogRequest) GetSearch

func (x *ViewAuditLogRequest) GetSearch() string

func (*ViewAuditLogRequest) GetService

func (x *ViewAuditLogRequest) GetService() string

func (*ViewAuditLogRequest) GetTo

func (*ViewAuditLogRequest) GetUserIds

func (x *ViewAuditLogRequest) GetUserIds() []int32

func (*ViewAuditLogRequest) ProtoMessage

func (*ViewAuditLogRequest) ProtoMessage()

func (*ViewAuditLogRequest) ProtoReflect

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

func (*ViewAuditLogRequest) Reset

func (x *ViewAuditLogRequest) Reset()

func (*ViewAuditLogRequest) String

func (x *ViewAuditLogRequest) String() string

func (*ViewAuditLogRequest) Validate

func (m *ViewAuditLogRequest) Validate() error

Validate checks the field values on ViewAuditLogRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ViewAuditLogRequest) ValidateAll

func (m *ViewAuditLogRequest) ValidateAll() error

ValidateAll checks the field values on ViewAuditLogRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ViewAuditLogRequestMultiError, or nil if none found.

type ViewAuditLogRequestMultiError

type ViewAuditLogRequestMultiError []error

ViewAuditLogRequestMultiError is an error wrapping multiple validation errors returned by ViewAuditLogRequest.ValidateAll() if the designated constraints aren't met.

func (ViewAuditLogRequestMultiError) AllErrors

func (m ViewAuditLogRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ViewAuditLogRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ViewAuditLogRequestValidationError

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

ViewAuditLogRequestValidationError is the validation error returned by ViewAuditLogRequest.Validate if the designated constraints aren't met.

func (ViewAuditLogRequestValidationError) Cause

Cause function returns cause value.

func (ViewAuditLogRequestValidationError) Error

Error satisfies the builtin error interface

func (ViewAuditLogRequestValidationError) ErrorName

ErrorName returns error name.

func (ViewAuditLogRequestValidationError) Field

Field function returns field value.

func (ViewAuditLogRequestValidationError) Key

Key function returns key value.

func (ViewAuditLogRequestValidationError) Reason

Reason function returns reason value.

type ViewAuditLogResponse

type ViewAuditLogResponse struct {
	Pagination *database.PaginationResponse `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Logs       []*rector.AuditEntry         `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"`
	// contains filtered or unexported fields
}

func (*ViewAuditLogResponse) Descriptor deprecated

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

Deprecated: Use ViewAuditLogResponse.ProtoReflect.Descriptor instead.

func (*ViewAuditLogResponse) GetLogs

func (x *ViewAuditLogResponse) GetLogs() []*rector.AuditEntry

func (*ViewAuditLogResponse) GetPagination

func (x *ViewAuditLogResponse) GetPagination() *database.PaginationResponse

func (*ViewAuditLogResponse) ProtoMessage

func (*ViewAuditLogResponse) ProtoMessage()

func (*ViewAuditLogResponse) ProtoReflect

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

func (*ViewAuditLogResponse) Reset

func (x *ViewAuditLogResponse) Reset()

func (*ViewAuditLogResponse) String

func (x *ViewAuditLogResponse) String() string

func (*ViewAuditLogResponse) Validate

func (m *ViewAuditLogResponse) Validate() error

Validate checks the field values on ViewAuditLogResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ViewAuditLogResponse) ValidateAll

func (m *ViewAuditLogResponse) ValidateAll() error

ValidateAll checks the field values on ViewAuditLogResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ViewAuditLogResponseMultiError, or nil if none found.

type ViewAuditLogResponseMultiError

type ViewAuditLogResponseMultiError []error

ViewAuditLogResponseMultiError is an error wrapping multiple validation errors returned by ViewAuditLogResponse.ValidateAll() if the designated constraints aren't met.

func (ViewAuditLogResponseMultiError) AllErrors

func (m ViewAuditLogResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ViewAuditLogResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ViewAuditLogResponseValidationError

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

ViewAuditLogResponseValidationError is the validation error returned by ViewAuditLogResponse.Validate if the designated constraints aren't met.

func (ViewAuditLogResponseValidationError) Cause

Cause function returns cause value.

func (ViewAuditLogResponseValidationError) Error

Error satisfies the builtin error interface

func (ViewAuditLogResponseValidationError) ErrorName

ErrorName returns error name.

func (ViewAuditLogResponseValidationError) Field

Field function returns field value.

func (ViewAuditLogResponseValidationError) Key

Key function returns key value.

func (ViewAuditLogResponseValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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