v2

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Alts) GetHandshakerService

func (m *Alts) GetHandshakerService() string

func (*Alts) GetPeerServiceAccounts

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

func (*Alts) Marshal

func (m *Alts) Marshal() (dAtA []byte, err error)

func (*Alts) MarshalTo

func (m *Alts) MarshalTo(dAtA []byte) (int, error)

func (*Alts) ProtoMessage

func (*Alts) ProtoMessage()

func (*Alts) Reset

func (m *Alts) Reset()

func (*Alts) Size

func (m *Alts) Size() (n int)

func (*Alts) String

func (m *Alts) String() string

func (*Alts) Unmarshal

func (m *Alts) Unmarshal(dAtA []byte) error

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, an error is returned.

func (*Alts) XXX_DiscardUnknown

func (m *Alts) XXX_DiscardUnknown()

func (*Alts) XXX_Marshal

func (m *Alts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Alts) XXX_Merge

func (m *Alts) XXX_Merge(src proto.Message)

func (*Alts) XXX_Size

func (m *Alts) XXX_Size() int

func (*Alts) XXX_Unmarshal

func (m *Alts) XXX_Unmarshal(b []byte) error

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 added in v0.7.0

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