cachefs

package
v0.0.0-...-d260292 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CachefsMeta_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cachefs.CachefsMeta",
	HandlerType: (*CachefsMetaServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LoadMeta",
			Handler:    _CachefsMeta_LoadMeta_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/rpc/meta/meta.proto",
}

CachefsMeta_ServiceDesc is the grpc.ServiceDesc for CachefsMeta 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_pkg_rpc_meta_meta_proto protoreflect.FileDescriptor

Functions

func RegisterCachefsMetaServer

func RegisterCachefsMetaServer(s grpc.ServiceRegistrar, srv CachefsMetaServer)

Types

type CachefsMetaClient

type CachefsMetaClient interface {
	LoadMeta(ctx context.Context, in *LoadMetaReq, opts ...grpc.CallOption) (*LoadMetaRes, error)
}

CachefsMetaClient is the client API for CachefsMeta service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CachefsMetaServer

type CachefsMetaServer interface {
	LoadMeta(context.Context, *LoadMetaReq) (*LoadMetaRes, error)
}

CachefsMetaServer is the server API for CachefsMeta service. All implementations should embed UnimplementedCachefsMetaServer for forward compatibility

type LoadMetaReq

type LoadMetaReq struct {
	SerfGroup string `protobuf:"bytes,1,opt,name=serf_group,json=serfGroup,proto3" json:"serf_group,omitempty"`
	Addr      string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadMetaReq) Descriptor deprecated

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

Deprecated: Use LoadMetaReq.ProtoReflect.Descriptor instead.

func (*LoadMetaReq) GetAddr

func (x *LoadMetaReq) GetAddr() string

func (*LoadMetaReq) GetSerfGroup

func (x *LoadMetaReq) GetSerfGroup() string

func (*LoadMetaReq) ProtoMessage

func (*LoadMetaReq) ProtoMessage()

func (*LoadMetaReq) ProtoReflect

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

func (*LoadMetaReq) Reset

func (x *LoadMetaReq) Reset()

func (*LoadMetaReq) String

func (x *LoadMetaReq) String() string

func (*LoadMetaReq) Validate

func (m *LoadMetaReq) Validate() error

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

func (*LoadMetaReq) ValidateAll

func (m *LoadMetaReq) ValidateAll() error

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

type LoadMetaReqMultiError

type LoadMetaReqMultiError []error

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

func (LoadMetaReqMultiError) AllErrors

func (m LoadMetaReqMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadMetaReqMultiError) Error

func (m LoadMetaReqMultiError) Error() string

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

type LoadMetaReqValidationError

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

LoadMetaReqValidationError is the validation error returned by LoadMetaReq.Validate if the designated constraints aren't met.

func (LoadMetaReqValidationError) Cause

Cause function returns cause value.

func (LoadMetaReqValidationError) Error

Error satisfies the builtin error interface

func (LoadMetaReqValidationError) ErrorName

func (e LoadMetaReqValidationError) ErrorName() string

ErrorName returns error name.

func (LoadMetaReqValidationError) Field

Field function returns field value.

func (LoadMetaReqValidationError) Key

Key function returns key value.

func (LoadMetaReqValidationError) Reason

Reason function returns reason value.

type LoadMetaRes

type LoadMetaRes struct {
	Meta []byte `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadMetaRes) Descriptor deprecated

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

Deprecated: Use LoadMetaRes.ProtoReflect.Descriptor instead.

func (*LoadMetaRes) GetMeta

func (x *LoadMetaRes) GetMeta() []byte

func (*LoadMetaRes) ProtoMessage

func (*LoadMetaRes) ProtoMessage()

func (*LoadMetaRes) ProtoReflect

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

func (*LoadMetaRes) Reset

func (x *LoadMetaRes) Reset()

func (*LoadMetaRes) String

func (x *LoadMetaRes) String() string

func (*LoadMetaRes) Validate

func (m *LoadMetaRes) Validate() error

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

func (*LoadMetaRes) ValidateAll

func (m *LoadMetaRes) ValidateAll() error

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

type LoadMetaResMultiError

type LoadMetaResMultiError []error

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

func (LoadMetaResMultiError) AllErrors

func (m LoadMetaResMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoadMetaResMultiError) Error

func (m LoadMetaResMultiError) Error() string

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

type LoadMetaResValidationError

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

LoadMetaResValidationError is the validation error returned by LoadMetaRes.Validate if the designated constraints aren't met.

func (LoadMetaResValidationError) Cause

Cause function returns cause value.

func (LoadMetaResValidationError) Error

Error satisfies the builtin error interface

func (LoadMetaResValidationError) ErrorName

func (e LoadMetaResValidationError) ErrorName() string

ErrorName returns error name.

func (LoadMetaResValidationError) Field

Field function returns field value.

func (LoadMetaResValidationError) Key

Key function returns key value.

func (LoadMetaResValidationError) Reason

Reason function returns reason value.

type UnimplementedCachefsMetaServer

type UnimplementedCachefsMetaServer struct {
}

UnimplementedCachefsMetaServer should be embedded to have forward compatible implementations.

func (UnimplementedCachefsMetaServer) LoadMeta

type UnsafeCachefsMetaServer

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

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

Jump to

Keyboard shortcuts

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