Documentation
¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetRequest() *Request
- func (x *Event) GetRequestOne() *RequestOne
- func (x *Event) GetResult() *Result
- func (x *Event) GetResultOne() *ResultOne
- func (m *Event) GetType() isEvent_Type
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (*Event) ReflectTypeOptions() []reflect.Type
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_Request
- type Event_RequestOne
- type Event_Result
- type Event_ResultOne
- type Event_Type
- type Event_TypeWrapper
- type HashData
- type HashOrigin
- func (*HashOrigin) Descriptor() ([]byte, []int)deprecated
- func (x *HashOrigin) GetContextStore() *contextstorepb.Origin
- func (x *HashOrigin) GetDsl() *dslpb.Origin
- func (x *HashOrigin) GetModule() string
- func (m *HashOrigin) GetType() isHashOrigin_Type
- func (*HashOrigin) ProtoMessage()
- func (x *HashOrigin) ProtoReflect() protoreflect.Message
- func (*HashOrigin) ReflectTypeOptions() []reflect.Type
- func (x *HashOrigin) Reset()
- func (x *HashOrigin) String() string
- type HashOrigin_ContextStore
- type HashOrigin_Dsl
- type HashOrigin_Type
- type HashOrigin_TypeWrapper
- type Request
- type RequestOne
- func (*RequestOne) Descriptor() ([]byte, []int)deprecated
- func (x *RequestOne) GetData() *HashData
- func (x *RequestOne) GetOrigin() *HashOrigin
- func (*RequestOne) ProtoMessage()
- func (x *RequestOne) ProtoReflect() protoreflect.Message
- func (x *RequestOne) Reset()
- func (x *RequestOne) String() string
- type Result
- type ResultOne
Constants ¶
This section is empty.
Variables ¶
View Source
var File_hasherpb_hasherpb_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // Types that are assignable to Type: // *Event_Request // *Event_Result // *Event_RequestOne // *Event_ResultOne Type isEvent_Type `protobuf_oneof:"Type"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetRequest ¶
func (*Event) GetRequestOne ¶
func (x *Event) GetRequestOne() *RequestOne
func (*Event) GetResultOne ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) ReflectTypeOptions ¶
type Event_Request ¶
type Event_Request struct {
Request *Request `protobuf:"bytes,1,opt,name=request,proto3,oneof"`
}
func (*Event_Request) Unwrap ¶
func (w *Event_Request) Unwrap() *Request
type Event_RequestOne ¶
type Event_RequestOne struct {
RequestOne *RequestOne `protobuf:"bytes,3,opt,name=request_one,json=requestOne,proto3,oneof"`
}
func (*Event_RequestOne) Unwrap ¶
func (w *Event_RequestOne) Unwrap() *RequestOne
type Event_Result ¶
type Event_Result struct {
Result *Result `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}
func (*Event_Result) Unwrap ¶
func (w *Event_Result) Unwrap() *Result
type Event_ResultOne ¶
type Event_ResultOne struct {
ResultOne *ResultOne `protobuf:"bytes,4,opt,name=result_one,json=resultOne,proto3,oneof"`
}
func (*Event_ResultOne) Unwrap ¶
func (w *Event_ResultOne) Unwrap() *ResultOne
type Event_Type ¶
type Event_Type = isEvent_Type
type Event_TypeWrapper ¶
type Event_TypeWrapper[T any] interface { Event_Type Unwrap() *T }
type HashData ¶
type HashData struct { Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*HashData) Descriptor
deprecated
func (*HashData) ProtoMessage ¶
func (*HashData) ProtoMessage()
func (*HashData) ProtoReflect ¶
func (x *HashData) ProtoReflect() protoreflect.Message
type HashOrigin ¶
type HashOrigin struct { Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // Types that are assignable to Type: // *HashOrigin_ContextStore // *HashOrigin_Dsl Type isHashOrigin_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*HashOrigin) Descriptor
deprecated
func (*HashOrigin) Descriptor() ([]byte, []int)
Deprecated: Use HashOrigin.ProtoReflect.Descriptor instead.
func (*HashOrigin) GetContextStore ¶
func (x *HashOrigin) GetContextStore() *contextstorepb.Origin
func (*HashOrigin) GetDsl ¶
func (x *HashOrigin) GetDsl() *dslpb.Origin
func (*HashOrigin) GetModule ¶
func (x *HashOrigin) GetModule() string
func (*HashOrigin) GetType ¶
func (m *HashOrigin) GetType() isHashOrigin_Type
func (*HashOrigin) ProtoMessage ¶
func (*HashOrigin) ProtoMessage()
func (*HashOrigin) ProtoReflect ¶
func (x *HashOrigin) ProtoReflect() protoreflect.Message
func (*HashOrigin) ReflectTypeOptions ¶
func (*HashOrigin) ReflectTypeOptions() []reflect.Type
func (*HashOrigin) Reset ¶
func (x *HashOrigin) Reset()
func (*HashOrigin) String ¶
func (x *HashOrigin) String() string
type HashOrigin_ContextStore ¶
type HashOrigin_ContextStore struct {
ContextStore *contextstorepb.Origin `protobuf:"bytes,2,opt,name=context_store,json=contextStore,proto3,oneof"`
}
func (*HashOrigin_ContextStore) Unwrap ¶
func (w *HashOrigin_ContextStore) Unwrap() *contextstorepb.Origin
type HashOrigin_Dsl ¶
func (*HashOrigin_Dsl) Unwrap ¶
func (w *HashOrigin_Dsl) Unwrap() *dslpb.Origin
type HashOrigin_Type ¶
type HashOrigin_Type = isHashOrigin_Type
type HashOrigin_TypeWrapper ¶
type HashOrigin_TypeWrapper[T any] interface { HashOrigin_Type Unwrap() *T }
type Request ¶
type Request struct { Data []*HashData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Origin *HashOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) GetOrigin ¶
func (x *Request) GetOrigin() *HashOrigin
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type RequestOne ¶
type RequestOne struct { Data *HashData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Origin *HashOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*RequestOne) Descriptor
deprecated
func (*RequestOne) Descriptor() ([]byte, []int)
Deprecated: Use RequestOne.ProtoReflect.Descriptor instead.
func (*RequestOne) GetData ¶
func (x *RequestOne) GetData() *HashData
func (*RequestOne) GetOrigin ¶
func (x *RequestOne) GetOrigin() *HashOrigin
func (*RequestOne) ProtoMessage ¶
func (*RequestOne) ProtoMessage()
func (*RequestOne) ProtoReflect ¶
func (x *RequestOne) ProtoReflect() protoreflect.Message
func (*RequestOne) Reset ¶
func (x *RequestOne) Reset()
func (*RequestOne) String ¶
func (x *RequestOne) String() string
type Result ¶
type Result struct { Digests [][]byte `protobuf:"bytes,1,rep,name=digests,proto3" json:"digests,omitempty"` Origin *HashOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) GetDigests ¶
func (*Result) GetOrigin ¶
func (x *Result) GetOrigin() *HashOrigin
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type ResultOne ¶
type ResultOne struct { Digest []byte `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` Origin *HashOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // contains filtered or unexported fields }
func (*ResultOne) Descriptor
deprecated
func (*ResultOne) GetOrigin ¶
func (x *ResultOne) GetOrigin() *HashOrigin
func (*ResultOne) ProtoMessage ¶
func (*ResultOne) ProtoMessage()
func (*ResultOne) ProtoReflect ¶
func (x *ResultOne) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.