Documentation ¶
Index ¶
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetHttpValidator() *proto1.Validator
- func (m *Validator) GetIntegrityValidator() *proto2.Validator
- func (m *Validator) GetName() string
- func (m *Validator) GetRegex() string
- func (m *Validator) GetType() isValidator_Type
- 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 (dst *Validator) XXX_Merge(src proto.Message)
- func (*Validator) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type Validator_HttpValidator
- type Validator_IntegrityValidator
- type Validator_Regex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` // Types that are valid to be assigned to Type: // *Validator_HttpValidator // *Validator_IntegrityValidator // *Validator_Regex Type isValidator_Type `protobuf_oneof:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Validator) Descriptor ¶
func (*Validator) GetHttpValidator ¶
func (*Validator) GetIntegrityValidator ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_OneofFuncs ¶
func (*Validator) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Validator) XXX_Unmarshal ¶
type Validator_HttpValidator ¶
type Validator_Regex ¶
type Validator_Regex struct {
Regex string `protobuf:"bytes,4,opt,name=regex,oneof"`
}
Click to show internal directories.
Click to hide internal directories.