envoy_annotations

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthResource        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowResource          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupResource = fmt.Errorf("proto: unexpected end of group")
)
View Source
var E_DisallowedByDefault = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         189503207,
	Name:          "envoy.annotations.disallowed_by_default",
	Tag:           "varint,189503207,opt,name=disallowed_by_default",
	Filename:      "envoy/annotations/deprecation.proto",
}
View Source
var E_DisallowedByDefaultEnum = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumValueOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         70100853,
	Name:          "envoy.annotations.disallowed_by_default_enum",
	Tag:           "varint,70100853,opt,name=disallowed_by_default_enum",
	Filename:      "envoy/annotations/deprecation.proto",
}
View Source
var E_Resource = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ServiceOptions)(nil),
	ExtensionType: (*ResourceAnnotation)(nil),
	Field:         265073217,
	Name:          "envoy.annotations.resource",
	Tag:           "bytes,265073217,opt,name=resource",
	Filename:      "envoy/annotations/resource.proto",
}

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResourceAnnotation) Descriptor

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

func (*ResourceAnnotation) GetType

func (m *ResourceAnnotation) GetType() string

func (*ResourceAnnotation) Marshal

func (m *ResourceAnnotation) Marshal() (dAtA []byte, err error)

func (*ResourceAnnotation) MarshalTo

func (m *ResourceAnnotation) MarshalTo(dAtA []byte) (int, error)

func (*ResourceAnnotation) MarshalToSizedBuffer

func (m *ResourceAnnotation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResourceAnnotation) ProtoMessage

func (*ResourceAnnotation) ProtoMessage()

func (*ResourceAnnotation) Reset

func (m *ResourceAnnotation) Reset()

func (*ResourceAnnotation) Size

func (m *ResourceAnnotation) Size() (n int)

func (*ResourceAnnotation) String

func (m *ResourceAnnotation) String() string

func (*ResourceAnnotation) Unmarshal

func (m *ResourceAnnotation) Unmarshal(dAtA []byte) error

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.

func (*ResourceAnnotation) XXX_DiscardUnknown

func (m *ResourceAnnotation) XXX_DiscardUnknown()

func (*ResourceAnnotation) XXX_Marshal

func (m *ResourceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResourceAnnotation) XXX_Merge

func (m *ResourceAnnotation) XXX_Merge(src proto.Message)

func (*ResourceAnnotation) XXX_Size

func (m *ResourceAnnotation) XXX_Size() int

func (*ResourceAnnotation) XXX_Unmarshal

func (m *ResourceAnnotation) XXX_Unmarshal(b []byte) error

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