s2av3

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_transport_sockets_s2a_v3_s2a_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type S2AConfiguration

type S2AConfiguration struct {

	// The address of the S2A. This can be an IP address or a hostname,
	// followed by a port number.
	S2AAddress string `protobuf:"bytes,1,opt,name=s2a_address,json=s2aAddress,proto3" json:"s2a_address,omitempty"`
	// contains filtered or unexported fields
}

[#not-implemented-hide:] Configuration for S2A transport socket. This allows Envoy clients to configure how to offload mTLS handshakes to the S2A service. https://github.com/google/s2a-core#readme

func (*S2AConfiguration) Descriptor deprecated

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

Deprecated: Use S2AConfiguration.ProtoReflect.Descriptor instead.

func (*S2AConfiguration) GetS2AAddress

func (x *S2AConfiguration) GetS2AAddress() string

func (*S2AConfiguration) ProtoMessage

func (*S2AConfiguration) ProtoMessage()

func (*S2AConfiguration) ProtoReflect

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

func (*S2AConfiguration) Reset

func (x *S2AConfiguration) Reset()

func (*S2AConfiguration) String

func (x *S2AConfiguration) String() string

func (*S2AConfiguration) Validate

func (m *S2AConfiguration) Validate() error

Validate checks the field values on S2AConfiguration 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 (*S2AConfiguration) ValidateAll

func (m *S2AConfiguration) ValidateAll() error

ValidateAll checks the field values on S2AConfiguration 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 S2AConfigurationMultiError, or nil if none found.

type S2AConfigurationMultiError

type S2AConfigurationMultiError []error

S2AConfigurationMultiError is an error wrapping multiple validation errors returned by S2AConfiguration.ValidateAll() if the designated constraints aren't met.

func (S2AConfigurationMultiError) AllErrors

func (m S2AConfigurationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (S2AConfigurationMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type S2AConfigurationValidationError

type S2AConfigurationValidationError struct {
	// contains filtered or unexported fields
}

S2AConfigurationValidationError is the validation error returned by S2AConfiguration.Validate if the designated constraints aren't met.

func (S2AConfigurationValidationError) Cause

Cause function returns cause value.

func (S2AConfigurationValidationError) Error

Error satisfies the builtin error interface

func (S2AConfigurationValidationError) ErrorName

ErrorName returns error name.

func (S2AConfigurationValidationError) Field

Field function returns field value.

func (S2AConfigurationValidationError) Key

Key function returns key value.

func (S2AConfigurationValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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