addsc

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Parms)

func WithInitiator

func WithInitiator(nm types.NamespacedName, ip string) Option

func WithIsPrimary

func WithIsPrimary(isPrimary bool) Option

func WithSubcluster

func WithSubcluster(scName string) Option

type Parms

type Parms struct {
	InitiatorName types.NamespacedName
	InitiatorIP   string
	Subcluster    string
	IsPrimary     bool
}

Parms holds all of the option for a revive DB invocation.

func (*Parms) Make

func (s *Parms) Make(opts ...Option)

Make will fill in the Parms based on the options chosen

Jump to

Keyboard shortcuts

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