base

package
v0.0.0-...-59a8832 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthParameter        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParameter          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParameter = fmt.Errorf("proto: unexpected end of group")
)

Functions

func ParametersToInterface

func ParametersToInterface(inParameters []*Parameter) []parameters.Parameter

Types

type Parameter

type Parameter struct {
	MetaProperty *base.MetaProperty `protobuf:"bytes,1,opt,name=meta_property,json=metaProperty,proto3" json:"meta_property,omitempty"`
}

func NewParameter

func NewParameter(metaProperty properties.MetaProperty) *Parameter

func ParametersFromInterface

func ParametersFromInterface(parameters []parameters.Parameter) []*Parameter

func (*Parameter) Descriptor

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

func (*Parameter) GetMetaProperty

func (m *Parameter) GetMetaProperty() properties.MetaProperty

func (*Parameter) Marshal

func (m *Parameter) Marshal() (dAtA []byte, err error)

func (*Parameter) MarshalTo

func (m *Parameter) MarshalTo(dAtA []byte) (int, error)

func (*Parameter) MarshalToSizedBuffer

func (m *Parameter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Parameter) Mutate

func (m *Parameter) Mutate(data data.Data) parameters.Parameter

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) Size

func (m *Parameter) Size() (n int)

func (*Parameter) String

func (m *Parameter) String() string

func (*Parameter) Unmarshal

func (m *Parameter) Unmarshal(dAtA []byte) error

func (*Parameter) ValidateBasic

func (m *Parameter) ValidateBasic() error

func (*Parameter) XXX_DiscardUnknown

func (m *Parameter) XXX_DiscardUnknown()

func (*Parameter) XXX_Marshal

func (m *Parameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Parameter) XXX_Merge

func (m *Parameter) XXX_Merge(src proto.Message)

func (*Parameter) XXX_Size

func (m *Parameter) XXX_Size() int

func (*Parameter) XXX_Unmarshal

func (m *Parameter) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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