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 (x *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) GetAgent() *Agent
- func (x *Application) GetApplicationDependencies() []*ApplicationReference
- func (x *Application) GetArtifacts() []*Artifact
- func (x *Application) GetDescription() string
- func (x *Application) GetName() string
- func (x *Application) GetServiceDependencies() []*ServiceReference
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type ApplicationIdentity
- func (*ApplicationIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationIdentity) GetModule() string
- func (x *ApplicationIdentity) GetName() string
- func (x *ApplicationIdentity) GetVersion() string
- func (x *ApplicationIdentity) GetWorkspace() string
- func (*ApplicationIdentity) ProtoMessage()
- func (x *ApplicationIdentity) ProtoReflect() protoreflect.Message
- func (x *ApplicationIdentity) Reset()
- func (x *ApplicationIdentity) String() string
- type ApplicationReference
- func (*ApplicationReference) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationReference) GetModule() string
- func (x *ApplicationReference) GetName() string
- func (*ApplicationReference) ProtoMessage()
- func (x *ApplicationReference) ProtoReflect() protoreflect.Message
- func (x *ApplicationReference) Reset()
- func (x *ApplicationReference) String() string
- type Artifact
- func (*Artifact) Descriptor() ([]byte, []int)deprecated
- func (x *Artifact) GetName() string
- func (x *Artifact) GetPath() string
- func (x *Artifact) GetPlatform() string
- func (x *Artifact) GetType() string
- func (*Artifact) ProtoMessage()
- func (x *Artifact) ProtoReflect() protoreflect.Message
- func (x *Artifact) Reset()
- func (x *Artifact) String() string
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetInfos() []*ConfigurationInformation
- func (x *Configuration) GetOrigin() string
- func (x *Configuration) GetRuntimeContext() *RuntimeContext
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type ConfigurationData
- func (*ConfigurationData) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationData) GetContent() []byte
- func (x *ConfigurationData) GetKind() string
- func (x *ConfigurationData) GetSecret() bool
- func (*ConfigurationData) ProtoMessage()
- func (x *ConfigurationData) ProtoReflect() protoreflect.Message
- func (x *ConfigurationData) Reset()
- func (x *ConfigurationData) String() string
- type ConfigurationInformation
- func (*ConfigurationInformation) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationInformation) GetConfigurationValues() []*ConfigurationValue
- func (x *ConfigurationInformation) GetData() *ConfigurationData
- func (x *ConfigurationInformation) GetName() string
- func (*ConfigurationInformation) ProtoMessage()
- func (x *ConfigurationInformation) ProtoReflect() protoreflect.Message
- func (x *ConfigurationInformation) Reset()
- func (x *ConfigurationInformation) String() string
- type ConfigurationValue
- func (*ConfigurationValue) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigurationValue) GetKey() string
- func (x *ConfigurationValue) GetSecret() bool
- func (x *ConfigurationValue) GetValue() string
- func (*ConfigurationValue) ProtoMessage()
- func (x *ConfigurationValue) ProtoReflect() protoreflect.Message
- func (x *ConfigurationValue) Reset()
- func (x *ConfigurationValue) String() string
- type DNS
- func (*DNS) Descriptor() ([]byte, []int)deprecated
- func (x *DNS) GetEndpoint() string
- func (x *DNS) GetHost() string
- func (x *DNS) GetModule() string
- func (x *DNS) GetName() string
- func (x *DNS) GetPort() uint32
- func (x *DNS) GetSecured() bool
- func (x *DNS) GetService() string
- func (*DNS) ProtoMessage()
- func (x *DNS) ProtoReflect() protoreflect.Message
- func (x *DNS) Reset()
- func (x *DNS) String() string
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetApi() string
- func (x *Endpoint) GetApiDetails() *API
- func (x *Endpoint) GetDescription() string
- func (x *Endpoint) GetModule() string
- func (x *Endpoint) GetName() string
- 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) GetNamingScope() string
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- type GenericValue
- type GitConfig
- func (*GitConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GitConfig) GetBranch() string
- func (x *GitConfig) GetCommit() string
- func (x *GitConfig) GetRemote() string
- func (x *GitConfig) GetTag() string
- func (*GitConfig) ProtoMessage()
- func (x *GitConfig) ProtoReflect() protoreflect.Message
- func (x *GitConfig) Reset()
- func (x *GitConfig) String() string
- type GrpcAPI
- func (*GrpcAPI) Descriptor() ([]byte, []int)deprecated
- func (x *GrpcAPI) GetModule() string
- func (x *GrpcAPI) GetPackage() string
- func (x *GrpcAPI) GetProto() []byte
- func (x *GrpcAPI) GetRpcs() []*RPC
- func (x *GrpcAPI) GetSecured() bool
- 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 InterfaceEndpoint
- func (*InterfaceEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceEndpoint) GetEndpoint() string
- func (x *InterfaceEndpoint) GetService() string
- func (x *InterfaceEndpoint) GetVisibility() string
- func (*InterfaceEndpoint) ProtoMessage()
- func (x *InterfaceEndpoint) ProtoReflect() protoreflect.Message
- func (x *InterfaceEndpoint) Reset()
- func (x *InterfaceEndpoint) String() string
- type LanguageExport
- func (*LanguageExport) Descriptor() ([]byte, []int)deprecated
- func (x *LanguageExport) GetAgent() string
- func (x *LanguageExport) GetExports() []string
- func (x *LanguageExport) GetName() string
- func (x *LanguageExport) GetPath() string
- func (*LanguageExport) ProtoMessage()
- func (x *LanguageExport) ProtoReflect() protoreflect.Message
- func (x *LanguageExport) Reset()
- func (x *LanguageExport) String() string
- type Library
- func (*Library) Descriptor() ([]byte, []int)deprecated
- func (x *Library) GetDescription() string
- func (x *Library) GetGit() *GitConfig
- func (x *Library) GetLanguages() []*LanguageExport
- func (x *Library) GetLibraryDependencies() []*LibraryReference
- func (x *Library) GetName() string
- func (x *Library) GetVersion() string
- func (*Library) ProtoMessage()
- func (x *Library) ProtoReflect() protoreflect.Message
- func (x *Library) Reset()
- func (x *Library) String() string
- type LibraryDependency
- func (*LibraryDependency) Descriptor() ([]byte, []int)deprecated
- func (x *LibraryDependency) GetLanguages() []string
- func (x *LibraryDependency) GetName() string
- func (x *LibraryDependency) GetVersion() string
- func (*LibraryDependency) ProtoMessage()
- func (x *LibraryDependency) ProtoReflect() protoreflect.Message
- func (x *LibraryDependency) Reset()
- func (x *LibraryDependency) String() string
- type LibraryIdentity
- func (*LibraryIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *LibraryIdentity) GetName() string
- func (x *LibraryIdentity) GetPath() string
- func (x *LibraryIdentity) GetVersion() string
- func (x *LibraryIdentity) GetWorkspace() string
- func (*LibraryIdentity) ProtoMessage()
- func (x *LibraryIdentity) ProtoReflect() protoreflect.Message
- func (x *LibraryIdentity) Reset()
- func (x *LibraryIdentity) String() string
- type LibraryReference
- func (*LibraryReference) Descriptor() ([]byte, []int)deprecated
- func (x *LibraryReference) GetName() string
- func (x *LibraryReference) GetVersion() string
- func (*LibraryReference) ProtoMessage()
- func (x *LibraryReference) ProtoReflect() protoreflect.Message
- func (x *LibraryReference) Reset()
- func (x *LibraryReference) String() string
- type ManagedEnvironment
- type ManagedModule
- func (*ManagedModule) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedModule) GetId() string
- func (x *ManagedModule) GetModule() *Module
- func (*ManagedModule) ProtoMessage()
- func (x *ManagedModule) ProtoReflect() protoreflect.Message
- func (x *ManagedModule) Reset()
- func (x *ManagedModule) String() string
- type ManagedOrganization
- func (*ManagedOrganization) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedOrganization) GetId() string
- func (x *ManagedOrganization) GetOrganization() *Organization
- func (*ManagedOrganization) ProtoMessage()
- func (x *ManagedOrganization) ProtoReflect() protoreflect.Message
- func (x *ManagedOrganization) Reset()
- func (x *ManagedOrganization) String() string
- type ManagedWorkspace
- func (*ManagedWorkspace) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedWorkspace) GetOrganizationId() string
- func (x *ManagedWorkspace) GetWorkspace() *Workspace
- func (x *ManagedWorkspace) GetWorkspaceId() string
- func (*ManagedWorkspace) ProtoMessage()
- func (x *ManagedWorkspace) ProtoReflect() protoreflect.Message
- func (x *ManagedWorkspace) Reset()
- func (x *ManagedWorkspace) String() string
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetAgent() *Agent
- func (x *Module) GetDescription() string
- func (x *Module) GetInterface() *ModuleInterface
- func (x *Module) GetName() string
- func (x *Module) GetServiceEntry() string
- func (x *Module) GetServices() []*Service
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type ModuleInterface
- func (*ModuleInterface) Descriptor() ([]byte, []int)deprecated
- func (x *ModuleInterface) GetEndpoints() []*InterfaceEndpoint
- func (*ModuleInterface) ProtoMessage()
- func (x *ModuleInterface) ProtoReflect() protoreflect.Message
- func (x *ModuleInterface) Reset()
- func (x *ModuleInterface) String() string
- type NetworkAccess
- type NetworkInstance
- func (*NetworkInstance) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInstance) GetAccess() *NetworkAccess
- func (x *NetworkInstance) GetAddress() string
- func (x *NetworkInstance) GetHost() string
- func (x *NetworkInstance) GetHostname() string
- func (x *NetworkInstance) GetPort() uint32
- func (*NetworkInstance) ProtoMessage()
- func (x *NetworkInstance) ProtoReflect() protoreflect.Message
- func (x *NetworkInstance) Reset()
- func (x *NetworkInstance) String() string
- type NetworkMapping
- func (*NetworkMapping) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkMapping) GetEndpoint() *Endpoint
- func (x *NetworkMapping) GetInstances() []*NetworkInstance
- func (*NetworkMapping) ProtoMessage()
- func (x *NetworkMapping) ProtoReflect() protoreflect.Message
- func (x *NetworkMapping) Reset()
- func (x *NetworkMapping) String() string
- type Organization
- type RPC
- type RestAPI
- func (*RestAPI) Descriptor() ([]byte, []int)deprecated
- func (x *RestAPI) GetGroups() []*RestRouteGroup
- func (x *RestAPI) GetModule() string
- func (x *RestAPI) GetOpenapi() []byte
- func (x *RestAPI) GetSecured() bool
- 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
- func (*RestRouteGroup) Descriptor() ([]byte, []int)deprecated
- func (x *RestRouteGroup) GetPath() string
- func (x *RestRouteGroup) GetRoutes() []*RestRoute
- func (*RestRouteGroup) ProtoMessage()
- func (x *RestRouteGroup) ProtoReflect() protoreflect.Message
- func (x *RestRouteGroup) Reset()
- func (x *RestRouteGroup) String() string
- type RuntimeContext
- func (*RuntimeContext) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeContext) GetKind() string
- func (x *RuntimeContext) GetName() string
- func (*RuntimeContext) ProtoMessage()
- func (x *RuntimeContext) ProtoReflect() protoreflect.Message
- func (x *RuntimeContext) Reset()
- func (x *RuntimeContext) String() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetAgent() *Agent
- func (x *Service) GetDescription() string
- func (x *Service) GetEndpoints() []*Endpoint
- func (x *Service) GetName() string
- func (x *Service) GetServiceDependencies() []*ServiceReference
- 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) GetModule() string
- func (x *ServiceIdentity) GetName() string
- func (x *ServiceIdentity) GetRelativeToWorkspace() string
- func (x *ServiceIdentity) GetVersion() string
- func (x *ServiceIdentity) GetWorkspace() string
- func (x *ServiceIdentity) GetWorkspacePath() string
- func (*ServiceIdentity) ProtoMessage()
- func (x *ServiceIdentity) ProtoReflect() protoreflect.Message
- func (x *ServiceIdentity) Reset()
- func (x *ServiceIdentity) String() string
- type ServiceReference
- func (*ServiceReference) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceReference) GetModule() string
- func (x *ServiceReference) GetName() string
- func (*ServiceReference) ProtoMessage()
- func (x *ServiceReference) ProtoReflect() protoreflect.Message
- func (x *ServiceReference) Reset()
- func (x *ServiceReference) String() string
- type SpecValue
- type Specs
- type TcpAPI
- type Version
- type Workspace
- func (*Workspace) Descriptor() ([]byte, []int)deprecated
- func (x *Workspace) GetDescription() string
- func (x *Workspace) GetLayout() string
- func (x *Workspace) GetModules() []*Module
- func (x *Workspace) GetName() string
- func (*Workspace) ProtoMessage()
- func (x *Workspace) ProtoReflect() protoreflect.Message
- func (x *Workspace) Reset()
- func (x *Workspace) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Agent_Kind_name = map[int32]string{ 0: "UNKNOWN", 1: "SERVICE", 2: "JOB", 3: "APPLICATION", 4: "MODULE", } Agent_Kind_value = map[string]int32{ "UNKNOWN": 0, "SERVICE": 1, "JOB": 2, "APPLICATION": 3, "MODULE": 4, } )
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 File_codefly_base_v0_agent_proto protoreflect.FileDescriptor
var File_codefly_base_v0_application_proto protoreflect.FileDescriptor
var File_codefly_base_v0_configuration_proto protoreflect.FileDescriptor
var File_codefly_base_v0_endpoint_proto protoreflect.FileDescriptor
var File_codefly_base_v0_environment_proto protoreflect.FileDescriptor
var File_codefly_base_v0_library_proto protoreflect.FileDescriptor
var File_codefly_base_v0_module_proto protoreflect.FileDescriptor
var File_codefly_base_v0_network_proto protoreflect.FileDescriptor
var File_codefly_base_v0_organization_proto protoreflect.FileDescriptor
var File_codefly_base_v0_scope_proto protoreflect.FileDescriptor
var File_codefly_base_v0_service_proto protoreflect.FileDescriptor
var File_codefly_base_v0_spec_proto protoreflect.FileDescriptor
var File_codefly_base_v0_workspace_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// Types that are valid to be assigned 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=codefly.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 Agent_JOB Agent_Kind = 2 Agent_APPLICATION Agent_Kind = 3 Agent_MODULE Agent_Kind = 4 )
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 ¶ added in v0.1.155
type Application struct {
// Name of the application
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Short description of the application
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Agent that represents the application
Agent *Agent `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"`
// Service dependencies
ServiceDependencies []*ServiceReference `protobuf:"bytes,4,rep,name=service_dependencies,json=serviceDependencies,proto3" json:"service_dependencies,omitempty"`
// Application dependencies
ApplicationDependencies []*ApplicationReference `` /* 130-byte string literal not displayed */
// Build artifacts
Artifacts []*Artifact `protobuf:"bytes,6,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
// contains filtered or unexported fields
}
Application is an end-user facing program (CLI, desktop app, etc.) Unlike services, applications don't expose network endpoints They produce artifacts (binaries, bundles) and can depend on services and other applications
func (*Application) Descriptor
deprecated
added in
v0.1.155
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetAgent ¶ added in v0.1.155
func (x *Application) GetAgent() *Agent
func (*Application) GetApplicationDependencies ¶ added in v0.1.155
func (x *Application) GetApplicationDependencies() []*ApplicationReference
func (*Application) GetArtifacts ¶ added in v0.1.155
func (x *Application) GetArtifacts() []*Artifact
func (*Application) GetDescription ¶ added in v0.1.155
func (x *Application) GetDescription() string
func (*Application) GetName ¶ added in v0.1.155
func (x *Application) GetName() string
func (*Application) GetServiceDependencies ¶ added in v0.1.155
func (x *Application) GetServiceDependencies() []*ServiceReference
func (*Application) ProtoMessage ¶ added in v0.1.155
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶ added in v0.1.155
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶ added in v0.1.155
func (x *Application) Reset()
func (*Application) String ¶ added in v0.1.155
func (x *Application) String() string
type ApplicationIdentity ¶ added in v0.1.155
type ApplicationIdentity struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
Workspace string `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
ApplicationIdentity is the identity of an application in a workspace
func (*ApplicationIdentity) Descriptor
deprecated
added in
v0.1.155
func (*ApplicationIdentity) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationIdentity.ProtoReflect.Descriptor instead.
func (*ApplicationIdentity) GetModule ¶ added in v0.1.155
func (x *ApplicationIdentity) GetModule() string
func (*ApplicationIdentity) GetName ¶ added in v0.1.155
func (x *ApplicationIdentity) GetName() string
func (*ApplicationIdentity) GetVersion ¶ added in v0.1.155
func (x *ApplicationIdentity) GetVersion() string
func (*ApplicationIdentity) GetWorkspace ¶ added in v0.1.155
func (x *ApplicationIdentity) GetWorkspace() string
func (*ApplicationIdentity) ProtoMessage ¶ added in v0.1.155
func (*ApplicationIdentity) ProtoMessage()
func (*ApplicationIdentity) ProtoReflect ¶ added in v0.1.155
func (x *ApplicationIdentity) ProtoReflect() protoreflect.Message
func (*ApplicationIdentity) Reset ¶ added in v0.1.155
func (x *ApplicationIdentity) Reset()
func (*ApplicationIdentity) String ¶ added in v0.1.155
func (x *ApplicationIdentity) String() string
type ApplicationReference ¶ added in v0.1.155
type ApplicationReference struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
// contains filtered or unexported fields
}
func (*ApplicationReference) Descriptor
deprecated
added in
v0.1.155
func (*ApplicationReference) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationReference.ProtoReflect.Descriptor instead.
func (*ApplicationReference) GetModule ¶ added in v0.1.155
func (x *ApplicationReference) GetModule() string
func (*ApplicationReference) GetName ¶ added in v0.1.155
func (x *ApplicationReference) GetName() string
func (*ApplicationReference) ProtoMessage ¶ added in v0.1.155
func (*ApplicationReference) ProtoMessage()
func (*ApplicationReference) ProtoReflect ¶ added in v0.1.155
func (x *ApplicationReference) ProtoReflect() protoreflect.Message
func (*ApplicationReference) Reset ¶ added in v0.1.155
func (x *ApplicationReference) Reset()
func (*ApplicationReference) String ¶ added in v0.1.155
func (x *ApplicationReference) String() string
type Artifact ¶ added in v0.1.155
type Artifact struct {
// Name of the artifact
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Type of artifact: "binary", "bundle", "package"
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Target platform: "darwin-arm64", "linux-amd64", etc.
Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
// Path to the artifact
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
Artifact represents a build output from an application
func (*Artifact) Descriptor
deprecated
added in
v0.1.155
func (*Artifact) GetPlatform ¶ added in v0.1.155
func (*Artifact) ProtoMessage ¶ added in v0.1.155
func (*Artifact) ProtoMessage()
func (*Artifact) ProtoReflect ¶ added in v0.1.155
func (x *Artifact) ProtoReflect() protoreflect.Message
type Configuration ¶
type Configuration struct {
Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
RuntimeContext *RuntimeContext `protobuf:"bytes,2,opt,name=runtime_context,json=runtimeContext,proto3" json:"runtime_context,omitempty"`
Infos []*ConfigurationInformation `protobuf:"bytes,3,rep,name=infos,proto3" json:"infos,omitempty"`
// contains filtered or unexported fields
}
Configuration can come from - workspace: origin is _workspace - service: origin is the service unique Information is a grouping of configuration values
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetInfos ¶ added in v0.1.123
func (x *Configuration) GetInfos() []*ConfigurationInformation
func (*Configuration) GetOrigin ¶
func (x *Configuration) GetOrigin() string
func (*Configuration) GetRuntimeContext ¶
func (x *Configuration) GetRuntimeContext() *RuntimeContext
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type ConfigurationData ¶ added in v0.1.127
type ConfigurationData struct {
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
Secret bool `protobuf:"varint,3,opt,name=secret,proto3" json:"secret,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigurationData) Descriptor
deprecated
added in
v0.1.127
func (*ConfigurationData) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationData.ProtoReflect.Descriptor instead.
func (*ConfigurationData) GetContent ¶ added in v0.1.127
func (x *ConfigurationData) GetContent() []byte
func (*ConfigurationData) GetKind ¶ added in v0.1.127
func (x *ConfigurationData) GetKind() string
func (*ConfigurationData) GetSecret ¶ added in v0.1.127
func (x *ConfigurationData) GetSecret() bool
func (*ConfigurationData) ProtoMessage ¶ added in v0.1.127
func (*ConfigurationData) ProtoMessage()
func (*ConfigurationData) ProtoReflect ¶ added in v0.1.127
func (x *ConfigurationData) ProtoReflect() protoreflect.Message
func (*ConfigurationData) Reset ¶ added in v0.1.127
func (x *ConfigurationData) Reset()
func (*ConfigurationData) String ¶ added in v0.1.127
func (x *ConfigurationData) String() string
type ConfigurationInformation ¶
type ConfigurationInformation struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ConfigurationValues []*ConfigurationValue `protobuf:"bytes,2,rep,name=configuration_values,json=configurationValues,proto3" json:"configuration_values,omitempty"`
Data *ConfigurationData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigurationInformation) Descriptor
deprecated
func (*ConfigurationInformation) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationInformation.ProtoReflect.Descriptor instead.
func (*ConfigurationInformation) GetConfigurationValues ¶
func (x *ConfigurationInformation) GetConfigurationValues() []*ConfigurationValue
func (*ConfigurationInformation) GetData ¶ added in v0.1.127
func (x *ConfigurationInformation) GetData() *ConfigurationData
func (*ConfigurationInformation) GetName ¶
func (x *ConfigurationInformation) GetName() string
func (*ConfigurationInformation) ProtoMessage ¶
func (*ConfigurationInformation) ProtoMessage()
func (*ConfigurationInformation) ProtoReflect ¶
func (x *ConfigurationInformation) ProtoReflect() protoreflect.Message
func (*ConfigurationInformation) Reset ¶
func (x *ConfigurationInformation) Reset()
func (*ConfigurationInformation) String ¶
func (x *ConfigurationInformation) String() string
type ConfigurationValue ¶
type ConfigurationValue struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
Secret bool `protobuf:"varint,3,opt,name=secret,proto3" json:"secret,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigurationValue) Descriptor
deprecated
func (*ConfigurationValue) Descriptor() ([]byte, []int)
Deprecated: Use ConfigurationValue.ProtoReflect.Descriptor instead.
func (*ConfigurationValue) GetKey ¶
func (x *ConfigurationValue) GetKey() string
func (*ConfigurationValue) GetSecret ¶
func (x *ConfigurationValue) GetSecret() bool
func (*ConfigurationValue) GetValue ¶
func (x *ConfigurationValue) GetValue() string
func (*ConfigurationValue) ProtoMessage ¶
func (*ConfigurationValue) ProtoMessage()
func (*ConfigurationValue) ProtoReflect ¶
func (x *ConfigurationValue) ProtoReflect() protoreflect.Message
func (*ConfigurationValue) Reset ¶
func (x *ConfigurationValue) Reset()
func (*ConfigurationValue) String ¶
func (x *ConfigurationValue) String() string
type DNS ¶
type DNS struct {
// The name of the DNS record
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The module name
Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
// The service name
Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
// The endpoint name
Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// The network instance name
Host string `protobuf:"bytes,5,opt,name=host,proto3" json:"host,omitempty"`
// The network instance port
Port uint32 `protobuf:"varint,6,opt,name=port,proto3" json:"port,omitempty"`
// Secured
Secured bool `protobuf:"varint,7,opt,name=secured,proto3" json:"secured,omitempty"`
// contains filtered or unexported fields
}
func (*DNS) Descriptor
deprecated
func (*DNS) GetEndpoint ¶
func (*DNS) GetSecured ¶
func (*DNS) GetService ¶
func (*DNS) ProtoMessage ¶
func (*DNS) ProtoMessage()
func (*DNS) ProtoReflect ¶
func (x *DNS) ProtoReflect() protoreflect.Message
type Endpoint ¶
type Endpoint struct {
// Name of the endpoint: in lots of cases, the name of the endpoint will be the API name (http, grpc, tcp, etc...)
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Service name
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
// Module name
Module string `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"`
// Description of the endpoint
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Visibility of the endpoint
Visibility string `protobuf:"bytes,5,opt,name=visibility,proto3" json:"visibility,omitempty"`
Api string `protobuf:"bytes,6,opt,name=api,proto3" json:"api,omitempty"`
ApiDetails *API `protobuf:"bytes,7,opt,name=api_details,json=apiDetails,proto3" json:"api_details,omitempty"`
// contains filtered or unexported fields
}
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetApiDetails ¶
func (*Endpoint) GetDescription ¶
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 {
// The name of the environment
// Must be unique within a workspace
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A brief description of the environment.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Naming scope -- useful for testing environment to avoid conflicts
NamingScope string `protobuf:"bytes,3,opt,name=naming_scope,json=namingScope,proto3" json:"naming_scope,omitempty"`
// 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) GetNamingScope ¶ added in v0.1.123
func (x *Environment) GetNamingScope() string
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 GenericValue ¶
type GenericValue struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Could also be a string if you prefer JSON
// contains filtered or unexported fields
}
func (*GenericValue) Descriptor
deprecated
func (*GenericValue) Descriptor() ([]byte, []int)
Deprecated: Use GenericValue.ProtoReflect.Descriptor instead.
func (*GenericValue) GetValue ¶
func (x *GenericValue) GetValue() []byte
func (*GenericValue) ProtoMessage ¶
func (*GenericValue) ProtoMessage()
func (*GenericValue) ProtoReflect ¶
func (x *GenericValue) ProtoReflect() protoreflect.Message
func (*GenericValue) Reset ¶
func (x *GenericValue) Reset()
func (*GenericValue) String ¶
func (x *GenericValue) String() string
type GitConfig ¶ added in v0.1.155
type GitConfig struct {
Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` // Git remote URL (optional for local libs)
Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` // Default branch
Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` // Pinned commit hash (optional)
Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` // Version tag (optional)
// contains filtered or unexported fields
}
GitConfig for libraries that are git repositories (or submodules)
func (*GitConfig) Descriptor
deprecated
added in
v0.1.155
func (*GitConfig) ProtoMessage ¶ added in v0.1.155
func (*GitConfig) ProtoMessage()
func (*GitConfig) ProtoReflect ¶ added in v0.1.155
func (x *GitConfig) ProtoReflect() protoreflect.Message
type GrpcAPI ¶
type GrpcAPI struct {
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,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"`
Secured bool `protobuf:"varint,6,opt,name=secured,proto3" json:"secured,omitempty"`
// contains filtered or unexported fields
}
func (*GrpcAPI) Descriptor
deprecated
func (*GrpcAPI) GetPackage ¶
func (*GrpcAPI) GetSecured ¶
func (*GrpcAPI) GetService ¶
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 {
Secured bool `protobuf:"varint,1,opt,name=secured,proto3" json:"secured,omitempty"`
// contains filtered or unexported fields
}
func (*HttpAPI) Descriptor
deprecated
func (*HttpAPI) GetSecured ¶
func (*HttpAPI) ProtoMessage ¶
func (*HttpAPI) ProtoMessage()
func (*HttpAPI) ProtoReflect ¶
func (x *HttpAPI) ProtoReflect() protoreflect.Message
type InterfaceEndpoint ¶ added in v0.1.155
type InterfaceEndpoint struct {
// The service that owns this endpoint
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// The endpoint name within the service
Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// Visibility level: "module" or "public"
Visibility string `protobuf:"bytes,3,opt,name=visibility,proto3" json:"visibility,omitempty"`
// contains filtered or unexported fields
}
InterfaceEndpoint declares a single endpoint exposed by the module.
func (*InterfaceEndpoint) Descriptor
deprecated
added in
v0.1.155
func (*InterfaceEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceEndpoint.ProtoReflect.Descriptor instead.
func (*InterfaceEndpoint) GetEndpoint ¶ added in v0.1.155
func (x *InterfaceEndpoint) GetEndpoint() string
func (*InterfaceEndpoint) GetService ¶ added in v0.1.155
func (x *InterfaceEndpoint) GetService() string
func (*InterfaceEndpoint) GetVisibility ¶ added in v0.1.155
func (x *InterfaceEndpoint) GetVisibility() string
func (*InterfaceEndpoint) ProtoMessage ¶ added in v0.1.155
func (*InterfaceEndpoint) ProtoMessage()
func (*InterfaceEndpoint) ProtoReflect ¶ added in v0.1.155
func (x *InterfaceEndpoint) ProtoReflect() protoreflect.Message
func (*InterfaceEndpoint) Reset ¶ added in v0.1.155
func (x *InterfaceEndpoint) Reset()
func (*InterfaceEndpoint) String ¶ added in v0.1.155
func (x *InterfaceEndpoint) String() string
type LanguageExport ¶ added in v0.1.155
type LanguageExport struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Language name: "go", "python", "typescript"
Agent string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"` // Library agent identifier
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // Relative path to language-specific code
Exports []string `protobuf:"bytes,4,rep,name=exports,proto3" json:"exports,omitempty"` // Package/module names exported
// contains filtered or unexported fields
}
LanguageExport defines how a library is exported for a specific language
func (*LanguageExport) Descriptor
deprecated
added in
v0.1.155
func (*LanguageExport) Descriptor() ([]byte, []int)
Deprecated: Use LanguageExport.ProtoReflect.Descriptor instead.
func (*LanguageExport) GetAgent ¶ added in v0.1.155
func (x *LanguageExport) GetAgent() string
func (*LanguageExport) GetExports ¶ added in v0.1.155
func (x *LanguageExport) GetExports() []string
func (*LanguageExport) GetName ¶ added in v0.1.155
func (x *LanguageExport) GetName() string
func (*LanguageExport) GetPath ¶ added in v0.1.155
func (x *LanguageExport) GetPath() string
func (*LanguageExport) ProtoMessage ¶ added in v0.1.155
func (*LanguageExport) ProtoMessage()
func (*LanguageExport) ProtoReflect ¶ added in v0.1.155
func (x *LanguageExport) ProtoReflect() protoreflect.Message
func (*LanguageExport) Reset ¶ added in v0.1.155
func (x *LanguageExport) Reset()
func (*LanguageExport) String ¶ added in v0.1.155
func (x *LanguageExport) String() string
type Library ¶ added in v0.1.155
type Library 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"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
Languages []*LanguageExport `protobuf:"bytes,4,rep,name=languages,proto3" json:"languages,omitempty"`
Git *GitConfig `protobuf:"bytes,5,opt,name=git,proto3" json:"git,omitempty"`
LibraryDependencies []*LibraryReference `protobuf:"bytes,6,rep,name=library_dependencies,json=libraryDependencies,proto3" json:"library_dependencies,omitempty"`
// contains filtered or unexported fields
}
Library represents internal shared code that can be used by services
func (*Library) Descriptor
deprecated
added in
v0.1.155
func (*Library) GetDescription ¶ added in v0.1.155
func (*Library) GetLanguages ¶ added in v0.1.155
func (x *Library) GetLanguages() []*LanguageExport
func (*Library) GetLibraryDependencies ¶ added in v0.1.155
func (x *Library) GetLibraryDependencies() []*LibraryReference
func (*Library) GetVersion ¶ added in v0.1.155
func (*Library) ProtoMessage ¶ added in v0.1.155
func (*Library) ProtoMessage()
func (*Library) ProtoReflect ¶ added in v0.1.155
func (x *Library) ProtoReflect() protoreflect.Message
type LibraryDependency ¶ added in v0.1.155
type LibraryDependency struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Semver constraint
Languages []string `protobuf:"bytes,3,rep,name=languages,proto3" json:"languages,omitempty"` // Which language exports are needed
// contains filtered or unexported fields
}
LibraryDependency is used when a service depends on a library
func (*LibraryDependency) Descriptor
deprecated
added in
v0.1.155
func (*LibraryDependency) Descriptor() ([]byte, []int)
Deprecated: Use LibraryDependency.ProtoReflect.Descriptor instead.
func (*LibraryDependency) GetLanguages ¶ added in v0.1.155
func (x *LibraryDependency) GetLanguages() []string
func (*LibraryDependency) GetName ¶ added in v0.1.155
func (x *LibraryDependency) GetName() string
func (*LibraryDependency) GetVersion ¶ added in v0.1.155
func (x *LibraryDependency) GetVersion() string
func (*LibraryDependency) ProtoMessage ¶ added in v0.1.155
func (*LibraryDependency) ProtoMessage()
func (*LibraryDependency) ProtoReflect ¶ added in v0.1.155
func (x *LibraryDependency) ProtoReflect() protoreflect.Message
func (*LibraryDependency) Reset ¶ added in v0.1.155
func (x *LibraryDependency) Reset()
func (*LibraryDependency) String ¶ added in v0.1.155
func (x *LibraryDependency) String() string
type LibraryIdentity ¶ added in v0.1.155
type LibraryIdentity struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Workspace string `protobuf:"bytes,2,opt,name=workspace,proto3" json:"workspace,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` // Absolute path to library
// contains filtered or unexported fields
}
LibraryIdentity uniquely identifies a library
func (*LibraryIdentity) Descriptor
deprecated
added in
v0.1.155
func (*LibraryIdentity) Descriptor() ([]byte, []int)
Deprecated: Use LibraryIdentity.ProtoReflect.Descriptor instead.
func (*LibraryIdentity) GetName ¶ added in v0.1.155
func (x *LibraryIdentity) GetName() string
func (*LibraryIdentity) GetPath ¶ added in v0.1.155
func (x *LibraryIdentity) GetPath() string
func (*LibraryIdentity) GetVersion ¶ added in v0.1.155
func (x *LibraryIdentity) GetVersion() string
func (*LibraryIdentity) GetWorkspace ¶ added in v0.1.155
func (x *LibraryIdentity) GetWorkspace() string
func (*LibraryIdentity) ProtoMessage ¶ added in v0.1.155
func (*LibraryIdentity) ProtoMessage()
func (*LibraryIdentity) ProtoReflect ¶ added in v0.1.155
func (x *LibraryIdentity) ProtoReflect() protoreflect.Message
func (*LibraryIdentity) Reset ¶ added in v0.1.155
func (x *LibraryIdentity) Reset()
func (*LibraryIdentity) String ¶ added in v0.1.155
func (x *LibraryIdentity) String() string
type LibraryReference ¶ added in v0.1.155
type LibraryReference struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Semver constraint (e.g., ">=1.0.0")
// contains filtered or unexported fields
}
LibraryReference is used for dependencies between libraries
func (*LibraryReference) Descriptor
deprecated
added in
v0.1.155
func (*LibraryReference) Descriptor() ([]byte, []int)
Deprecated: Use LibraryReference.ProtoReflect.Descriptor instead.
func (*LibraryReference) GetName ¶ added in v0.1.155
func (x *LibraryReference) GetName() string
func (*LibraryReference) GetVersion ¶ added in v0.1.155
func (x *LibraryReference) GetVersion() string
func (*LibraryReference) ProtoMessage ¶ added in v0.1.155
func (*LibraryReference) ProtoMessage()
func (*LibraryReference) ProtoReflect ¶ added in v0.1.155
func (x *LibraryReference) ProtoReflect() protoreflect.Message
func (*LibraryReference) Reset ¶ added in v0.1.155
func (x *LibraryReference) Reset()
func (*LibraryReference) String ¶ added in v0.1.155
func (x *LibraryReference) String() string
type ManagedEnvironment ¶
type ManagedEnvironment struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*ManagedEnvironment) Descriptor
deprecated
func (*ManagedEnvironment) Descriptor() ([]byte, []int)
Deprecated: Use ManagedEnvironment.ProtoReflect.Descriptor instead.
func (*ManagedEnvironment) GetId ¶
func (x *ManagedEnvironment) GetId() string
func (*ManagedEnvironment) ProtoMessage ¶
func (*ManagedEnvironment) ProtoMessage()
func (*ManagedEnvironment) ProtoReflect ¶
func (x *ManagedEnvironment) ProtoReflect() protoreflect.Message
func (*ManagedEnvironment) Reset ¶
func (x *ManagedEnvironment) Reset()
func (*ManagedEnvironment) String ¶
func (x *ManagedEnvironment) String() string
type ManagedModule ¶
type ManagedModule struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Module *Module `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
// contains filtered or unexported fields
}
func (*ManagedModule) Descriptor
deprecated
func (*ManagedModule) Descriptor() ([]byte, []int)
Deprecated: Use ManagedModule.ProtoReflect.Descriptor instead.
func (*ManagedModule) GetId ¶
func (x *ManagedModule) GetId() string
func (*ManagedModule) GetModule ¶
func (x *ManagedModule) GetModule() *Module
func (*ManagedModule) ProtoMessage ¶
func (*ManagedModule) ProtoMessage()
func (*ManagedModule) ProtoReflect ¶
func (x *ManagedModule) ProtoReflect() protoreflect.Message
func (*ManagedModule) Reset ¶
func (x *ManagedModule) Reset()
func (*ManagedModule) String ¶
func (x *ManagedModule) String() string
type ManagedOrganization ¶
type ManagedOrganization struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Organization is the organization that is managed.
Organization *Organization `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
// contains filtered or unexported fields
}
func (*ManagedOrganization) Descriptor
deprecated
func (*ManagedOrganization) Descriptor() ([]byte, []int)
Deprecated: Use ManagedOrganization.ProtoReflect.Descriptor instead.
func (*ManagedOrganization) GetId ¶
func (x *ManagedOrganization) GetId() string
func (*ManagedOrganization) GetOrganization ¶
func (x *ManagedOrganization) GetOrganization() *Organization
func (*ManagedOrganization) ProtoMessage ¶
func (*ManagedOrganization) ProtoMessage()
func (*ManagedOrganization) ProtoReflect ¶
func (x *ManagedOrganization) ProtoReflect() protoreflect.Message
func (*ManagedOrganization) Reset ¶
func (x *ManagedOrganization) Reset()
func (*ManagedOrganization) String ¶
func (x *ManagedOrganization) String() string
type ManagedWorkspace ¶
type ManagedWorkspace struct {
// organization ID is the unique identifier of the organization that owns the workspace.
// UUID truncated to 10 characters.
OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
// workspace ID is the unique identifier of the workspace.
// UUID truncated to 10 characters.
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
// Workspace itself
Workspace *Workspace `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"`
// contains filtered or unexported fields
}
func (*ManagedWorkspace) Descriptor
deprecated
func (*ManagedWorkspace) Descriptor() ([]byte, []int)
Deprecated: Use ManagedWorkspace.ProtoReflect.Descriptor instead.
func (*ManagedWorkspace) GetOrganizationId ¶
func (x *ManagedWorkspace) GetOrganizationId() string
func (*ManagedWorkspace) GetWorkspace ¶
func (x *ManagedWorkspace) GetWorkspace() *Workspace
func (*ManagedWorkspace) GetWorkspaceId ¶
func (x *ManagedWorkspace) GetWorkspaceId() string
func (*ManagedWorkspace) ProtoMessage ¶
func (*ManagedWorkspace) ProtoMessage()
func (*ManagedWorkspace) ProtoReflect ¶
func (x *ManagedWorkspace) ProtoReflect() protoreflect.Message
func (*ManagedWorkspace) Reset ¶
func (x *ManagedWorkspace) Reset()
func (*ManagedWorkspace) String ¶
func (x *ManagedWorkspace) String() string
type Module ¶
type Module struct {
// The name of the module
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// A description of the module
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Services that are provided by this module
Services []*Service `protobuf:"bytes,4,rep,name=services,proto3" json:"services,omitempty"`
// (Optional) The entry point for the module
ServiceEntry string `protobuf:"bytes,5,opt,name=service_entry,json=serviceEntry,proto3" json:"service_entry,omitempty"`
// (Optional) The formal interface contract
Interface *ModuleInterface `protobuf:"bytes,6,opt,name=interface,proto3" json:"interface,omitempty"`
// (Optional) The agent that created this module (for templated modules)
Agent *Agent `protobuf:"bytes,7,opt,name=agent,proto3" json:"agent,omitempty"`
// contains filtered or unexported fields
}
func (*Module) Descriptor
deprecated
func (*Module) GetDescription ¶
func (*Module) GetInterface ¶ added in v0.1.155
func (x *Module) GetInterface() *ModuleInterface
func (*Module) GetServiceEntry ¶
func (*Module) GetServices ¶
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
type ModuleInterface ¶ added in v0.1.155
type ModuleInterface struct {
Endpoints []*InterfaceEndpoint `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// contains filtered or unexported fields
}
ModuleInterface is the formal contract of what a module exposes.
func (*ModuleInterface) Descriptor
deprecated
added in
v0.1.155
func (*ModuleInterface) Descriptor() ([]byte, []int)
Deprecated: Use ModuleInterface.ProtoReflect.Descriptor instead.
func (*ModuleInterface) GetEndpoints ¶ added in v0.1.155
func (x *ModuleInterface) GetEndpoints() []*InterfaceEndpoint
func (*ModuleInterface) ProtoMessage ¶ added in v0.1.155
func (*ModuleInterface) ProtoMessage()
func (*ModuleInterface) ProtoReflect ¶ added in v0.1.155
func (x *ModuleInterface) ProtoReflect() protoreflect.Message
func (*ModuleInterface) Reset ¶ added in v0.1.155
func (x *ModuleInterface) Reset()
func (*ModuleInterface) String ¶ added in v0.1.155
func (x *ModuleInterface) String() string
type NetworkAccess ¶
type NetworkAccess struct {
// NetworkContext is used to define
// - "container" should be used to access system resources inside containers
// - "native scope should be used to access system resources from the host
// - "public" scope should be used when this should be accessible outside of the system
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkAccess) Descriptor
deprecated
func (*NetworkAccess) Descriptor() ([]byte, []int)
Deprecated: Use NetworkAccess.ProtoReflect.Descriptor instead.
func (*NetworkAccess) GetKind ¶
func (x *NetworkAccess) GetKind() string
func (*NetworkAccess) ProtoMessage ¶
func (*NetworkAccess) ProtoMessage()
func (*NetworkAccess) ProtoReflect ¶
func (x *NetworkAccess) ProtoReflect() protoreflect.Message
func (*NetworkAccess) Reset ¶
func (x *NetworkAccess) Reset()
func (*NetworkAccess) String ¶
func (x *NetworkAccess) String() string
type NetworkInstance ¶
type NetworkInstance struct {
// The scope of the mapping
Access *NetworkAccess `protobuf:"bytes,1,opt,name=access,proto3" json:"access,omitempty"`
// The host for the instance
Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
// The hostname for the instance
Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname,omitempty"`
// The port for the instance
Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
// The address for the instance
Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkInstance) Descriptor
deprecated
func (*NetworkInstance) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInstance.ProtoReflect.Descriptor instead.
func (*NetworkInstance) GetAccess ¶
func (x *NetworkInstance) GetAccess() *NetworkAccess
func (*NetworkInstance) GetAddress ¶
func (x *NetworkInstance) GetAddress() string
func (*NetworkInstance) GetHost ¶
func (x *NetworkInstance) GetHost() string
func (*NetworkInstance) GetHostname ¶
func (x *NetworkInstance) GetHostname() string
func (*NetworkInstance) GetPort ¶
func (x *NetworkInstance) GetPort() uint32
func (*NetworkInstance) ProtoMessage ¶
func (*NetworkInstance) ProtoMessage()
func (*NetworkInstance) ProtoReflect ¶
func (x *NetworkInstance) ProtoReflect() protoreflect.Message
func (*NetworkInstance) Reset ¶
func (x *NetworkInstance) Reset()
func (*NetworkInstance) String ¶
func (x *NetworkInstance) String() string
type NetworkMapping ¶
type NetworkMapping struct {
// The endpoint to be accessed
Endpoint *Endpoint `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// The network instances corresponding to the endpoint
Instances []*NetworkInstance `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
// contains filtered or unexported fields
}
An endpoint to be accessed needs Network Mapping.
Network Mappings come with different scopes ¶
- FromContainer: This is the mapping we want to use inside Container - FromHost: This is the mapping we want to use from the Host - Public: This is the mapping we want to use if something is publicly accessible: match to a DNS record
func (*NetworkMapping) Descriptor
deprecated
func (*NetworkMapping) Descriptor() ([]byte, []int)
Deprecated: Use NetworkMapping.ProtoReflect.Descriptor instead.
func (*NetworkMapping) GetEndpoint ¶
func (x *NetworkMapping) GetEndpoint() *Endpoint
func (*NetworkMapping) GetInstances ¶
func (x *NetworkMapping) GetInstances() []*NetworkInstance
func (*NetworkMapping) ProtoMessage ¶
func (*NetworkMapping) ProtoMessage()
func (*NetworkMapping) ProtoReflect ¶
func (x *NetworkMapping) ProtoReflect() protoreflect.Message
func (*NetworkMapping) Reset ¶
func (x *NetworkMapping) Reset()
func (*NetworkMapping) String ¶
func (x *NetworkMapping) String() string
type Organization ¶
type Organization struct {
// Name is the name of the organization.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Organization represents the owner of workspaces
func (*Organization) Descriptor
deprecated
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
func (*Organization) GetName ¶
func (x *Organization) GetName() 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 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 ¶
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"`
Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,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"`
Secured bool `protobuf:"varint,5,opt,name=secured,proto3" json:"secured,omitempty"`
// contains filtered or unexported fields
}
func (*RestAPI) Descriptor
deprecated
func (*RestAPI) GetGroups ¶
func (x *RestAPI) GetGroups() []*RestRouteGroup
func (*RestAPI) GetOpenapi ¶
func (*RestAPI) GetSecured ¶
func (*RestAPI) GetService ¶
func (*RestAPI) ProtoMessage ¶
func (*RestAPI) ProtoMessage()
func (*RestAPI) ProtoReflect ¶
func (x *RestAPI) ProtoReflect() protoreflect.Message
type RestRoute ¶
type RestRoute struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// TODO [(buf.validate.field).string.pattern = "^/([a-z0-9-/]+)*$", (buf.validate.field).string.min_len = 3, (buf.validate.field).string.max_len = 25];
Method HTTPMethod `protobuf:"varint,2,opt,name=method,proto3,enum=codefly.base.v0.HTTPMethod" json:"method,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 ¶
func (x *RestRoute) GetMethod() HTTPMethod
func (*RestRoute) ProtoMessage ¶
func (*RestRoute) ProtoMessage()
func (*RestRoute) ProtoReflect ¶
func (x *RestRoute) ProtoReflect() protoreflect.Message
type RestRouteGroup ¶
type RestRouteGroup struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// TODO [(buf.validate.field).string.pattern = "^/([a-z0-9-/]+)*$", (buf.validate.field).string.min_len = 3, (buf.validate.field).string.max_len = 25];
Routes []*RestRoute `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"`
// contains filtered or unexported fields
}
A RestRouteGroup is a collection of routes that share the same path
func (*RestRouteGroup) Descriptor
deprecated
func (*RestRouteGroup) Descriptor() ([]byte, []int)
Deprecated: Use RestRouteGroup.ProtoReflect.Descriptor instead.
func (*RestRouteGroup) GetPath ¶
func (x *RestRouteGroup) GetPath() string
func (*RestRouteGroup) GetRoutes ¶
func (x *RestRouteGroup) GetRoutes() []*RestRoute
func (*RestRouteGroup) ProtoMessage ¶
func (*RestRouteGroup) ProtoMessage()
func (*RestRouteGroup) ProtoReflect ¶
func (x *RestRouteGroup) ProtoReflect() protoreflect.Message
func (*RestRouteGroup) Reset ¶
func (x *RestRouteGroup) Reset()
func (*RestRouteGroup) String ¶
func (x *RestRouteGroup) String() string
type RuntimeContext ¶
type RuntimeContext struct {
// RuntimeContext is used to define the scope of a runtime resource
// - "free" lets the runtime decide the scope
// - "container" scope should be used inside containers
// - "native" scope should be used when running "natively" on the host
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// Name enables to "tag" the runtime context: useful for test
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*RuntimeContext) Descriptor
deprecated
func (*RuntimeContext) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeContext.ProtoReflect.Descriptor instead.
func (*RuntimeContext) GetKind ¶
func (x *RuntimeContext) GetKind() string
func (*RuntimeContext) GetName ¶
func (x *RuntimeContext) GetName() string
func (*RuntimeContext) ProtoMessage ¶
func (*RuntimeContext) ProtoMessage()
func (*RuntimeContext) ProtoReflect ¶
func (x *RuntimeContext) ProtoReflect() protoreflect.Message
func (*RuntimeContext) Reset ¶
func (x *RuntimeContext) Reset()
func (*RuntimeContext) String ¶
func (x *RuntimeContext) 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"`
// Agent that represents the service
Agent *Agent `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"`
// Endpoints exposed by the service
Endpoints []*Endpoint `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// Dependencies
ServiceDependencies []*ServiceReference `protobuf:"bytes,5,rep,name=service_dependencies,json=serviceDependencies,proto3" json:"service_dependencies,omitempty"`
// contains filtered or unexported fields
}
Service is the fundamental "live" computing unit of a system It belongs to a module It is "hosted" by an agent It has a set of endpoints
func (*Service) Descriptor
deprecated
func (*Service) GetDescription ¶
func (*Service) GetEndpoints ¶
func (*Service) GetServiceDependencies ¶
func (x *Service) GetServiceDependencies() []*ServiceReference
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"`
Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
Workspace string `protobuf:"bytes,3,opt,name=workspace,proto3" json:"workspace,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
WorkspacePath string `protobuf:"bytes,5,opt,name=workspace_path,json=workspacePath,proto3" json:"workspace_path,omitempty"`
RelativeToWorkspace string `protobuf:"bytes,6,opt,name=relative_to_workspace,json=relativeToWorkspace,proto3" json:"relative_to_workspace,omitempty"`
// contains filtered or unexported fields
}
ServiceIdentity is the identity of a service in a workspace
func (*ServiceIdentity) Descriptor
deprecated
func (*ServiceIdentity) Descriptor() ([]byte, []int)
Deprecated: Use ServiceIdentity.ProtoReflect.Descriptor instead.
func (*ServiceIdentity) GetModule ¶
func (x *ServiceIdentity) GetModule() string
func (*ServiceIdentity) GetName ¶
func (x *ServiceIdentity) GetName() string
func (*ServiceIdentity) GetRelativeToWorkspace ¶
func (x *ServiceIdentity) GetRelativeToWorkspace() string
func (*ServiceIdentity) GetVersion ¶
func (x *ServiceIdentity) GetVersion() string
func (*ServiceIdentity) GetWorkspace ¶
func (x *ServiceIdentity) GetWorkspace() string
func (*ServiceIdentity) GetWorkspacePath ¶
func (x *ServiceIdentity) GetWorkspacePath() 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 ServiceReference ¶
type ServiceReference struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Module string `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceReference) Descriptor
deprecated
func (*ServiceReference) Descriptor() ([]byte, []int)
Deprecated: Use ServiceReference.ProtoReflect.Descriptor instead.
func (*ServiceReference) GetModule ¶
func (x *ServiceReference) GetModule() string
func (*ServiceReference) GetName ¶
func (x *ServiceReference) GetName() string
func (*ServiceReference) ProtoMessage ¶
func (*ServiceReference) ProtoMessage()
func (*ServiceReference) ProtoReflect ¶
func (x *ServiceReference) ProtoReflect() protoreflect.Message
func (*ServiceReference) Reset ¶
func (x *ServiceReference) Reset()
func (*ServiceReference) String ¶
func (x *ServiceReference) String() string
type SpecValue ¶
type SpecValue struct {
Value *anypb.Any `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*SpecValue) Descriptor
deprecated
func (*SpecValue) ProtoMessage ¶
func (*SpecValue) ProtoMessage()
func (*SpecValue) ProtoReflect ¶
func (x *SpecValue) ProtoReflect() protoreflect.Message
type Specs ¶
type Specs struct {
Fields map[string]*SpecValue `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Specs) Descriptor
deprecated
func (*Specs) ProtoMessage ¶
func (*Specs) ProtoMessage()
func (*Specs) ProtoReflect ¶
func (x *Specs) ProtoReflect() protoreflect.Message
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
type Workspace ¶
type Workspace struct {
// name is the name of the workspace
// it needs to be a valid hostname, and it should not contain "--" as it will be used for DNS
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// description provides a brief explanation of the workspace.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// modules is the list of modules that are part of the workspace.
Modules []*Module `protobuf:"bytes,3,rep,name=modules,proto3" json:"modules,omitempty"`
// layout is how the workspace is structure
Layout string `protobuf:"bytes,4,opt,name=layout,proto3" json:"layout,omitempty"`
// contains filtered or unexported fields
}
A Workspace is the top-level entity in the system. Services are organized in modules, and modules are part of a workspace. A workspace can itself be its own module for simple workspaces.
func (*Workspace) Descriptor
deprecated
func (*Workspace) GetDescription ¶
func (*Workspace) GetModules ¶
func (*Workspace) ProtoMessage ¶
func (*Workspace) ProtoMessage()
func (*Workspace) ProtoReflect ¶
func (x *Workspace) ProtoReflect() protoreflect.Message