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)
Click to show internal directories.
Click to hide internal directories.