Documentation ¶
Index ¶
- Variables
- type ResourceAnnotation
- func (*ResourceAnnotation) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceAnnotation) GetType() string
- func (*ResourceAnnotation) ProtoMessage()
- func (x *ResourceAnnotation) ProtoReflect() protoreflect.Message
- func (x *ResourceAnnotation) Reset()
- func (x *ResourceAnnotation) String() string
- func (m *ResourceAnnotation) Validate() error
- type ResourceAnnotationValidationError
- func (e ResourceAnnotationValidationError) Cause() error
- func (e ResourceAnnotationValidationError) Error() string
- func (e ResourceAnnotationValidationError) ErrorName() string
- func (e ResourceAnnotationValidationError) Field() string
- func (e ResourceAnnotationValidationError) Key() bool
- func (e ResourceAnnotationValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var (
// optional bool disallowed_by_default = 189503207;
E_DisallowedByDefault = &file_envoy_annotations_deprecation_proto_extTypes[0]
)
Extension fields to descriptor.FieldOptions.
var (
// optional bool disallowed_by_default_enum = 70100853;
E_DisallowedByDefaultEnum = &file_envoy_annotations_deprecation_proto_extTypes[1]
)
Extension fields to descriptor.EnumValueOptions.
var (
// optional envoy.annotations.ResourceAnnotation resource = 265073217;
E_Resource = &file_envoy_annotations_resource_proto_extTypes[0]
)
Extension fields to descriptor.ServiceOptions.
var File_envoy_annotations_deprecation_proto protoreflect.FileDescriptor
var File_envoy_annotations_resource_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ResourceAnnotation ¶
type ResourceAnnotation struct { 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 ¶ added in v0.9.7
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 ¶
func (e ResourceAnnotationValidationError) Cause() error
Cause function returns cause value.
func (ResourceAnnotationValidationError) Error ¶
func (e ResourceAnnotationValidationError) Error() string
Error satisfies the builtin error interface
func (ResourceAnnotationValidationError) ErrorName ¶
func (e ResourceAnnotationValidationError) ErrorName() string
ErrorName returns error name.
func (ResourceAnnotationValidationError) Field ¶
func (e ResourceAnnotationValidationError) Field() string
Field function returns field value.
func (ResourceAnnotationValidationError) Key ¶
func (e ResourceAnnotationValidationError) Key() bool
Key function returns key value.
func (ResourceAnnotationValidationError) Reason ¶
func (e ResourceAnnotationValidationError) Reason() string
Reason function returns reason value.