v3

package
v0.0.0-...-555b57e Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 22 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_xds_type_v3_cel_proto protoreflect.FileDescriptor
View Source
var File_xds_type_v3_range_proto protoreflect.FileDescriptor
View Source
var File_xds_type_v3_typed_struct_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CelExpression

type CelExpression struct {

	// Types that are assignable to ExprSpecifier:
	//
	//	*CelExpression_ParsedExpr
	//	*CelExpression_CheckedExpr
	ExprSpecifier  isCelExpression_ExprSpecifier `protobuf_oneof:"expr_specifier"`
	CelExprParsed  *expr.ParsedExpr              `protobuf:"bytes,3,opt,name=cel_expr_parsed,json=celExprParsed,proto3" json:"cel_expr_parsed,omitempty"`
	CelExprChecked *expr.CheckedExpr             `protobuf:"bytes,4,opt,name=cel_expr_checked,json=celExprChecked,proto3" json:"cel_expr_checked,omitempty"`
	// contains filtered or unexported fields
}

func (*CelExpression) Descriptor deprecated

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

Deprecated: Use CelExpression.ProtoReflect.Descriptor instead.

func (*CelExpression) GetCelExprChecked

func (x *CelExpression) GetCelExprChecked() *expr.CheckedExpr

func (*CelExpression) GetCelExprParsed

func (x *CelExpression) GetCelExprParsed() *expr.ParsedExpr

func (*CelExpression) GetCheckedExpr deprecated

func (x *CelExpression) GetCheckedExpr() *v1alpha1.CheckedExpr

Deprecated: Marked as deprecated in xds/type/v3/cel.proto.

func (*CelExpression) GetExprSpecifier

func (m *CelExpression) GetExprSpecifier() isCelExpression_ExprSpecifier

func (*CelExpression) GetParsedExpr deprecated

func (x *CelExpression) GetParsedExpr() *v1alpha1.ParsedExpr

Deprecated: Marked as deprecated in xds/type/v3/cel.proto.

func (*CelExpression) ProtoMessage

func (*CelExpression) ProtoMessage()

func (*CelExpression) ProtoReflect

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

func (*CelExpression) Reset

func (x *CelExpression) Reset()

func (*CelExpression) String

func (x *CelExpression) String() string

func (*CelExpression) Validate

func (m *CelExpression) Validate() error

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

func (m *CelExpression) ValidateAll() error

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

type CelExpressionMultiError

type CelExpressionMultiError []error

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

func (CelExpressionMultiError) AllErrors

func (m CelExpressionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CelExpressionMultiError) Error

func (m CelExpressionMultiError) Error() string

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

type CelExpressionValidationError

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

CelExpressionValidationError is the validation error returned by CelExpression.Validate if the designated constraints aren't met.

func (CelExpressionValidationError) Cause

Cause function returns cause value.

func (CelExpressionValidationError) Error

Error satisfies the builtin error interface

func (CelExpressionValidationError) ErrorName

func (e CelExpressionValidationError) ErrorName() string

ErrorName returns error name.

func (CelExpressionValidationError) Field

Field function returns field value.

func (CelExpressionValidationError) Key

Key function returns key value.

func (CelExpressionValidationError) Reason

Reason function returns reason value.

type CelExpression_CheckedExpr

type CelExpression_CheckedExpr struct {
	// Deprecated: Marked as deprecated in xds/type/v3/cel.proto.
	CheckedExpr *v1alpha1.CheckedExpr `protobuf:"bytes,2,opt,name=checked_expr,json=checkedExpr,proto3,oneof"`
}

type CelExpression_ParsedExpr

type CelExpression_ParsedExpr struct {
	// Deprecated: Marked as deprecated in xds/type/v3/cel.proto.
	ParsedExpr *v1alpha1.ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3,oneof"`
}

type CelExtractString

type CelExtractString struct {
	ExprExtract  *CelExpression          `protobuf:"bytes,1,opt,name=expr_extract,json=exprExtract,proto3" json:"expr_extract,omitempty"`
	DefaultValue *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	// contains filtered or unexported fields
}

func (*CelExtractString) Descriptor deprecated

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

