Documentation ¶
Index ¶
- Variables
- type Alts
- func (*Alts) Descriptor() ([]byte, []int)
- func (m *Alts) GetHandshakerService() string
- func (m *Alts) GetPeerServiceAccounts() []string
- func (m *Alts) Marshal() (dAtA []byte, err error)
- func (m *Alts) MarshalTo(dAtA []byte) (int, error)
- func (*Alts) ProtoMessage()
- func (m *Alts) Reset()
- func (m *Alts) Size() (n int)
- func (m *Alts) String() string
- func (m *Alts) Unmarshal(dAtA []byte) error
- func (m *Alts) Validate() error
- func (m *Alts) XXX_DiscardUnknown()
- func (m *Alts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Alts) XXX_Merge(src proto.Message)
- func (m *Alts) XXX_Size() int
- func (m *Alts) XXX_Unmarshal(b []byte) error
- type AltsValidationError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAlts = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAlts = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Alts ¶
type Alts struct { // The location of a handshaker service, this is usually 169.254.169.254:8080 // on GCE. HandshakerService string `protobuf:"bytes,1,opt,name=handshaker_service,json=handshakerService,proto3" json:"handshaker_service,omitempty"` // The acceptable service accounts from peer, peers not in the list will be rejected in the // handshake validation step. If empty, no validation will be performed. PeerServiceAccounts []string `protobuf:"bytes,2,rep,name=peer_service_accounts,json=peerServiceAccounts,proto3" json:"peer_service_accounts,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configuration for ALTS transport socket. This provides Google's ALTS protocol to Envoy. https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security/
func (*Alts) Descriptor ¶
func (*Alts) GetHandshakerService ¶
func (*Alts) GetPeerServiceAccounts ¶
func (*Alts) ProtoMessage ¶
func (*Alts) ProtoMessage()
func (*Alts) Validate ¶
Validate checks the field values on Alts with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Alts) XXX_DiscardUnknown ¶
func (m *Alts) XXX_DiscardUnknown()
func (*Alts) XXX_Unmarshal ¶
type AltsValidationError ¶
AltsValidationError is the validation error returned by Alts.Validate if the designated constraints aren't met.
func (AltsValidationError) Error ¶
func (e AltsValidationError) Error() string
Error satisfies the builtin error interface
Click to show internal directories.
Click to hide internal directories.