Documentation
¶
Index ¶
- Variables
- type API
- func (*API) Descriptor() ([]byte, []int)deprecated
- func (x *API) GetGrpc() *GrpcAPI
- func (x *API) GetRest() *RestAPI
- func (x *API) GetTcp() *TcpAPI
- func (m *API) GetValue() isAPI_Value
- func (*API) ProtoMessage()
- func (x *API) ProtoReflect() protoreflect.Message
- func (x *API) Reset()
- func (x *API) String() string
- type API_Grpc
- type API_Rest
- type API_Tcp
- type ApplicationEndpointGroup
- func (*ApplicationEndpointGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationEndpointGroup) GetName() string
- func (x *ApplicationEndpointGroup) GetPublic() bool
- func (x *ApplicationEndpointGroup) GetServiceEndpointGroups() []*ServiceEndpointGroup
- func (*ApplicationEndpointGroup) ProtoMessage()
- func (x *ApplicationEndpointGroup) ProtoReflect() protoreflect.Message
- func (x *ApplicationEndpointGroup) Reset()
- func (x *ApplicationEndpointGroup) String() string
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetApi() *API
- func (x *Endpoint) GetDescription() string
- func (x *Endpoint) GetName() string
- func (x *Endpoint) GetPublic() bool
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type EndpointGroup
- func (*EndpointGroup) Descriptor() ([]byte, []int)deprecated
- func (x *EndpointGroup) GetApplicationEndpointGroup() []*ApplicationEndpointGroup
- func (*EndpointGroup) ProtoMessage()
- func (x *EndpointGroup) ProtoReflect() protoreflect.Message
- func (x *EndpointGroup) Reset()
- func (x *EndpointGroup) String() string
- type GrpcAPI
- type HttpAPI
- type HttpMethod
- type RestAPI
- type RestRoute
- type ServiceEndpointGroup
- func (*ServiceEndpointGroup) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceEndpointGroup) GetEndpoints() []*Endpoint
- func (x *ServiceEndpointGroup) GetPublic() bool
- func (x *ServiceEndpointGroup) GetUnique() string
- func (*ServiceEndpointGroup) ProtoMessage()
- func (x *ServiceEndpointGroup) ProtoReflect() protoreflect.Message
- func (x *ServiceEndpointGroup) Reset()
- func (x *ServiceEndpointGroup) String() string
- type TcpAPI
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HttpMethod_name = map[int32]string{ 0: "GET", 1: "POST", 2: "PUT", 3: "DELETE", 4: "PATCH", 5: "OPTIONS", 6: "HEAD", 7: "CONNECT", 8: "TRACE", } HttpMethod_value = map[string]int32{ "GET": 0, "POST": 1, "PUT": 2, "DELETE": 3, "PATCH": 4, "OPTIONS": 5, "HEAD": 6, "CONNECT": 7, "TRACE": 8, } )
Enum value maps for HttpMethod.
View Source
var File_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { // Types that are assignable to Value: // // *API_Tcp // *API_Rest // *API_Grpc Value isAPI_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*API) Descriptor
deprecated
func (*API) ProtoMessage ¶
func (*API) ProtoMessage()
func (*API) ProtoReflect ¶
func (x *API) ProtoReflect() protoreflect.Message
type API_Grpc ¶
type API_Grpc struct {
Grpc *GrpcAPI `protobuf:"bytes,3,opt,name=grpc,proto3,oneof"`
}
type API_Rest ¶
type API_Rest struct {
Rest *RestAPI `protobuf:"bytes,2,opt,name=rest,proto3,oneof"`
}
type ApplicationEndpointGroup ¶
type ApplicationEndpointGroup struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Public bool `protobuf:"varint,2,opt,name=public,proto3" json:"public,omitempty"` ServiceEndpointGroups []*ServiceEndpointGroup `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ApplicationEndpointGroup) Descriptor
deprecated
func (*ApplicationEndpointGroup) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationEndpointGroup.ProtoReflect.Descriptor instead.
func (*ApplicationEndpointGroup) GetName ¶
func (x *ApplicationEndpointGroup) GetName() string
func (*ApplicationEndpointGroup) GetPublic ¶
func (x *ApplicationEndpointGroup) GetPublic() bool
func (*ApplicationEndpointGroup) GetServiceEndpointGroups ¶
func (x *ApplicationEndpointGroup) GetServiceEndpointGroups() []*ServiceEndpointGroup
func (*ApplicationEndpointGroup) ProtoMessage ¶
func (*ApplicationEndpointGroup) ProtoMessage()
func (*ApplicationEndpointGroup) ProtoReflect ¶
func (x *ApplicationEndpointGroup) ProtoReflect() protoreflect.Message
func (*ApplicationEndpointGroup) Reset ¶
func (x *ApplicationEndpointGroup) Reset()
func (*ApplicationEndpointGroup) String ¶
func (x *ApplicationEndpointGroup) String() string
type Endpoint ¶
type Endpoint struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Public bool `protobuf:"varint,3,opt,name=public,proto3" json:"public,omitempty"` Api *API `protobuf:"bytes,4,opt,name=api,proto3" json:"api,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetDescription ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type EndpointGroup ¶
type EndpointGroup struct { ApplicationEndpointGroup []*ApplicationEndpointGroup `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EndpointGroup) Descriptor
deprecated
func (*EndpointGroup) Descriptor() ([]byte, []int)
Deprecated: Use EndpointGroup.ProtoReflect.Descriptor instead.
func (*EndpointGroup) GetApplicationEndpointGroup ¶
func (x *EndpointGroup) GetApplicationEndpointGroup() []*ApplicationEndpointGroup
func (*EndpointGroup) ProtoMessage ¶
func (*EndpointGroup) ProtoMessage()
func (*EndpointGroup) ProtoReflect ¶
func (x *EndpointGroup) ProtoReflect() protoreflect.Message
func (*EndpointGroup) Reset ¶
func (x *EndpointGroup) Reset()
func (*EndpointGroup) String ¶
func (x *EndpointGroup) String() string
type GrpcAPI ¶
type GrpcAPI struct { Proto []byte `protobuf:"bytes,1,opt,name=proto,proto3" json:"proto,omitempty"` // contains filtered or unexported fields }
func (*GrpcAPI) Descriptor
deprecated
func (*GrpcAPI) ProtoMessage ¶
func (*GrpcAPI) ProtoMessage()
func (*GrpcAPI) ProtoReflect ¶
func (x *GrpcAPI) ProtoReflect() protoreflect.Message
type HttpAPI ¶
type HttpAPI struct {
// contains filtered or unexported fields
}
func (*HttpAPI) Descriptor
deprecated
func (*HttpAPI) ProtoMessage ¶
func (*HttpAPI) ProtoMessage()
func (*HttpAPI) ProtoReflect ¶
func (x *HttpAPI) ProtoReflect() protoreflect.Message
type HttpMethod ¶
type HttpMethod int32
const ( HttpMethod_GET HttpMethod = 0 HttpMethod_POST HttpMethod = 1 HttpMethod_PUT HttpMethod = 2 HttpMethod_DELETE HttpMethod = 3 HttpMethod_PATCH HttpMethod = 4 HttpMethod_OPTIONS HttpMethod = 5 HttpMethod_HEAD HttpMethod = 6 HttpMethod_CONNECT HttpMethod = 7 HttpMethod_TRACE HttpMethod = 8 )
func (HttpMethod) Descriptor ¶
func (HttpMethod) Descriptor() protoreflect.EnumDescriptor
func (HttpMethod) Enum ¶
func (x HttpMethod) Enum() *HttpMethod
func (HttpMethod) EnumDescriptor
deprecated
func (HttpMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use HttpMethod.Descriptor instead.
func (HttpMethod) Number ¶
func (x HttpMethod) Number() protoreflect.EnumNumber
func (HttpMethod) String ¶
func (x HttpMethod) String() string
func (HttpMethod) Type ¶
func (HttpMethod) Type() protoreflect.EnumType
type RestAPI ¶
type RestAPI struct { Openapi []byte `protobuf:"bytes,1,opt,name=openapi,proto3" json:"openapi,omitempty"` Routes []*RestRoute `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*RestAPI) Descriptor
deprecated
func (*RestAPI) GetOpenapi ¶
func (*RestAPI) ProtoMessage ¶
func (*RestAPI) ProtoMessage()
func (*RestAPI) ProtoReflect ¶
func (x *RestAPI) ProtoReflect() protoreflect.Message
type RestRoute ¶
type RestRoute struct { Methods []HttpMethod `protobuf:"varint,1,rep,packed,name=methods,proto3,enum=v1.core.api.HttpMethod" json:"methods,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*RestRoute) Descriptor
deprecated
func (*RestRoute) GetMethods ¶
func (x *RestRoute) GetMethods() []HttpMethod
func (*RestRoute) ProtoMessage ¶
func (*RestRoute) ProtoMessage()
func (*RestRoute) ProtoReflect ¶
func (x *RestRoute) ProtoReflect() protoreflect.Message
type ServiceEndpointGroup ¶
type ServiceEndpointGroup struct { Unique string `protobuf:"bytes,1,opt,name=unique,proto3" json:"unique,omitempty"` Public bool `protobuf:"varint,2,opt,name=public,proto3" json:"public,omitempty"` Endpoints []*Endpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
func (*ServiceEndpointGroup) Descriptor
deprecated
func (*ServiceEndpointGroup) Descriptor() ([]byte, []int)
Deprecated: Use ServiceEndpointGroup.ProtoReflect.Descriptor instead.
func (*ServiceEndpointGroup) GetEndpoints ¶
func (x *ServiceEndpointGroup) GetEndpoints() []*Endpoint
func (*ServiceEndpointGroup) GetPublic ¶
func (x *ServiceEndpointGroup) GetPublic() bool
func (*ServiceEndpointGroup) GetUnique ¶
func (x *ServiceEndpointGroup) GetUnique() string
func (*ServiceEndpointGroup) ProtoMessage ¶
func (*ServiceEndpointGroup) ProtoMessage()
func (*ServiceEndpointGroup) ProtoReflect ¶
func (x *ServiceEndpointGroup) ProtoReflect() protoreflect.Message
func (*ServiceEndpointGroup) Reset ¶
func (x *ServiceEndpointGroup) Reset()
func (*ServiceEndpointGroup) String ¶
func (x *ServiceEndpointGroup) String() string
type TcpAPI ¶
type TcpAPI struct {
// contains filtered or unexported fields
}
func (*TcpAPI) Descriptor
deprecated
func (*TcpAPI) ProtoMessage ¶
func (*TcpAPI) ProtoMessage()
func (*TcpAPI) ProtoReflect ¶
func (x *TcpAPI) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.