Documentation ¶
Index ¶
- Constants
- Variables
- type Adapter
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetPeerServices() []*Configuration_PeerService
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type Configuration_PeerService
- func (*Configuration_PeerService) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration_PeerService) GetAddress() string
- func (x *Configuration_PeerService) GetAvailableServices() []string
- func (x *Configuration_PeerService) GetEnableTls() bool
- func (x *Configuration_PeerService) GetTls() []*Configuration_PeerService_TLS
- func (x *Configuration_PeerService) GetTlsCas() []string
- func (x *Configuration_PeerService) GetTlsName() string
- func (x *Configuration_PeerService) GetTlsSkip() bool
- func (*Configuration_PeerService) ProtoMessage()
- func (x *Configuration_PeerService) ProtoReflect() protoreflect.Message
- func (x *Configuration_PeerService) Reset()
- func (x *Configuration_PeerService) String() string
- type Configuration_PeerService_TLS
- func (*Configuration_PeerService_TLS) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration_PeerService_TLS) GetCert() string
- func (x *Configuration_PeerService_TLS) GetKey() string
- func (*Configuration_PeerService_TLS) ProtoMessage()
- func (x *Configuration_PeerService_TLS) ProtoReflect() protoreflect.Message
- func (x *Configuration_PeerService_TLS) Reset()
- func (x *Configuration_PeerService_TLS) String() string
Constants ¶
View Source
const Key = "grpcClient"
Variables ¶
View Source
var File_adapters_grpc_client_grpc_client_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) GetConnection ¶
func (a *Adapter) GetConnection(name string) grpc.ClientConnInterface
func (*Adapter) Initialize ¶
func (a *Adapter) Initialize()
type Configuration ¶
type Configuration struct { PeerServices []*Configuration_PeerService `protobuf:"bytes,1,rep,name=peer_services,json=peerServices,proto3" json:"peer_services,omitempty"` // contains filtered or unexported fields }
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetPeerServices ¶
func (x *Configuration) GetPeerServices() []*Configuration_PeerService
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type Configuration_PeerService ¶
type Configuration_PeerService struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` TlsName string `protobuf:"bytes,2,opt,name=tls_name,json=tlsName,proto3" json:"tls_name,omitempty"` Tls []*Configuration_PeerService_TLS `protobuf:"bytes,3,rep,name=tls,proto3" json:"tls,omitempty"` TlsCas []string `protobuf:"bytes,4,rep,name=tls_cas,json=tlsCas,proto3" json:"tls_cas,omitempty"` TlsSkip bool `protobuf:"varint,5,opt,name=tls_skip,json=tlsSkip,proto3" json:"tls_skip,omitempty"` AvailableServices []string `protobuf:"bytes,6,rep,name=available_services,json=availableServices,proto3" json:"available_services,omitempty"` EnableTls bool `protobuf:"varint,7,opt,name=enable_tls,json=enableTls,proto3" json:"enable_tls,omitempty"` // contains filtered or unexported fields }
func (*Configuration_PeerService) Descriptor
deprecated
func (*Configuration_PeerService) Descriptor() ([]byte, []int)
Deprecated: Use Configuration_PeerService.ProtoReflect.Descriptor instead.
func (*Configuration_PeerService) GetAddress ¶
func (x *Configuration_PeerService) GetAddress() string
func (*Configuration_PeerService) GetAvailableServices ¶
func (x *Configuration_PeerService) GetAvailableServices() []string
func (*Configuration_PeerService) GetEnableTls ¶
func (x *Configuration_PeerService) GetEnableTls() bool
func (*Configuration_PeerService) GetTls ¶
func (x *Configuration_PeerService) GetTls() []*Configuration_PeerService_TLS
func (*Configuration_PeerService) GetTlsCas ¶
func (x *Configuration_PeerService) GetTlsCas() []string
func (*Configuration_PeerService) GetTlsName ¶
func (x *Configuration_PeerService) GetTlsName() string
func (*Configuration_PeerService) GetTlsSkip ¶
func (x *Configuration_PeerService) GetTlsSkip() bool
func (*Configuration_PeerService) ProtoMessage ¶
func (*Configuration_PeerService) ProtoMessage()
func (*Configuration_PeerService) ProtoReflect ¶
func (x *Configuration_PeerService) ProtoReflect() protoreflect.Message
func (*Configuration_PeerService) Reset ¶
func (x *Configuration_PeerService) Reset()
func (*Configuration_PeerService) String ¶
func (x *Configuration_PeerService) String() string
type Configuration_PeerService_TLS ¶
type Configuration_PeerService_TLS struct { Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Cert string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"` // contains filtered or unexported fields }
func (*Configuration_PeerService_TLS) Descriptor
deprecated
func (*Configuration_PeerService_TLS) Descriptor() ([]byte, []int)
Deprecated: Use Configuration_PeerService_TLS.ProtoReflect.Descriptor instead.
func (*Configuration_PeerService_TLS) GetCert ¶
func (x *Configuration_PeerService_TLS) GetCert() string
func (*Configuration_PeerService_TLS) GetKey ¶
func (x *Configuration_PeerService_TLS) GetKey() string
func (*Configuration_PeerService_TLS) ProtoMessage ¶
func (*Configuration_PeerService_TLS) ProtoMessage()
func (*Configuration_PeerService_TLS) ProtoReflect ¶
func (x *Configuration_PeerService_TLS) ProtoReflect() protoreflect.Message
func (*Configuration_PeerService_TLS) Reset ¶
func (x *Configuration_PeerService_TLS) Reset()
func (*Configuration_PeerService_TLS) String ¶
func (x *Configuration_PeerService_TLS) String() string
Click to show internal directories.
Click to hide internal directories.