internal

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectCounter

type ConnectCounter struct {
	Count int
}

Used for testing.

func (*ConnectCounter) Connect

func (cc *ConnectCounter) Connect(...aserto.ConnectionOption) (*grpc.ClientConn, error)

type Connections

type Connections struct {
	Connect func(...aserto.ConnectionOption) (*grpc.ClientConn, error)
	// contains filtered or unexported fields
}

func NewConnections

func NewConnections() *Connections

func (*Connections) AsSlice

func (cb *Connections) AsSlice() []*grpc.ClientConn

func (*Connections) Get

func (cb *Connections) Get(cfg *aserto.Config) (*grpc.ClientConn, error)

Jump to

Keyboard shortcuts

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