Deprecated: Use CelExtractString.ProtoReflect.Descriptor instead.

func (*CelExtractString) GetDefaultValue

func (x *CelExtractString) GetDefaultValue() *wrapperspb.StringValue

func (*CelExtractString) GetExprExtract

func (x *CelExtractString) GetExprExtract() *CelExpression

func (*CelExtractString) ProtoMessage

func (*CelExtractString) ProtoMessage()

func (*CelExtractString) ProtoReflect

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

func (*CelExtractString) Reset

func (x *CelExtractString) Reset()

func (*CelExtractString) String

func (x *CelExtractString) String() string

func (*CelExtractString) Validate

func (m *CelExtractString) Validate() error

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

func (m *CelExtractString) ValidateAll() error

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

type CelExtractStringMultiError

type CelExtractStringMultiError []error

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

func (CelExtractStringMultiError) AllErrors

func (m CelExtractStringMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CelExtractStringMultiError) Error

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

type CelExtractStringValidationError

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

CelExtractStringValidationError is the validation error returned by CelExtractString.Validate if the designated constraints aren't met.

func (CelExtractStringValidationError) Cause

Cause function returns cause value.

func (CelExtractStringValidationError) Error

Error satisfies the builtin error interface

func (CelExtractStringValidationError) ErrorName

ErrorName returns error name.

func (CelExtractStringValidationError) Field

Field function returns field value.

func (CelExtractStringValidationError) Key

Key function returns key value.

func (CelExtractStringValidationError) Reason

Reason function returns reason value.

type DoubleRange

