Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "skeleton"
ModuleName is the module name used for all the models of this plugin.
Variables ¶
View Source
var File_model_model_proto protoreflect.FileDescriptor
View Source
var ( ValueModel = models.Register(&ValueSkeleton{}, models.Spec{ Module: ModuleName, Version: "v1", Type: "skeleton-value", }) )
Functions ¶
func ValueSkeletonKey ¶
ValueSkeletonKey returns the key used in NB DB to store the configuration of a skeleton value with the given logical name.
Types ¶
type ValueSkeleton ¶
type ValueSkeleton struct { // //logical name is often defined to build unique keys for value instances //- alternativelly, in the value model (keys.go), you may apply the //WithNameTemplate() option to generate value instance name using a golang //template, combining multiple value attributes that collectively //guarantee unique value identification (i.e. primary key) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ValueSkeleton) Descriptor
deprecated
func (*ValueSkeleton) Descriptor() ([]byte, []int)
Deprecated: Use ValueSkeleton.ProtoReflect.Descriptor instead.
func (*ValueSkeleton) GetName ¶
func (x *ValueSkeleton) GetName() string
func (*ValueSkeleton) ProtoMessage ¶
func (*ValueSkeleton) ProtoMessage()
func (*ValueSkeleton) ProtoReflect ¶ added in v3.3.0
func (x *ValueSkeleton) ProtoReflect() protoreflect.Message
func (*ValueSkeleton) Reset ¶
func (x *ValueSkeleton) Reset()
func (*ValueSkeleton) String ¶
func (x *ValueSkeleton) String() string
Click to show internal directories.
Click to hide internal directories.