Documentation ¶
Index ¶
- Variables
- func RegisterEntServer(s grpc.ServiceRegistrar, srv EntServer)
- type BigQuery
- type Chunk
- type CloudStorage
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetBigQuery() *BigQuery
- func (x *Config) GetCloudStorage() *CloudStorage
- func (x *Config) GetDomainName() string
- func (x *Config) GetGinMode() string
- func (x *Config) GetListenAddress() string
- func (x *Config) GetLogLevel() string
- func (x *Config) GetProjectId() string
- func (x *Config) GetRedis() *Redis
- func (x *Config) GetRemote() []*Remote
- func (x *Config) GetUser() []*User
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Digest
- type EntClient
- type EntServer
- type Ent_GetEntryClient
- type Ent_GetEntryServer
- type Ent_PutEntryClient
- type Ent_PutEntryServer
- type EntryMetadata
- func (*EntryMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *EntryMetadata) GetDigests() []*Digest
- func (x *EntryMetadata) GetSize() uint64
- func (*EntryMetadata) ProtoMessage()
- func (x *EntryMetadata) ProtoReflect() protoreflect.Message
- func (x *EntryMetadata) Reset()
- func (x *EntryMetadata) String() string
- type GetEntryMetadataRequest
- func (*GetEntryMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEntryMetadataRequest) GetDigest() *Digest
- func (*GetEntryMetadataRequest) ProtoMessage()
- func (x *GetEntryMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *GetEntryMetadataRequest) Reset()
- func (x *GetEntryMetadataRequest) String() string
- type GetEntryMetadataResponse
- func (*GetEntryMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEntryMetadataResponse) GetMetadata() *EntryMetadata
- func (*GetEntryMetadataResponse) ProtoMessage()
- func (x *GetEntryMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetEntryMetadataResponse) Reset()
- func (x *GetEntryMetadataResponse) String() string
- type GetEntryRequest
- type GetEntryResponse
- func (*GetEntryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEntryResponse) GetChunk() *Chunk
- func (m *GetEntryResponse) GetEntry() isGetEntryResponse_Entry
- func (x *GetEntryResponse) GetMetadata() *EntryMetadata
- func (*GetEntryResponse) ProtoMessage()
- func (x *GetEntryResponse) ProtoReflect() protoreflect.Message
- func (x *GetEntryResponse) Reset()
- func (x *GetEntryResponse) String() string
- type GetEntryResponse_Chunk
- type GetEntryResponse_Metadata
- type GetTagRequest
- func (*GetTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagRequest) GetLabel() string
- func (x *GetTagRequest) GetPublicKey() []byte
- func (*GetTagRequest) ProtoMessage()
- func (x *GetTagRequest) ProtoReflect() protoreflect.Message
- func (x *GetTagRequest) Reset()
- func (x *GetTagRequest) String() string
- type GetTagResponse
- type PBLink
- type PBNode
- type PutEntryRequest
- type PutEntryResponse
- func (*PutEntryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PutEntryResponse) GetMetadata() *EntryMetadata
- func (*PutEntryResponse) ProtoMessage()
- func (x *PutEntryResponse) ProtoReflect() protoreflect.Message
- func (x *PutEntryResponse) Reset()
- func (x *PutEntryResponse) String() string
- type Redis
- type Remote
- type SetTagRequest
- type SetTagResponse
- type SignedTag
- func (*SignedTag) Descriptor() ([]byte, []int)deprecated
- func (x *SignedTag) GetPublicKey() []byte
- func (x *SignedTag) GetTag() *Tag
- func (x *SignedTag) GetTagSignature() []byte
- func (*SignedTag) ProtoMessage()
- func (x *SignedTag) ProtoReflect() protoreflect.Message
- func (x *SignedTag) Reset()
- func (x *SignedTag) String() string
- type Tag
- type UnimplementedEntServer
- func (UnimplementedEntServer) GetEntry(*GetEntryRequest, Ent_GetEntryServer) error
- func (UnimplementedEntServer) GetEntryMetadata(context.Context, *GetEntryMetadataRequest) (*GetEntryMetadataResponse, error)
- func (UnimplementedEntServer) GetTag(context.Context, *GetTagRequest) (*GetTagResponse, error)
- func (UnimplementedEntServer) PutEntry(Ent_PutEntryServer) error
- func (UnimplementedEntServer) SetTag(context.Context, *SetTagRequest) (*SetTagResponse, error)
- type UnsafeEntServer
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetApiKey() string
- func (x *User) GetCanRead() bool
- func (x *User) GetCanWrite() bool
- func (x *User) GetId() int64
- func (x *User) GetName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
var Ent_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ent.server.api.Ent", HandlerType: (*EntServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTag", Handler: _Ent_GetTag_Handler, }, { MethodName: "SetTag", Handler: _Ent_SetTag_Handler, }, { MethodName: "GetEntryMetadata", Handler: _Ent_GetEntryMetadata_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetEntry", Handler: _Ent_GetEntry_Handler, ServerStreams: true, }, { StreamName: "PutEntry", Handler: _Ent_PutEntry_Handler, ClientStreams: true, }, }, Metadata: "proto/ent_server_api.proto", }
Ent_ServiceDesc is the grpc.ServiceDesc for Ent service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_dag_pb_proto protoreflect.FileDescriptor
var File_proto_ent_server_api_proto protoreflect.FileDescriptor
var File_proto_ent_server_config_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEntServer ¶
func RegisterEntServer(s grpc.ServiceRegistrar, srv EntServer)
Types ¶
type BigQuery ¶
type BigQuery struct { Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` // contains filtered or unexported fields }
func (*BigQuery) Descriptor
deprecated
func (*BigQuery) GetDataset ¶
func (*BigQuery) ProtoMessage ¶
func (*BigQuery) ProtoMessage()
func (*BigQuery) ProtoReflect ¶
func (x *BigQuery) ProtoReflect() protoreflect.Message
type Chunk ¶
type Chunk struct { Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Chunk) Descriptor
deprecated
func (*Chunk) ProtoMessage ¶
func (*Chunk) ProtoMessage()
func (*Chunk) ProtoReflect ¶
func (x *Chunk) ProtoReflect() protoreflect.Message
type CloudStorage ¶
type CloudStorage struct { Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // contains filtered or unexported fields }
func (*CloudStorage) Descriptor
deprecated
func (*CloudStorage) Descriptor() ([]byte, []int)
Deprecated: Use CloudStorage.ProtoReflect.Descriptor instead.
func (*CloudStorage) GetBucket ¶
func (x *CloudStorage) GetBucket() string
func (*CloudStorage) ProtoMessage ¶
func (*CloudStorage) ProtoMessage()
func (*CloudStorage) ProtoReflect ¶
func (x *CloudStorage) ProtoReflect() protoreflect.Message
func (*CloudStorage) Reset ¶
func (x *CloudStorage) Reset()
func (*CloudStorage) String ¶
func (x *CloudStorage) String() string
type Config ¶
type Config struct { ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ListenAddress string `protobuf:"bytes,2,opt,name=listen_address,json=listenAddress,proto3" json:"listen_address,omitempty"` DomainName string `protobuf:"bytes,3,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` Redis *Redis `protobuf:"bytes,4,opt,name=redis,proto3" json:"redis,omitempty"` BigQuery *BigQuery `protobuf:"bytes,5,opt,name=big_query,json=bigQuery,proto3" json:"big_query,omitempty"` CloudStorage *CloudStorage `protobuf:"bytes,6,opt,name=cloud_storage,json=cloudStorage,proto3" json:"cloud_storage,omitempty"` GinMode string `protobuf:"bytes,7,opt,name=gin_mode,json=ginMode,proto3" json:"gin_mode,omitempty"` LogLevel string `protobuf:"bytes,8,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` Remote []*Remote `protobuf:"bytes,9,rep,name=remote,proto3" json:"remote,omitempty"` User []*User `protobuf:"bytes,10,rep,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetBigQuery ¶
func (*Config) GetCloudStorage ¶
func (x *Config) GetCloudStorage() *CloudStorage
func (*Config) GetDomainName ¶
func (*Config) GetGinMode ¶
func (*Config) GetListenAddress ¶
func (*Config) GetLogLevel ¶
func (*Config) GetProjectId ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Digest ¶
type Digest struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Digest []byte `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*Digest) Descriptor
deprecated
func (*Digest) ProtoMessage ¶
func (*Digest) ProtoMessage()
func (*Digest) ProtoReflect ¶
func (x *Digest) ProtoReflect() protoreflect.Message
type EntClient ¶
type EntClient interface { GetTag(ctx context.Context, in *GetTagRequest, opts ...grpc.CallOption) (*GetTagResponse, error) SetTag(ctx context.Context, in *SetTagRequest, opts ...grpc.CallOption) (*SetTagResponse, error) GetEntry(ctx context.Context, in *GetEntryRequest, opts ...grpc.CallOption) (Ent_GetEntryClient, error) GetEntryMetadata(ctx context.Context, in *GetEntryMetadataRequest, opts ...grpc.CallOption) (*GetEntryMetadataResponse, error) PutEntry(ctx context.Context, opts ...grpc.CallOption) (Ent_PutEntryClient, error) }
EntClient is the client API for Ent 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 NewEntClient ¶
func NewEntClient(cc grpc.ClientConnInterface) EntClient
type EntServer ¶
type EntServer interface { GetTag(context.Context, *GetTagRequest) (*GetTagResponse, error) SetTag(context.Context, *SetTagRequest) (*SetTagResponse, error) GetEntry(*GetEntryRequest, Ent_GetEntryServer) error GetEntryMetadata(context.Context, *GetEntryMetadataRequest) (*GetEntryMetadataResponse, error) PutEntry(Ent_PutEntryServer) error // contains filtered or unexported methods }
EntServer is the server API for Ent service. All implementations must embed UnimplementedEntServer for forward compatibility
type Ent_GetEntryClient ¶
type Ent_GetEntryClient interface { Recv() (*GetEntryResponse, error) grpc.ClientStream }
type Ent_GetEntryServer ¶
type Ent_GetEntryServer interface { Send(*GetEntryResponse) error grpc.ServerStream }
type Ent_PutEntryClient ¶
type Ent_PutEntryClient interface { Send(*PutEntryRequest) error CloseAndRecv() (*PutEntryResponse, error) grpc.ClientStream }
type Ent_PutEntryServer ¶
type Ent_PutEntryServer interface { SendAndClose(*PutEntryResponse) error Recv() (*PutEntryRequest, error) grpc.ServerStream }
type EntryMetadata ¶
type EntryMetadata struct { Digests []*Digest `protobuf:"bytes,1,rep,name=digests,proto3" json:"digests,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*EntryMetadata) Descriptor
deprecated
func (*EntryMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EntryMetadata.ProtoReflect.Descriptor instead.
func (*EntryMetadata) GetDigests ¶
func (x *EntryMetadata) GetDigests() []*Digest
func (*EntryMetadata) GetSize ¶
func (x *EntryMetadata) GetSize() uint64
func (*EntryMetadata) ProtoMessage ¶
func (*EntryMetadata) ProtoMessage()
func (*EntryMetadata) ProtoReflect ¶
func (x *EntryMetadata) ProtoReflect() protoreflect.Message
func (*EntryMetadata) Reset ¶
func (x *EntryMetadata) Reset()
func (*EntryMetadata) String ¶
func (x *EntryMetadata) String() string
type GetEntryMetadataRequest ¶
type GetEntryMetadataRequest struct { Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*GetEntryMetadataRequest) Descriptor
deprecated
func (*GetEntryMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntryMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetEntryMetadataRequest) GetDigest ¶
func (x *GetEntryMetadataRequest) GetDigest() *Digest
func (*GetEntryMetadataRequest) ProtoMessage ¶
func (*GetEntryMetadataRequest) ProtoMessage()
func (*GetEntryMetadataRequest) ProtoReflect ¶
func (x *GetEntryMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetEntryMetadataRequest) Reset ¶
func (x *GetEntryMetadataRequest) Reset()
func (*GetEntryMetadataRequest) String ¶
func (x *GetEntryMetadataRequest) String() string
type GetEntryMetadataResponse ¶
type GetEntryMetadataResponse struct { Metadata *EntryMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*GetEntryMetadataResponse) Descriptor
deprecated
func (*GetEntryMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEntryMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetEntryMetadataResponse) GetMetadata ¶
func (x *GetEntryMetadataResponse) GetMetadata() *EntryMetadata
func (*GetEntryMetadataResponse) ProtoMessage ¶
func (*GetEntryMetadataResponse) ProtoMessage()
func (*GetEntryMetadataResponse) ProtoReflect ¶
func (x *GetEntryMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetEntryMetadataResponse) Reset ¶
func (x *GetEntryMetadataResponse) Reset()
func (*GetEntryMetadataResponse) String ¶
func (x *GetEntryMetadataResponse) String() string
type GetEntryRequest ¶
type GetEntryRequest struct { Digest *Digest `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` // contains filtered or unexported fields }
func (*GetEntryRequest) Descriptor
deprecated
func (*GetEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntryRequest.ProtoReflect.Descriptor instead.
func (*GetEntryRequest) GetDigest ¶
func (x *GetEntryRequest) GetDigest() *Digest
func (*GetEntryRequest) ProtoMessage ¶
func (*GetEntryRequest) ProtoMessage()
func (*GetEntryRequest) ProtoReflect ¶
func (x *GetEntryRequest) ProtoReflect() protoreflect.Message
func (*GetEntryRequest) Reset ¶
func (x *GetEntryRequest) Reset()
func (*GetEntryRequest) String ¶
func (x *GetEntryRequest) String() string
type GetEntryResponse ¶
type GetEntryResponse struct { // Types that are assignable to Entry: // // *GetEntryResponse_Metadata // *GetEntryResponse_Chunk Entry isGetEntryResponse_Entry `protobuf_oneof:"entry"` // contains filtered or unexported fields }
func (*GetEntryResponse) Descriptor
deprecated
func (*GetEntryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEntryResponse.ProtoReflect.Descriptor instead.
func (*GetEntryResponse) GetChunk ¶
func (x *GetEntryResponse) GetChunk() *Chunk
func (*GetEntryResponse) GetEntry ¶
func (m *GetEntryResponse) GetEntry() isGetEntryResponse_Entry
func (*GetEntryResponse) GetMetadata ¶
func (x *GetEntryResponse) GetMetadata() *EntryMetadata
func (*GetEntryResponse) ProtoMessage ¶
func (*GetEntryResponse) ProtoMessage()
func (*GetEntryResponse) ProtoReflect ¶
func (x *GetEntryResponse) ProtoReflect() protoreflect.Message
func (*GetEntryResponse) Reset ¶
func (x *GetEntryResponse) Reset()
func (*GetEntryResponse) String ¶
func (x *GetEntryResponse) String() string
type GetEntryResponse_Chunk ¶
type GetEntryResponse_Chunk struct {
Chunk *Chunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}
type GetEntryResponse_Metadata ¶
type GetEntryResponse_Metadata struct {
Metadata *EntryMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
}
type GetTagRequest ¶
type GetTagRequest struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // TODO: Prefix search. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
func (*GetTagRequest) Descriptor
deprecated
func (*GetTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagRequest.ProtoReflect.Descriptor instead.
func (*GetTagRequest) GetLabel ¶
func (x *GetTagRequest) GetLabel() string
func (*GetTagRequest) GetPublicKey ¶
func (x *GetTagRequest) GetPublicKey() []byte
func (*GetTagRequest) ProtoMessage ¶
func (*GetTagRequest) ProtoMessage()
func (*GetTagRequest) ProtoReflect ¶
func (x *GetTagRequest) ProtoReflect() protoreflect.Message
func (*GetTagRequest) Reset ¶
func (x *GetTagRequest) Reset()
func (*GetTagRequest) String ¶
func (x *GetTagRequest) String() string
type GetTagResponse ¶
type GetTagResponse struct { SignedTag *SignedTag `protobuf:"bytes,1,opt,name=signed_tag,json=signedTag,proto3" json:"signed_tag,omitempty"` // contains filtered or unexported fields }
func (*GetTagResponse) Descriptor
deprecated
func (*GetTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTagResponse.ProtoReflect.Descriptor instead.
func (*GetTagResponse) GetSignedTag ¶
func (x *GetTagResponse) GetSignedTag() *SignedTag
func (*GetTagResponse) ProtoMessage ¶
func (*GetTagResponse) ProtoMessage()
func (*GetTagResponse) ProtoReflect ¶
func (x *GetTagResponse) ProtoReflect() protoreflect.Message
func (*GetTagResponse) Reset ¶
func (x *GetTagResponse) Reset()
func (*GetTagResponse) String ¶
func (x *GetTagResponse) String() string
type PBLink ¶
type PBLink struct { // binary CID (with no multibase prefix) of the target object Hash []byte `protobuf:"bytes,1,opt,name=Hash,proto3,oneof" json:"Hash,omitempty"` // UTF-8 string name Name *string `protobuf:"bytes,2,opt,name=Name,proto3,oneof" json:"Name,omitempty"` // cumulative size of target object Tsize *uint64 `protobuf:"varint,3,opt,name=Tsize,proto3,oneof" json:"Tsize,omitempty"` // contains filtered or unexported fields }
func (*PBLink) Descriptor
deprecated
func (*PBLink) ProtoMessage ¶
func (*PBLink) ProtoMessage()
func (*PBLink) ProtoReflect ¶
func (x *PBLink) ProtoReflect() protoreflect.Message
type PBNode ¶
type PBNode struct { // refs to other objects Links []*PBLink `protobuf:"bytes,2,rep,name=Links,proto3" json:"Links,omitempty"` // opaque user data Data []byte `protobuf:"bytes,1,opt,name=Data,proto3,oneof" json:"Data,omitempty"` // contains filtered or unexported fields }
func (*PBNode) Descriptor
deprecated
func (*PBNode) ProtoMessage ¶
func (*PBNode) ProtoMessage()
func (*PBNode) ProtoReflect ¶
func (x *PBNode) ProtoReflect() protoreflect.Message
type PutEntryRequest ¶
type PutEntryRequest struct { Chunk *Chunk `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"` // contains filtered or unexported fields }
func (*PutEntryRequest) Descriptor
deprecated
func (*PutEntryRequest) Descriptor() ([]byte, []int)
Deprecated: Use PutEntryRequest.ProtoReflect.Descriptor instead.
func (*PutEntryRequest) GetChunk ¶
func (x *PutEntryRequest) GetChunk() *Chunk
func (*PutEntryRequest) ProtoMessage ¶
func (*PutEntryRequest) ProtoMessage()
func (*PutEntryRequest) ProtoReflect ¶
func (x *PutEntryRequest) ProtoReflect() protoreflect.Message
func (*PutEntryRequest) Reset ¶
func (x *PutEntryRequest) Reset()
func (*PutEntryRequest) String ¶
func (x *PutEntryRequest) String() string
type PutEntryResponse ¶
type PutEntryResponse struct { Metadata *EntryMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*PutEntryResponse) Descriptor
deprecated
func (*PutEntryResponse) Descriptor() ([]byte, []int)
Deprecated: Use PutEntryResponse.ProtoReflect.Descriptor instead.
func (*PutEntryResponse) GetMetadata ¶
func (x *PutEntryResponse) GetMetadata() *EntryMetadata
func (*PutEntryResponse) ProtoMessage ¶
func (*PutEntryResponse) ProtoMessage()
func (*PutEntryResponse) ProtoReflect ¶
func (x *PutEntryResponse) ProtoReflect() protoreflect.Message
func (*PutEntryResponse) Reset ¶
func (x *PutEntryResponse) Reset()
func (*PutEntryResponse) String ¶
func (x *PutEntryResponse) String() string
type Redis ¶
type Redis struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*Redis) Descriptor
deprecated
func (*Redis) GetEndpoint ¶
func (*Redis) ProtoMessage ¶
func (*Redis) ProtoMessage()
func (*Redis) ProtoReflect ¶
func (x *Redis) ProtoReflect() protoreflect.Message
type Remote ¶
type Remote struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Remote) Descriptor
deprecated
func (*Remote) ProtoMessage ¶
func (*Remote) ProtoMessage()
func (*Remote) ProtoReflect ¶
func (x *Remote) ProtoReflect() protoreflect.Message
type SetTagRequest ¶
type SetTagRequest struct { SignedTag *SignedTag `protobuf:"bytes,1,opt,name=signed_tag,json=signedTag,proto3" json:"signed_tag,omitempty"` // contains filtered or unexported fields }
func (*SetTagRequest) Descriptor
deprecated
func (*SetTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetTagRequest.ProtoReflect.Descriptor instead.
func (*SetTagRequest) GetSignedTag ¶
func (x *SetTagRequest) GetSignedTag() *SignedTag
func (*SetTagRequest) ProtoMessage ¶
func (*SetTagRequest) ProtoMessage()
func (*SetTagRequest) ProtoReflect ¶
func (x *SetTagRequest) ProtoReflect() protoreflect.Message
func (*SetTagRequest) Reset ¶
func (x *SetTagRequest) Reset()
func (*SetTagRequest) String ¶
func (x *SetTagRequest) String() string
type SetTagResponse ¶
type SetTagResponse struct {
// contains filtered or unexported fields
}
func (*SetTagResponse) Descriptor
deprecated
func (*SetTagResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetTagResponse.ProtoReflect.Descriptor instead.
func (*SetTagResponse) ProtoMessage ¶
func (*SetTagResponse) ProtoMessage()
func (*SetTagResponse) ProtoReflect ¶
func (x *SetTagResponse) ProtoReflect() protoreflect.Message
func (*SetTagResponse) Reset ¶
func (x *SetTagResponse) Reset()
func (*SetTagResponse) String ¶
func (x *SetTagResponse) String() string
type SignedTag ¶
type SignedTag struct { Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` TagSignature []byte `protobuf:"bytes,2,opt,name=tag_signature,json=tagSignature,proto3" json:"tag_signature,omitempty"` PublicKey []byte `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*SignedTag) Descriptor
deprecated
func (*SignedTag) GetPublicKey ¶
func (*SignedTag) GetTagSignature ¶
func (*SignedTag) ProtoMessage ¶
func (*SignedTag) ProtoMessage()
func (*SignedTag) ProtoReflect ¶
func (x *SignedTag) ProtoReflect() protoreflect.Message
type Tag ¶
type Tag struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Target *Digest `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*Tag) Descriptor
deprecated
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type UnimplementedEntServer ¶
type UnimplementedEntServer struct { }
UnimplementedEntServer must be embedded to have forward compatible implementations.
func (UnimplementedEntServer) GetEntry ¶
func (UnimplementedEntServer) GetEntry(*GetEntryRequest, Ent_GetEntryServer) error
func (UnimplementedEntServer) GetEntryMetadata ¶
func (UnimplementedEntServer) GetEntryMetadata(context.Context, *GetEntryMetadataRequest) (*GetEntryMetadataResponse, error)
func (UnimplementedEntServer) GetTag ¶
func (UnimplementedEntServer) GetTag(context.Context, *GetTagRequest) (*GetTagResponse, error)
func (UnimplementedEntServer) PutEntry ¶
func (UnimplementedEntServer) PutEntry(Ent_PutEntryServer) error
func (UnimplementedEntServer) SetTag ¶
func (UnimplementedEntServer) SetTag(context.Context, *SetTagRequest) (*SetTagResponse, error)
type UnsafeEntServer ¶
type UnsafeEntServer interface {
// contains filtered or unexported methods
}
UnsafeEntServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EntServer will result in compilation errors.
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ApiKey string `protobuf:"bytes,3,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` CanRead bool `protobuf:"varint,4,opt,name=can_read,json=canRead,proto3" json:"can_read,omitempty"` CanWrite bool `protobuf:"varint,5,opt,name=can_write,json=canWrite,proto3" json:"can_write,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCanRead ¶
func (*User) GetCanWrite ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message