Documentation ¶
Index ¶
- Variables
- type VclSocketInterface
- func (*VclSocketInterface) Descriptor() ([]byte, []int)deprecated
- func (*VclSocketInterface) ProtoMessage()
- func (x *VclSocketInterface) ProtoReflect() protoreflect.Message
- func (x *VclSocketInterface) Reset()
- func (x *VclSocketInterface) String() string
- func (m *VclSocketInterface) Validate() error
- func (m *VclSocketInterface) ValidateAll() error
- type VclSocketInterfaceMultiError
- type VclSocketInterfaceValidationError
- func (e VclSocketInterfaceValidationError) Cause() error
- func (e VclSocketInterfaceValidationError) Error() string
- func (e VclSocketInterfaceValidationError) ErrorName() string
- func (e VclSocketInterfaceValidationError) Field() string
- func (e VclSocketInterfaceValidationError) Key() bool
- func (e VclSocketInterfaceValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_contrib_envoy_extensions_vcl_v3alpha_vcl_socket_interface_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type VclSocketInterface ¶
type VclSocketInterface struct {
// contains filtered or unexported fields
}
Configuration for vcl socket interface that relies on `vpp` `comms` library (VCL)
func (*VclSocketInterface) Descriptor
deprecated
func (*VclSocketInterface) Descriptor() ([]byte, []int)
Deprecated: Use VclSocketInterface.ProtoReflect.Descriptor instead.
func (*VclSocketInterface) ProtoMessage ¶
func (*VclSocketInterface) ProtoMessage()
func (*VclSocketInterface) ProtoReflect ¶
func (x *VclSocketInterface) ProtoReflect() protoreflect.Message
func (*VclSocketInterface) Reset ¶
func (x *VclSocketInterface) Reset()
func (*VclSocketInterface) String ¶
func (x *VclSocketInterface) String() string
func (*VclSocketInterface) Validate ¶
func (m *VclSocketInterface) Validate() error
Validate checks the field values on VclSocketInterface 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 (*VclSocketInterface) ValidateAll ¶
func (m *VclSocketInterface) ValidateAll() error
ValidateAll checks the field values on VclSocketInterface 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 VclSocketInterfaceMultiError, or nil if none found.
type VclSocketInterfaceMultiError ¶
type VclSocketInterfaceMultiError []error
VclSocketInterfaceMultiError is an error wrapping multiple validation errors returned by VclSocketInterface.ValidateAll() if the designated constraints aren't met.
func (VclSocketInterfaceMultiError) AllErrors ¶
func (m VclSocketInterfaceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VclSocketInterfaceMultiError) Error ¶
func (m VclSocketInterfaceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VclSocketInterfaceValidationError ¶
type VclSocketInterfaceValidationError struct {
// contains filtered or unexported fields
}
VclSocketInterfaceValidationError is the validation error returned by VclSocketInterface.Validate if the designated constraints aren't met.
func (VclSocketInterfaceValidationError) Cause ¶
func (e VclSocketInterfaceValidationError) Cause() error
Cause function returns cause value.
func (VclSocketInterfaceValidationError) Error ¶
func (e VclSocketInterfaceValidationError) Error() string
Error satisfies the builtin error interface
func (VclSocketInterfaceValidationError) ErrorName ¶
func (e VclSocketInterfaceValidationError) ErrorName() string
ErrorName returns error name.
func (VclSocketInterfaceValidationError) Field ¶
func (e VclSocketInterfaceValidationError) Field() string
Field function returns field value.
func (VclSocketInterfaceValidationError) Key ¶
func (e VclSocketInterfaceValidationError) Key() bool
Key function returns key value.
func (VclSocketInterfaceValidationError) Reason ¶
func (e VclSocketInterfaceValidationError) Reason() string
Reason function returns reason value.