envoy_type_metadata_v2

package
v1.5.0-citest.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMetadata        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMetadata          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMetadata = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type MetadataKey

type MetadataKey struct {
	// The key name of Metadata to retrieve the Struct from the metadata.
	// Typically, it represents a builtin subsystem or custom extension.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The path to retrieve the Value from the Struct. It can be a prefix or a full path,
	// e.g. “[prop, xyz]“ for a struct or “[prop, foo]“ for a string in the example,
	// which depends on the particular scenario.
	//
	// Note: Due to that only the key type segment is supported, the path can not specify a list
	// unless the list is the last segment.
	Path                 []*MetadataKey_PathSegment `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

MetadataKey provides a general interface using `key` and `path` to retrieve value from :ref:`Metadata <envoy_api_msg_core.Metadata>`.

For example, for the following Metadata:

.. code-block:: yaml

filter_metadata:
  envoy.xxx:
    prop:
      foo: bar
      xyz:
        hello: envoy

The following MetadataKey will retrieve a string value "bar" from the Metadata.

.. code-block:: yaml

key: envoy.xxx
path:
- key: prop
- key: foo

func (*MetadataKey) Descriptor

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

func (*MetadataKey) GetKey

func (m *MetadataKey) GetKey() string

func (*MetadataKey) GetPath

func (m *MetadataKey) GetPath() []*MetadataKey_PathSegment

func (*MetadataKey) Marshal

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

func (*MetadataKey) MarshalTo

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

func (*MetadataKey) MarshalToSizedBuffer

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

func (*MetadataKey) ProtoMessage

func (*MetadataKey) ProtoMessage()

func (*MetadataKey) Reset

func (m *MetadataKey) Reset()

func (*MetadataKey) Size

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

func (*MetadataKey) String

func (m *MetadataKey) String() string

func (*MetadataKey) Unmarshal

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

func (*MetadataKey) Validate

func (m *MetadataKey) Validate() error

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

func (*MetadataKey) XXX_DiscardUnknown

func (m *MetadataKey) XXX_DiscardUnknown()

func (*MetadataKey) XXX_Marshal

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

func (*MetadataKey) XXX_Merge

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

func (*MetadataKey) XXX_Size

func (m *MetadataKey) XXX_Size() int

func (*MetadataKey) XXX_Unmarshal

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

type MetadataKeyValidationError

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

MetadataKeyValidationError is the validation error returned by MetadataKey.Validate if the designated constraints aren't met.

func (MetadataKeyValidationError) Cause

Cause function returns cause value.

func (MetadataKeyValidationError) Error

Error satisfies the builtin error interface

func (MetadataKeyValidationError) ErrorName

func (e MetadataKeyValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataKeyValidationError) Field

Field function returns field value.

func (MetadataKeyValidationError) Key

Key function returns key value.

func (MetadataKeyValidationError) Reason

Reason function returns reason value.

type MetadataKey_PathSegment

type MetadataKey_PathSegment struct {
	// Types that are valid to be assigned to Segment:
	//	*MetadataKey_PathSegment_Key
	Segment              isMetadataKey_PathSegment_Segment `protobuf_oneof:"segment"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

Specifies the segment in a path to retrieve value from Metadata. Currently it is only supported to specify the key, i.e. field name, as one segment of a path.

func (*MetadataKey_PathSegment) Descriptor

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

func (*MetadataKey_PathSegment) GetKey

func (m *MetadataKey_PathSegment) GetKey() string

func (*MetadataKey_PathSegment) GetSegment

func (m *MetadataKey_PathSegment) GetSegment() isMetadataKey_PathSegment_Segment

func (*MetadataKey_PathSegment) Marshal

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

func (*MetadataKey_PathSegment) MarshalTo

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

func (*MetadataKey_PathSegment) MarshalToSizedBuffer

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

func (*MetadataKey_PathSegment) ProtoMessage

func (*MetadataKey_PathSegment) ProtoMessage()

func (*MetadataKey_PathSegment) Reset

func (m *MetadataKey_PathSegment) Reset()

func (*MetadataKey_PathSegment) Size

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

func (*MetadataKey_PathSegment) String

func (m *MetadataKey_PathSegment) String() string

func (*MetadataKey_PathSegment) Unmarshal

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

func (*MetadataKey_PathSegment) Validate

func (m *MetadataKey_PathSegment) Validate() error

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

func (*MetadataKey_PathSegment) XXX_DiscardUnknown

func (m *MetadataKey_PathSegment) XXX_DiscardUnknown()

func (*MetadataKey_PathSegment) XXX_Marshal

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

func (*MetadataKey_PathSegment) XXX_Merge

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

func (*MetadataKey_PathSegment) XXX_OneofWrappers

func (*MetadataKey_PathSegment) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MetadataKey_PathSegment) XXX_Size

