object

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CtxInterface added in v0.0.5

type CtxInterface interface {
	context.Context
	Get(namespace, name string) ObjectInterface
	GetNoCtx(namespace, name string) ObjNoCtxInterface
}

type ObjNoCtx added in v0.0.2

type ObjNoCtx struct {
	// contains filtered or unexported fields
}

func NewObjNoCtx added in v0.0.2

func NewObjNoCtx(namespace, name string) *ObjNoCtx

func (*ObjNoCtx) FullName added in v0.0.2

func (o *ObjNoCtx) FullName() string

func (*ObjNoCtx) Init added in v0.0.2

func (o *ObjNoCtx) Init()

func (*ObjNoCtx) Reset added in v0.0.2

func (o *ObjNoCtx) Reset()

type ObjNoCtxInterface added in v0.0.2

type ObjNoCtxInterface interface {
	Reset()
	Init()
	FullName() string
}

type Object

type Object struct {
	Ctx CtxInterface
	// contains filtered or unexported fields
}

func NewObject

func NewObject(namespace, name string) *Object

func (*Object) FullName

func (o *Object) FullName() string

func (*Object) Init

func (o *Object) Init(ctx CtxInterface)

func (*Object) Reset

func (o *Object) Reset()

type ObjectInterface

type ObjectInterface interface {
	Reset()
	Init(ctx CtxInterface)
	FullName() string
}

Jump to

Keyboard shortcuts

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