Documentation ¶
Index ¶
- Variables
- type GrantType
- func (GrantType) Descriptor() protoreflect.EnumDescriptor
- func (x GrantType) Enum() *GrantType
- func (GrantType) EnumDescriptor() ([]byte, []int)deprecated
- func (t GrantType) Equal(target GrantType) bool
- func (t GrantType) IsIn(targets ...GrantType) bool
- func (t GrantType) MarshalJSON() ([]byte, error)
- func (x GrantType) Number() protoreflect.EnumNumber
- func (x GrantType) String() string
- func (GrantType) Type() protoreflect.EnumType
- func (t *GrantType) UnmarshalJSON(b []byte) error
- type Http
- func (*Http) Descriptor() ([]byte, []int)deprecated
- func (x *Http) GetProtocol() string
- func (x *Http) GetUrl() *Http_Url
- func (x *Http) GetVersionDefault() string
- func (x *Http) GetVersionReplace() string
- func (x *Http) GetVersionSkip() string
- func (x *Http) GetVersionUpdate() string
- func (*Http) ProtoMessage()
- func (x *Http) ProtoReflect() protoreflect.Message
- func (x *Http) Reset()
- func (x *Http) String() string
- type Http_Url
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GrantType_name = map[int32]string{ 0: "NULL", 1: "UNKNOWN", 2: "PASSWORD", 3: "LDAP", 4: "REFRESH", 5: "ACCESS", 6: "CLIENT", 7: "AUTH_CODE", 8: "IMPLICIT", } GrantType_value = map[string]int32{ "NULL": 0, "UNKNOWN": 1, "PASSWORD": 2, "LDAP": 3, "REFRESH": 4, "ACCESS": 5, "CLIENT": 6, "AUTH_CODE": 7, "IMPLICIT": 8, } )
Enum value maps for GrantType.
View Source
var File_pb_examples_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GrantType ¶
type GrantType int32
func ParseGrantTypeFromString ¶ added in v1.3.4
ParseGrantTypeFromString Parse GrantType from string
func (GrantType) Descriptor ¶
func (GrantType) Descriptor() protoreflect.EnumDescriptor
func (GrantType) EnumDescriptor
deprecated
func (GrantType) MarshalJSON ¶ added in v1.3.4
MarshalJSON todo
func (GrantType) Number ¶
func (x GrantType) Number() protoreflect.EnumNumber
func (GrantType) Type ¶
func (GrantType) Type() protoreflect.EnumType
func (*GrantType) UnmarshalJSON ¶ added in v1.3.4
UnmarshalJSON todo
type Http ¶
type Http struct { Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty" validate:"oneof=http https"` // version_default is the same as version_update VersionDefault string `` /* 135-byte string literal not displayed */ VersionUpdate string `protobuf:"bytes,3,opt,name=version_update,json=VersionUpdate,proto3" json:"version_with_update" validate:"gte=0,lte=130"` VersionReplace string `protobuf:"bytes,4,opt,name=version_replace,json=VersionReplace,proto3" json:"version_with_replace" validate:"gte=0,lte=130"` Url *Http_Url `protobuf:"bytes,5,opt,name=url,json=Url,proto3" json:"url_tag,omitempty"` VersionSkip string `protobuf:"bytes,6,opt,name=version_skip,json=versionSkip,proto3" json:"-" bson:"-"` // contains filtered or unexported fields }
func (*Http) Descriptor
deprecated
func (*Http) GetProtocol ¶
func (*Http) GetVersionDefault ¶
func (*Http) GetVersionReplace ¶
func (*Http) GetVersionSkip ¶
func (*Http) GetVersionUpdate ¶
func (*Http) ProtoMessage ¶
func (*Http) ProtoMessage()
func (*Http) ProtoReflect ¶
func (x *Http) ProtoReflect() protoreflect.Message
type Http_Url ¶
type Http_Url struct { Scheme string `protobuf:"bytes,1,opt,name=scheme,json=Scheme,proto3" json:"schema_tag,omitempty"` // string scheme = 1[json_name = "Scheme"]; // contains filtered or unexported fields }
func (*Http_Url) Descriptor
deprecated
func (*Http_Url) ProtoMessage ¶
func (*Http_Url) ProtoMessage()
func (*Http_Url) ProtoReflect ¶
func (x *Http_Url) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.