impl

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultKV

type DefaultKV struct {
	defaults.DefaultImpl
	Impl kv.IKV
	*StdStructuredPtr
}

DefaultKV default indicator card component

func (*DefaultKV) AfterHandleOp

func (d *DefaultKV) AfterHandleOp(sdk *cptype.SDK)

AfterHandleOp providers default impl for user.

func (*DefaultKV) BeforeHandleOp

func (d *DefaultKV) BeforeHandleOp(sdk *cptype.SDK)

BeforeHandleOp providers default impl for user.

func (*DefaultKV) DecodeData

func (d *DefaultKV) DecodeData(compData cptype.ComponentData, modelDataPtr interface{})

DecodeData .

func (*DefaultKV) DecodeInParams

func (d *DefaultKV) DecodeInParams(compInParams cptype.InParams, modelInParamsPtr interface{})

DecodeInParams .

func (*DefaultKV) DecodeState

func (d *DefaultKV) DecodeState(compState cptype.ComponentState, modelStatePtr interface{})

DecodeState .

func (*DefaultKV) EncodeData

func (d *DefaultKV) EncodeData(srcStructPtr interface{}, dstRawPtr *cptype.ComponentData)

EncodeData .

func (*DefaultKV) EncodeInParams

func (d *DefaultKV) EncodeInParams(srcStructPtr interface{}, dstRawPtr *cptype.InParams)

EncodeInParams .

func (*DefaultKV) EncodeState

func (d *DefaultKV) EncodeState(srcStructPtr interface{}, dstRawPtr *cptype.ComponentState)

EncodeState .

func (*DefaultKV) Finalize

func (d *DefaultKV) Finalize(sdk *cptype.SDK)

Finalize .

func (*DefaultKV) Initialize

func (d *DefaultKV) Initialize(sdk *cptype.SDK)

Initialize .

func (*DefaultKV) RegisterCompNonStdOps

func (d *DefaultKV) RegisterCompNonStdOps() (opFuncs map[cptype.OperationKey]cptype.OperationFunc)

RegisterCompNonStdOps .

func (*DefaultKV) RegisterCompStdOps

func (d *DefaultKV) RegisterCompStdOps() (opFuncs map[cptype.OperationKey]cptype.OperationFunc)

RegisterCompStdOps .

func (*DefaultKV) SkipOp

func (d *DefaultKV) SkipOp(sdk *cptype.SDK) bool

SkipOp providers default impl for user.

func (*DefaultKV) StdStructuredPtrCreator

func (d *DefaultKV) StdStructuredPtrCreator() func() cptype.IStdStructuredPtr

StdStructuredPtrCreator .

func (*DefaultKV) Visible

func (d *DefaultKV) Visible(sdk *cptype.SDK) bool

Visible .

type StdStructuredPtr

type StdStructuredPtr struct {
	StdInParamsPtr *cptype.ExtraMap
	StdDataPtr     *kv.Data
	StdStatePtr    *cptype.ExtraMap
}

StdStructuredPtr .

func (*StdStructuredPtr) DataPtr

func (s *StdStructuredPtr) DataPtr() interface{}

DataPtr .

func (*StdStructuredPtr) InParamsPtr

func (s *StdStructuredPtr) InParamsPtr() interface{}

InParamsPtr .

func (*StdStructuredPtr) StatePtr

func (s *StdStructuredPtr) StatePtr() interface{}

StatePtr .

Jump to

Keyboard shortcuts

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