Documentation ¶
Index ¶
- Variables
- type CustomHttpPattern
- func (*CustomHttpPattern) Descriptor() ([]byte, []int)deprecated
- func (x *CustomHttpPattern) GetKind() string
- func (x *CustomHttpPattern) GetPath() string
- func (*CustomHttpPattern) ProtoMessage()
- func (x *CustomHttpPattern) ProtoReflect() protoreflect.Message
- func (x *CustomHttpPattern) Reset()
- func (x *CustomHttpPattern) String() string
- type Endpoint
- type Endpoint_Service
- type Http
- type HttpRule
- func (*HttpRule) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRule) GetAdditionalBindings() []*HttpRule
- func (x *HttpRule) GetBody() string
- func (x *HttpRule) GetCustom() *CustomHttpPattern
- func (x *HttpRule) GetDelete() string
- func (x *HttpRule) GetGet() string
- func (x *HttpRule) GetPatch() string
- func (m *HttpRule) GetPattern() isHttpRule_Pattern
- func (x *HttpRule) GetPost() string
- func (x *HttpRule) GetPut() string
- func (x *HttpRule) GetResponseBody() string
- func (x *HttpRule) GetSelector() string
- func (*HttpRule) ProtoMessage()
- func (x *HttpRule) ProtoReflect() protoreflect.Message
- func (x *HttpRule) Reset()
- func (x *HttpRule) String() string
- type HttpRule_Custom
- type HttpRule_Delete
- type HttpRule_Get
- type HttpRule_Patch
- type HttpRule_Post
- type HttpRule_Put
- type RateLimit
- type Scope
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional eolymp.api.Endpoint endpoint = 22075;
E_Endpoint = &file_eolymp_annotations_endpoint_proto_extTypes[0]
)
Extension fields to descriptorpb.MessageOptions.
View Source
var ( // optional eolymp.api.HttpRule http = 72295728; E_Http = &file_eolymp_annotations_http_proto_extTypes[0] // keep extension number the same as one in google.api for compatibility )
Extension fields to descriptorpb.MethodOptions.
View Source
var (
// optional eolymp.api.RateLimit ratelimit = 22061;
E_Ratelimit = &file_eolymp_annotations_ratelimit_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var (
// optional eolymp.api.Scope scope = 22064;
E_Scope = &file_eolymp_annotations_scope_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_eolymp_annotations_endpoint_proto protoreflect.FileDescriptor
View Source
var File_eolymp_annotations_http_proto protoreflect.FileDescriptor
View Source
var File_eolymp_annotations_ratelimit_proto protoreflect.FileDescriptor
View Source
var File_eolymp_annotations_scope_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CustomHttpPattern ¶
type CustomHttpPattern struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*CustomHttpPattern) Descriptor
deprecated
func (*CustomHttpPattern) Descriptor() ([]byte, []int)
Deprecated: Use CustomHttpPattern.ProtoReflect.Descriptor instead.
func (*CustomHttpPattern) GetKind ¶
func (x *CustomHttpPattern) GetKind() string
func (*CustomHttpPattern) GetPath ¶
func (x *CustomHttpPattern) GetPath() string
func (*CustomHttpPattern) ProtoMessage ¶
func (*CustomHttpPattern) ProtoMessage()
func (*CustomHttpPattern) ProtoReflect ¶
func (x *CustomHttpPattern) ProtoReflect() protoreflect.Message
func (*CustomHttpPattern) Reset ¶
func (x *CustomHttpPattern) Reset()
func (*CustomHttpPattern) String ¶
func (x *CustomHttpPattern) String() string
type Endpoint ¶
type Endpoint struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Service []*Endpoint_Service `protobuf:"bytes,2,rep,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetService ¶
func (x *Endpoint) GetService() []*Endpoint_Service
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type Endpoint_Service ¶
type Endpoint_Service struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Endpoint_Service) Descriptor
deprecated
func (*Endpoint_Service) Descriptor() ([]byte, []int)
Deprecated: Use Endpoint_Service.ProtoReflect.Descriptor instead.
func (*Endpoint_Service) GetName ¶
func (x *Endpoint_Service) GetName() string
func (*Endpoint_Service) ProtoMessage ¶
func (*Endpoint_Service) ProtoMessage()
func (*Endpoint_Service) ProtoReflect ¶
func (x *Endpoint_Service) ProtoReflect() protoreflect.Message
func (*Endpoint_Service) Reset ¶
func (x *Endpoint_Service) Reset()
func (*Endpoint_Service) String ¶
func (x *Endpoint_Service) String() string
type Http ¶
type Http struct { Rules []*HttpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` FullyDecodeReservedExpansion bool `` /* 150-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Http) Descriptor
deprecated
func (*Http) GetFullyDecodeReservedExpansion ¶
func (*Http) ProtoMessage ¶
func (*Http) ProtoMessage()
func (*Http) ProtoReflect ¶
func (x *Http) ProtoReflect() protoreflect.Message
type HttpRule ¶
type HttpRule struct { Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` // Types that are assignable to Pattern: // *HttpRule_Get // *HttpRule_Put // *HttpRule_Post // *HttpRule_Delete // *HttpRule_Patch // *HttpRule_Custom Pattern isHttpRule_Pattern `protobuf_oneof:"pattern"` Body string `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` ResponseBody string `protobuf:"bytes,12,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"` AdditionalBindings []*HttpRule `protobuf:"bytes,11,rep,name=additional_bindings,json=additionalBindings,proto3" json:"additional_bindings,omitempty"` // contains filtered or unexported fields }
func (*HttpRule) Descriptor
deprecated
func (*HttpRule) GetAdditionalBindings ¶
func (*HttpRule) GetCustom ¶
func (x *HttpRule) GetCustom() *CustomHttpPattern
func (*HttpRule) GetPattern ¶
func (m *HttpRule) GetPattern() isHttpRule_Pattern
func (*HttpRule) GetResponseBody ¶
func (*HttpRule) GetSelector ¶
func (*HttpRule) ProtoMessage ¶
func (*HttpRule) ProtoMessage()
func (*HttpRule) ProtoReflect ¶
func (x *HttpRule) ProtoReflect() protoreflect.Message
type HttpRule_Custom ¶
type HttpRule_Custom struct {
Custom *CustomHttpPattern `protobuf:"bytes,8,opt,name=custom,proto3,oneof"`
}
type HttpRule_Delete ¶
type HttpRule_Delete struct {
Delete string `protobuf:"bytes,5,opt,name=delete,proto3,oneof"`
}
type HttpRule_Get ¶
type HttpRule_Get struct {
Get string `protobuf:"bytes,2,opt,name=get,proto3,oneof"`
}
type HttpRule_Patch ¶
type HttpRule_Patch struct {
Patch string `protobuf:"bytes,6,opt,name=patch,proto3,oneof"`
}
type HttpRule_Post ¶
type HttpRule_Post struct {
Post string `protobuf:"bytes,4,opt,name=post,proto3,oneof"`
}
type HttpRule_Put ¶
type HttpRule_Put struct {
Put string `protobuf:"bytes,3,opt,name=put,proto3,oneof"`
}
type RateLimit ¶
type RateLimit struct { Limit float32 `protobuf:"fixed32,22062,opt,name=limit,proto3" json:"limit,omitempty"` // number of requests per second Burst int32 `protobuf:"varint,22063,opt,name=burst,proto3" json:"burst,omitempty"` // allowed burst per second // contains filtered or unexported fields }
func (*RateLimit) Descriptor
deprecated
func (*RateLimit) ProtoMessage ¶
func (*RateLimit) ProtoMessage()
func (*RateLimit) ProtoReflect ¶
func (x *RateLimit) ProtoReflect() protoreflect.Message
type Scope ¶
type Scope struct { Scope []string `protobuf:"bytes,22065,rep,name=scope,proto3" json:"scope,omitempty"` // required OAuth scopes // contains filtered or unexported fields }
func (*Scope) Descriptor
deprecated
func (*Scope) ProtoMessage ¶
func (*Scope) ProtoMessage()
func (*Scope) ProtoReflect ¶
func (x *Scope) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.