Documentation ¶
Index ¶
- Variables
- type API
- func (*API) Descriptor() ([]byte, []int)deprecated
- func (x *API) GetGrpc() *GrpcAPI
- func (x *API) GetHttp() *HttpAPI
- 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_Http
- type API_Rest
- type API_Tcp
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)deprecated
- func (x *Agent) GetKind() Agent_Kind
- func (x *Agent) GetName() string
- func (x *Agent) GetPublisher() string
- func (x *Agent) GetVersion() string
- func (*Agent) ProtoMessage()
- func (x *Agent) ProtoReflect() protoreflect.Message
- func (x *Agent) Reset()
- func (x *Agent) String() string
- type Agent_Kind
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetDescription() string
- func (x *Application) GetName() string
- func (x *Application) GetProject() string
- func (x *Application) GetServices() []*Service
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetApi() *API
- func (x *Endpoint) GetApplication() string
- func (x *Endpoint) GetDescription() string
- func (x *Endpoint) GetName() string
- func (x *Endpoint) GetNamespace() string
- func (x *Endpoint) GetReplicas() int32
- func (x *Endpoint) GetService() string
- func (x *Endpoint) GetVisibility() string
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)deprecated
- func (x *Environment) GetDescription() string
- func (x *Environment) GetName() string
- func (x *Environment) GetNetworkType() Environment_NetworkType
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- type Environment_NetworkType
- func (Environment_NetworkType) Descriptor() protoreflect.EnumDescriptor
- func (x Environment_NetworkType) Enum() *Environment_NetworkType
- func (Environment_NetworkType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Environment_NetworkType) Number() protoreflect.EnumNumber
- func (x Environment_NetworkType) String() string
- func (Environment_NetworkType) Type() protoreflect.EnumType
- type GrpcAPI
- func (*GrpcAPI) Descriptor() ([]byte, []int)deprecated
- func (x *GrpcAPI) GetApplication() string
- func (x *GrpcAPI) GetPackage() string
- func (x *GrpcAPI) GetProto() []byte
- func (x *GrpcAPI) GetRpcs() []*RPC
- func (x *GrpcAPI) GetService() string
- func (*GrpcAPI) ProtoMessage()
- func (x *GrpcAPI) ProtoReflect() protoreflect.Message
- func (x *GrpcAPI) Reset()
- func (x *GrpcAPI) String() string
- type HTTPMethod
- type HttpAPI
- type NetworkMapping
- func (*NetworkMapping) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkMapping) GetAddresses() []string
- func (x *NetworkMapping) GetApplication() string
- func (x *NetworkMapping) GetEndpoint() *Endpoint
- func (x *NetworkMapping) GetService() string
- func (*NetworkMapping) ProtoMessage()
- func (x *NetworkMapping) ProtoReflect() protoreflect.Message
- func (x *NetworkMapping) Reset()
- func (x *NetworkMapping) String() string
- type Organization
- func (*Organization) Descriptor() ([]byte, []int)deprecated
- func (x *Organization) GetId() string
- func (x *Organization) GetName() string
- func (x *Organization) GetSourceVersionControl() string
- func (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) String() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetApplications() []*Application
- func (x *Project) GetDescription() string
- func (x *Project) GetName() string
- func (x *Project) GetOrganizationId() string
- func (x *Project) GetSvc() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProviderInformation
- func (*ProviderInformation) Descriptor() ([]byte, []int)deprecated
- func (x *ProviderInformation) GetData() map[string]string
- func (x *ProviderInformation) GetName() string
- func (x *ProviderInformation) GetOrigin() string
- func (*ProviderInformation) ProtoMessage()
- func (x *ProviderInformation) ProtoReflect() protoreflect.Message
- func (x *ProviderInformation) Reset()
- func (x *ProviderInformation) String() string
- type RPC
- type RestAPI
- func (*RestAPI) Descriptor() ([]byte, []int)deprecated
- func (x *RestAPI) GetApplication() string
- func (x *RestAPI) GetGroups() []*RestRouteGroup
- func (x *RestAPI) GetOpenapi() []byte
- func (x *RestAPI) GetService() string
- func (*RestAPI) ProtoMessage()
- func (x *RestAPI) ProtoReflect() protoreflect.Message
- func (x *RestAPI) Reset()
- func (x *RestAPI) String() string
- type RestRoute
- type RestRouteGroup
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetAgent() *Agent
- func (x *Service) GetApplication() string
- func (x *Service) GetDescription() string
- func (x *Service) GetEndpoints() []*Endpoint
- func (x *Service) GetName() string
- func (x *Service) GetProject() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceIdentity
- func (*ServiceIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceIdentity) GetApplication() string
- func (x *ServiceIdentity) GetLocation() string
- func (x *ServiceIdentity) GetName() string
- func (x *ServiceIdentity) GetNamespace() string
- func (x *ServiceIdentity) GetProject() string
- func (x *ServiceIdentity) GetSourceVersionControl() string
- func (*ServiceIdentity) ProtoMessage()
- func (x *ServiceIdentity) ProtoReflect() protoreflect.Message
- func (x *ServiceIdentity) Reset()
- func (x *ServiceIdentity) String() string
- type TcpAPI
- type Version
Constants ¶
This section is empty.
Variables ¶
var ( Agent_Kind_name = map[int32]string{ 0: "UNKNOWN", 1: "SERVICE", } Agent_Kind_value = map[string]int32{ "UNKNOWN": 0, "SERVICE": 1, } )
Enum value maps for Agent_Kind.
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.
var ( Environment_NetworkType_name = map[int32]string{ 0: "PORT", 2: "DNS", } Environment_NetworkType_value = map[string]int32{ "PORT": 0, "DNS": 2, } )
Enum value maps for Environment_NetworkType.
var File_base_v0_agent_proto protoreflect.FileDescriptor
var File_base_v0_application_proto protoreflect.FileDescriptor
var File_base_v0_endpoint_proto protoreflect.FileDescriptor
var File_base_v0_environment_proto protoreflect.FileDescriptor
var File_base_v0_network_proto protoreflect.FileDescriptor
var File_base_v0_organization_proto protoreflect.FileDescriptor
var File_base_v0_project_proto protoreflect.FileDescriptor
var File_base_v0_provider_proto protoreflect.FileDescriptor
var File_base_v0_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { // Types that are assignable to Value: // // *API_Tcp // *API_Http // *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,4,opt,name=grpc,proto3,oneof"`
}
type API_Http ¶
type API_Http struct {
Http *HttpAPI `protobuf:"bytes,2,opt,name=http,proto3,oneof"`
}
type API_Rest ¶
type API_Rest struct {
Rest *RestAPI `protobuf:"bytes,3,opt,name=rest,proto3,oneof"`
}
type Agent ¶
type Agent struct { Kind Agent_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=base.v0.Agent_Kind" json:"kind,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Publisher string `protobuf:"bytes,3,opt,name=publisher,proto3" json:"publisher,omitempty"` Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Agent) Descriptor
deprecated
func (*Agent) GetKind ¶
func (x *Agent) GetKind() Agent_Kind
func (*Agent) GetPublisher ¶
func (*Agent) GetVersion ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
type Agent_Kind ¶
type Agent_Kind int32
const ( Agent_UNKNOWN Agent_Kind = 0 Agent_SERVICE Agent_Kind = 1 )
func (Agent_Kind) Descriptor ¶
func (Agent_Kind) Descriptor() protoreflect.EnumDescriptor
func (Agent_Kind) Enum ¶
func (x Agent_Kind) Enum() *Agent_Kind
func (Agent_Kind) EnumDescriptor
deprecated
func (Agent_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Agent_Kind.Descriptor instead.
func (Agent_Kind) Number ¶
func (x Agent_Kind) Number() protoreflect.EnumNumber
func (Agent_Kind) String ¶
func (x Agent_Kind) String() string
func (Agent_Kind) Type ¶
func (Agent_Kind) Type() protoreflect.EnumType
type Application ¶
type Application 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"` Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` Services []*Service `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"` // contains filtered or unexported fields }
func (*Application) Descriptor
deprecated
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetDescription ¶
func (x *Application) GetDescription() string
func (*Application) GetName ¶
func (x *Application) GetName() string
func (*Application) GetProject ¶
func (x *Application) GetProject() string
func (*Application) GetServices ¶
func (x *Application) GetServices() []*Service
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶
func (x *Application) Reset()
func (*Application) String ¶
func (x *Application) String() string
type Endpoint ¶
type Endpoint struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"` Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Visibility string `protobuf:"bytes,6,opt,name=visibility,proto3" json:"visibility,omitempty"` Api *API `protobuf:"bytes,7,opt,name=api,proto3" json:"api,omitempty"` Replicas int32 `protobuf:"varint,8,opt,name=replicas,proto3" json:"replicas,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetApplication ¶
func (*Endpoint) GetDescription ¶
func (*Endpoint) GetNamespace ¶
func (*Endpoint) GetReplicas ¶ added in v0.1.33
func (*Endpoint) GetService ¶
func (*Endpoint) GetVisibility ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type Environment ¶
type Environment 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"` NetworkType Environment_NetworkType `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Environment) Descriptor
deprecated
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetDescription ¶
func (x *Environment) GetDescription() string
func (*Environment) GetName ¶
func (x *Environment) GetName() string
func (*Environment) GetNetworkType ¶ added in v0.1.20
func (x *Environment) GetNetworkType() Environment_NetworkType
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶
func (x *Environment) Reset()
func (*Environment) String ¶
func (x *Environment) String() string
type Environment_NetworkType ¶ added in v0.1.20
type Environment_NetworkType int32
const ( Environment_PORT Environment_NetworkType = 0 Environment_DNS Environment_NetworkType = 2 )
func (Environment_NetworkType) Descriptor ¶ added in v0.1.20
func (Environment_NetworkType) Descriptor() protoreflect.EnumDescriptor
func (Environment_NetworkType) Enum ¶ added in v0.1.20
func (x Environment_NetworkType) Enum() *Environment_NetworkType
func (Environment_NetworkType) EnumDescriptor
deprecated
added in
v0.1.20
func (Environment_NetworkType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Environment_NetworkType.Descriptor instead.
func (Environment_NetworkType) Number ¶ added in v0.1.20
func (x Environment_NetworkType) Number() protoreflect.EnumNumber
func (Environment_NetworkType) String ¶ added in v0.1.20
func (x Environment_NetworkType) String() string
func (Environment_NetworkType) Type ¶ added in v0.1.20
func (Environment_NetworkType) Type() protoreflect.EnumType
type GrpcAPI ¶
type GrpcAPI struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Application string `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"` Package string `protobuf:"bytes,3,opt,name=package,proto3" json:"package,omitempty"` Rpcs []*RPC `protobuf:"bytes,4,rep,name=rpcs,proto3" json:"rpcs,omitempty"` Proto []byte `protobuf:"bytes,5,opt,name=proto,proto3" json:"proto,omitempty"` // contains filtered or unexported fields }
func (*GrpcAPI) Descriptor
deprecated
func (*GrpcAPI) GetApplication ¶ added in v0.1.18
func (*GrpcAPI) GetPackage ¶ added in v0.1.35
func (*GrpcAPI) GetService ¶ added in v0.1.18
func (*GrpcAPI) ProtoMessage ¶
func (*GrpcAPI) ProtoMessage()
func (*GrpcAPI) ProtoReflect ¶
func (x *GrpcAPI) 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 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 NetworkMapping ¶ added in v0.1.20
type NetworkMapping struct { Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"` // Application name Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // Service name Endpoint *Endpoint `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Addresses []string `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"` // List of addresses to map to // contains filtered or unexported fields }
func (*NetworkMapping) Descriptor
deprecated
added in
v0.1.20
func (*NetworkMapping) Descriptor() ([]byte, []int)
Deprecated: Use NetworkMapping.ProtoReflect.Descriptor instead.
func (*NetworkMapping) GetAddresses ¶ added in v0.1.20
func (x *NetworkMapping) GetAddresses() []string
func (*NetworkMapping) GetApplication ¶ added in v0.1.20
func (x *NetworkMapping) GetApplication() string
func (*NetworkMapping) GetEndpoint ¶ added in v0.1.20
func (x *NetworkMapping) GetEndpoint() *Endpoint
func (*NetworkMapping) GetService ¶ added in v0.1.20
func (x *NetworkMapping) GetService() string
func (*NetworkMapping) ProtoMessage ¶ added in v0.1.20
func (*NetworkMapping) ProtoMessage()
func (*NetworkMapping) ProtoReflect ¶ added in v0.1.20
func (x *NetworkMapping) ProtoReflect() protoreflect.Message
func (*NetworkMapping) Reset ¶ added in v0.1.20
func (x *NetworkMapping) Reset()
func (*NetworkMapping) String ¶ added in v0.1.20
func (x *NetworkMapping) String() string
type Organization ¶
type Organization struct { // ID is the unique identifier of the organization. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name is the name of the organization. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Source Version Control if applicable. SourceVersionControl string `protobuf:"bytes,3,opt,name=source_version_control,json=sourceVersionControl,proto3" json:"source_version_control,omitempty"` // contains filtered or unexported fields }
Organization represents the owner of a software system. The Domain corresponds to a URI for that organization. A Github organization URL is a good example of this.
func (*Organization) Descriptor
deprecated
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
func (*Organization) GetId ¶ added in v0.1.38
func (x *Organization) GetId() string
func (*Organization) GetName ¶
func (x *Organization) GetName() string
func (*Organization) GetSourceVersionControl ¶ added in v0.1.38
func (x *Organization) GetSourceVersionControl() string
func (*Organization) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶
func (x *Organization) Reset()
func (*Organization) String ¶
func (x *Organization) String() string
type Project ¶
type Project struct { // organization_id is the unique identifier of the organization owning the project. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // svc is the Source Version Control associated with the project. Svc string `protobuf:"bytes,2,opt,name=svc,proto3" json:"svc,omitempty"` // name is the name of the project. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // description provides a brief explanation of the project. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // applications is a list of applications associated with the project. Applications []*Application `protobuf:"bytes,5,rep,name=applications,proto3" json:"applications,omitempty"` // contains filtered or unexported fields }
Project represents a software system owned by an Organization. The Organization is identified by its unique ID. The svc field represents the Source Version Control associated with the project. The name field is the name of the project. The description field provides a brief explanation of the project. The applications field is a list of applications associated with the project.
func (*Project) Descriptor
deprecated
func (*Project) GetApplications ¶
func (x *Project) GetApplications() []*Application
func (*Project) GetDescription ¶
func (*Project) GetOrganizationId ¶ added in v0.1.38
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProviderInformation ¶ added in v0.1.6
type ProviderInformation struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ProviderInformation) Descriptor
deprecated
added in
v0.1.6
func (*ProviderInformation) Descriptor() ([]byte, []int)
Deprecated: Use ProviderInformation.ProtoReflect.Descriptor instead.
func (*ProviderInformation) GetData ¶ added in v0.1.6
func (x *ProviderInformation) GetData() map[string]string
func (*ProviderInformation) GetName ¶ added in v0.1.6
func (x *ProviderInformation) GetName() string
func (*ProviderInformation) GetOrigin ¶ added in v0.1.6
func (x *ProviderInformation) GetOrigin() string
func (*ProviderInformation) ProtoMessage ¶ added in v0.1.6
func (*ProviderInformation) ProtoMessage()
func (*ProviderInformation) ProtoReflect ¶ added in v0.1.6
func (x *ProviderInformation) ProtoReflect() protoreflect.Message
func (*ProviderInformation) Reset ¶ added in v0.1.6
func (x *ProviderInformation) Reset()
func (*ProviderInformation) String ¶ added in v0.1.6
func (x *ProviderInformation) String() string
type RPC ¶
type RPC struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RPC) Descriptor
deprecated
func (*RPC) GetServiceName ¶ added in v0.1.35
func (*RPC) ProtoMessage ¶
func (*RPC) ProtoMessage()
func (*RPC) ProtoReflect ¶
func (x *RPC) ProtoReflect() protoreflect.Message
type RestAPI ¶
type RestAPI struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Application string `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"` Groups []*RestRouteGroup `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups,omitempty"` Openapi []byte `protobuf:"bytes,4,opt,name=openapi,proto3" json:"openapi,omitempty"` // contains filtered or unexported fields }
func (*RestAPI) Descriptor
deprecated
func (*RestAPI) GetApplication ¶ added in v0.1.18
func (*RestAPI) GetGroups ¶ added in v0.1.18
func (x *RestAPI) GetGroups() []*RestRouteGroup
func (*RestAPI) GetOpenapi ¶
func (*RestAPI) GetService ¶ added in v0.1.18
func (*RestAPI) ProtoMessage ¶
func (*RestAPI) ProtoMessage()
func (*RestAPI) ProtoReflect ¶
func (x *RestAPI) ProtoReflect() protoreflect.Message
type RestRoute ¶
type RestRoute struct { Method HTTPMethod `protobuf:"varint,1,opt,name=method,proto3,enum=base.v0.HTTPMethod" json:"method,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
RestRoute represents the data of the route itself It is usually found through a Route group
func (*RestRoute) Descriptor
deprecated
func (*RestRoute) GetMethod ¶ added in v0.1.18
func (x *RestRoute) GetMethod() HTTPMethod
func (*RestRoute) ProtoMessage ¶
func (*RestRoute) ProtoMessage()
func (*RestRoute) ProtoReflect ¶
func (x *RestRoute) ProtoReflect() protoreflect.Message
type RestRouteGroup ¶ added in v0.1.18
type RestRouteGroup struct { Routes []*RestRoute `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"` // contains filtered or unexported fields }
func (*RestRouteGroup) Descriptor
deprecated
added in
v0.1.18
func (*RestRouteGroup) Descriptor() ([]byte, []int)
Deprecated: Use RestRouteGroup.ProtoReflect.Descriptor instead.
func (*RestRouteGroup) GetRoutes ¶ added in v0.1.18
func (x *RestRouteGroup) GetRoutes() []*RestRoute
func (*RestRouteGroup) ProtoMessage ¶ added in v0.1.18
func (*RestRouteGroup) ProtoMessage()
func (*RestRouteGroup) ProtoReflect ¶ added in v0.1.18
func (x *RestRouteGroup) ProtoReflect() protoreflect.Message
func (*RestRouteGroup) Reset ¶ added in v0.1.18
func (x *RestRouteGroup) Reset()
func (*RestRouteGroup) String ¶ added in v0.1.18
func (x *RestRouteGroup) String() string
type Service ¶
type Service struct { // Name of the service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Short description of the the service Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Application to which the service belongs Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"` // Project to which the service belongs Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` // Agent that represents the service Agent *Agent `protobuf:"bytes,5,opt,name=agent,proto3" json:"agent,omitempty"` // Endpoints exposed by the service Endpoints []*Endpoint `protobuf:"bytes,6,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
Service is the fundamental "live" computing unit of a system It belongs to an application It is "hosted" by an agent It has a set of endpoints
func (*Service) Descriptor
deprecated
func (*Service) GetApplication ¶
func (*Service) GetDescription ¶
func (*Service) GetEndpoints ¶
func (*Service) GetProject ¶ added in v0.1.26
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type ServiceIdentity ¶
type ServiceIdentity struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Source version control of the service SourceVersionControl string `protobuf:"bytes,2,opt,name=source_version_control,json=sourceVersionControl,proto3" json:"source_version_control,omitempty"` Application string `protobuf:"bytes,3,opt,name=application,proto3" json:"application,omitempty"` Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
ServiceIdentity is the identity of a service It has several component depending on how we look at a software system: - Logical: corresponds to the Bounded Context of DDD - Resource: corresponds to a logical or computational group - Physical: corresponds to a physical group, where the code lives!
func (*ServiceIdentity) Descriptor
deprecated
func (*ServiceIdentity) Descriptor() ([]byte, []int)
Deprecated: Use ServiceIdentity.ProtoReflect.Descriptor instead.
func (*ServiceIdentity) GetApplication ¶
func (x *ServiceIdentity) GetApplication() string
func (*ServiceIdentity) GetLocation ¶
func (x *ServiceIdentity) GetLocation() string
func (*ServiceIdentity) GetName ¶
func (x *ServiceIdentity) GetName() string
func (*ServiceIdentity) GetNamespace ¶
func (x *ServiceIdentity) GetNamespace() string
func (*ServiceIdentity) GetProject ¶ added in v0.1.26
func (x *ServiceIdentity) GetProject() string
func (*ServiceIdentity) GetSourceVersionControl ¶ added in v0.1.39
func (x *ServiceIdentity) GetSourceVersionControl() string
func (*ServiceIdentity) ProtoMessage ¶
func (*ServiceIdentity) ProtoMessage()
func (*ServiceIdentity) ProtoReflect ¶
func (x *ServiceIdentity) ProtoReflect() protoreflect.Message
func (*ServiceIdentity) Reset ¶
func (x *ServiceIdentity) Reset()
func (*ServiceIdentity) String ¶
func (x *ServiceIdentity) 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
type Version ¶
type Version struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Version) Descriptor
deprecated
func (*Version) GetVersion ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message