type DoubleRange struct {
	Start float64 `protobuf:"fixed64,1,opt,name=start,proto3" json:"start,omitempty"`
	End   float64 `protobuf:"fixed64,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*DoubleRange) Descriptor deprecated

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

Deprecated: Use DoubleRange.ProtoReflect.Descriptor instead.

func (*DoubleRange) GetEnd

func (x *DoubleRange) GetEnd() float64

func (*DoubleRange) GetStart

func (x *DoubleRange) GetStart() float64

func (*DoubleRange) ProtoMessage

func (*DoubleRange) ProtoMessage()

func (*DoubleRange) ProtoReflect

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

func (*DoubleRange) Reset

func (x *DoubleRange) Reset()

func (*DoubleRange) String

func (x *DoubleRange) String() string

func (*DoubleRange) Validate

func (m *DoubleRange) Validate() error

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

func (m *DoubleRange) ValidateAll() error

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

type DoubleRangeMultiError

type DoubleRangeMultiError []error

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

func (DoubleRangeMultiError) AllErrors

func (m DoubleRangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DoubleRangeMultiError) Error

func (m DoubleRangeMultiError) Error() string

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

type DoubleRangeValidationError

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

DoubleRangeValidationError is the validation error returned by DoubleRange.Validate if the designated constraints aren't met.

func (DoubleRangeValidationError) Cause

Cause function returns cause value.

func (DoubleRangeValidationError) Error

Error satisfies the builtin error interface

func (DoubleRangeValidationError) ErrorName

func (e DoubleRangeValidationError) ErrorName() string

ErrorName returns error name.

func (DoubleRangeValidationError) Field

Field function returns field value.

func (DoubleRangeValidationError) Key

Key function returns key value.

func (DoubleRangeValidationError) Reason

Reason function returns reason value.

type Int32Range

type Int32Range struct {
	Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End   int32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*Int32Range) Descriptor deprecated

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

Deprecated: Use Int32Range.ProtoReflect.Descriptor instead.

func (*Int32Range) GetEnd

func (x *Int32Range) GetEnd() int32

func (*Int32Range) GetStart

func (x *Int32Range) GetStart() int32

func (*Int32Range) ProtoMessage

func (*Int32Range) ProtoMessage()

func (*Int32Range) ProtoReflect

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

func (*Int32Range) Reset

func (x *Int32Range) Reset()

func (*Int32Range) String

func (x *Int32Range) String() string

func (*Int32Range) Validate

func (m *Int32Range) Validate() error

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

func (m *Int32Range) ValidateAll() error

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

type Int32RangeMultiError

type Int32RangeMultiError []error

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

func (Int32RangeMultiError) AllErrors

func (m Int32RangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Int32RangeMultiError) Error

func (m Int32RangeMultiError) Error() string

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

type Int32RangeValidationError

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

Int32RangeValidationError is the validation error returned by Int32Range.Validate if the designated constraints aren't met.

func (Int32RangeValidationError) Cause

func (e Int32RangeValidationError) Cause() error

Cause function returns cause value.

func (Int32RangeValidationError) Error

Error satisfies the builtin error interface

func (Int32RangeValidationError) ErrorName

func (e Int32RangeValidationError) ErrorName() string

ErrorName returns error name.

func (Int32RangeValidationError) Field

Field function returns field value.

func (Int32RangeValidationError) Key

Key function returns key value.

func (Int32RangeValidationError) Reason

func (e Int32RangeValidationError) Reason() string

Reason function returns reason value.

type Int64Range

type Int64Range struct {
	Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End   int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*Int64Range) Descriptor deprecated

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

Deprecated: Use Int64Range.ProtoReflect.Descriptor instead.

func (*Int64Range) GetEnd

func (x *Int64Range) GetEnd() int64

func (*Int64Range) GetStart

func (x *Int64Range) GetStart() int64

func (*Int64Range) ProtoMessage

func (*Int64Range) ProtoMessage()

func (*Int64Range) ProtoReflect

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

func (*Int64Range) Reset

func (x *Int64Range) Reset()

func (*Int64Range) String

func (x *Int64Range) String() string

func (*Int64Range) Validate

func (m *Int64Range) Validate() error

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

func (m *Int64Range) ValidateAll() error

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

type Int64RangeMultiError

type Int64RangeMultiError []error

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

func (Int64RangeMultiError) AllErrors

func (m Int64RangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Int64RangeMultiError) Error

func (m Int64RangeMultiError) Error() string

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

type Int64RangeValidationError

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

Int64RangeValidationError is the validation error returned by Int64Range.Validate if the designated constraints aren't met.

func (Int64RangeValidationError) Cause

func (e Int64RangeValidationError) Cause() error

Cause function returns cause value.

func (Int64RangeValidationError) Error

Error satisfies the builtin error interface

func (Int64RangeValidationError) ErrorName

func (e Int64RangeValidationError) ErrorName() string

ErrorName returns error name.

func (Int64RangeValidationError) Field

Field function returns field value.

func (Int64RangeValidationError) Key

Key function returns key value.

func (Int64RangeValidationError) Reason

func (e Int64RangeValidationError) Reason() string

Reason function returns reason value.

type TypedStruct

type TypedStruct struct {
	TypeUrl string           `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	Value   *structpb.Struct `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*TypedStruct) Descriptor deprecated

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

Deprecated: Use TypedStruct.ProtoReflect.Descriptor instead.

func (*TypedStruct) GetTypeUrl

func (x *TypedStruct) GetTypeUrl() string

func (*TypedStruct) GetValue

func (x *TypedStruct) GetValue() *structpb.Struct

func (*TypedStruct) ProtoMessage

func (*TypedStruct) ProtoMessage()

func (*TypedStruct) ProtoReflect

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

func (*TypedStruct) Reset

func (x *TypedStruct) Reset()

func (*TypedStruct) String

func (x *TypedStruct) String() string

func (*TypedStruct) Validate

func (m *TypedStruct) Validate() error

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

func (m *TypedStruct) ValidateAll() error

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

type TypedStructMultiError

type TypedStructMultiError []error

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

func (TypedStructMultiError) AllErrors

func (m TypedStructMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TypedStructMultiError) Error

func (m TypedStructMultiError) Error() string

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

type TypedStructValidationError

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

TypedStructValidationError is the validation error returned by TypedStruct.Validate if the designated constraints aren't met.

func (TypedStructValidationError) Cause

Cause function returns cause value.

func (TypedStructValidationError) Error

Error satisfies the builtin error interface

func (TypedStructValidationError) ErrorName

func (e TypedStructValidationError) ErrorName() string

ErrorName returns error name.

func (TypedStructValidationError) Field

Field function returns field value.

func (TypedStructValidationError) Key

Key function returns key value.

func (TypedStructValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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