Documentation ¶
Index ¶
- type TrafficRoute
- func (*TrafficRoute) Descriptor() ([]byte, []int)
- func (m *TrafficRoute) GetPath() string
- func (*TrafficRoute) ProtoMessage()
- func (m *TrafficRoute) Reset()
- func (m *TrafficRoute) String() string
- func (m *TrafficRoute) Validate() error
- func (m *TrafficRoute) XXX_DiscardUnknown()
- func (m *TrafficRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrafficRoute) XXX_Merge(src proto.Message)
- func (m *TrafficRoute) XXX_Size() int
- func (m *TrafficRoute) XXX_Unmarshal(b []byte) error
- type TrafficRouteValidationError
- func (e TrafficRouteValidationError) Cause() error
- func (e TrafficRouteValidationError) Error() string
- func (e TrafficRouteValidationError) ErrorName() string
- func (e TrafficRouteValidationError) Field() string
- func (e TrafficRouteValidationError) Key() bool
- func (e TrafficRouteValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrafficRoute ¶
type TrafficRoute struct { // HTTP path. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TrafficRoute is a sample configuration object for testing purposes.
func (*TrafficRoute) Descriptor ¶
func (*TrafficRoute) Descriptor() ([]byte, []int)
func (*TrafficRoute) GetPath ¶
func (m *TrafficRoute) GetPath() string
func (*TrafficRoute) ProtoMessage ¶
func (*TrafficRoute) ProtoMessage()
func (*TrafficRoute) Reset ¶
func (m *TrafficRoute) Reset()
func (*TrafficRoute) String ¶
func (m *TrafficRoute) String() string
func (*TrafficRoute) Validate ¶
func (m *TrafficRoute) Validate() error
Validate checks the field values on TrafficRoute with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*TrafficRoute) XXX_DiscardUnknown ¶
func (m *TrafficRoute) XXX_DiscardUnknown()
func (*TrafficRoute) XXX_Marshal ¶
func (m *TrafficRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TrafficRoute) XXX_Merge ¶
func (m *TrafficRoute) XXX_Merge(src proto.Message)
func (*TrafficRoute) XXX_Size ¶
func (m *TrafficRoute) XXX_Size() int
func (*TrafficRoute) XXX_Unmarshal ¶
func (m *TrafficRoute) XXX_Unmarshal(b []byte) error
type TrafficRouteValidationError ¶
type TrafficRouteValidationError struct {
// contains filtered or unexported fields
}
TrafficRouteValidationError is the validation error returned by TrafficRoute.Validate if the designated constraints aren't met.
func (TrafficRouteValidationError) Cause ¶
func (e TrafficRouteValidationError) Cause() error
Cause function returns cause value.
func (TrafficRouteValidationError) Error ¶
func (e TrafficRouteValidationError) Error() string
Error satisfies the builtin error interface
func (TrafficRouteValidationError) ErrorName ¶
func (e TrafficRouteValidationError) ErrorName() string
ErrorName returns error name.
func (TrafficRouteValidationError) Field ¶
func (e TrafficRouteValidationError) Field() string
Field function returns field value.
func (TrafficRouteValidationError) Key ¶
func (e TrafficRouteValidationError) Key() bool
Key function returns key value.
func (TrafficRouteValidationError) Reason ¶
func (e TrafficRouteValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.