Documentation ¶
Index ¶
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetFailureStatusCodes() string
- func (m *Validator) GetSuccessStatusCodes() string
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) String() string
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct { // Comma-separated list of success status codes and code ranges. // Example: success_stauts_codes: 200-299,301,302 SuccessStatusCodes *string `protobuf:"bytes,1,opt,name=success_status_codes,json=successStatusCodes" json:"success_status_codes,omitempty"` // Comma-separated list of failure status codes and code ranges. If there is // an overloap between success and failure status codes, failure status codes // take precedence over success status codes. FailureStatusCodes *string `protobuf:"bytes,2,opt,name=failure_status_codes,json=failureStatusCodes" json:"failure_status_codes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Validator) Descriptor ¶
func (*Validator) GetFailureStatusCodes ¶
func (*Validator) GetSuccessStatusCodes ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.