package cluster
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/balancer/cluster"
Index ¶
- Variables
- func WithFallback(allowFallback bool) option
- func WithFilter(filter func(e endpoint.Info) bool) option
- type Cluster
Variables ¶
var ( ErrNoEndpoints = xerrors.Wrap(fmt.Errorf("no endpoints")) ErrNilPtr = xerrors.Wrap(fmt.Errorf("nil pointer")) )
Functions ¶
func WithFallback ¶
func WithFallback(allowFallback bool) option
func WithFilter ¶
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func New ¶
func Without ¶
func (*Cluster) All ¶
func (*Cluster) Next ¶
Source Files ¶
- Version
- v3.96.2
- Published
- Jan 15, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 9 seconds ago –
Tools for package owners.