Documentation
¶
Index ¶
- Variables
- type TrafficRoute
- func (t *TrafficRoute) DeepCopy() *TrafficRoute
- func (t *TrafficRoute) DeepCopyInto(out *TrafficRoute)
- func (*TrafficRoute) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficRoute) GetPath() string
- func (m *TrafficRoute) MarshalJSON() ([]byte, error)
- func (*TrafficRoute) ProtoMessage()
- func (x *TrafficRoute) ProtoReflect() protoreflect.Message
- func (x *TrafficRoute) Reset()
- func (x *TrafficRoute) String() string
- func (m *TrafficRoute) UnmarshalJSON(data []byte) error
- func (m *TrafficRoute) Validate() 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 ¶
View Source
var File_pkg_test_apis_sample_v1alpha1_sample_types_proto protoreflect.FileDescriptor
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"` // contains filtered or unexported fields }
TrafficRoute is a sample configuration object for testing purposes.
func (*TrafficRoute) DeepCopy ¶ added in v1.8.1
func (t *TrafficRoute) DeepCopy() *TrafficRoute
func (*TrafficRoute) DeepCopyInto ¶ added in v1.8.1
func (t *TrafficRoute) DeepCopyInto(out *TrafficRoute)
func (*TrafficRoute) Descriptor
deprecated
func (*TrafficRoute) Descriptor() ([]byte, []int)
Deprecated: Use TrafficRoute.ProtoReflect.Descriptor instead.
func (*TrafficRoute) GetPath ¶
func (x *TrafficRoute) GetPath() string
func (*TrafficRoute) MarshalJSON ¶ added in v1.8.1
func (m *TrafficRoute) MarshalJSON() ([]byte, error)
func (*TrafficRoute) ProtoMessage ¶
func (*TrafficRoute) ProtoMessage()
func (*TrafficRoute) ProtoReflect ¶
func (x *TrafficRoute) ProtoReflect() protoreflect.Message
func (*TrafficRoute) Reset ¶
func (x *TrafficRoute) Reset()
func (*TrafficRoute) String ¶
func (x *TrafficRoute) String() string
func (*TrafficRoute) UnmarshalJSON ¶ added in v1.8.1
func (m *TrafficRoute) UnmarshalJSON(data []byte) error
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.
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.