Documentation ¶
Index ¶
- Variables
- type ResourceAnnotation
- func (*ResourceAnnotation) Descriptor() ([]byte, []int)
- func (m *ResourceAnnotation) GetType() string
- func (m *ResourceAnnotation) Marshal() (dAtA []byte, err error)
- func (m *ResourceAnnotation) MarshalTo(dAtA []byte) (int, error)
- func (m *ResourceAnnotation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResourceAnnotation) ProtoMessage()
- func (m *ResourceAnnotation) Reset()
- func (m *ResourceAnnotation) Size() (n int)
- func (m *ResourceAnnotation) String() string
- func (m *ResourceAnnotation) Unmarshal(dAtA []byte) error
- func (m *ResourceAnnotation) Validate() error
- func (m *ResourceAnnotation) XXX_DiscardUnknown()
- func (m *ResourceAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceAnnotation) XXX_Merge(src proto.Message)
- func (m *ResourceAnnotation) XXX_Size() int
- func (m *ResourceAnnotation) XXX_Unmarshal(b []byte) 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 ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.