Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCacheServer(s grpc.ServiceRegistrar, srv CacheServer)
- type CacheClient
- type CacheServer
- type Cache_InstanceIntentsGetAllClient
- type Cache_InstanceIntentsGetAllServer
- type InstanceCreateRequest
- func (*InstanceCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceCreateRequest) GetCacheInstanceName() string
- func (*InstanceCreateRequest) ProtoMessage()
- func (x *InstanceCreateRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceCreateRequest) Reset()
- func (x *InstanceCreateRequest) String() string
- type InstanceCreateResponse
- type InstanceDeleteRequest
- func (*InstanceDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceDeleteRequest) GetCacheInstanceName() string
- func (*InstanceDeleteRequest) ProtoMessage()
- func (x *InstanceDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceDeleteRequest) Reset()
- func (x *InstanceDeleteRequest) String() string
- type InstanceDeleteResponse
- type InstanceIntentDeleteRequest
- func (*InstanceIntentDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceIntentDeleteRequest) GetCacheInstanceName() string
- func (x *InstanceIntentDeleteRequest) GetIntentName() string
- func (*InstanceIntentDeleteRequest) ProtoMessage()
- func (x *InstanceIntentDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentDeleteRequest) Reset()
- func (x *InstanceIntentDeleteRequest) String() string
- type InstanceIntentDeleteResponse
- func (*InstanceIntentDeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (*InstanceIntentDeleteResponse) ProtoMessage()
- func (x *InstanceIntentDeleteResponse) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentDeleteResponse) Reset()
- func (x *InstanceIntentDeleteResponse) String() string
- type InstanceIntentExistsRequest
- func (*InstanceIntentExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceIntentExistsRequest) GetCacheInstanceName() string
- func (x *InstanceIntentExistsRequest) GetIntentName() string
- func (*InstanceIntentExistsRequest) ProtoMessage()
- func (x *InstanceIntentExistsRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentExistsRequest) Reset()
- func (x *InstanceIntentExistsRequest) String() string
- type InstanceIntentExistsResponse
- func (*InstanceIntentExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceIntentExistsResponse) GetExists() bool
- func (*InstanceIntentExistsResponse) ProtoMessage()
- func (x *InstanceIntentExistsResponse) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentExistsResponse) Reset()
- func (x *InstanceIntentExistsResponse) String() string
- type InstanceIntentGetAllRequest
- func (*InstanceIntentGetAllRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceIntentGetAllRequest) GetCacheInstanceName() string
- func (x *InstanceIntentGetAllRequest) GetExcludeIntents() []string
- func (*InstanceIntentGetAllRequest) ProtoMessage()
- func (x *InstanceIntentGetAllRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentGetAllRequest) Reset()
- func (x *InstanceIntentGetAllRequest) String() string
- type InstanceIntentGetRequest
- func (*InstanceIntentGetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceIntentGetRequest) GetCacheInstanceName() string
- func (x *InstanceIntentGetRequest) GetIntentName() string
- func (*InstanceIntentGetRequest) ProtoMessage()
- func (x *InstanceIntentGetRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentGetRequest) Reset()
- func (x *InstanceIntentGetRequest) String() string
- type InstanceIntentGetResponse
- func (*InstanceIntentGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceIntentGetResponse) GetIntent() []byte
- func (x *InstanceIntentGetResponse) GetIntentName() string
- func (*InstanceIntentGetResponse) ProtoMessage()
- func (x *InstanceIntentGetResponse) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentGetResponse) Reset()
- func (x *InstanceIntentGetResponse) String() string
- type InstanceIntentModifyRequest
- func (*InstanceIntentModifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceIntentModifyRequest) GetCacheInstanceName() string
- func (x *InstanceIntentModifyRequest) GetIntent() []byte
- func (x *InstanceIntentModifyRequest) GetIntentName() string
- func (*InstanceIntentModifyRequest) ProtoMessage()
- func (x *InstanceIntentModifyRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentModifyRequest) Reset()
- func (x *InstanceIntentModifyRequest) String() string
- type InstanceIntentModifyResponse
- func (*InstanceIntentModifyResponse) Descriptor() ([]byte, []int)deprecated
- func (*InstanceIntentModifyResponse) ProtoMessage()
- func (x *InstanceIntentModifyResponse) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentModifyResponse) Reset()
- func (x *InstanceIntentModifyResponse) String() string
- type InstanceIntentsListRequest
- func (*InstanceIntentsListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceIntentsListRequest) GetCacheInstanceName() string
- func (*InstanceIntentsListRequest) ProtoMessage()
- func (x *InstanceIntentsListRequest) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentsListRequest) Reset()
- func (x *InstanceIntentsListRequest) String() string
- type InstanceIntentsListResponse
- func (*InstanceIntentsListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceIntentsListResponse) GetIntents() []string
- func (*InstanceIntentsListResponse) ProtoMessage()
- func (x *InstanceIntentsListResponse) ProtoReflect() protoreflect.Message
- func (x *InstanceIntentsListResponse) Reset()
- func (x *InstanceIntentsListResponse) String() string
- type InstancesListRequest
- type InstancesListResponse
- func (*InstancesListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstancesListResponse) GetCacheInstances() []string
- func (*InstancesListResponse) ProtoMessage()
- func (x *InstancesListResponse) ProtoReflect() protoreflect.Message
- func (x *InstancesListResponse) Reset()
- func (x *InstancesListResponse) String() string
- type UnimplementedCacheServer
- func (UnimplementedCacheServer) InstanceCreate(context.Context, *InstanceCreateRequest) (*InstanceCreateResponse, error)
- func (UnimplementedCacheServer) InstanceDelete(context.Context, *InstanceDeleteRequest) (*InstanceDeleteResponse, error)
- func (UnimplementedCacheServer) InstanceIntentDelete(context.Context, *InstanceIntentDeleteRequest) (*InstanceIntentDeleteResponse, error)
- func (UnimplementedCacheServer) InstanceIntentExists(context.Context, *InstanceIntentExistsRequest) (*InstanceIntentExistsResponse, error)
- func (UnimplementedCacheServer) InstanceIntentGet(context.Context, *InstanceIntentGetRequest) (*InstanceIntentGetResponse, error)
- func (UnimplementedCacheServer) InstanceIntentModify(context.Context, *InstanceIntentModifyRequest) (*InstanceIntentModifyResponse, error)
- func (UnimplementedCacheServer) InstanceIntentsGetAll(*InstanceIntentGetAllRequest, ...) error
- func (UnimplementedCacheServer) InstanceIntentsList(context.Context, *InstanceIntentsListRequest) (*InstanceIntentsListResponse, error)
- func (UnimplementedCacheServer) InstancesList(context.Context, *InstancesListRequest) (*InstancesListResponse, error)
- type UnsafeCacheServer
Constants ¶
const ( Cache_InstanceCreate_FullMethodName = "/cache.proto.Cache/InstanceCreate" Cache_InstancesList_FullMethodName = "/cache.proto.Cache/InstancesList" Cache_InstanceDelete_FullMethodName = "/cache.proto.Cache/InstanceDelete" Cache_InstanceIntentsList_FullMethodName = "/cache.proto.Cache/InstanceIntentsList" Cache_InstanceIntentsGetAll_FullMethodName = "/cache.proto.Cache/InstanceIntentsGetAll" Cache_InstanceIntentGet_FullMethodName = "/cache.proto.Cache/InstanceIntentGet" Cache_InstanceIntentExists_FullMethodName = "/cache.proto.Cache/InstanceIntentExists" Cache_InstanceIntentModify_FullMethodName = "/cache.proto.Cache/InstanceIntentModify" Cache_InstanceIntentDelete_FullMethodName = "/cache.proto.Cache/InstanceIntentDelete" )
Variables ¶
var Cache_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cache.proto.Cache", HandlerType: (*CacheServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "InstanceCreate", Handler: _Cache_InstanceCreate_Handler, }, { MethodName: "InstancesList", Handler: _Cache_InstancesList_Handler, }, { MethodName: "InstanceDelete", Handler: _Cache_InstanceDelete_Handler, }, { MethodName: "InstanceIntentsList", Handler: _Cache_InstanceIntentsList_Handler, }, { MethodName: "InstanceIntentGet", Handler: _Cache_InstanceIntentGet_Handler, }, { MethodName: "InstanceIntentExists", Handler: _Cache_InstanceIntentExists_Handler, }, { MethodName: "InstanceIntentModify", Handler: _Cache_InstanceIntentModify_Handler, }, { MethodName: "InstanceIntentDelete", Handler: _Cache_InstanceIntentDelete_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "InstanceIntentsGetAll", Handler: _Cache_InstanceIntentsGetAll_Handler, ServerStreams: true, }, }, Metadata: "cache.proto", }
Cache_ServiceDesc is the grpc.ServiceDesc for Cache service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_cache_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCacheServer ¶
func RegisterCacheServer(s grpc.ServiceRegistrar, srv CacheServer)
Types ¶
type CacheClient ¶
type CacheClient interface {
// Create cache instance
InstanceCreate(ctx context.Context, in *InstanceCreateRequest, opts ...grpc.CallOption) (*InstanceCreateResponse, error)
// List cache instances
InstancesList(ctx context.Context, in *InstancesListRequest, opts ...grpc.CallOption) (*InstancesListResponse, error)
// List the cache specific Intents
InstanceDelete(ctx context.Context, in *InstanceDeleteRequest, opts ...grpc.CallOption) (*InstanceDeleteResponse, error)
// Delete a cache instance specific intent
InstanceIntentsList(ctx context.Context, in *InstanceIntentsListRequest, opts ...grpc.CallOption) (*InstanceIntentsListResponse, error)
InstanceIntentsGetAll(ctx context.Context, in *InstanceIntentGetAllRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[InstanceIntentGetResponse], error)
// Get a cache specific Intent
InstanceIntentGet(ctx context.Context, in *InstanceIntentGetRequest, opts ...grpc.CallOption) (*InstanceIntentGetResponse, error)
// Check existence of a cache specifc intent
InstanceIntentExists(ctx context.Context, in *InstanceIntentExistsRequest, opts ...grpc.CallOption) (*InstanceIntentExistsResponse, error)
// Modify a cache specifc intent (add / modify)
InstanceIntentModify(ctx context.Context, in *InstanceIntentModifyRequest, opts ...grpc.CallOption) (*InstanceIntentModifyResponse, error)
// Delete a cache instance
InstanceIntentDelete(ctx context.Context, in *InstanceIntentDeleteRequest, opts ...grpc.CallOption) (*InstanceIntentDeleteResponse, error)
}
CacheClient is the client API for Cache 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 NewCacheClient ¶
func NewCacheClient(cc grpc.ClientConnInterface) CacheClient
type CacheServer ¶
type CacheServer interface {
// Create cache instance
InstanceCreate(context.Context, *InstanceCreateRequest) (*InstanceCreateResponse, error)
// List cache instances
InstancesList(context.Context, *InstancesListRequest) (*InstancesListResponse, error)
// List the cache specific Intents
InstanceDelete(context.Context, *InstanceDeleteRequest) (*InstanceDeleteResponse, error)
// Delete a cache instance specific intent
InstanceIntentsList(context.Context, *InstanceIntentsListRequest) (*InstanceIntentsListResponse, error)
InstanceIntentsGetAll(*InstanceIntentGetAllRequest, grpc.ServerStreamingServer[InstanceIntentGetResponse]) error
// Get a cache specific Intent
InstanceIntentGet(context.Context, *InstanceIntentGetRequest) (*InstanceIntentGetResponse, error)
// Check existence of a cache specifc intent
InstanceIntentExists(context.Context, *InstanceIntentExistsRequest) (*InstanceIntentExistsResponse, error)
// Modify a cache specifc intent (add / modify)
InstanceIntentModify(context.Context, *InstanceIntentModifyRequest) (*InstanceIntentModifyResponse, error)
// Delete a cache instance
InstanceIntentDelete(context.Context, *InstanceIntentDeleteRequest) (*InstanceIntentDeleteResponse, error)
// contains filtered or unexported methods
}
CacheServer is the server API for Cache service. All implementations must embed UnimplementedCacheServer for forward compatibility.
type Cache_InstanceIntentsGetAllClient ¶ added in v0.0.36
type Cache_InstanceIntentsGetAllClient = grpc.ServerStreamingClient[InstanceIntentGetResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Cache_InstanceIntentsGetAllServer ¶ added in v0.0.36
type Cache_InstanceIntentsGetAllServer = grpc.ServerStreamingServer[InstanceIntentGetResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type InstanceCreateRequest ¶ added in v0.0.36
type InstanceCreateRequest struct {
CacheInstanceName string `protobuf:"bytes,1,opt,name=cache_instance_name,json=cacheInstanceName,proto3" json:"cache_instance_name,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceCreateRequest) Descriptor
deprecated
added in
v0.0.36
func (*InstanceCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceCreateRequest.ProtoReflect.Descriptor instead.
func (*InstanceCreateRequest) GetCacheInstanceName ¶ added in v0.0.36
func (x *InstanceCreateRequest) GetCacheInstanceName() string
func (*InstanceCreateRequest) ProtoMessage ¶ added in v0.0.36
func (*InstanceCreateRequest) ProtoMessage()
func (*InstanceCreateRequest) ProtoReflect ¶ added in v0.0.36
func (x *InstanceCreateRequest) ProtoReflect() protoreflect.Message
func (*InstanceCreateRequest) Reset ¶ added in v0.0.36
func (x *InstanceCreateRequest) Reset()
func (*InstanceCreateRequest) String ¶ added in v0.0.36
func (x *InstanceCreateRequest) String() string
type InstanceCreateResponse ¶ added in v0.0.36
type InstanceCreateResponse struct {
// contains filtered or unexported fields
}
func (*InstanceCreateResponse) Descriptor
deprecated
added in
v0.0.36
func (*InstanceCreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstanceCreateResponse.ProtoReflect.Descriptor instead.
func (*InstanceCreateResponse) ProtoMessage ¶ added in v0.0.36
func (*InstanceCreateResponse) ProtoMessage()
func (*InstanceCreateResponse) ProtoReflect ¶ added in v0.0.36
func (x *InstanceCreateResponse) ProtoReflect() protoreflect.Message
func (*InstanceCreateResponse) Reset ¶ added in v0.0.36
func (x *InstanceCreateResponse) Reset()
func (*InstanceCreateResponse) String ¶ added in v0.0.36
func (x *InstanceCreateResponse) String() string
type InstanceDeleteRequest ¶ added in v0.0.36
type InstanceDeleteRequest struct {
CacheInstanceName string `protobuf:"bytes,1,opt,name=cache_instance_name,json=cacheInstanceName,proto3" json:"cache_instance_name,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceDeleteRequest) Descriptor
deprecated
added in
v0.0.36
func (*InstanceDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceDeleteRequest.ProtoReflect.Descriptor instead.
func (*InstanceDeleteRequest) GetCacheInstanceName ¶ added in v0.0.36
func (x *InstanceDeleteRequest) GetCacheInstanceName() string
func (*InstanceDeleteRequest) ProtoMessage ¶ added in v0.0.36
func (*InstanceDeleteRequest) ProtoMessage()
func (*InstanceDeleteRequest) ProtoReflect ¶ added in v0.0.36
func (x *InstanceDeleteRequest) ProtoReflect() protoreflect.Message
func (*InstanceDeleteRequest) Reset ¶ added in v0.0.36
func (x *InstanceDeleteRequest) Reset()
func (*InstanceDeleteRequest) String ¶ added in v0.0.36
func (x *InstanceDeleteRequest) String() string
type InstanceDeleteResponse ¶ added in v0.0.36
type InstanceDeleteResponse struct {
// contains filtered or unexported fields
}
func (*InstanceDeleteResponse) Descriptor
deprecated
added in
v0.0.36
func (*InstanceDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstanceDeleteResponse.ProtoReflect.Descriptor instead.
func (*InstanceDeleteResponse) ProtoMessage ¶ added in v0.0.36
func (*InstanceDeleteResponse) ProtoMessage()
func (*InstanceDeleteResponse) ProtoReflect ¶ added in v0.0.36
func (x *InstanceDeleteResponse) ProtoReflect() protoreflect.Message
func (*InstanceDeleteResponse) Reset ¶ added in v0.0.36
func (x *InstanceDeleteResponse) Reset()
func (*InstanceDeleteResponse) String ¶ added in v0.0.36
func (x *InstanceDeleteResponse) String() string
type InstanceIntentDeleteRequest ¶ added in v0.0.36
type InstanceIntentDeleteRequest struct {
CacheInstanceName string `protobuf:"bytes,1,opt,name=cache_instance_name,json=cacheInstanceName,proto3" json:"cache_instance_name,omitempty"`
IntentName string `protobuf:"bytes,2,opt,name=intent_name,json=intentName,proto3" json:"intent_name,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceIntentDeleteRequest) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentDeleteRequest.ProtoReflect.Descriptor instead.
func (*InstanceIntentDeleteRequest) GetCacheInstanceName ¶ added in v0.0.36
func (x *InstanceIntentDeleteRequest) GetCacheInstanceName() string
func (*InstanceIntentDeleteRequest) GetIntentName ¶ added in v0.0.36
func (x *InstanceIntentDeleteRequest) GetIntentName() string
func (*InstanceIntentDeleteRequest) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentDeleteRequest) ProtoMessage()
func (*InstanceIntentDeleteRequest) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentDeleteRequest) ProtoReflect() protoreflect.Message
func (*InstanceIntentDeleteRequest) Reset ¶ added in v0.0.36
func (x *InstanceIntentDeleteRequest) Reset()
func (*InstanceIntentDeleteRequest) String ¶ added in v0.0.36
func (x *InstanceIntentDeleteRequest) String() string
type InstanceIntentDeleteResponse ¶ added in v0.0.36
type InstanceIntentDeleteResponse struct {
// contains filtered or unexported fields
}
func (*InstanceIntentDeleteResponse) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentDeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentDeleteResponse.ProtoReflect.Descriptor instead.
func (*InstanceIntentDeleteResponse) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentDeleteResponse) ProtoMessage()
func (*InstanceIntentDeleteResponse) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentDeleteResponse) ProtoReflect() protoreflect.Message
func (*InstanceIntentDeleteResponse) Reset ¶ added in v0.0.36
func (x *InstanceIntentDeleteResponse) Reset()
func (*InstanceIntentDeleteResponse) String ¶ added in v0.0.36
func (x *InstanceIntentDeleteResponse) String() string
type InstanceIntentExistsRequest ¶ added in v0.0.36
type InstanceIntentExistsRequest struct {
CacheInstanceName string `protobuf:"bytes,1,opt,name=cache_instance_name,json=cacheInstanceName,proto3" json:"cache_instance_name,omitempty"`
IntentName string `protobuf:"bytes,2,opt,name=intent_name,json=intentName,proto3" json:"intent_name,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceIntentExistsRequest) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentExistsRequest.ProtoReflect.Descriptor instead.
func (*InstanceIntentExistsRequest) GetCacheInstanceName ¶ added in v0.0.36
func (x *InstanceIntentExistsRequest) GetCacheInstanceName() string
func (*InstanceIntentExistsRequest) GetIntentName ¶ added in v0.0.36
func (x *InstanceIntentExistsRequest) GetIntentName() string
func (*InstanceIntentExistsRequest) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentExistsRequest) ProtoMessage()
func (*InstanceIntentExistsRequest) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentExistsRequest) ProtoReflect() protoreflect.Message
func (*InstanceIntentExistsRequest) Reset ¶ added in v0.0.36
func (x *InstanceIntentExistsRequest) Reset()
func (*InstanceIntentExistsRequest) String ¶ added in v0.0.36
func (x *InstanceIntentExistsRequest) String() string
type InstanceIntentExistsResponse ¶ added in v0.0.36
type InstanceIntentExistsResponse struct {
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceIntentExistsResponse) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentExistsResponse.ProtoReflect.Descriptor instead.
func (*InstanceIntentExistsResponse) GetExists ¶ added in v0.0.36
func (x *InstanceIntentExistsResponse) GetExists() bool
func (*InstanceIntentExistsResponse) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentExistsResponse) ProtoMessage()
func (*InstanceIntentExistsResponse) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentExistsResponse) ProtoReflect() protoreflect.Message
func (*InstanceIntentExistsResponse) Reset ¶ added in v0.0.36
func (x *InstanceIntentExistsResponse) Reset()
func (*InstanceIntentExistsResponse) String ¶ added in v0.0.36
func (x *InstanceIntentExistsResponse) String() string
type InstanceIntentGetAllRequest ¶ added in v0.0.36
type InstanceIntentGetAllRequest struct {
CacheInstanceName string `protobuf:"bytes,1,opt,name=cache_instance_name,json=cacheInstanceName,proto3" json:"cache_instance_name,omitempty"`
ExcludeIntents []string `protobuf:"bytes,2,rep,name=exclude_intents,json=excludeIntents,proto3" json:"exclude_intents,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceIntentGetAllRequest) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentGetAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentGetAllRequest.ProtoReflect.Descriptor instead.
func (*InstanceIntentGetAllRequest) GetCacheInstanceName ¶ added in v0.0.36
func (x *InstanceIntentGetAllRequest) GetCacheInstanceName() string
func (*InstanceIntentGetAllRequest) GetExcludeIntents ¶ added in v0.0.36
func (x *InstanceIntentGetAllRequest) GetExcludeIntents() []string
func (*InstanceIntentGetAllRequest) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentGetAllRequest) ProtoMessage()
func (*InstanceIntentGetAllRequest) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentGetAllRequest) ProtoReflect() protoreflect.Message
func (*InstanceIntentGetAllRequest) Reset ¶ added in v0.0.36
func (x *InstanceIntentGetAllRequest) Reset()
func (*InstanceIntentGetAllRequest) String ¶ added in v0.0.36
func (x *InstanceIntentGetAllRequest) String() string
type InstanceIntentGetRequest ¶ added in v0.0.36
type InstanceIntentGetRequest struct {
CacheInstanceName string `protobuf:"bytes,1,opt,name=cache_instance_name,json=cacheInstanceName,proto3" json:"cache_instance_name,omitempty"`
IntentName string `protobuf:"bytes,2,opt,name=intent_name,json=intentName,proto3" json:"intent_name,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceIntentGetRequest) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentGetRequest.ProtoReflect.Descriptor instead.
func (*InstanceIntentGetRequest) GetCacheInstanceName ¶ added in v0.0.36
func (x *InstanceIntentGetRequest) GetCacheInstanceName() string
func (*InstanceIntentGetRequest) GetIntentName ¶ added in v0.0.36
func (x *InstanceIntentGetRequest) GetIntentName() string
func (*InstanceIntentGetRequest) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentGetRequest) ProtoMessage()
func (*InstanceIntentGetRequest) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentGetRequest) ProtoReflect() protoreflect.Message
func (*InstanceIntentGetRequest) Reset ¶ added in v0.0.36
func (x *InstanceIntentGetRequest) Reset()
func (*InstanceIntentGetRequest) String ¶ added in v0.0.36
func (x *InstanceIntentGetRequest) String() string
type InstanceIntentGetResponse ¶ added in v0.0.36
type InstanceIntentGetResponse struct {
IntentName string `protobuf:"bytes,1,opt,name=intent_name,json=intentName,proto3" json:"intent_name,omitempty"`
Intent []byte `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceIntentGetResponse) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentGetResponse.ProtoReflect.Descriptor instead.
func (*InstanceIntentGetResponse) GetIntent ¶ added in v0.0.36
func (x *InstanceIntentGetResponse) GetIntent() []byte
func (*InstanceIntentGetResponse) GetIntentName ¶ added in v0.0.36
func (x *InstanceIntentGetResponse) GetIntentName() string
func (*InstanceIntentGetResponse) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentGetResponse) ProtoMessage()
func (*InstanceIntentGetResponse) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentGetResponse) ProtoReflect() protoreflect.Message
func (*InstanceIntentGetResponse) Reset ¶ added in v0.0.36
func (x *InstanceIntentGetResponse) Reset()
func (*InstanceIntentGetResponse) String ¶ added in v0.0.36
func (x *InstanceIntentGetResponse) String() string
type InstanceIntentModifyRequest ¶ added in v0.0.36
type InstanceIntentModifyRequest struct {
CacheInstanceName string `protobuf:"bytes,1,opt,name=cache_instance_name,json=cacheInstanceName,proto3" json:"cache_instance_name,omitempty"`
IntentName string `protobuf:"bytes,2,opt,name=intent_name,json=intentName,proto3" json:"intent_name,omitempty"`
Intent []byte `protobuf:"bytes,3,opt,name=intent,proto3" json:"intent,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceIntentModifyRequest) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentModifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentModifyRequest.ProtoReflect.Descriptor instead.
func (*InstanceIntentModifyRequest) GetCacheInstanceName ¶ added in v0.0.36
func (x *InstanceIntentModifyRequest) GetCacheInstanceName() string
func (*InstanceIntentModifyRequest) GetIntent ¶ added in v0.0.36
func (x *InstanceIntentModifyRequest) GetIntent() []byte
func (*InstanceIntentModifyRequest) GetIntentName ¶ added in v0.0.36
func (x *InstanceIntentModifyRequest) GetIntentName() string
func (*InstanceIntentModifyRequest) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentModifyRequest) ProtoMessage()
func (*InstanceIntentModifyRequest) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentModifyRequest) ProtoReflect() protoreflect.Message
func (*InstanceIntentModifyRequest) Reset ¶ added in v0.0.36
func (x *InstanceIntentModifyRequest) Reset()
func (*InstanceIntentModifyRequest) String ¶ added in v0.0.36
func (x *InstanceIntentModifyRequest) String() string
type InstanceIntentModifyResponse ¶ added in v0.0.36
type InstanceIntentModifyResponse struct {
// contains filtered or unexported fields
}
func (*InstanceIntentModifyResponse) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentModifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentModifyResponse.ProtoReflect.Descriptor instead.
func (*InstanceIntentModifyResponse) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentModifyResponse) ProtoMessage()
func (*InstanceIntentModifyResponse) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentModifyResponse) ProtoReflect() protoreflect.Message
func (*InstanceIntentModifyResponse) Reset ¶ added in v0.0.36
func (x *InstanceIntentModifyResponse) Reset()
func (*InstanceIntentModifyResponse) String ¶ added in v0.0.36
func (x *InstanceIntentModifyResponse) String() string
type InstanceIntentsListRequest ¶ added in v0.0.36
type InstanceIntentsListRequest struct {
CacheInstanceName string `protobuf:"bytes,1,opt,name=cache_instance_name,json=cacheInstanceName,proto3" json:"cache_instance_name,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceIntentsListRequest) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentsListRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentsListRequest.ProtoReflect.Descriptor instead.
func (*InstanceIntentsListRequest) GetCacheInstanceName ¶ added in v0.0.36
func (x *InstanceIntentsListRequest) GetCacheInstanceName() string
func (*InstanceIntentsListRequest) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentsListRequest) ProtoMessage()
func (*InstanceIntentsListRequest) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentsListRequest) ProtoReflect() protoreflect.Message
func (*InstanceIntentsListRequest) Reset ¶ added in v0.0.36
func (x *InstanceIntentsListRequest) Reset()
func (*InstanceIntentsListRequest) String ¶ added in v0.0.36
func (x *InstanceIntentsListRequest) String() string
type InstanceIntentsListResponse ¶ added in v0.0.36
type InstanceIntentsListResponse struct {
Intents []string `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"`
// contains filtered or unexported fields
}
func (*InstanceIntentsListResponse) Descriptor
deprecated
added in
v0.0.36
func (*InstanceIntentsListResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIntentsListResponse.ProtoReflect.Descriptor instead.
func (*InstanceIntentsListResponse) GetIntents ¶ added in v0.0.36
func (x *InstanceIntentsListResponse) GetIntents() []string
func (*InstanceIntentsListResponse) ProtoMessage ¶ added in v0.0.36
func (*InstanceIntentsListResponse) ProtoMessage()
func (*InstanceIntentsListResponse) ProtoReflect ¶ added in v0.0.36
func (x *InstanceIntentsListResponse) ProtoReflect() protoreflect.Message
func (*InstanceIntentsListResponse) Reset ¶ added in v0.0.36
func (x *InstanceIntentsListResponse) Reset()
func (*InstanceIntentsListResponse) String ¶ added in v0.0.36
func (x *InstanceIntentsListResponse) String() string
type InstancesListRequest ¶ added in v0.0.36
type InstancesListRequest struct {
// contains filtered or unexported fields
}
func (*InstancesListRequest) Descriptor
deprecated
added in
v0.0.36
func (*InstancesListRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstancesListRequest.ProtoReflect.Descriptor instead.
func (*InstancesListRequest) ProtoMessage ¶ added in v0.0.36
func (*InstancesListRequest) ProtoMessage()
func (*InstancesListRequest) ProtoReflect ¶ added in v0.0.36
func (x *InstancesListRequest) ProtoReflect() protoreflect.Message
func (*InstancesListRequest) Reset ¶ added in v0.0.36
func (x *InstancesListRequest) Reset()
func (*InstancesListRequest) String ¶ added in v0.0.36
func (x *InstancesListRequest) String() string
type InstancesListResponse ¶ added in v0.0.36
type InstancesListResponse struct {
CacheInstances []string `protobuf:"bytes,1,rep,name=cache_instances,json=cacheInstances,proto3" json:"cache_instances,omitempty"`
// contains filtered or unexported fields
}
func (*InstancesListResponse) Descriptor
deprecated
added in
v0.0.36
func (*InstancesListResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstancesListResponse.ProtoReflect.Descriptor instead.
func (*InstancesListResponse) GetCacheInstances ¶ added in v0.0.36
func (x *InstancesListResponse) GetCacheInstances() []string
func (*InstancesListResponse) ProtoMessage ¶ added in v0.0.36
func (*InstancesListResponse) ProtoMessage()
func (*InstancesListResponse) ProtoReflect ¶ added in v0.0.36
func (x *InstancesListResponse) ProtoReflect() protoreflect.Message
func (*InstancesListResponse) Reset ¶ added in v0.0.36
func (x *InstancesListResponse) Reset()
func (*InstancesListResponse) String ¶ added in v0.0.36
func (x *InstancesListResponse) String() string
type UnimplementedCacheServer ¶
type UnimplementedCacheServer struct{}
UnimplementedCacheServer 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 (UnimplementedCacheServer) InstanceCreate ¶ added in v0.0.36
func (UnimplementedCacheServer) InstanceCreate(context.Context, *InstanceCreateRequest) (*InstanceCreateResponse, error)
func (UnimplementedCacheServer) InstanceDelete ¶ added in v0.0.36
func (UnimplementedCacheServer) InstanceDelete(context.Context, *InstanceDeleteRequest) (*InstanceDeleteResponse, error)
func (UnimplementedCacheServer) InstanceIntentDelete ¶ added in v0.0.36
func (UnimplementedCacheServer) InstanceIntentDelete(context.Context, *InstanceIntentDeleteRequest) (*InstanceIntentDeleteResponse, error)
func (UnimplementedCacheServer) InstanceIntentExists ¶ added in v0.0.36
func (UnimplementedCacheServer) InstanceIntentExists(context.Context, *InstanceIntentExistsRequest) (*InstanceIntentExistsResponse, error)
func (UnimplementedCacheServer) InstanceIntentGet ¶ added in v0.0.36
func (UnimplementedCacheServer) InstanceIntentGet(context.Context, *InstanceIntentGetRequest) (*InstanceIntentGetResponse, error)
func (UnimplementedCacheServer) InstanceIntentModify ¶ added in v0.0.36
func (UnimplementedCacheServer) InstanceIntentModify(context.Context, *InstanceIntentModifyRequest) (*InstanceIntentModifyResponse, error)
func (UnimplementedCacheServer) InstanceIntentsGetAll ¶ added in v0.0.36
func (UnimplementedCacheServer) InstanceIntentsGetAll(*InstanceIntentGetAllRequest, grpc.ServerStreamingServer[InstanceIntentGetResponse]) error
func (UnimplementedCacheServer) InstanceIntentsList ¶ added in v0.0.36
func (UnimplementedCacheServer) InstanceIntentsList(context.Context, *InstanceIntentsListRequest) (*InstanceIntentsListResponse, error)
func (UnimplementedCacheServer) InstancesList ¶ added in v0.0.36
func (UnimplementedCacheServer) InstancesList(context.Context, *InstancesListRequest) (*InstancesListResponse, error)
type UnsafeCacheServer ¶
type UnsafeCacheServer interface {
// contains filtered or unexported methods
}
UnsafeCacheServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CacheServer will result in compilation errors.