hasherpb

package
v0.4.4 Latest Latest
Warning

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

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

Documentation

Index

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetRequest

func (x *Event) GetRequest() *Request

func (*Event) GetRequestOne

func (x *Event) GetRequestOne() *RequestOne

func (*Event) GetResult

func (x *Event) GetResult() *Result

func (*Event) GetResultOne

func (x *Event) GetResultOne() *ResultOne

func (*Event) GetType

func (m *Event) GetType() isEvent_Type

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) ReflectTypeOptions

func (*Event) ReflectTypeOptions() []reflect.Type

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

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

Deprecated: Use HashData.ProtoReflect.Descriptor instead.

func (*HashData) GetData

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

func (*HashData) ProtoMessage

func (*HashData) ProtoMessage()

func (*HashData) ProtoReflect

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

func (*HashData) Reset

func (x *HashData) Reset()

func (*HashData) String

func (x *HashData) String() string

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

type HashOrigin_Dsl

type HashOrigin_Dsl struct {
	Dsl *dslpb.Origin `protobuf:"bytes,4,opt,name=dsl,proto3,oneof"`
}

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetData

func (x *Request) GetData() []*HashData

func (*Request) GetOrigin

func (x *Request) GetOrigin() *HashOrigin

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetDigests

func (x *Result) GetDigests() [][]byte

func (*Result) GetOrigin

func (x *Result) GetOrigin() *HashOrigin

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

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

Deprecated: Use ResultOne.ProtoReflect.Descriptor instead.

func (*ResultOne) GetDigest

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

func (*ResultOne) GetOrigin

func (x *ResultOne) GetOrigin() *HashOrigin

func (*ResultOne) ProtoMessage

func (*ResultOne) ProtoMessage()

func (*ResultOne) ProtoReflect

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

func (*ResultOne) Reset

func (x *ResultOne) Reset()

func (*ResultOne) String

func (x *ResultOne) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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