identity

package
v1.13.0-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Member

type Member struct {
	// Name of the Pod
	Name string
	// Namespace of the Pod
	Namespace     string
	Rack          string
	RackOrdinal   int
	Datacenter    string
	Cluster       string
	ServiceLabels map[string]string
	PodID         string

	Overprovisioned     bool
	BroadcastRPCAddress string
	BroadcastAddress    string

	NodesBroadcastAddressType scyllav1.BroadcastAddressType
}

Member encapsulates the identity for a single member of a Scylla Cluster.

func NewMember added in v1.11.0

func NewMember(service *corev1.Service, pod *corev1.Pod, nodesAddressType, clientAddressType scyllav1.BroadcastAddressType) (*Member, error)

func (*Member) GetSeeds

func (m *Member) GetSeeds(ctx context.Context, coreClient v1.CoreV1Interface, externalSeeds []string) ([]string, error)

Jump to

Keyboard shortcuts

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