stateful_sessionv3

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0 Imports: 19 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_http_stateful_session_v3_stateful_session_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type StatefulSession

type StatefulSession struct {

	// Specific implementation of session state. This session state will be used to store and
	// get address of the upstream host to which the session is assigned.
	//
	// [#extension-category: envoy.http.stateful_session]
	SessionState *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=session_state,json=sessionState,proto3" json:"session_state,omitempty"`
	// contains filtered or unexported fields
}

func (*StatefulSession) Descriptor deprecated

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

Deprecated: Use StatefulSession.ProtoReflect.Descriptor instead.

func (*StatefulSession) GetSessionState

func (x *StatefulSession) GetSessionState() *v3.TypedExtensionConfig

func (*StatefulSession) ProtoMessage

func (*StatefulSession) ProtoMessage()

func (*StatefulSession) ProtoReflect

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

func (*StatefulSession) Reset

func (x *StatefulSession) Reset()

func (*StatefulSession) String

func (x *StatefulSession) String() string

func (*StatefulSession) Validate

func (m *StatefulSession) Validate() error

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

func (m *StatefulSession) ValidateAll() error

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

type StatefulSessionMultiError

type StatefulSessionMultiError []error

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

func (StatefulSessionMultiError) AllErrors

func (m StatefulSessionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatefulSessionMultiError) Error

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

type StatefulSessionPerRoute

type StatefulSessionPerRoute struct {

	// Types that are assignable to Override:
	//	*StatefulSessionPerRoute_Disabled
	//	*StatefulSessionPerRoute_StatefulSession
	Override isStatefulSessionPerRoute_Override `protobuf_oneof:"override"`
	// contains filtered or unexported fields
}

func (*StatefulSessionPerRoute) Descriptor deprecated

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

Deprecated: Use StatefulSessionPerRoute.ProtoReflect.Descriptor instead.

func (*StatefulSessionPerRoute) GetDisabled

func (x *StatefulSessionPerRoute) GetDisabled() bool

func (*StatefulSessionPerRoute) GetOverride

func (m *StatefulSessionPerRoute) GetOverride() isStatefulSessionPerRoute_Override

func (*StatefulSessionPerRoute) GetStatefulSession

func (x *StatefulSessionPerRoute) GetStatefulSession() *StatefulSession

func (*StatefulSessionPerRoute) ProtoMessage

func (*StatefulSessionPerRoute) ProtoMessage()

func (*StatefulSessionPerRoute) ProtoReflect

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

func (*StatefulSessionPerRoute) Reset

func (x *StatefulSessionPerRoute) Reset()

func (*StatefulSessionPerRoute) String

func (x *StatefulSessionPerRoute) String() string

func (*StatefulSessionPerRoute) Validate

func (m *StatefulSessionPerRoute) Validate() error

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

func (m *StatefulSessionPerRoute) ValidateAll() error

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

type StatefulSessionPerRouteMultiError

type StatefulSessionPerRouteMultiError []error

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

func (StatefulSessionPerRouteMultiError) AllErrors

func (m StatefulSessionPerRouteMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatefulSessionPerRouteMultiError) Error

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

type StatefulSessionPerRouteValidationError

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

StatefulSessionPerRouteValidationError is the validation error returned by StatefulSessionPerRoute.Validate if the designated constraints aren't met.

func (StatefulSessionPerRouteValidationError) Cause

Cause function returns cause value.

func (StatefulSessionPerRouteValidationError) Error

Error satisfies the builtin error interface

func (StatefulSessionPerRouteValidationError) ErrorName

ErrorName returns error name.

func (StatefulSessionPerRouteValidationError) Field

Field function returns field value.

func (StatefulSessionPerRouteValidationError) Key

Key function returns key value.

func (StatefulSessionPerRouteValidationError) Reason

Reason function returns reason value.

type StatefulSessionPerRoute_Disabled

type StatefulSessionPerRoute_Disabled struct {
	// Disable the stateful session filter for this particular vhost or route. If disabled is
	// specified in multiple per-filter-configs, the most specific one will be used.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3,oneof"`
}

type StatefulSessionPerRoute_StatefulSession

type StatefulSessionPerRoute_StatefulSession struct {
	// Per-route stateful session configuration that can be served by RDS or static route table.
	StatefulSession *StatefulSession `protobuf:"bytes,2,opt,name=stateful_session,json=statefulSession,proto3,oneof"`
}

type StatefulSessionValidationError

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

StatefulSessionValidationError is the validation error returned by StatefulSession.Validate if the designated constraints aren't met.

func (StatefulSessionValidationError) Cause

Cause function returns cause value.

func (StatefulSessionValidationError) Error

Error satisfies the builtin error interface

func (StatefulSessionValidationError) ErrorName

func (e StatefulSessionValidationError) ErrorName() string

ErrorName returns error name.

func (StatefulSessionValidationError) Field

Field function returns field value.

func (StatefulSessionValidationError) Key

Key function returns key value.

func (StatefulSessionValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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