altsv3

package
v0.0.0-...-1441982 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_transport_sockets_alts_v3_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. Store the peer identity in dynamic metadata, namespace is "envoy.transport_socket.peer_information", key is "peer_identity". https://cloud.google.com/security/encryption-in-transit/application-layer-transport-security/

func (*Alts) Descriptor deprecated

func (*Alts) Descriptor() ([]byte, []int)

Deprecated: Use Alts.ProtoReflect.Descriptor instead.

func (*Alts) GetHandshakerService

func (x *Alts) GetHandshakerService() string

func (*Alts) GetPeerServiceAccounts

func (x *Alts) GetPeerServiceAccounts() []string

func (*Alts) ProtoMessage

func (*Alts) ProtoMessage()

func (*Alts) ProtoReflect

func (x *Alts) ProtoReflect() protoreflect.Message

func (*Alts) Reset

func (x *Alts) Reset()

func (*Alts) String

func (x *Alts) String() string

func (*Alts) Validate

func (m *Alts) Validate() error

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

func (m *Alts) ValidateAll() error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL