Documentation ¶
Index ¶
- Constants
- Variables
- func ValueSkeletonKey(name string) string
- type ValueSkeleton
- func (*ValueSkeleton) Descriptor() ([]byte, []int)
- func (m *ValueSkeleton) GetName() string
- func (*ValueSkeleton) ProtoMessage()
- func (m *ValueSkeleton) Reset()
- func (m *ValueSkeleton) String() string
- func (m *ValueSkeleton) XXX_DiscardUnknown()
- func (m *ValueSkeleton) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ValueSkeleton) XXX_Merge(src proto.Message)
- func (*ValueSkeleton) XXX_MessageName() string
- func (m *ValueSkeleton) XXX_Size() int
- func (m *ValueSkeleton) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const ModuleName = "skeleton"
ModuleName is the module name used for all the models of this plugin.
Variables ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ValueSkeleton) Descriptor ¶
func (*ValueSkeleton) Descriptor() ([]byte, []int)
func (*ValueSkeleton) GetName ¶
func (m *ValueSkeleton) GetName() string
func (*ValueSkeleton) ProtoMessage ¶
func (*ValueSkeleton) ProtoMessage()
func (*ValueSkeleton) Reset ¶
func (m *ValueSkeleton) Reset()
func (*ValueSkeleton) String ¶
func (m *ValueSkeleton) String() string
func (*ValueSkeleton) XXX_DiscardUnknown ¶
func (m *ValueSkeleton) XXX_DiscardUnknown()
func (*ValueSkeleton) XXX_Marshal ¶
func (m *ValueSkeleton) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValueSkeleton) XXX_Merge ¶
func (dst *ValueSkeleton) XXX_Merge(src proto.Message)
func (*ValueSkeleton) XXX_MessageName ¶
func (*ValueSkeleton) XXX_MessageName() string
func (*ValueSkeleton) XXX_Size ¶
func (m *ValueSkeleton) XXX_Size() int
func (*ValueSkeleton) XXX_Unmarshal ¶
func (m *ValueSkeleton) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.