func (m *MetadataKey_PathSegment) XXX_Size() int

func (*MetadataKey_PathSegment) XXX_Unmarshal

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

type MetadataKey_PathSegmentValidationError

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

MetadataKey_PathSegmentValidationError is the validation error returned by MetadataKey_PathSegment.Validate if the designated constraints aren't met.

func (MetadataKey_PathSegmentValidationError) Cause

Cause function returns cause value.

func (MetadataKey_PathSegmentValidationError) Error

Error satisfies the builtin error interface

func (MetadataKey_PathSegmentValidationError) ErrorName

ErrorName returns error name.

func (MetadataKey_PathSegmentValidationError) Field

Field function returns field value.

func (MetadataKey_PathSegmentValidationError) Key

Key function returns key value.

func (MetadataKey_PathSegmentValidationError) Reason

Reason function returns reason value.

type MetadataKey_PathSegment_Key

type MetadataKey_PathSegment_Key struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof" json:"key,omitempty"`
}

func (*MetadataKey_PathSegment_Key) MarshalTo

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

func (*MetadataKey_PathSegment_Key) MarshalToSizedBuffer

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

func (*MetadataKey_PathSegment_Key) Size

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

type MetadataKind

type MetadataKind struct {
	// Types that are valid to be assigned to Kind:
	//	*MetadataKind_Request_
	//	*MetadataKind_Route_
	//	*MetadataKind_Cluster_
	//	*MetadataKind_Host_
	Kind                 isMetadataKind_Kind `protobuf_oneof:"kind"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Describes what kind of metadata.

func (*MetadataKind) Descriptor

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

func (*MetadataKind) GetCluster

func (m *MetadataKind) GetCluster() *MetadataKind_Cluster

func (*MetadataKind) GetHost

func (m *MetadataKind) GetHost() *MetadataKind_Host

func (*MetadataKind) GetKind

func (m *MetadataKind) GetKind() isMetadataKind_Kind

func (*MetadataKind) GetRequest

func (m *MetadataKind) GetRequest() *MetadataKind_Request

func (*MetadataKind) GetRoute

func (m *MetadataKind) GetRoute() *MetadataKind_Route

func (*MetadataKind) Marshal

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

func (*MetadataKind) MarshalTo

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

func (*MetadataKind) MarshalToSizedBuffer

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

func (*MetadataKind) ProtoMessage

func (*MetadataKind) ProtoMessage()

func (*MetadataKind) Reset

func (m *MetadataKind) Reset()

func (*MetadataKind) Size

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

func (*MetadataKind) String

func (m *MetadataKind) String() string

func (*MetadataKind) Unmarshal

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

func (*MetadataKind) Validate

func (m *MetadataKind) Validate() error

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

func (*MetadataKind) XXX_DiscardUnknown

func (m *MetadataKind) XXX_DiscardUnknown()

func (*MetadataKind) XXX_Marshal

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

func (*MetadataKind) XXX_Merge

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

func (*MetadataKind) XXX_OneofWrappers

func (*MetadataKind) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MetadataKind) XXX_Size

func (m *MetadataKind) XXX_Size() int

func (*MetadataKind) XXX_Unmarshal

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

type MetadataKindValidationError

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

MetadataKindValidationError is the validation error returned by MetadataKind.Validate if the designated constraints aren't met.

func (MetadataKindValidationError) Cause

Cause function returns cause value.

func (MetadataKindValidationError) Error

Error satisfies the builtin error interface

func (MetadataKindValidationError) ErrorName

func (e MetadataKindValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataKindValidationError) Field

Field function returns field value.

func (MetadataKindValidationError) Key

Key function returns key value.

func (MetadataKindValidationError) Reason

Reason function returns reason value.

type MetadataKind_Cluster

type MetadataKind_Cluster struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents metadata from :ref:`the upstream cluster<envoy_api_field_Cluster.metadata>`.

func (*MetadataKind_Cluster) Descriptor

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

func (*MetadataKind_Cluster) Marshal

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

func (*MetadataKind_Cluster) MarshalTo

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

func (*MetadataKind_Cluster) MarshalToSizedBuffer

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

func (*MetadataKind_Cluster) ProtoMessage

func (*MetadataKind_Cluster) ProtoMessage()

func (*MetadataKind_Cluster) Reset

func (m *MetadataKind_Cluster) Reset()

func (*MetadataKind_Cluster) Size

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

func (*MetadataKind_Cluster) String

func (m *MetadataKind_Cluster) String() string

func (*MetadataKind_Cluster) Unmarshal

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

func (*MetadataKind_Cluster) Validate

func (m *MetadataKind_Cluster) Validate() error

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

func (*MetadataKind_Cluster) XXX_DiscardUnknown

func (m *MetadataKind_Cluster) XXX_DiscardUnknown()

func (*MetadataKind_Cluster) XXX_Marshal

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

func (*MetadataKind_Cluster) XXX_Merge

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

func (*MetadataKind_Cluster) XXX_Size

func (m *MetadataKind_Cluster) XXX_Size() int

func (*MetadataKind_Cluster) XXX_Unmarshal

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

type MetadataKind_ClusterValidationError

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

MetadataKind_ClusterValidationError is the validation error returned by MetadataKind_Cluster.Validate if the designated constraints aren't met.

func (MetadataKind_ClusterValidationError) Cause

Cause function returns cause value.

func (MetadataKind_ClusterValidationError) Error

Error satisfies the builtin error interface

func (MetadataKind_ClusterValidationError) ErrorName

ErrorName returns error name.

func (MetadataKind_ClusterValidationError) Field

Field function returns field value.

func (MetadataKind_ClusterValidationError) Key

Key function returns key value.

func (MetadataKind_ClusterValidationError) Reason

Reason function returns reason value.

type MetadataKind_Cluster_

type MetadataKind_Cluster_ struct {
	Cluster *MetadataKind_Cluster `protobuf:"bytes,3,opt,name=cluster,proto3,oneof" json:"cluster,omitempty"`
}

func (*MetadataKind_Cluster_) MarshalTo

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

func (*MetadataKind_Cluster_) MarshalToSizedBuffer

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

func (*MetadataKind_Cluster_) Size

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

type MetadataKind_Host

type MetadataKind_Host struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents metadata from :ref:`the upstream host<envoy_api_field_endpoint.LbEndpoint.metadata>`.

func (*MetadataKind_Host) Descriptor

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

func (*MetadataKind_Host) Marshal

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

func (*MetadataKind_Host) MarshalTo

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

func (*MetadataKind_Host) MarshalToSizedBuffer

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

func (*MetadataKind_Host) ProtoMessage

func (*MetadataKind_Host) ProtoMessage()

func (*MetadataKind_Host) Reset

func (m *MetadataKind_Host) Reset()

func (*MetadataKind_Host) Size

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

func (*MetadataKind_Host) String

func (m *MetadataKind_Host) String() string

func (*MetadataKind_Host) Unmarshal

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

func (*MetadataKind_Host) Validate

func (m *MetadataKind_Host) Validate() error

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

func (*MetadataKind_Host) XXX_DiscardUnknown

func (m *MetadataKind_Host) XXX_DiscardUnknown()

func (*MetadataKind_Host) XXX_Marshal

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

func (*MetadataKind_Host) XXX_Merge

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

func (*MetadataKind_Host) XXX_Size

func (m *MetadataKind_Host) XXX_Size() int

func (*MetadataKind_Host) XXX_Unmarshal

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

type MetadataKind_HostValidationError

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

MetadataKind_HostValidationError is the validation error returned by MetadataKind_Host.Validate if the designated constraints aren't met.

func (MetadataKind_HostValidationError) Cause

Cause function returns cause value.

func (MetadataKind_HostValidationError) Error

Error satisfies the builtin error interface

func (MetadataKind_HostValidationError) ErrorName

ErrorName returns error name.

func (MetadataKind_HostValidationError) Field

Field function returns field value.

func (MetadataKind_HostValidationError) Key

Key function returns key value.

func (MetadataKind_HostValidationError) Reason

Reason function returns reason value.

type MetadataKind_Host_

type MetadataKind_Host_ struct {
	Host *MetadataKind_Host `protobuf:"bytes,4,opt,name=host,proto3,oneof" json:"host,omitempty"`
}

func (*MetadataKind_Host_) MarshalTo

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

func (*MetadataKind_Host_) MarshalToSizedBuffer

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

func (*MetadataKind_Host_) Size

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

type MetadataKind_Request

type MetadataKind_Request struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents dynamic metadata associated with the request.

func (*MetadataKind_Request) Descriptor

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

func (*MetadataKind_Request) Marshal

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

func (*MetadataKind_Request) MarshalTo

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

func (*MetadataKind_Request) MarshalToSizedBuffer

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

func (*MetadataKind_Request) ProtoMessage

func (*MetadataKind_Request) ProtoMessage()

func (*MetadataKind_Request) Reset

func (m *MetadataKind_Request) Reset()

func (*MetadataKind_Request) Size

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

func (*MetadataKind_Request) String

func (m *MetadataKind_Request) String() string

func (*MetadataKind_Request) Unmarshal

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

func (*MetadataKind_Request) Validate

func (m *MetadataKind_Request) Validate() error

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

func (*MetadataKind_Request) XXX_DiscardUnknown

func (m *MetadataKind_Request) XXX_DiscardUnknown()

func (*MetadataKind_Request) XXX_Marshal

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

func (*MetadataKind_Request) XXX_Merge

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

func (*MetadataKind_Request) XXX_Size

func (m *MetadataKind_Request) XXX_Size() int

func (*MetadataKind_Request) XXX_Unmarshal

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

type MetadataKind_RequestValidationError

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

MetadataKind_RequestValidationError is the validation error returned by MetadataKind_Request.Validate if the designated constraints aren't met.

func (MetadataKind_RequestValidationError) Cause

Cause function returns cause value.

func (MetadataKind_RequestValidationError) Error

Error satisfies the builtin error interface

func (MetadataKind_RequestValidationError) ErrorName

ErrorName returns error name.

func (MetadataKind_RequestValidationError) Field

Field function returns field value.

func (MetadataKind_RequestValidationError) Key

Key function returns key value.

func (MetadataKind_RequestValidationError) Reason

Reason function returns reason value.

type MetadataKind_Request_

type MetadataKind_Request_ struct {
	Request *MetadataKind_Request `protobuf:"bytes,1,opt,name=request,proto3,oneof" json:"request,omitempty"`
}

func (*MetadataKind_Request_) MarshalTo

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

func (*MetadataKind_Request_) MarshalToSizedBuffer

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

func (*MetadataKind_Request_) Size

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

type MetadataKind_Route

type MetadataKind_Route struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents metadata from :ref:`the route<envoy_api_field_route.Route.metadata>`.

func (*MetadataKind_Route) Descriptor

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

func (*MetadataKind_Route) Marshal

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

func (*MetadataKind_Route) MarshalTo

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

func (*MetadataKind_Route) MarshalToSizedBuffer

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

func (*MetadataKind_Route) ProtoMessage

func (*MetadataKind_Route) ProtoMessage()

func (*MetadataKind_Route) Reset

func (m *MetadataKind_Route) Reset()

func (*MetadataKind_Route) Size

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

func (*MetadataKind_Route) String

func (m *MetadataKind_Route) String() string

func (*MetadataKind_Route) Unmarshal

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

func (*MetadataKind_Route) Validate

func (m *MetadataKind_Route) Validate() error

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

func (*MetadataKind_Route) XXX_DiscardUnknown

func (m *MetadataKind_Route) XXX_DiscardUnknown()

func (*MetadataKind_Route) XXX_Marshal

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

func (*MetadataKind_Route) XXX_Merge

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

func (*MetadataKind_Route) XXX_Size

func (m *MetadataKind_Route) XXX_Size() int

func (*MetadataKind_Route) XXX_Unmarshal

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

type MetadataKind_RouteValidationError

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

MetadataKind_RouteValidationError is the validation error returned by MetadataKind_Route.Validate if the designated constraints aren't met.

func (MetadataKind_RouteValidationError) Cause

Cause function returns cause value.

func (MetadataKind_RouteValidationError) Error

Error satisfies the builtin error interface

func (MetadataKind_RouteValidationError) ErrorName

ErrorName returns error name.

func (MetadataKind_RouteValidationError) Field

Field function returns field value.

func (MetadataKind_RouteValidationError) Key

Key function returns key value.

func (MetadataKind_RouteValidationError) Reason

Reason function returns reason value.

type MetadataKind_Route_

type MetadataKind_Route_ struct {
	Route *MetadataKind_Route `protobuf:"bytes,2,opt,name=route,proto3,oneof" json:"route,omitempty"`
}

func (*MetadataKind_Route_) MarshalTo

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

func (*MetadataKind_Route_) MarshalToSizedBuffer

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

func (*MetadataKind_Route_) Size

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

Jump to

Keyboard shortcuts

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