package omit_canary_hostsv2

import "github.com/envoyproxy/go-control-plane/envoy/config/retry/omit_canary_hosts/v2"

Index

Variables

var File_envoy_config_retry_omit_canary_hosts_v2_omit_canary_hosts_proto protoreflect.FileDescriptor

Types

type OmitCanaryHostsPredicate

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

func (*OmitCanaryHostsPredicate) Descriptor

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

Deprecated: Use OmitCanaryHostsPredicate.ProtoReflect.Descriptor instead.

func (*OmitCanaryHostsPredicate) ProtoMessage

func (*OmitCanaryHostsPredicate) ProtoMessage()

func (*OmitCanaryHostsPredicate) ProtoReflect

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

func (*OmitCanaryHostsPredicate) Reset

func (x *OmitCanaryHostsPredicate) Reset()

func (*OmitCanaryHostsPredicate) String

func (x *OmitCanaryHostsPredicate) String() string

func (*OmitCanaryHostsPredicate) Validate

func (m *OmitCanaryHostsPredicate) Validate() error

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

func (m *OmitCanaryHostsPredicate) ValidateAll() error

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

type OmitCanaryHostsPredicateMultiError

type OmitCanaryHostsPredicateMultiError []error

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

func (OmitCanaryHostsPredicateMultiError) AllErrors

func (m OmitCanaryHostsPredicateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OmitCanaryHostsPredicateMultiError) Error

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

type OmitCanaryHostsPredicateValidationError

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

OmitCanaryHostsPredicateValidationError is the validation error returned by OmitCanaryHostsPredicate.Validate if the designated constraints aren't met.

func (OmitCanaryHostsPredicateValidationError) Cause

Cause function returns cause value.

func (OmitCanaryHostsPredicateValidationError) Error

Error satisfies the builtin error interface

func (OmitCanaryHostsPredicateValidationError) ErrorName

ErrorName returns error name.

func (OmitCanaryHostsPredicateValidationError) Field

Field function returns field value.

func (OmitCanaryHostsPredicateValidationError) Key

Key function returns key value.

func (OmitCanaryHostsPredicateValidationError) Reason

Reason function returns reason value.

Source Files

omit_canary_hosts.pb.go omit_canary_hosts.pb.validate.go

Version
v1.32.4 (latest)
Published
Feb 3, 2025
Platform
linux/amd64
Imports
17 packages
Last checked
1 day ago

Tools for package owners.