platform

package
v0.1.41 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: GPL-3.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 Event

type Event struct {
	NetworkID   string
	ContainerID string
	Prefix      string
	Kind        string
	Target      string
	Group       string
	Name        string
	Managed     bool
	Type        string
	Data        []byte
}

func New added in v0.1.30

func New(event string, target string, kind string, group string, name string, data []byte) Event

func (Event) GetContainerId added in v0.1.30

func (event Event) GetContainerId() string

func (Event) GetData added in v0.1.30

func (event Event) GetData() []byte

func (Event) GetGroup added in v0.1.30

func (event Event) GetGroup() string

func (Event) GetKey added in v0.1.30

func (event Event) GetKey() string

func (Event) GetKind added in v0.1.30

func (event Event) GetKind() string

func (Event) GetName added in v0.1.30

func (event Event) GetName() string

func (Event) GetNetworkId added in v0.1.30

func (event Event) GetNetworkId() string

func (Event) GetPrefix added in v0.1.30

func (event Event) GetPrefix() string

func (Event) GetTarget added in v0.1.30

func (event Event) GetTarget() string

func (Event) GetType added in v0.1.30

func (event Event) GetType() string

func (Event) IsManaged added in v0.1.30

func (event Event) IsManaged() bool

func (Event) Propose added in v0.1.30

func (event Event) Propose(proposeC *raft.KVStore, node uint64) error

func (Event) ToJson added in v0.1.30

func (event Event) ToJson() ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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