Documentation ¶
Index ¶
- Variables
- type Alts
- func (*Alts) Descriptor() ([]byte, []int)deprecated
- func (x *Alts) GetHandshakerService() string
- func (x *Alts) GetPeerServiceAccounts() []string
- func (*Alts) ProtoMessage()
- func (x *Alts) ProtoReflect() protoreflect.Message
- func (x *Alts) Reset()
- func (x *Alts) String() string
- func (m *Alts) Validate() error
- func (m *Alts) ValidateAll() error
- type AltsMultiError
- type AltsValidationError
Constants ¶
This section is empty.
Variables ¶
var File_envoy_config_transport_socket_alts_v2alpha_alts_proto protoreflect.FileDescriptor
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"` // contains filtered or unexported fields }
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
deprecated
func (*Alts) GetHandshakerService ¶
func (*Alts) GetPeerServiceAccounts ¶
func (*Alts) ProtoMessage ¶
func (*Alts) ProtoMessage()
func (*Alts) ProtoReflect ¶
func (x *Alts) ProtoReflect() protoreflect.Message
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, the first error encountered is returned, or nil if there are no violations.
func (*Alts) ValidateAll ¶
ValidateAll checks the field values on Alts with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AltsMultiError, or nil if none found.
type AltsMultiError ¶
type AltsMultiError []error
AltsMultiError is an error wrapping multiple validation errors returned by Alts.ValidateAll() if the designated constraints aren't met.
func (AltsMultiError) AllErrors ¶
func (m AltsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AltsMultiError) Error ¶
func (m AltsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AltsValidationError ¶
type AltsValidationError struct {
// contains filtered or unexported fields
}
AltsValidationError is the validation error returned by Alts.Validate if the designated constraints aren't met.
func (AltsValidationError) Cause ¶
func (e AltsValidationError) Cause() error
Cause function returns cause value.
func (AltsValidationError) Error ¶
func (e AltsValidationError) Error() string
Error satisfies the builtin error interface
func (AltsValidationError) ErrorName ¶
func (e AltsValidationError) ErrorName() string
ErrorName returns error name.
func (AltsValidationError) Field ¶
func (e AltsValidationError) Field() string
Field function returns field value.
func (AltsValidationError) Key ¶
func (e AltsValidationError) Key() bool
Key function returns key value.
func (AltsValidationError) Reason ¶
func (e AltsValidationError) Reason() string
Reason function returns reason value.