go-control-plane: github.com/envoyproxy/go-control-plane/envoy/annotations Index | Files

package envoy_annotations

import "github.com/envoyproxy/go-control-plane/envoy/annotations"

Index

Package Files

deprecation.pb.go deprecation.pb.validate.go resource.pb.go resource.pb.validate.go

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

type ResourceAnnotation Uses

type ResourceAnnotation struct {
    Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
    // contains filtered or unexported fields
}

func (*ResourceAnnotation) Descriptor Uses

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

Deprecated: Use ResourceAnnotation.ProtoReflect.Descriptor instead.

func (*ResourceAnnotation) GetType Uses

func (x *ResourceAnnotation) GetType() string

func (*ResourceAnnotation) ProtoMessage Uses

func (*ResourceAnnotation) ProtoMessage()

func (*ResourceAnnotation) ProtoReflect Uses

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

func (*ResourceAnnotation) Reset Uses

func (x *ResourceAnnotation) Reset()

func (*ResourceAnnotation) String Uses

func (x *ResourceAnnotation) String() string

func (*ResourceAnnotation) Validate Uses

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 Uses

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 Uses

func (e ResourceAnnotationValidationError) Cause() error

Cause function returns cause value.

func (ResourceAnnotationValidationError) Error Uses

func (e ResourceAnnotationValidationError) Error() string

Error satisfies the builtin error interface

func (ResourceAnnotationValidationError) ErrorName Uses

func (e ResourceAnnotationValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceAnnotationValidationError) Field Uses

func (e ResourceAnnotationValidationError) Field() string

Field function returns field value.

func (ResourceAnnotationValidationError) Key Uses

func (e ResourceAnnotationValidationError) Key() bool

Key function returns key value.

func (ResourceAnnotationValidationError) Reason Uses

func (e ResourceAnnotationValidationError) Reason() string

Reason function returns reason value.

Package envoy_annotations imports 17 packages (graph) and is imported by 36 packages. Updated 2020-07-18. Refresh now. Tools for package owners.