Versions in this module Expand all Collapse all v0 v0.1.1 Nov 8, 2023 Changes in this version + const Registry_DeleteModuleTag_FullMethodName + const Registry_DeleteModule_FullMethodName + const Registry_GetModule_FullMethodName + const Registry_ListModules_FullMethodName + const Registry_PullModule_FullMethodName + const Registry_PushModule_FullMethodName + const Registry_RegisterModule_FullMethodName + var File_api_v1_registry_proto protoreflect.FileDescriptor + var Registry_ServiceDesc = grpc.ServiceDesc + func RegisterRegistryServer(s grpc.ServiceRegistrar, srv RegistryServer) + type DeleteModuleRequest struct + Name string + func (*DeleteModuleRequest) Descriptor() ([]byte, []int) + func (*DeleteModuleRequest) ProtoMessage() + func (x *DeleteModuleRequest) GetName() string + func (x *DeleteModuleRequest) ProtoReflect() protoreflect.Message + func (x *DeleteModuleRequest) Reset() + func (x *DeleteModuleRequest) String() string + type DeleteModuleResponse struct + Name string + func (*DeleteModuleResponse) Descriptor() ([]byte, []int) + func (*DeleteModuleResponse) ProtoMessage() + func (x *DeleteModuleResponse) GetName() string + func (x *DeleteModuleResponse) ProtoReflect() protoreflect.Message + func (x *DeleteModuleResponse) Reset() + func (x *DeleteModuleResponse) String() string + type DeleteModuleTagRequest struct + Name string + Tag string + func (*DeleteModuleTagRequest) Descriptor() ([]byte, []int) + func (*DeleteModuleTagRequest) ProtoMessage() + func (x *DeleteModuleTagRequest) GetName() string + func (x *DeleteModuleTagRequest) GetTag() string + func (x *DeleteModuleTagRequest) ProtoReflect() protoreflect.Message + func (x *DeleteModuleTagRequest) Reset() + func (x *DeleteModuleTagRequest) String() string + type DeleteModuleTagResponse struct + Name string + Tag string + func (*DeleteModuleTagResponse) Descriptor() ([]byte, []int) + func (*DeleteModuleTagResponse) ProtoMessage() + func (x *DeleteModuleTagResponse) GetName() string + func (x *DeleteModuleTagResponse) GetTag() string + func (x *DeleteModuleTagResponse) ProtoReflect() protoreflect.Message + func (x *DeleteModuleTagResponse) Reset() + func (x *DeleteModuleTagResponse) String() string + type GetModuleRequest struct + Name string + func (*GetModuleRequest) Descriptor() ([]byte, []int) + func (*GetModuleRequest) ProtoMessage() + func (x *GetModuleRequest) GetName() string + func (x *GetModuleRequest) ProtoReflect() protoreflect.Message + func (x *GetModuleRequest) Reset() + func (x *GetModuleRequest) String() string + type ListModulesRequest struct + PageSize int32 + PageToken string + func (*ListModulesRequest) Descriptor() ([]byte, []int) + func (*ListModulesRequest) ProtoMessage() + func (x *ListModulesRequest) GetPageSize() int32 + func (x *ListModulesRequest) GetPageToken() string + func (x *ListModulesRequest) ProtoReflect() protoreflect.Message + func (x *ListModulesRequest) Reset() + func (x *ListModulesRequest) String() string + type ListModulesResponse struct + Modules []*Module + NextPageToken string + func (*ListModulesResponse) Descriptor() ([]byte, []int) + func (*ListModulesResponse) ProtoMessage() + func (x *ListModulesResponse) GetModules() []*Module + func (x *ListModulesResponse) GetNextPageToken() string + func (x *ListModulesResponse) ProtoReflect() protoreflect.Message + func (x *ListModulesResponse) Reset() + func (x *ListModulesResponse) String() string + type Module struct + Id string + Name string + Tags []string + func (*Module) Descriptor() ([]byte, []int) + func (*Module) ProtoMessage() + func (x *Module) GetId() string + func (x *Module) GetName() string + func (x *Module) GetTags() []string + func (x *Module) ProtoReflect() protoreflect.Message + func (x *Module) Reset() + func (x *Module) String() string + type ProtoFile struct + Content string + Filename string + func (*ProtoFile) Descriptor() ([]byte, []int) + func (*ProtoFile) ProtoMessage() + func (x *ProtoFile) GetContent() string + func (x *ProtoFile) GetFilename() string + func (x *ProtoFile) ProtoReflect() protoreflect.Message + func (x *ProtoFile) Reset() + func (x *ProtoFile) String() string + type PullModuleRequest struct + Name string + Tag string + func (*PullModuleRequest) Descriptor() ([]byte, []int) + func (*PullModuleRequest) ProtoMessage() + func (x *PullModuleRequest) GetName() string + func (x *PullModuleRequest) GetTag() string + func (x *PullModuleRequest) ProtoReflect() protoreflect.Message + func (x *PullModuleRequest) Reset() + func (x *PullModuleRequest) String() string + type PullModuleResponse struct + Module *Module + Protofiles []*ProtoFile + func (*PullModuleResponse) Descriptor() ([]byte, []int) + func (*PullModuleResponse) ProtoMessage() + func (x *PullModuleResponse) GetModule() *Module + func (x *PullModuleResponse) GetProtofiles() []*ProtoFile + func (x *PullModuleResponse) ProtoReflect() protoreflect.Message + func (x *PullModuleResponse) Reset() + func (x *PullModuleResponse) String() string + type PushModuleRequest struct + ModuleName string + Protofiles []*ProtoFile + Tag string + func (*PushModuleRequest) Descriptor() ([]byte, []int) + func (*PushModuleRequest) ProtoMessage() + func (x *PushModuleRequest) GetModuleName() string + func (x *PushModuleRequest) GetProtofiles() []*ProtoFile + func (x *PushModuleRequest) GetTag() string + func (x *PushModuleRequest) ProtoReflect() protoreflect.Message + func (x *PushModuleRequest) Reset() + func (x *PushModuleRequest) String() string + type RegisterModuleRequest struct + Name string + func (*RegisterModuleRequest) Descriptor() ([]byte, []int) + func (*RegisterModuleRequest) ProtoMessage() + func (x *RegisterModuleRequest) GetName() string + func (x *RegisterModuleRequest) ProtoReflect() protoreflect.Message + func (x *RegisterModuleRequest) Reset() + func (x *RegisterModuleRequest) String() string + type RegistryClient interface + DeleteModule func(ctx context.Context, in *DeleteModuleRequest, opts ...grpc.CallOption) (*DeleteModuleResponse, error) + DeleteModuleTag func(ctx context.Context, in *DeleteModuleTagRequest, opts ...grpc.CallOption) (*DeleteModuleTagResponse, error) + GetModule func(ctx context.Context, in *GetModuleRequest, opts ...grpc.CallOption) (*Module, error) + ListModules func(ctx context.Context, in *ListModulesRequest, opts ...grpc.CallOption) (*ListModulesResponse, error) + PullModule func(ctx context.Context, in *PullModuleRequest, opts ...grpc.CallOption) (*PullModuleResponse, error) + PushModule func(ctx context.Context, in *PushModuleRequest, opts ...grpc.CallOption) (*Module, error) + RegisterModule func(ctx context.Context, in *RegisterModuleRequest, opts ...grpc.CallOption) (*Module, error) + func NewRegistryClient(cc grpc.ClientConnInterface) RegistryClient + type RegistryServer interface + DeleteModule func(context.Context, *DeleteModuleRequest) (*DeleteModuleResponse, error) + DeleteModuleTag func(context.Context, *DeleteModuleTagRequest) (*DeleteModuleTagResponse, error) + GetModule func(context.Context, *GetModuleRequest) (*Module, error) + ListModules func(context.Context, *ListModulesRequest) (*ListModulesResponse, error) + PullModule func(context.Context, *PullModuleRequest) (*PullModuleResponse, error) + PushModule func(context.Context, *PushModuleRequest) (*Module, error) + RegisterModule func(context.Context, *RegisterModuleRequest) (*Module, error) + type UnimplementedRegistryServer struct + func (UnimplementedRegistryServer) DeleteModule(context.Context, *DeleteModuleRequest) (*DeleteModuleResponse, error) + func (UnimplementedRegistryServer) DeleteModuleTag(context.Context, *DeleteModuleTagRequest) (*DeleteModuleTagResponse, error) + func (UnimplementedRegistryServer) GetModule(context.Context, *GetModuleRequest) (*Module, error) + func (UnimplementedRegistryServer) ListModules(context.Context, *ListModulesRequest) (*ListModulesResponse, error) + func (UnimplementedRegistryServer) PullModule(context.Context, *PullModuleRequest) (*PullModuleResponse, error) + func (UnimplementedRegistryServer) PushModule(context.Context, *PushModuleRequest) (*Module, error) + func (UnimplementedRegistryServer) RegisterModule(context.Context, *RegisterModuleRequest) (*Module, error) + type UnsafeRegistryServer interface