Documentation ¶
Overview ¶
Package options is a generated protocol buffer package.
It is generated from these files:
github.com/infobloxopen/protoc-gen-atlas-validate/options/atlas_validate.proto
It has these top-level messages:
AtlasValidateFileOption AtlasValidateMethodOption AtlasValidateServiceOption AtlasValidateFieldOption
Index ¶
- Variables
- type AtlasValidateFieldOption
- func (*AtlasValidateFieldOption) Descriptor() ([]byte, []int)
- func (m *AtlasValidateFieldOption) GetDeny() []AtlasValidateFieldOption_Operation
- func (m *AtlasValidateFieldOption) GetRequired() []AtlasValidateFieldOption_Operation
- func (*AtlasValidateFieldOption) ProtoMessage()
- func (m *AtlasValidateFieldOption) Reset()
- func (m *AtlasValidateFieldOption) String() string
- type AtlasValidateFieldOption_Operation
- type AtlasValidateFileOption
- type AtlasValidateMethodOption
- type AtlasValidateServiceOption
Constants ¶
This section is empty.
Variables ¶
View Source
var AtlasValidateFieldOption_Operation_name = map[int32]string{
0: "create",
1: "update",
2: "replace",
}
View Source
var AtlasValidateFieldOption_Operation_value = map[string]int32{
"create": 0,
"update": 1,
"replace": 2,
}
View Source
var E_Field = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.FieldOptions)(nil), ExtensionType: (*AtlasValidateFieldOption)(nil), Field: 52219, Name: "atlas_validate.field", Tag: "bytes,52219,opt,name=field", Filename: "github.com/infobloxopen/protoc-gen-atlas-validate/options/atlas_validate.proto", }
View Source
var E_File = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.FileOptions)(nil), ExtensionType: (*AtlasValidateFileOption)(nil), Field: 52219, Name: "atlas_validate.file", Tag: "bytes,52219,opt,name=file", Filename: "github.com/infobloxopen/protoc-gen-atlas-validate/options/atlas_validate.proto", }
View Source
var E_Method = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.MethodOptions)(nil), ExtensionType: (*AtlasValidateMethodOption)(nil), Field: 52219, Name: "atlas_validate.method", Tag: "bytes,52219,opt,name=method", Filename: "github.com/infobloxopen/protoc-gen-atlas-validate/options/atlas_validate.proto", }
View Source
var E_Service = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf.ServiceOptions)(nil), ExtensionType: (*AtlasValidateServiceOption)(nil), Field: 52219, Name: "atlas_validate.service", Tag: "bytes,52219,opt,name=service", Filename: "github.com/infobloxopen/protoc-gen-atlas-validate/options/atlas_validate.proto", }
Functions ¶
This section is empty.
Types ¶
type AtlasValidateFieldOption ¶ added in v0.2.0
type AtlasValidateFieldOption struct { Deny []AtlasValidateFieldOption_Operation `protobuf:"varint,1,rep,packed,name=deny,enum=atlas_validate.AtlasValidateFieldOption_Operation" json:"deny,omitempty"` Required []AtlasValidateFieldOption_Operation `protobuf:"varint,2,rep,packed,name=required,enum=atlas_validate.AtlasValidateFieldOption_Operation" json:"required,omitempty"` }
func (*AtlasValidateFieldOption) Descriptor ¶ added in v0.2.0
func (*AtlasValidateFieldOption) Descriptor() ([]byte, []int)
func (*AtlasValidateFieldOption) GetDeny ¶ added in v0.2.0
func (m *AtlasValidateFieldOption) GetDeny() []AtlasValidateFieldOption_Operation
func (*AtlasValidateFieldOption) GetRequired ¶ added in v0.3.0
func (m *AtlasValidateFieldOption) GetRequired() []AtlasValidateFieldOption_Operation
func (*AtlasValidateFieldOption) ProtoMessage ¶ added in v0.2.0
func (*AtlasValidateFieldOption) ProtoMessage()
func (*AtlasValidateFieldOption) Reset ¶ added in v0.2.0
func (m *AtlasValidateFieldOption) Reset()
func (*AtlasValidateFieldOption) String ¶ added in v0.2.0
func (m *AtlasValidateFieldOption) String() string
type AtlasValidateFieldOption_Operation ¶ added in v0.2.0
type AtlasValidateFieldOption_Operation int32
const ( // Field allow only on create operation AtlasValidateFieldOption_create AtlasValidateFieldOption_Operation = 0 // Field allow only on update operation AtlasValidateFieldOption_update AtlasValidateFieldOption_Operation = 1 // Field allow only on replace operation AtlasValidateFieldOption_replace AtlasValidateFieldOption_Operation = 2 )
func (AtlasValidateFieldOption_Operation) EnumDescriptor ¶ added in v0.2.0
func (AtlasValidateFieldOption_Operation) EnumDescriptor() ([]byte, []int)
func (AtlasValidateFieldOption_Operation) String ¶ added in v0.2.0
func (x AtlasValidateFieldOption_Operation) String() string
type AtlasValidateFileOption ¶
type AtlasValidateFileOption struct {
AllowUnknownFields bool `protobuf:"varint,1,opt,name=allow_unknown_fields,json=allowUnknownFields,proto3" json:"allow_unknown_fields,omitempty"`
}
func (*AtlasValidateFileOption) Descriptor ¶
func (*AtlasValidateFileOption) Descriptor() ([]byte, []int)
func (*AtlasValidateFileOption) GetAllowUnknownFields ¶
func (m *AtlasValidateFileOption) GetAllowUnknownFields() bool
func (*AtlasValidateFileOption) ProtoMessage ¶
func (*AtlasValidateFileOption) ProtoMessage()
func (*AtlasValidateFileOption) Reset ¶
func (m *AtlasValidateFileOption) Reset()
func (*AtlasValidateFileOption) String ¶
func (m *AtlasValidateFileOption) String() string
type AtlasValidateMethodOption ¶
type AtlasValidateMethodOption struct {
AllowUnknownFields bool `protobuf:"varint,1,opt,name=allow_unknown_fields,json=allowUnknownFields,proto3" json:"allow_unknown_fields,omitempty"`
}
func (*AtlasValidateMethodOption) Descriptor ¶
func (*AtlasValidateMethodOption) Descriptor() ([]byte, []int)
func (*AtlasValidateMethodOption) GetAllowUnknownFields ¶
func (m *AtlasValidateMethodOption) GetAllowUnknownFields() bool
func (*AtlasValidateMethodOption) ProtoMessage ¶
func (*AtlasValidateMethodOption) ProtoMessage()
func (*AtlasValidateMethodOption) Reset ¶
func (m *AtlasValidateMethodOption) Reset()
func (*AtlasValidateMethodOption) String ¶
func (m *AtlasValidateMethodOption) String() string
type AtlasValidateServiceOption ¶
type AtlasValidateServiceOption struct {
AllowUnknownFields bool `protobuf:"varint,1,opt,name=allow_unknown_fields,json=allowUnknownFields,proto3" json:"allow_unknown_fields,omitempty"`
}
func (*AtlasValidateServiceOption) Descriptor ¶
func (*AtlasValidateServiceOption) Descriptor() ([]byte, []int)
func (*AtlasValidateServiceOption) GetAllowUnknownFields ¶
func (m *AtlasValidateServiceOption) GetAllowUnknownFields() bool
func (*AtlasValidateServiceOption) ProtoMessage ¶
func (*AtlasValidateServiceOption) ProtoMessage()
func (*AtlasValidateServiceOption) Reset ¶
func (m *AtlasValidateServiceOption) Reset()
func (*AtlasValidateServiceOption) String ¶
func (m *AtlasValidateServiceOption) String() string
Click to show internal directories.
Click to hide internal directories.