membership

package
v1.1.43 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StaticMembershipType                = "static"
	CouchbaseMembershipType             = "couchbase"
	KubernetesStatefulSetMembershipType = "kubernetesStatefulSet"
	KubernetesHaMembershipType          = "kubernetesHa"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Membership

type Membership interface {
	GetInfo() *Model
	Close()
}

func NewStaticMembership

func NewStaticMembership(config *config.Dcp) Membership

type Model

type Model struct {
	MemberNumber int
	TotalMembers int
}

func (*Model) IsChanged

func (s *Model) IsChanged(other *Model) bool

Jump to

Keyboard shortcuts

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