Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterLMSServer(s grpc.ServiceRegistrar, srv LMSServer)
- type DeleteFileTemplateRequest
- func (*DeleteFileTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileTemplateRequest) GetFileTemplate() *FileTemplateV2
- func (*DeleteFileTemplateRequest) ProtoMessage()
- func (x *DeleteFileTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFileTemplateRequest) Reset()
- func (x *DeleteFileTemplateRequest) String() string
- type DeleteFileTemplateResponse
- func (*DeleteFileTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileTemplateResponse) GetFileTemplate() *FileTemplateV2
- func (*DeleteFileTemplateResponse) ProtoMessage()
- func (x *DeleteFileTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteFileTemplateResponse) Reset()
- func (x *DeleteFileTemplateResponse) String() string
- type ExistingTemplate
- func (*ExistingTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *ExistingTemplate) GetFileTemplateId() int64
- func (x *ExistingTemplate) GetParseOpts() *ParseOpts
- func (*ExistingTemplate) ProtoMessage()
- func (x *ExistingTemplate) ProtoReflect() protoreflect.Message
- func (x *ExistingTemplate) Reset()
- func (x *ExistingTemplate) String() string
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetFormat() string
- func (x *Field) GetName() string
- func (x *Field) GetPresiType() string
- func (x *Field) GetRawValue() string
- func (x *Field) GetSyntaxType() string
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- type FileTemplate
- func (*FileTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *FileTemplate) GetFields() []*Field
- func (x *FileTemplate) GetFileTemplateId() int64
- func (x *FileTemplate) GetFilename() string
- func (x *FileTemplate) GetFoid() int64
- func (x *FileTemplate) GetOrgId() string
- func (x *FileTemplate) GetParseOpts() *ParseOpts
- func (*FileTemplate) ProtoMessage()
- func (x *FileTemplate) ProtoReflect() protoreflect.Message
- func (x *FileTemplate) Reset()
- func (x *FileTemplate) String() string
- type FileTemplateV2
- func (*FileTemplateV2) Descriptor() ([]byte, []int)deprecated
- func (x *FileTemplateV2) GetDockTemplate() *FileTemplate
- func (x *FileTemplateV2) GetLegacyTemplate() *v0alpha.FileTemplate
- func (m *FileTemplateV2) GetTemplate() isFileTemplateV2_Template
- func (*FileTemplateV2) ProtoMessage()
- func (x *FileTemplateV2) ProtoReflect() protoreflect.Message
- func (x *FileTemplateV2) Reset()
- func (x *FileTemplateV2) String() string
- type FileTemplateV2_DockTemplate
- type FileTemplateV2_LegacyTemplate
- type FileTemplates
- type GetFileTemplateRequest
- func (*GetFileTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileTemplateRequest) GetFileTemplate() *FileTemplateV2
- func (*GetFileTemplateRequest) ProtoMessage()
- func (x *GetFileTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetFileTemplateRequest) Reset()
- func (x *GetFileTemplateRequest) String() string
- type GetFileTemplateResponse
- func (*GetFileTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileTemplateResponse) GetFileTemplate() *FileTemplateV2
- func (*GetFileTemplateResponse) ProtoMessage()
- func (x *GetFileTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetFileTemplateResponse) Reset()
- func (x *GetFileTemplateResponse) String() string
- type LMSClient
- type LMSServer
- type ListFileTemplatesRequest
- func (*ListFileTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFileTemplatesRequest) GetLastId() string
- func (x *ListFileTemplatesRequest) GetPageSize() int32
- func (x *ListFileTemplatesRequest) GetValue() *FileTemplateV2
- func (*ListFileTemplatesRequest) ProtoMessage()
- func (x *ListFileTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListFileTemplatesRequest) Reset()
- func (x *ListFileTemplatesRequest) String() string
- type ListFileTemplatesResponse
- func (*ListFileTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFileTemplatesResponse) GetFileTemplates() []*FileTemplateV2
- func (*ListFileTemplatesResponse) ProtoMessage()
- func (x *ListFileTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFileTemplatesResponse) Reset()
- func (x *ListFileTemplatesResponse) String() string
- type NewTemplate
- func (*NewTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *NewTemplate) GetData() []byte
- func (x *NewTemplate) GetFilename() string
- func (x *NewTemplate) GetOrgId() string
- func (*NewTemplate) ProtoMessage()
- func (x *NewTemplate) ProtoReflect() protoreflect.Message
- func (x *NewTemplate) Reset()
- func (x *NewTemplate) String() string
- type OptsCsv
- func (*OptsCsv) Descriptor() ([]byte, []int)deprecated
- func (x *OptsCsv) GetHasHeader() bool
- func (x *OptsCsv) GetHeader() []string
- func (x *OptsCsv) GetSeparator() string
- func (x *OptsCsv) GetSkipRows() int64
- func (*OptsCsv) ProtoMessage()
- func (x *OptsCsv) ProtoReflect() protoreflect.Message
- func (x *OptsCsv) Reset()
- func (x *OptsCsv) String() string
- type OptsFixed
- func (*OptsFixed) Descriptor() ([]byte, []int)deprecated
- func (x *OptsFixed) GetHasHeader() bool
- func (x *OptsFixed) GetHeader() []*OptsFixed_Field
- func (*OptsFixed) ProtoMessage()
- func (x *OptsFixed) ProtoReflect() protoreflect.Message
- func (x *OptsFixed) Reset()
- func (x *OptsFixed) String() string
- type OptsFixed_Field
- func (*OptsFixed_Field) Descriptor() ([]byte, []int)deprecated
- func (x *OptsFixed_Field) GetFieldLength() int32
- func (x *OptsFixed_Field) GetStartingPosition() int32
- func (*OptsFixed_Field) ProtoMessage()
- func (x *OptsFixed_Field) ProtoReflect() protoreflect.Message
- func (x *OptsFixed_Field) Reset()
- func (x *OptsFixed_Field) String() string
- type OptsJson
- type OptsJsonL
- type OptsParquet
- type ParseFileTemplateRequest
- func (*ParseFileTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseFileTemplateRequest) GetExistingTemplate() *ExistingTemplate
- func (x *ParseFileTemplateRequest) GetNewTemplate() *NewTemplate
- func (m *ParseFileTemplateRequest) GetRetrieveBy() isParseFileTemplateRequest_RetrieveBy
- func (*ParseFileTemplateRequest) ProtoMessage()
- func (x *ParseFileTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *ParseFileTemplateRequest) Reset()
- func (x *ParseFileTemplateRequest) String() string
- type ParseFileTemplateRequest_ExistingTemplate
- type ParseFileTemplateRequest_NewTemplate
- type ParseFileTemplateResult
- type ParseOpts
- func (*ParseOpts) Descriptor() ([]byte, []int)deprecated
- func (x *ParseOpts) GetCsv() *OptsCsv
- func (x *ParseOpts) GetFixed() *OptsFixed
- func (m *ParseOpts) GetFtype() isParseOpts_Ftype
- func (x *ParseOpts) GetJson() *OptsJson
- func (x *ParseOpts) GetJsonl() *OptsJsonL
- func (x *ParseOpts) GetParquet() *OptsParquet
- func (*ParseOpts) ProtoMessage()
- func (x *ParseOpts) ProtoReflect() protoreflect.Message
- func (x *ParseOpts) Reset()
- func (x *ParseOpts) String() string
- type ParseOpts_Csv
- type ParseOpts_Fixed
- type ParseOpts_Json
- type ParseOpts_Jsonl
- type ParseOpts_Parquet
- type UnimplementedLMSServer
- func (UnimplementedLMSServer) DeleteFileTemplate(context.Context, *DeleteFileTemplateRequest) (*DeleteFileTemplateResponse, error)
- func (UnimplementedLMSServer) GetFileTemplate(context.Context, *GetFileTemplateRequest) (*GetFileTemplateResponse, error)
- func (UnimplementedLMSServer) ListFileTemplates(context.Context, *ListFileTemplatesRequest) (*ListFileTemplatesResponse, error)
- func (UnimplementedLMSServer) ParseFileTemplate(context.Context, *ParseFileTemplateRequest) (*ParseFileTemplateResult, error)
- func (UnimplementedLMSServer) UpdateFileTemplate(context.Context, *UpdateFileTemplateRequest) (*UpdateFileTemplateResponse, error)
- type UnsafeLMSServer
- type UpdateFileTemplateRequest
- func (*UpdateFileTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFileTemplateRequest) GetFileTemplate() *FileTemplateV2
- func (*UpdateFileTemplateRequest) ProtoMessage()
- func (x *UpdateFileTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFileTemplateRequest) Reset()
- func (x *UpdateFileTemplateRequest) String() string
- type UpdateFileTemplateResponse
- func (*UpdateFileTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFileTemplateResponse) GetFileTemplate() *FileTemplateV2
- func (*UpdateFileTemplateResponse) ProtoMessage()
- func (x *UpdateFileTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateFileTemplateResponse) Reset()
- func (x *UpdateFileTemplateResponse) String() string
Constants ¶
const ( LMS_DeleteFileTemplate_FullMethodName = "/api.v1alpha1.lms.LMS/DeleteFileTemplate" LMS_GetFileTemplate_FullMethodName = "/api.v1alpha1.lms.LMS/GetFileTemplate" LMS_ListFileTemplates_FullMethodName = "/api.v1alpha1.lms.LMS/ListFileTemplates" LMS_ParseFileTemplate_FullMethodName = "/api.v1alpha1.lms.LMS/ParseFileTemplate" LMS_UpdateFileTemplate_FullMethodName = "/api.v1alpha1.lms.LMS/UpdateFileTemplate" )
Variables ¶
var File_api_v1alpha1_lms_api_proto protoreflect.FileDescriptor
var File_api_v1alpha1_lms_entities_proto protoreflect.FileDescriptor
var LMS_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.lms.LMS", HandlerType: (*LMSServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DeleteFileTemplate", Handler: _LMS_DeleteFileTemplate_Handler, }, { MethodName: "GetFileTemplate", Handler: _LMS_GetFileTemplate_Handler, }, { MethodName: "ListFileTemplates", Handler: _LMS_ListFileTemplates_Handler, }, { MethodName: "ParseFileTemplate", Handler: _LMS_ParseFileTemplate_Handler, }, { MethodName: "UpdateFileTemplate", Handler: _LMS_UpdateFileTemplate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/lms/api.proto", }
LMS_ServiceDesc is the grpc.ServiceDesc for LMS service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLMSServer ¶
func RegisterLMSServer(s grpc.ServiceRegistrar, srv LMSServer)
Types ¶
type DeleteFileTemplateRequest ¶
type DeleteFileTemplateRequest struct { FileTemplate *FileTemplateV2 `protobuf:"bytes,1,opt,name=file_template,json=fileTemplate,proto3" json:"file_template,omitempty"` // contains filtered or unexported fields }
func (*DeleteFileTemplateRequest) Descriptor
deprecated
func (*DeleteFileTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteFileTemplateRequest) GetFileTemplate ¶
func (x *DeleteFileTemplateRequest) GetFileTemplate() *FileTemplateV2
func (*DeleteFileTemplateRequest) ProtoMessage ¶
func (*DeleteFileTemplateRequest) ProtoMessage()
func (*DeleteFileTemplateRequest) ProtoReflect ¶
func (x *DeleteFileTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteFileTemplateRequest) Reset ¶
func (x *DeleteFileTemplateRequest) Reset()
func (*DeleteFileTemplateRequest) String ¶
func (x *DeleteFileTemplateRequest) String() string
type DeleteFileTemplateResponse ¶
type DeleteFileTemplateResponse struct { FileTemplate *FileTemplateV2 `protobuf:"bytes,1,opt,name=file_template,json=fileTemplate,proto3" json:"file_template,omitempty"` // contains filtered or unexported fields }
func (*DeleteFileTemplateResponse) Descriptor
deprecated
func (*DeleteFileTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileTemplateResponse.ProtoReflect.Descriptor instead.
func (*DeleteFileTemplateResponse) GetFileTemplate ¶
func (x *DeleteFileTemplateResponse) GetFileTemplate() *FileTemplateV2
func (*DeleteFileTemplateResponse) ProtoMessage ¶
func (*DeleteFileTemplateResponse) ProtoMessage()
func (*DeleteFileTemplateResponse) ProtoReflect ¶
func (x *DeleteFileTemplateResponse) ProtoReflect() protoreflect.Message
func (*DeleteFileTemplateResponse) Reset ¶
func (x *DeleteFileTemplateResponse) Reset()
func (*DeleteFileTemplateResponse) String ¶
func (x *DeleteFileTemplateResponse) String() string
type ExistingTemplate ¶
type ExistingTemplate struct { FileTemplateId int64 `protobuf:"varint,1,opt,name=file_template_id,json=fileTemplateId,proto3" json:"file_template_id,omitempty"` ParseOpts *ParseOpts `protobuf:"bytes,2,opt,name=parse_opts,json=parseOpts,proto3" json:"parse_opts,omitempty"` // contains filtered or unexported fields }
func (*ExistingTemplate) Descriptor
deprecated
func (*ExistingTemplate) Descriptor() ([]byte, []int)
Deprecated: Use ExistingTemplate.ProtoReflect.Descriptor instead.
func (*ExistingTemplate) GetFileTemplateId ¶
func (x *ExistingTemplate) GetFileTemplateId() int64
func (*ExistingTemplate) GetParseOpts ¶
func (x *ExistingTemplate) GetParseOpts() *ParseOpts
func (*ExistingTemplate) ProtoMessage ¶
func (*ExistingTemplate) ProtoMessage()
func (*ExistingTemplate) ProtoReflect ¶
func (x *ExistingTemplate) ProtoReflect() protoreflect.Message
func (*ExistingTemplate) Reset ¶
func (x *ExistingTemplate) Reset()
func (*ExistingTemplate) String ¶
func (x *ExistingTemplate) String() string
type Field ¶
type Field struct { SyntaxType string `protobuf:"bytes,1,opt,name=syntax_type,json=syntaxType,proto3" json:"syntax_type,omitempty"` PresiType string `protobuf:"bytes,2,opt,name=presi_type,json=presiType,proto3" json:"presi_type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` // example of a value for this field RawValue string `protobuf:"bytes,5,opt,name=raw_value,json=rawValue,proto3" json:"raw_value,omitempty"` // contains filtered or unexported fields }
func (*Field) Descriptor
deprecated
func (*Field) GetPresiType ¶
func (*Field) GetRawValue ¶
func (*Field) GetSyntaxType ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type FileTemplate ¶
type FileTemplate struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` FileTemplateId int64 `protobuf:"varint,2,opt,name=file_template_id,json=fileTemplateId,proto3" json:"file_template_id,omitempty"` Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` Fields []*Field `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` ParseOpts *ParseOpts `protobuf:"bytes,5,opt,name=parse_opts,json=parseOpts,proto3" json:"parse_opts,omitempty"` Foid int64 `protobuf:"varint,6,opt,name=foid,proto3" json:"foid,omitempty"` // contains filtered or unexported fields }
func (*FileTemplate) Descriptor
deprecated
func (*FileTemplate) Descriptor() ([]byte, []int)
Deprecated: Use FileTemplate.ProtoReflect.Descriptor instead.
func (*FileTemplate) GetFields ¶
func (x *FileTemplate) GetFields() []*Field
func (*FileTemplate) GetFileTemplateId ¶
func (x *FileTemplate) GetFileTemplateId() int64
func (*FileTemplate) GetFilename ¶
func (x *FileTemplate) GetFilename() string
func (*FileTemplate) GetFoid ¶
func (x *FileTemplate) GetFoid() int64
func (*FileTemplate) GetOrgId ¶
func (x *FileTemplate) GetOrgId() string
func (*FileTemplate) GetParseOpts ¶
func (x *FileTemplate) GetParseOpts() *ParseOpts
func (*FileTemplate) ProtoMessage ¶
func (*FileTemplate) ProtoMessage()
func (*FileTemplate) ProtoReflect ¶
func (x *FileTemplate) ProtoReflect() protoreflect.Message
func (*FileTemplate) Reset ¶
func (x *FileTemplate) Reset()
func (*FileTemplate) String ¶
func (x *FileTemplate) String() string
type FileTemplateV2 ¶
type FileTemplateV2 struct { // Types that are assignable to Template: // // *FileTemplateV2_LegacyTemplate // *FileTemplateV2_DockTemplate Template isFileTemplateV2_Template `protobuf_oneof:"template"` // contains filtered or unexported fields }
func (*FileTemplateV2) Descriptor
deprecated
func (*FileTemplateV2) Descriptor() ([]byte, []int)
Deprecated: Use FileTemplateV2.ProtoReflect.Descriptor instead.
func (*FileTemplateV2) GetDockTemplate ¶
func (x *FileTemplateV2) GetDockTemplate() *FileTemplate
func (*FileTemplateV2) GetLegacyTemplate ¶
func (x *FileTemplateV2) GetLegacyTemplate() *v0alpha.FileTemplate
func (*FileTemplateV2) GetTemplate ¶
func (m *FileTemplateV2) GetTemplate() isFileTemplateV2_Template
func (*FileTemplateV2) ProtoMessage ¶
func (*FileTemplateV2) ProtoMessage()
func (*FileTemplateV2) ProtoReflect ¶
func (x *FileTemplateV2) ProtoReflect() protoreflect.Message
func (*FileTemplateV2) Reset ¶
func (x *FileTemplateV2) Reset()
func (*FileTemplateV2) String ¶
func (x *FileTemplateV2) String() string
type FileTemplateV2_DockTemplate ¶
type FileTemplateV2_DockTemplate struct {
DockTemplate *FileTemplate `protobuf:"bytes,2,opt,name=dock_template,json=dockTemplate,proto3,oneof"`
}
type FileTemplateV2_LegacyTemplate ¶
type FileTemplateV2_LegacyTemplate struct {
LegacyTemplate *v0alpha.FileTemplate `protobuf:"bytes,1,opt,name=legacy_template,json=legacyTemplate,proto3,oneof"`
}
type FileTemplates ¶
type FileTemplates struct { Templates []*FileTemplateV2 `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` // contains filtered or unexported fields }
func (*FileTemplates) Descriptor
deprecated
func (*FileTemplates) Descriptor() ([]byte, []int)
Deprecated: Use FileTemplates.ProtoReflect.Descriptor instead.
func (*FileTemplates) GetTemplates ¶
func (x *FileTemplates) GetTemplates() []*FileTemplateV2
func (*FileTemplates) ProtoMessage ¶
func (*FileTemplates) ProtoMessage()
func (*FileTemplates) ProtoReflect ¶
func (x *FileTemplates) ProtoReflect() protoreflect.Message
func (*FileTemplates) Reset ¶
func (x *FileTemplates) Reset()
func (*FileTemplates) String ¶
func (x *FileTemplates) String() string
type GetFileTemplateRequest ¶
type GetFileTemplateRequest struct { FileTemplate *FileTemplateV2 `protobuf:"bytes,1,opt,name=file_template,json=fileTemplate,proto3" json:"file_template,omitempty"` // contains filtered or unexported fields }
func (*GetFileTemplateRequest) Descriptor
deprecated
func (*GetFileTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFileTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetFileTemplateRequest) GetFileTemplate ¶
func (x *GetFileTemplateRequest) GetFileTemplate() *FileTemplateV2
func (*GetFileTemplateRequest) ProtoMessage ¶
func (*GetFileTemplateRequest) ProtoMessage()
func (*GetFileTemplateRequest) ProtoReflect ¶
func (x *GetFileTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetFileTemplateRequest) Reset ¶
func (x *GetFileTemplateRequest) Reset()
func (*GetFileTemplateRequest) String ¶
func (x *GetFileTemplateRequest) String() string
type GetFileTemplateResponse ¶
type GetFileTemplateResponse struct { FileTemplate *FileTemplateV2 `protobuf:"bytes,1,opt,name=file_template,json=fileTemplate,proto3" json:"file_template,omitempty"` // contains filtered or unexported fields }
func (*GetFileTemplateResponse) Descriptor
deprecated
func (*GetFileTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFileTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetFileTemplateResponse) GetFileTemplate ¶
func (x *GetFileTemplateResponse) GetFileTemplate() *FileTemplateV2
func (*GetFileTemplateResponse) ProtoMessage ¶
func (*GetFileTemplateResponse) ProtoMessage()
func (*GetFileTemplateResponse) ProtoReflect ¶
func (x *GetFileTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetFileTemplateResponse) Reset ¶
func (x *GetFileTemplateResponse) Reset()
func (*GetFileTemplateResponse) String ¶
func (x *GetFileTemplateResponse) String() string
type LMSClient ¶
type LMSClient interface { DeleteFileTemplate(ctx context.Context, in *DeleteFileTemplateRequest, opts ...grpc.CallOption) (*DeleteFileTemplateResponse, error) GetFileTemplate(ctx context.Context, in *GetFileTemplateRequest, opts ...grpc.CallOption) (*GetFileTemplateResponse, error) ListFileTemplates(ctx context.Context, in *ListFileTemplatesRequest, opts ...grpc.CallOption) (*ListFileTemplatesResponse, error) ParseFileTemplate(ctx context.Context, in *ParseFileTemplateRequest, opts ...grpc.CallOption) (*ParseFileTemplateResult, error) UpdateFileTemplate(ctx context.Context, in *UpdateFileTemplateRequest, opts ...grpc.CallOption) (*UpdateFileTemplateResponse, error) }
LMSClient is the client API for LMS service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewLMSClient ¶
func NewLMSClient(cc grpc.ClientConnInterface) LMSClient
type LMSServer ¶
type LMSServer interface { DeleteFileTemplate(context.Context, *DeleteFileTemplateRequest) (*DeleteFileTemplateResponse, error) GetFileTemplate(context.Context, *GetFileTemplateRequest) (*GetFileTemplateResponse, error) ListFileTemplates(context.Context, *ListFileTemplatesRequest) (*ListFileTemplatesResponse, error) ParseFileTemplate(context.Context, *ParseFileTemplateRequest) (*ParseFileTemplateResult, error) UpdateFileTemplate(context.Context, *UpdateFileTemplateRequest) (*UpdateFileTemplateResponse, error) // contains filtered or unexported methods }
LMSServer is the server API for LMS service. All implementations must embed UnimplementedLMSServer for forward compatibility.
type ListFileTemplatesRequest ¶
type ListFileTemplatesRequest struct { Value *FileTemplateV2 `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` LastId string `protobuf:"bytes,2,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*ListFileTemplatesRequest) Descriptor
deprecated
func (*ListFileTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFileTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListFileTemplatesRequest) GetLastId ¶
func (x *ListFileTemplatesRequest) GetLastId() string
func (*ListFileTemplatesRequest) GetPageSize ¶
func (x *ListFileTemplatesRequest) GetPageSize() int32
func (*ListFileTemplatesRequest) GetValue ¶
func (x *ListFileTemplatesRequest) GetValue() *FileTemplateV2
func (*ListFileTemplatesRequest) ProtoMessage ¶
func (*ListFileTemplatesRequest) ProtoMessage()
func (*ListFileTemplatesRequest) ProtoReflect ¶
func (x *ListFileTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListFileTemplatesRequest) Reset ¶
func (x *ListFileTemplatesRequest) Reset()
func (*ListFileTemplatesRequest) String ¶
func (x *ListFileTemplatesRequest) String() string
type ListFileTemplatesResponse ¶
type ListFileTemplatesResponse struct { FileTemplates []*FileTemplateV2 `protobuf:"bytes,1,rep,name=file_templates,json=fileTemplates,proto3" json:"file_templates,omitempty"` // contains filtered or unexported fields }
func (*ListFileTemplatesResponse) Descriptor
deprecated
func (*ListFileTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFileTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListFileTemplatesResponse) GetFileTemplates ¶
func (x *ListFileTemplatesResponse) GetFileTemplates() []*FileTemplateV2
func (*ListFileTemplatesResponse) ProtoMessage ¶
func (*ListFileTemplatesResponse) ProtoMessage()
func (*ListFileTemplatesResponse) ProtoReflect ¶
func (x *ListFileTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListFileTemplatesResponse) Reset ¶
func (x *ListFileTemplatesResponse) Reset()
func (*ListFileTemplatesResponse) String ¶
func (x *ListFileTemplatesResponse) String() string
type NewTemplate ¶
type NewTemplate struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*NewTemplate) Descriptor
deprecated
func (*NewTemplate) Descriptor() ([]byte, []int)
Deprecated: Use NewTemplate.ProtoReflect.Descriptor instead.
func (*NewTemplate) GetData ¶
func (x *NewTemplate) GetData() []byte
func (*NewTemplate) GetFilename ¶
func (x *NewTemplate) GetFilename() string
func (*NewTemplate) GetOrgId ¶
func (x *NewTemplate) GetOrgId() string
func (*NewTemplate) ProtoMessage ¶
func (*NewTemplate) ProtoMessage()
func (*NewTemplate) ProtoReflect ¶
func (x *NewTemplate) ProtoReflect() protoreflect.Message
func (*NewTemplate) Reset ¶
func (x *NewTemplate) Reset()
func (*NewTemplate) String ¶
func (x *NewTemplate) String() string
type OptsCsv ¶
type OptsCsv struct { HasHeader bool `protobuf:"varint,1,opt,name=has_header,json=hasHeader,proto3" json:"has_header,omitempty"` SkipRows int64 `protobuf:"varint,2,opt,name=skip_rows,json=skipRows,proto3" json:"skip_rows,omitempty"` Header []string `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"` Separator string `protobuf:"bytes,4,opt,name=separator,proto3" json:"separator,omitempty"` // contains filtered or unexported fields }
func (*OptsCsv) Descriptor
deprecated
func (*OptsCsv) GetHasHeader ¶
func (*OptsCsv) GetSeparator ¶
func (*OptsCsv) GetSkipRows ¶
func (*OptsCsv) ProtoMessage ¶
func (*OptsCsv) ProtoMessage()
func (*OptsCsv) ProtoReflect ¶
func (x *OptsCsv) ProtoReflect() protoreflect.Message
type OptsFixed ¶
type OptsFixed struct { HasHeader bool `protobuf:"varint,1,opt,name=has_header,json=hasHeader,proto3" json:"has_header,omitempty"` Header []*OptsFixed_Field `protobuf:"bytes,2,rep,name=header,proto3" json:"header,omitempty"` // contains filtered or unexported fields }
func (*OptsFixed) Descriptor
deprecated
func (*OptsFixed) GetHasHeader ¶
func (*OptsFixed) GetHeader ¶
func (x *OptsFixed) GetHeader() []*OptsFixed_Field
func (*OptsFixed) ProtoMessage ¶
func (*OptsFixed) ProtoMessage()
func (*OptsFixed) ProtoReflect ¶
func (x *OptsFixed) ProtoReflect() protoreflect.Message
type OptsFixed_Field ¶
type OptsFixed_Field struct { // for fixed width files indicates the starting position of the data. // if it is -1, starting position is one character after the previous fields // starting position + length. if this is the first field and it is -1, // starting position is 0 StartingPosition int32 `protobuf:"varint,13,opt,name=starting_position,json=startingPosition,proto3" json:"starting_position,omitempty"` // for fixed width files indicates how many characters to the right of // starting_position we will read. this field is required to be greater than // 0. FieldLength int32 `protobuf:"varint,14,opt,name=field_length,json=fieldLength,proto3" json:"field_length,omitempty"` // contains filtered or unexported fields }
func (*OptsFixed_Field) Descriptor
deprecated
func (*OptsFixed_Field) Descriptor() ([]byte, []int)
Deprecated: Use OptsFixed_Field.ProtoReflect.Descriptor instead.
func (*OptsFixed_Field) GetFieldLength ¶
func (x *OptsFixed_Field) GetFieldLength() int32
func (*OptsFixed_Field) GetStartingPosition ¶
func (x *OptsFixed_Field) GetStartingPosition() int32
func (*OptsFixed_Field) ProtoMessage ¶
func (*OptsFixed_Field) ProtoMessage()
func (*OptsFixed_Field) ProtoReflect ¶
func (x *OptsFixed_Field) ProtoReflect() protoreflect.Message
func (*OptsFixed_Field) Reset ¶
func (x *OptsFixed_Field) Reset()
func (*OptsFixed_Field) String ¶
func (x *OptsFixed_Field) String() string
type OptsJson ¶
type OptsJson struct { RecordsRoot string `protobuf:"bytes,1,opt,name=records_root,json=recordsRoot,proto3" json:"records_root,omitempty"` // contains filtered or unexported fields }
func (*OptsJson) Descriptor
deprecated
func (*OptsJson) GetRecordsRoot ¶
func (*OptsJson) ProtoMessage ¶
func (*OptsJson) ProtoMessage()
func (*OptsJson) ProtoReflect ¶
func (x *OptsJson) ProtoReflect() protoreflect.Message
type OptsJsonL ¶
type OptsJsonL struct {
// contains filtered or unexported fields
}
func (*OptsJsonL) Descriptor
deprecated
func (*OptsJsonL) ProtoMessage ¶
func (*OptsJsonL) ProtoMessage()
func (*OptsJsonL) ProtoReflect ¶
func (x *OptsJsonL) ProtoReflect() protoreflect.Message
type OptsParquet ¶
type OptsParquet struct {
// contains filtered or unexported fields
}
func (*OptsParquet) Descriptor
deprecated
func (*OptsParquet) Descriptor() ([]byte, []int)
Deprecated: Use OptsParquet.ProtoReflect.Descriptor instead.
func (*OptsParquet) ProtoMessage ¶
func (*OptsParquet) ProtoMessage()
func (*OptsParquet) ProtoReflect ¶
func (x *OptsParquet) ProtoReflect() protoreflect.Message
func (*OptsParquet) Reset ¶
func (x *OptsParquet) Reset()
func (*OptsParquet) String ¶
func (x *OptsParquet) String() string
type ParseFileTemplateRequest ¶
type ParseFileTemplateRequest struct { // Types that are assignable to RetrieveBy: // // *ParseFileTemplateRequest_NewTemplate // *ParseFileTemplateRequest_ExistingTemplate RetrieveBy isParseFileTemplateRequest_RetrieveBy `protobuf_oneof:"retrieve_by"` // contains filtered or unexported fields }
func (*ParseFileTemplateRequest) Descriptor
deprecated
func (*ParseFileTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseFileTemplateRequest.ProtoReflect.Descriptor instead.
func (*ParseFileTemplateRequest) GetExistingTemplate ¶
func (x *ParseFileTemplateRequest) GetExistingTemplate() *ExistingTemplate
func (*ParseFileTemplateRequest) GetNewTemplate ¶
func (x *ParseFileTemplateRequest) GetNewTemplate() *NewTemplate
func (*ParseFileTemplateRequest) GetRetrieveBy ¶
func (m *ParseFileTemplateRequest) GetRetrieveBy() isParseFileTemplateRequest_RetrieveBy
func (*ParseFileTemplateRequest) ProtoMessage ¶
func (*ParseFileTemplateRequest) ProtoMessage()
func (*ParseFileTemplateRequest) ProtoReflect ¶
func (x *ParseFileTemplateRequest) ProtoReflect() protoreflect.Message
func (*ParseFileTemplateRequest) Reset ¶
func (x *ParseFileTemplateRequest) Reset()
func (*ParseFileTemplateRequest) String ¶
func (x *ParseFileTemplateRequest) String() string
type ParseFileTemplateRequest_ExistingTemplate ¶
type ParseFileTemplateRequest_ExistingTemplate struct {
ExistingTemplate *ExistingTemplate `protobuf:"bytes,2,opt,name=existing_template,json=existingTemplate,proto3,oneof"`
}
type ParseFileTemplateRequest_NewTemplate ¶
type ParseFileTemplateRequest_NewTemplate struct {
NewTemplate *NewTemplate `protobuf:"bytes,1,opt,name=new_template,json=newTemplate,proto3,oneof"`
}
type ParseFileTemplateResult ¶
type ParseFileTemplateResult struct {
// contains filtered or unexported fields
}
func (*ParseFileTemplateResult) Descriptor
deprecated
func (*ParseFileTemplateResult) Descriptor() ([]byte, []int)
Deprecated: Use ParseFileTemplateResult.ProtoReflect.Descriptor instead.
func (*ParseFileTemplateResult) ProtoMessage ¶
func (*ParseFileTemplateResult) ProtoMessage()
func (*ParseFileTemplateResult) ProtoReflect ¶
func (x *ParseFileTemplateResult) ProtoReflect() protoreflect.Message
func (*ParseFileTemplateResult) Reset ¶
func (x *ParseFileTemplateResult) Reset()
func (*ParseFileTemplateResult) String ¶
func (x *ParseFileTemplateResult) String() string
type ParseOpts ¶
type ParseOpts struct { // Types that are assignable to Ftype: // // *ParseOpts_Csv // *ParseOpts_Json // *ParseOpts_Jsonl // *ParseOpts_Fixed // *ParseOpts_Parquet Ftype isParseOpts_Ftype `protobuf_oneof:"ftype"` // contains filtered or unexported fields }
func (*ParseOpts) Descriptor
deprecated
func (*ParseOpts) GetParquet ¶
func (x *ParseOpts) GetParquet() *OptsParquet
func (*ParseOpts) ProtoMessage ¶
func (*ParseOpts) ProtoMessage()
func (*ParseOpts) ProtoReflect ¶
func (x *ParseOpts) ProtoReflect() protoreflect.Message
type ParseOpts_Csv ¶
type ParseOpts_Csv struct {
Csv *OptsCsv `protobuf:"bytes,1,opt,name=csv,proto3,oneof"`
}
type ParseOpts_Fixed ¶
type ParseOpts_Fixed struct {
Fixed *OptsFixed `protobuf:"bytes,4,opt,name=fixed,proto3,oneof"`
}
type ParseOpts_Json ¶
type ParseOpts_Json struct {
Json *OptsJson `protobuf:"bytes,2,opt,name=json,proto3,oneof"`
}
type ParseOpts_Jsonl ¶
type ParseOpts_Jsonl struct {
Jsonl *OptsJsonL `protobuf:"bytes,3,opt,name=jsonl,proto3,oneof"`
}
type ParseOpts_Parquet ¶
type ParseOpts_Parquet struct {
Parquet *OptsParquet `protobuf:"bytes,5,opt,name=parquet,proto3,oneof"`
}
type UnimplementedLMSServer ¶
type UnimplementedLMSServer struct{}
UnimplementedLMSServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedLMSServer) DeleteFileTemplate ¶
func (UnimplementedLMSServer) DeleteFileTemplate(context.Context, *DeleteFileTemplateRequest) (*DeleteFileTemplateResponse, error)
func (UnimplementedLMSServer) GetFileTemplate ¶
func (UnimplementedLMSServer) GetFileTemplate(context.Context, *GetFileTemplateRequest) (*GetFileTemplateResponse, error)
func (UnimplementedLMSServer) ListFileTemplates ¶
func (UnimplementedLMSServer) ListFileTemplates(context.Context, *ListFileTemplatesRequest) (*ListFileTemplatesResponse, error)
func (UnimplementedLMSServer) ParseFileTemplate ¶
func (UnimplementedLMSServer) ParseFileTemplate(context.Context, *ParseFileTemplateRequest) (*ParseFileTemplateResult, error)
func (UnimplementedLMSServer) UpdateFileTemplate ¶
func (UnimplementedLMSServer) UpdateFileTemplate(context.Context, *UpdateFileTemplateRequest) (*UpdateFileTemplateResponse, error)
type UnsafeLMSServer ¶
type UnsafeLMSServer interface {
// contains filtered or unexported methods
}
UnsafeLMSServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LMSServer will result in compilation errors.
type UpdateFileTemplateRequest ¶
type UpdateFileTemplateRequest struct { FileTemplate *FileTemplateV2 `protobuf:"bytes,1,opt,name=file_template,json=fileTemplate,proto3" json:"file_template,omitempty"` // contains filtered or unexported fields }
func (*UpdateFileTemplateRequest) Descriptor
deprecated
func (*UpdateFileTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFileTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateFileTemplateRequest) GetFileTemplate ¶
func (x *UpdateFileTemplateRequest) GetFileTemplate() *FileTemplateV2
func (*UpdateFileTemplateRequest) ProtoMessage ¶
func (*UpdateFileTemplateRequest) ProtoMessage()
func (*UpdateFileTemplateRequest) ProtoReflect ¶
func (x *UpdateFileTemplateRequest) ProtoReflect() protoreflect.Message
func (*UpdateFileTemplateRequest) Reset ¶
func (x *UpdateFileTemplateRequest) Reset()
func (*UpdateFileTemplateRequest) String ¶
func (x *UpdateFileTemplateRequest) String() string
type UpdateFileTemplateResponse ¶
type UpdateFileTemplateResponse struct { FileTemplate *FileTemplateV2 `protobuf:"bytes,1,opt,name=file_template,json=fileTemplate,proto3" json:"file_template,omitempty"` // contains filtered or unexported fields }
func (*UpdateFileTemplateResponse) Descriptor
deprecated
func (*UpdateFileTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFileTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpdateFileTemplateResponse) GetFileTemplate ¶
func (x *UpdateFileTemplateResponse) GetFileTemplate() *FileTemplateV2
func (*UpdateFileTemplateResponse) ProtoMessage ¶
func (*UpdateFileTemplateResponse) ProtoMessage()
func (*UpdateFileTemplateResponse) ProtoReflect ¶
func (x *UpdateFileTemplateResponse) ProtoReflect() protoreflect.Message
func (*UpdateFileTemplateResponse) Reset ¶
func (x *UpdateFileTemplateResponse) Reset()
func (*UpdateFileTemplateResponse) String ¶
func (x *UpdateFileTemplateResponse) String() string