envoy_annotations

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional bool disallowed_by_default = 189503207;
	E_DisallowedByDefault = &file_envoy_annotations_deprecation_proto_extTypes[0]
)

Extension fields to descriptor.FieldOptions.

View Source
var (
	// optional bool disallowed_by_default_enum = 70100853;
	E_DisallowedByDefaultEnum = &file_envoy_annotations_deprecation_proto_extTypes[1]
)

Extension fields to descriptor.EnumValueOptions.

View Source
var (
	// optional envoy.annotations.ResourceAnnotation resource = 265073217;
	E_Resource = &file_envoy_annotations_resource_proto_extTypes[0]
)

Extension fields to descriptor.ServiceOptions.

View Source
var File_envoy_annotations_deprecation_proto protoreflect.FileDescriptor
View Source
var File_envoy_annotations_resource_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ResourceAnnotation

type ResourceAnnotation struct {

	// Annotation for xDS services that indicates the fully-qualified Protobuf type for the resource
	// type.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceAnnotation) Descriptor deprecated

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

Deprecated: Use ResourceAnnotation.ProtoReflect.Descriptor instead.

func (*ResourceAnnotation) GetType

func (x *ResourceAnnotation) GetType() string

func (*ResourceAnnotation) ProtoMessage

func (*ResourceAnnotation) ProtoMessage()

func (*ResourceAnnotation) ProtoReflect

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

func (*ResourceAnnotation) Reset

func (x *ResourceAnnotation) Reset()

func (*ResourceAnnotation) String

func (x *ResourceAnnotation) String() string

func (*ResourceAnnotation) Validate

func (m *ResourceAnnotation) Validate() error

Validate checks the field values on ResourceAnnotation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResourceAnnotationValidationError

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

ResourceAnnotationValidationError is the validation error returned by ResourceAnnotation.Validate if the designated constraints aren't met.

func (ResourceAnnotationValidationError) Cause

Cause function returns cause value.

func (ResourceAnnotationValidationError) Error

Error satisfies the builtin error interface

func (ResourceAnnotationValidationError) ErrorName

ErrorName returns error name.

func (ResourceAnnotationValidationError) Field

Field function returns field value.

func (ResourceAnnotationValidationError) Key

Key function returns key value.

func (ResourceAnnotationValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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