ent

package
v0.0.0-...-6f8bca6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
var File_proto_dag_pb_proto protoreflect.FileDescriptor
View Source
var File_proto_ent_server_api_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use BigQuery.ProtoReflect.Descriptor instead.

func (*BigQuery) GetDataset

func (x *BigQuery) GetDataset() string

func (*BigQuery) ProtoMessage

func (*BigQuery) ProtoMessage()

func (*BigQuery) ProtoReflect

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

func (*BigQuery) Reset

func (x *BigQuery) Reset()

func (*BigQuery) String

func (x *BigQuery) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Chunk.ProtoReflect.Descriptor instead.

func (*Chunk) GetData

func (x *Chunk) GetData() []byte

func (*Chunk) GetOffset

func (x *Chunk) GetOffset() uint64

func (*Chunk) ProtoMessage

func (*Chunk) ProtoMessage()

func (*Chunk) ProtoReflect

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

func (*Chunk) Reset

func (x *Chunk) Reset()

func (*Chunk) String

func (x *Chunk) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetBigQuery

func (x *Config) GetBigQuery() *BigQuery

func (*Config) GetCloudStorage

func (x *Config) GetCloudStorage() *CloudStorage

func (*Config) GetDomainName

func (x *Config) GetDomainName() string

func (*Config) GetGinMode

func (x *Config) GetGinMode() string

func (*Config) GetListenAddress

func (x *Config) GetListenAddress() string

func (*Config) GetLogLevel

func (x *Config) GetLogLevel() string

func (*Config) GetProjectId

func (x *Config) GetProjectId() string

func (*Config) GetRedis

func (x *Config) GetRedis() *Redis

func (*Config) GetRemote

func (x *Config) GetRemote() []*Remote

func (*Config) GetUser

func (x *Config) GetUser() []*User

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Digest.ProtoReflect.Descriptor instead.

func (*Digest) GetCode

func (x *Digest) GetCode() uint64

func (*Digest) GetDigest

func (x *Digest) GetDigest() []byte

func (*Digest) ProtoMessage

func (*Digest) ProtoMessage()

func (*Digest) ProtoReflect

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

func (*Digest) Reset

func (x *Digest) Reset()

func (*Digest) String

func (x *Digest) String() string

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 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) Descriptor() ([]byte, []int)

Deprecated: Use PBLink.ProtoReflect.Descriptor instead.

func (*PBLink) GetHash

func (x *PBLink) GetHash() []byte

func (*PBLink) GetName

func (x *PBLink) GetName() string

func (*PBLink) GetTsize

func (x *PBLink) GetTsize() uint64

func (*PBLink) ProtoMessage

func (*PBLink) ProtoMessage()

func (*PBLink) ProtoReflect

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

func (*PBLink) Reset

func (x *PBLink) Reset()

func (*PBLink) String

func (x *PBLink) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PBNode.ProtoReflect.Descriptor instead.

func (*PBNode) GetData

func (x *PBNode) GetData() []byte
func (x *PBNode) GetLinks() []*PBLink

func (*PBNode) ProtoMessage

func (*PBNode) ProtoMessage()

func (*PBNode) ProtoReflect

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

func (*PBNode) Reset

func (x *PBNode) Reset()

func (*PBNode) String

func (x *PBNode) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Redis.ProtoReflect.Descriptor instead.

func (*Redis) GetEndpoint

func (x *Redis) GetEndpoint() string

func (*Redis) ProtoMessage

func (*Redis) ProtoMessage()

func (*Redis) ProtoReflect

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

func (*Redis) Reset

func (x *Redis) Reset()

func (*Redis) String

func (x *Redis) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Remote.ProtoReflect.Descriptor instead.

func (*Remote) GetName

func (x *Remote) GetName() string

func (*Remote) ProtoMessage

func (*Remote) ProtoMessage()

func (*Remote) ProtoReflect

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

func (*Remote) Reset

func (x *Remote) Reset()

func (*Remote) String

func (x *Remote) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use SignedTag.ProtoReflect.Descriptor instead.

func (*SignedTag) GetPublicKey

func (x *SignedTag) GetPublicKey() []byte

func (*SignedTag) GetTag

func (x *SignedTag) GetTag() *Tag

func (*SignedTag) GetTagSignature

func (x *SignedTag) GetTagSignature() []byte

func (*SignedTag) ProtoMessage

func (*SignedTag) ProtoMessage()

func (*SignedTag) ProtoReflect

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

func (*SignedTag) Reset

func (x *SignedTag) Reset()

func (*SignedTag) String

func (x *SignedTag) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetLabel

func (x *Tag) GetLabel() string

func (*Tag) GetTarget

func (x *Tag) GetTarget() *Digest

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect

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

func (*Tag) Reset

func (x *Tag) Reset()

func (*Tag) String

func (x *Tag) String() string

type UnimplementedEntServer

type UnimplementedEntServer struct {
}

UnimplementedEntServer must be embedded to have forward compatible implementations.

func (UnimplementedEntServer) GetEntry

func (UnimplementedEntServer) GetTag

func (UnimplementedEntServer) PutEntry

func (UnimplementedEntServer) SetTag

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetApiKey

func (x *User) GetApiKey() string

func (*User) GetCanRead

func (x *User) GetCanRead() bool

func (*User) GetCanWrite

func (x *User) GetCanWrite() bool

func (*User) GetId

func (x *User) GetId() int64

func (*User) GetName

func (x *User) GetName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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