Versions in this module Expand all Collapse all v1 v1.50.0 Sep 24, 2021 v1.41.0 Sep 23, 2021 Changes in this version + var File_grpc_gcp_altscontext_proto protoreflect.FileDescriptor + var File_grpc_gcp_handshaker_proto protoreflect.FileDescriptor + var File_grpc_gcp_transport_security_common_proto protoreflect.FileDescriptor + var HandshakeProtocol_name = map[int32]string + var HandshakeProtocol_value = map[string]int32 + var HandshakerService_ServiceDesc = grpc.ServiceDesc + var NetworkProtocol_name = map[int32]string + var NetworkProtocol_value = map[string]int32 + var SecurityLevel_name = map[int32]string + var SecurityLevel_value = map[string]int32 + func RegisterHandshakerServiceServer(s grpc.ServiceRegistrar, srv HandshakerServiceServer) + type AltsContext struct + ApplicationProtocol string + LocalServiceAccount string + PeerAttributes map[string]string + PeerRpcVersions *RpcProtocolVersions + PeerServiceAccount string + RecordProtocol string + SecurityLevel SecurityLevel + func (*AltsContext) Descriptor() ([]byte, []int) + func (*AltsContext) ProtoMessage() + func (x *AltsContext) GetApplicationProtocol() string + func (x *AltsContext) GetLocalServiceAccount() string + func (x *AltsContext) GetPeerAttributes() map[string]string + func (x *AltsContext) GetPeerRpcVersions() *RpcProtocolVersions + func (x *AltsContext) GetPeerServiceAccount() string + func (x *AltsContext) GetRecordProtocol() string + func (x *AltsContext) GetSecurityLevel() SecurityLevel + func (x *AltsContext) ProtoReflect() protoreflect.Message + func (x *AltsContext) Reset() + func (x *AltsContext) String() string + type Endpoint struct + IpAddress string + Port int32 + Protocol NetworkProtocol + func (*Endpoint) Descriptor() ([]byte, []int) + func (*Endpoint) ProtoMessage() + func (x *Endpoint) GetIpAddress() string + func (x *Endpoint) GetPort() int32 + func (x *Endpoint) GetProtocol() NetworkProtocol + func (x *Endpoint) ProtoReflect() protoreflect.Message + func (x *Endpoint) Reset() + func (x *Endpoint) String() string + type HandshakeProtocol int32 + const HandshakeProtocol_ALTS + const HandshakeProtocol_HANDSHAKE_PROTOCOL_UNSPECIFIED + const HandshakeProtocol_TLS + func (HandshakeProtocol) Descriptor() protoreflect.EnumDescriptor + func (HandshakeProtocol) EnumDescriptor() ([]byte, []int) + func (HandshakeProtocol) Type() protoreflect.EnumType + func (x HandshakeProtocol) Enum() *HandshakeProtocol + func (x HandshakeProtocol) Number() protoreflect.EnumNumber + func (x HandshakeProtocol) String() string + type HandshakerReq struct + ReqOneof isHandshakerReq_ReqOneof + func (*HandshakerReq) Descriptor() ([]byte, []int) + func (*HandshakerReq) ProtoMessage() + func (m *HandshakerReq) GetReqOneof() isHandshakerReq_ReqOneof + func (x *HandshakerReq) GetClientStart() *StartClientHandshakeReq + func (x *HandshakerReq) GetNext() *NextHandshakeMessageReq + func (x *HandshakerReq) GetServerStart() *StartServerHandshakeReq + func (x *HandshakerReq) ProtoReflect() protoreflect.Message + func (x *HandshakerReq) Reset() + func (x *HandshakerReq) String() string + type HandshakerReq_ClientStart struct + ClientStart *StartClientHandshakeReq + type HandshakerReq_Next struct + Next *NextHandshakeMessageReq + type HandshakerReq_ServerStart struct + ServerStart *StartServerHandshakeReq + type HandshakerResp struct + BytesConsumed uint32 + OutFrames []byte + Result *HandshakerResult + Status *HandshakerStatus + func (*HandshakerResp) Descriptor() ([]byte, []int) + func (*HandshakerResp) ProtoMessage() + func (x *HandshakerResp) GetBytesConsumed() uint32 + func (x *HandshakerResp) GetOutFrames() []byte + func (x *HandshakerResp) GetResult() *HandshakerResult + func (x *HandshakerResp) GetStatus() *HandshakerStatus + func (x *HandshakerResp) ProtoReflect() protoreflect.Message + func (x *HandshakerResp) Reset() + func (x *HandshakerResp) String() string + type HandshakerResult struct + ApplicationProtocol string + KeepChannelOpen bool + KeyData []byte + LocalIdentity *Identity + MaxFrameSize uint32 + PeerIdentity *Identity + PeerRpcVersions *RpcProtocolVersions + RecordProtocol string + func (*HandshakerResult) Descriptor() ([]byte, []int) + func (*HandshakerResult) ProtoMessage() + func (x *HandshakerResult) GetApplicationProtocol() string + func (x *HandshakerResult) GetKeepChannelOpen() bool + func (x *HandshakerResult) GetKeyData() []byte + func (x *HandshakerResult) GetLocalIdentity() *Identity + func (x *HandshakerResult) GetMaxFrameSize() uint32 + func (x *HandshakerResult) GetPeerIdentity() *Identity + func (x *HandshakerResult) GetPeerRpcVersions() *RpcProtocolVersions + func (x *HandshakerResult) GetRecordProtocol() string + func (x *HandshakerResult) ProtoReflect() protoreflect.Message + func (x *HandshakerResult) Reset() + func (x *HandshakerResult) String() string + type HandshakerServiceClient interface + DoHandshake func(ctx context.Context, opts ...grpc.CallOption) (HandshakerService_DoHandshakeClient, error) + func NewHandshakerServiceClient(cc grpc.ClientConnInterface) HandshakerServiceClient + type HandshakerServiceServer interface + DoHandshake func(HandshakerService_DoHandshakeServer) error + type HandshakerService_DoHandshakeClient interface + Recv func() (*HandshakerResp, error) + Send func(*HandshakerReq) error + type HandshakerService_DoHandshakeServer interface + Recv func() (*HandshakerReq, error) + Send func(*HandshakerResp) error + type HandshakerStatus struct + Code uint32 + Details string + func (*HandshakerStatus) Descriptor() ([]byte, []int) + func (*HandshakerStatus) ProtoMessage() + func (x *HandshakerStatus) GetCode() uint32 + func (x *HandshakerStatus) GetDetails() string + func (x *HandshakerStatus) ProtoReflect() protoreflect.Message + func (x *HandshakerStatus) Reset() + func (x *HandshakerStatus) String() string + type Identity struct + Attributes map[string]string + IdentityOneof isIdentity_IdentityOneof + func (*Identity) Descriptor() ([]byte, []int) + func (*Identity) ProtoMessage() + func (m *Identity) GetIdentityOneof() isIdentity_IdentityOneof + func (x *Identity) GetAttributes() map[string]string + func (x *Identity) GetHostname() string + func (x *Identity) GetServiceAccount() string + func (x *Identity) ProtoReflect() protoreflect.Message + func (x *Identity) Reset() + func (x *Identity) String() string + type Identity_Hostname struct + Hostname string + type Identity_ServiceAccount struct + ServiceAccount string + type NetworkProtocol int32 + const NetworkProtocol_NETWORK_PROTOCOL_UNSPECIFIED + const NetworkProtocol_TCP + const NetworkProtocol_UDP + func (NetworkProtocol) Descriptor() protoreflect.EnumDescriptor + func (NetworkProtocol) EnumDescriptor() ([]byte, []int) + func (NetworkProtocol) Type() protoreflect.EnumType + func (x NetworkProtocol) Enum() *NetworkProtocol + func (x NetworkProtocol) Number() protoreflect.EnumNumber + func (x NetworkProtocol) String() string + type NextHandshakeMessageReq struct + InBytes []byte + func (*NextHandshakeMessageReq) Descriptor() ([]byte, []int) + func (*NextHandshakeMessageReq) ProtoMessage() + func (x *NextHandshakeMessageReq) GetInBytes() []byte + func (x *NextHandshakeMessageReq) ProtoReflect() protoreflect.Message + func (x *NextHandshakeMessageReq) Reset() + func (x *NextHandshakeMessageReq) String() string + type RpcProtocolVersions struct + MaxRpcVersion *RpcProtocolVersions_Version + MinRpcVersion *RpcProtocolVersions_Version + func (*RpcProtocolVersions) Descriptor() ([]byte, []int) + func (*RpcProtocolVersions) ProtoMessage() + func (x *RpcProtocolVersions) GetMaxRpcVersion() *RpcProtocolVersions_Version + func (x *RpcProtocolVersions) GetMinRpcVersion() *RpcProtocolVersions_Version + func (x *RpcProtocolVersions) ProtoReflect() protoreflect.Message + func (x *RpcProtocolVersions) Reset() + func (x *RpcProtocolVersions) String() string + type RpcProtocolVersions_Version struct + Major uint32 + Minor uint32 + func (*RpcProtocolVersions_Version) Descriptor() ([]byte, []int) + func (*RpcProtocolVersions_Version) ProtoMessage() + func (x *RpcProtocolVersions_Version) GetMajor() uint32 + func (x *RpcProtocolVersions_Version) GetMinor() uint32 + func (x *RpcProtocolVersions_Version) ProtoReflect() protoreflect.Message + func (x *RpcProtocolVersions_Version) Reset() + func (x *RpcProtocolVersions_Version) String() string + type SecurityLevel int32 + const SecurityLevel_INTEGRITY_AND_PRIVACY + const SecurityLevel_INTEGRITY_ONLY + const SecurityLevel_SECURITY_NONE + func (SecurityLevel) Descriptor() protoreflect.EnumDescriptor + func (SecurityLevel) EnumDescriptor() ([]byte, []int) + func (SecurityLevel) Type() protoreflect.EnumType + func (x SecurityLevel) Enum() *SecurityLevel + func (x SecurityLevel) Number() protoreflect.EnumNumber + func (x SecurityLevel) String() string + type ServerHandshakeParameters struct + LocalIdentities []*Identity + RecordProtocols []string + func (*ServerHandshakeParameters) Descriptor() ([]byte, []int) + func (*ServerHandshakeParameters) ProtoMessage() + func (x *ServerHandshakeParameters) GetLocalIdentities() []*Identity + func (x *ServerHandshakeParameters) GetRecordProtocols() []string + func (x *ServerHandshakeParameters) ProtoReflect() protoreflect.Message + func (x *ServerHandshakeParameters) Reset() + func (x *ServerHandshakeParameters) String() string + type StartClientHandshakeReq struct + ApplicationProtocols []string + HandshakeSecurityProtocol HandshakeProtocol + LocalEndpoint *Endpoint + LocalIdentity *Identity + MaxFrameSize uint32 + RecordProtocols []string + RemoteEndpoint *Endpoint + RpcVersions *RpcProtocolVersions + TargetIdentities []*Identity + TargetName string + func (*StartClientHandshakeReq) Descriptor() ([]byte, []int) + func (*StartClientHandshakeReq) ProtoMessage() + func (x *StartClientHandshakeReq) GetApplicationProtocols() []string + func (x *StartClientHandshakeReq) GetHandshakeSecurityProtocol() HandshakeProtocol + func (x *StartClientHandshakeReq) GetLocalEndpoint() *Endpoint + func (x *StartClientHandshakeReq) GetLocalIdentity() *Identity + func (x *StartClientHandshakeReq) GetMaxFrameSize() uint32 + func (x *StartClientHandshakeReq) GetRecordProtocols() []string + func (x *StartClientHandshakeReq) GetRemoteEndpoint() *Endpoint + func (x *StartClientHandshakeReq) GetRpcVersions() *RpcProtocolVersions + func (x *StartClientHandshakeReq) GetTargetIdentities() []*Identity + func (x *StartClientHandshakeReq) GetTargetName() string + func (x *StartClientHandshakeReq) ProtoReflect() protoreflect.Message + func (x *StartClientHandshakeReq) Reset() + func (x *StartClientHandshakeReq) String() string + type StartServerHandshakeReq struct + ApplicationProtocols []string + HandshakeParameters map[int32]*ServerHandshakeParameters + InBytes []byte + LocalEndpoint *Endpoint + MaxFrameSize uint32 + RemoteEndpoint *Endpoint + RpcVersions *RpcProtocolVersions + func (*StartServerHandshakeReq) Descriptor() ([]byte, []int) + func (*StartServerHandshakeReq) ProtoMessage() + func (x *StartServerHandshakeReq) GetApplicationProtocols() []string + func (x *StartServerHandshakeReq) GetHandshakeParameters() map[int32]*ServerHandshakeParameters + func (x *StartServerHandshakeReq) GetInBytes() []byte + func (x *StartServerHandshakeReq) GetLocalEndpoint() *Endpoint + func (x *StartServerHandshakeReq) GetMaxFrameSize() uint32 + func (x *StartServerHandshakeReq) GetRemoteEndpoint() *Endpoint + func (x *StartServerHandshakeReq) GetRpcVersions() *RpcProtocolVersions + func (x *StartServerHandshakeReq) ProtoReflect() protoreflect.Message + func (x *StartServerHandshakeReq) Reset() + func (x *StartServerHandshakeReq) String() string + type UnimplementedHandshakerServiceServer struct + func (UnimplementedHandshakerServiceServer) DoHandshake(HandshakerService_DoHandshakeServer) error + type UnsafeHandshakerServiceServer interface