Documentation ¶
Index ¶
- Variables
- type BuildVCS
- func (*BuildVCS) Descriptor() ([]byte, []int)deprecated
- func (x *BuildVCS) GetCommitTime() string
- func (x *BuildVCS) GetRevision() string
- func (x *BuildVCS) GetUncommitted() bool
- func (*BuildVCS) ProtoMessage()
- func (x *BuildVCS) ProtoReflect() protoreflect.Message
- func (x *BuildVCS) Reset()
- func (x *BuildVCS) String() string
- type ContainerKind
- func (ContainerKind) Descriptor() protoreflect.EnumDescriptor
- func (x ContainerKind) Enum() *ContainerKind
- func (ContainerKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContainerKind) Number() protoreflect.EnumNumber
- func (x ContainerKind) String() string
- func (ContainerKind) Type() protoreflect.EnumType
- type ContainerReference
- func (*ContainerReference) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerReference) GetHumanReference() string
- func (x *ContainerReference) GetKind() ContainerKind
- func (x *ContainerReference) GetOpaque() *anypb.Any
- func (x *ContainerReference) GetUniqueId() string
- func (*ContainerReference) ProtoMessage()
- func (x *ContainerReference) ProtoReflect() protoreflect.Message
- func (x *ContainerReference) Reset()
- func (x *ContainerReference) String() string
- type ContainerUnitWaitStatus
- func (*ContainerUnitWaitStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerUnitWaitStatus) GetName() string
- func (x *ContainerUnitWaitStatus) GetReference() *ContainerReference
- func (x *ContainerUnitWaitStatus) GetStatus() *Diagnostics
- func (*ContainerUnitWaitStatus) ProtoMessage()
- func (x *ContainerUnitWaitStatus) ProtoReflect() protoreflect.Message
- func (x *ContainerUnitWaitStatus) Reset()
- func (x *ContainerUnitWaitStatus) String() string
- type ContainerWaitStatus
- func (*ContainerWaitStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerWaitStatus) GetContainers() []*ContainerUnitWaitStatus
- func (x *ContainerWaitStatus) GetInitializers() []*ContainerUnitWaitStatus
- func (x *ContainerWaitStatus) GetIsReady() bool
- func (*ContainerWaitStatus) ProtoMessage()
- func (x *ContainerWaitStatus) ProtoReflect() protoreflect.Message
- func (x *ContainerWaitStatus) Reset()
- func (x *ContainerWaitStatus) String() string
- func (cw *ContainerWaitStatus) WaitStatus() string
- type Deployable
- func (*Deployable) Descriptor() ([]byte, []int)deprecated
- func (x *Deployable) GetDeployableClass() string
- func (x *Deployable) GetId() string
- func (x *Deployable) GetName() string
- func (x *Deployable) GetPackageName() stringdeprecated
- func (x *Deployable) GetPackageRef() *schema.PackageRef
- func (d *Deployable) IsOneShot() bool
- func (*Deployable) ProtoMessage()
- func (x *Deployable) ProtoReflect() protoreflect.Message
- func (x *Deployable) Reset()
- func (x *Deployable) String() string
- type Diagnostics
- func (*Diagnostics) Descriptor() ([]byte, []int)deprecated
- func (d *Diagnostics) Failed() bool
- func (x *Diagnostics) GetCrashed() bool
- func (x *Diagnostics) GetExitCode() int32
- func (x *Diagnostics) GetIsReady() bool
- func (x *Diagnostics) GetRestartCount() int32
- func (x *Diagnostics) GetStarted() *timestamppb.Timestamp
- func (x *Diagnostics) GetState() Diagnostics_State
- func (x *Diagnostics) GetTerminatedReason() string
- func (x *Diagnostics) GetWaitingReason() string
- func (*Diagnostics) ProtoMessage()
- func (x *Diagnostics) ProtoReflect() protoreflect.Message
- func (x *Diagnostics) Reset()
- func (x *Diagnostics) String() string
- type Diagnostics_State
- func (Diagnostics_State) Descriptor() protoreflect.EnumDescriptor
- func (x Diagnostics_State) Enum() *Diagnostics_State
- func (Diagnostics_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Diagnostics_State) Number() protoreflect.EnumNumber
- func (x Diagnostics_State) String() string
- func (Diagnostics_State) Type() protoreflect.EnumType
- type RuntimeConfig
- func (*RuntimeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeConfig) GetCurrent() *Server
- func (x *RuntimeConfig) GetEnvironment() *RuntimeConfig_Environment
- func (x *RuntimeConfig) GetStackEntry() []*Server
- func (*RuntimeConfig) ProtoMessage()
- func (x *RuntimeConfig) ProtoReflect() protoreflect.Message
- func (x *RuntimeConfig) Reset()
- func (x *RuntimeConfig) String() string
- type RuntimeConfig_Environment
- func (*RuntimeConfig_Environment) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeConfig_Environment) GetEphemeral() bool
- func (x *RuntimeConfig_Environment) GetName() string
- func (x *RuntimeConfig_Environment) GetPurpose() string
- func (*RuntimeConfig_Environment) ProtoMessage()
- func (x *RuntimeConfig_Environment) ProtoReflect() protoreflect.Message
- func (x *RuntimeConfig_Environment) Reset()
- func (x *RuntimeConfig_Environment) String() string
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetImageRef() string
- func (x *Server) GetModuleName() string
- func (x *Server) GetPackageName() string
- func (x *Server) GetPort() []*Server_Port
- func (x *Server) GetService() []*Server_Service
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type Server_Port
- type Server_Service
- func (*Server_Service) Descriptor() ([]byte, []int)deprecated
- func (x *Server_Service) GetEndpoint() string
- func (x *Server_Service) GetName() string
- func (x *Server_Service) GetOwner() string
- func (*Server_Service) ProtoMessage()
- func (x *Server_Service) ProtoReflect() protoreflect.Message
- func (x *Server_Service) Reset()
- func (x *Server_Service) String() string
- type SetContainerField
- func (*SetContainerField) Descriptor() ([]byte, []int)deprecated
- func (x *SetContainerField) GetSetArg() []*SetContainerField_SetValue
- func (x *SetContainerField) GetSetEnv() []*SetContainerField_SetValue
- func (*SetContainerField) ProtoMessage()
- func (x *SetContainerField) ProtoReflect() protoreflect.Message
- func (x *SetContainerField) Reset()
- func (x *SetContainerField) String() string
- type SetContainerField_SetValue
- func (*SetContainerField_SetValue) Descriptor() ([]byte, []int)deprecated
- func (x *SetContainerField_SetValue) GetContainerName() string
- func (x *SetContainerField_SetValue) GetKey() string
- func (x *SetContainerField_SetValue) GetResourceConfigFieldSelector() *schema.ResourceConfigFieldSelector
- func (x *SetContainerField_SetValue) GetServiceRef() *schema.ServiceRef
- func (x *SetContainerField_SetValue) GetValue() SetContainerField_ValueSource
- func (*SetContainerField_SetValue) ProtoMessage()
- func (x *SetContainerField_SetValue) ProtoReflect() protoreflect.Message
- func (x *SetContainerField_SetValue) Reset()
- func (x *SetContainerField_SetValue) String() string
- type SetContainerField_ValueSource
- func (SetContainerField_ValueSource) Descriptor() protoreflect.EnumDescriptor
- func (x SetContainerField_ValueSource) Enum() *SetContainerField_ValueSource
- func (SetContainerField_ValueSource) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetContainerField_ValueSource) Number() protoreflect.EnumNumber
- func (x SetContainerField_ValueSource) String() string
- func (SetContainerField_ValueSource) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( ContainerKind_name = map[int32]string{ 0: "CONTAINER_KIND_UNSPECIFIED", 1: "PRIMARY", 2: "SUPPORT", } ContainerKind_value = map[string]int32{ "CONTAINER_KIND_UNSPECIFIED": 0, "PRIMARY": 1, "SUPPORT": 2, } )
Enum value maps for ContainerKind.
var ( Diagnostics_State_name = map[int32]string{ 0: "STATE_UNKNOWN", 1: "RUNNING", 2: "WAITING", 3: "TERMINATED", } Diagnostics_State_value = map[string]int32{ "STATE_UNKNOWN": 0, "RUNNING": 1, "WAITING": 2, "TERMINATED": 3, } )
Enum value maps for Diagnostics_State.
var ( SetContainerField_ValueSource_name = map[int32]string{ 0: "VALUE_SOURCE_UNKNOWN", 1: "RUNTIME_CONFIG", 2: "RESOURCE_CONFIG", 3: "RUNTIME_CONFIG_SERVICE_ENDPOINT", 4: "RESOURCE_CONFIG_FIELD_SELECTOR", } SetContainerField_ValueSource_value = map[string]int32{ "VALUE_SOURCE_UNKNOWN": 0, "RUNTIME_CONFIG": 1, "RESOURCE_CONFIG": 2, "RUNTIME_CONFIG_SERVICE_ENDPOINT": 3, "RESOURCE_CONFIG_FIELD_SELECTOR": 4, } )
Enum value maps for SetContainerField_ValueSource.
var File_schema_runtime_config_proto protoreflect.FileDescriptor
var File_schema_runtime_deployable_proto protoreflect.FileDescriptor
var File_schema_runtime_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BuildVCS ¶
type BuildVCS struct { Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` CommitTime string `protobuf:"bytes,2,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"` Uncommitted bool `protobuf:"varint,3,opt,name=uncommitted,proto3" json:"uncommitted,omitempty"` // contains filtered or unexported fields }
func (*BuildVCS) Descriptor
deprecated
func (*BuildVCS) GetCommitTime ¶
func (*BuildVCS) GetRevision ¶
func (*BuildVCS) GetUncommitted ¶
func (*BuildVCS) ProtoMessage ¶
func (*BuildVCS) ProtoMessage()
func (*BuildVCS) ProtoReflect ¶
func (x *BuildVCS) ProtoReflect() protoreflect.Message
type ContainerKind ¶
type ContainerKind int32
const ( ContainerKind_CONTAINER_KIND_UNSPECIFIED ContainerKind = 0 ContainerKind_PRIMARY ContainerKind = 1 ContainerKind_SUPPORT ContainerKind = 2 )
func (ContainerKind) Descriptor ¶
func (ContainerKind) Descriptor() protoreflect.EnumDescriptor
func (ContainerKind) Enum ¶
func (x ContainerKind) Enum() *ContainerKind
func (ContainerKind) EnumDescriptor
deprecated
func (ContainerKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContainerKind.Descriptor instead.
func (ContainerKind) Number ¶
func (x ContainerKind) Number() protoreflect.EnumNumber
func (ContainerKind) String ¶
func (x ContainerKind) String() string
func (ContainerKind) Type ¶
func (ContainerKind) Type() protoreflect.EnumType
type ContainerReference ¶
type ContainerReference struct { UniqueId string `protobuf:"bytes,1,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"` HumanReference string `protobuf:"bytes,2,opt,name=HumanReference,proto3" json:"HumanReference,omitempty"` Kind ContainerKind `protobuf:"varint,3,opt,name=Kind,proto3,enum=foundation.schema.runtime.ContainerKind" json:"Kind,omitempty"` Opaque *anypb.Any `protobuf:"bytes,4,opt,name=opaque,proto3" json:"opaque,omitempty"` // contains filtered or unexported fields }
func (*ContainerReference) Descriptor
deprecated
func (*ContainerReference) Descriptor() ([]byte, []int)
Deprecated: Use ContainerReference.ProtoReflect.Descriptor instead.
func (*ContainerReference) GetHumanReference ¶
func (x *ContainerReference) GetHumanReference() string
func (*ContainerReference) GetKind ¶
func (x *ContainerReference) GetKind() ContainerKind
func (*ContainerReference) GetOpaque ¶
func (x *ContainerReference) GetOpaque() *anypb.Any
func (*ContainerReference) GetUniqueId ¶
func (x *ContainerReference) GetUniqueId() string
func (*ContainerReference) ProtoMessage ¶
func (*ContainerReference) ProtoMessage()
func (*ContainerReference) ProtoReflect ¶
func (x *ContainerReference) ProtoReflect() protoreflect.Message
func (*ContainerReference) Reset ¶
func (x *ContainerReference) Reset()
func (*ContainerReference) String ¶
func (x *ContainerReference) String() string
type ContainerUnitWaitStatus ¶
type ContainerUnitWaitStatus struct { Reference *ContainerReference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Status *Diagnostics `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ContainerUnitWaitStatus) Descriptor
deprecated
func (*ContainerUnitWaitStatus) Descriptor() ([]byte, []int)
Deprecated: Use ContainerUnitWaitStatus.ProtoReflect.Descriptor instead.
func (*ContainerUnitWaitStatus) GetName ¶
func (x *ContainerUnitWaitStatus) GetName() string
func (*ContainerUnitWaitStatus) GetReference ¶
func (x *ContainerUnitWaitStatus) GetReference() *ContainerReference
func (*ContainerUnitWaitStatus) GetStatus ¶
func (x *ContainerUnitWaitStatus) GetStatus() *Diagnostics
func (*ContainerUnitWaitStatus) ProtoMessage ¶
func (*ContainerUnitWaitStatus) ProtoMessage()
func (*ContainerUnitWaitStatus) ProtoReflect ¶
func (x *ContainerUnitWaitStatus) ProtoReflect() protoreflect.Message
func (*ContainerUnitWaitStatus) Reset ¶
func (x *ContainerUnitWaitStatus) Reset()
func (*ContainerUnitWaitStatus) String ¶
func (x *ContainerUnitWaitStatus) String() string
type ContainerWaitStatus ¶
type ContainerWaitStatus struct { IsReady bool `protobuf:"varint,3,opt,name=is_ready,json=isReady,proto3" json:"is_ready,omitempty"` Containers []*ContainerUnitWaitStatus `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"` Initializers []*ContainerUnitWaitStatus `protobuf:"bytes,2,rep,name=initializers,proto3" json:"initializers,omitempty"` // contains filtered or unexported fields }
func (*ContainerWaitStatus) Descriptor
deprecated
func (*ContainerWaitStatus) Descriptor() ([]byte, []int)
Deprecated: Use ContainerWaitStatus.ProtoReflect.Descriptor instead.
func (*ContainerWaitStatus) GetContainers ¶
func (x *ContainerWaitStatus) GetContainers() []*ContainerUnitWaitStatus
func (*ContainerWaitStatus) GetInitializers ¶
func (x *ContainerWaitStatus) GetInitializers() []*ContainerUnitWaitStatus
func (*ContainerWaitStatus) GetIsReady ¶ added in v0.0.81
func (x *ContainerWaitStatus) GetIsReady() bool
func (*ContainerWaitStatus) ProtoMessage ¶
func (*ContainerWaitStatus) ProtoMessage()
func (*ContainerWaitStatus) ProtoReflect ¶
func (x *ContainerWaitStatus) ProtoReflect() protoreflect.Message
func (*ContainerWaitStatus) Reset ¶
func (x *ContainerWaitStatus) Reset()
func (*ContainerWaitStatus) String ¶
func (x *ContainerWaitStatus) String() string
func (*ContainerWaitStatus) WaitStatus ¶
func (cw *ContainerWaitStatus) WaitStatus() string
type Deployable ¶
type Deployable struct { // TODO remove when cli and orchestrator only use package_ref. // // Deprecated: Do not use. PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` PackageRef *schema.PackageRef `protobuf:"bytes,5,opt,name=package_ref,json=packageRef,proto3" json:"package_ref,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` DeployableClass string `protobuf:"bytes,4,opt,name=deployable_class,json=deployableClass,proto3" json:"deployable_class,omitempty"` // contains filtered or unexported fields }
func (*Deployable) Descriptor
deprecated
func (*Deployable) Descriptor() ([]byte, []int)
Deprecated: Use Deployable.ProtoReflect.Descriptor instead.
func (*Deployable) GetDeployableClass ¶
func (x *Deployable) GetDeployableClass() string
func (*Deployable) GetId ¶
func (x *Deployable) GetId() string
func (*Deployable) GetName ¶
func (x *Deployable) GetName() string
func (*Deployable) GetPackageName
deprecated
func (x *Deployable) GetPackageName() string
Deprecated: Do not use.
func (*Deployable) GetPackageRef ¶ added in v0.0.83
func (x *Deployable) GetPackageRef() *schema.PackageRef
func (*Deployable) IsOneShot ¶ added in v0.0.91
func (d *Deployable) IsOneShot() bool
func (*Deployable) ProtoMessage ¶
func (*Deployable) ProtoMessage()
func (*Deployable) ProtoReflect ¶
func (x *Deployable) ProtoReflect() protoreflect.Message
func (*Deployable) Reset ¶
func (x *Deployable) Reset()
func (*Deployable) String ¶
func (x *Deployable) String() string
type Diagnostics ¶
type Diagnostics struct { State Diagnostics_State `protobuf:"varint,11,opt,name=state,proto3,enum=foundation.schema.runtime.Diagnostics_State" json:"state,omitempty"` Started *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=started,proto3" json:"started,omitempty"` IsReady bool `protobuf:"varint,10,opt,name=is_ready,json=isReady,proto3" json:"is_ready,omitempty"` RestartCount int32 `protobuf:"varint,9,opt,name=restart_count,json=restartCount,proto3" json:"restart_count,omitempty"` WaitingReason string `protobuf:"bytes,4,opt,name=waiting_reason,json=waitingReason,proto3" json:"waiting_reason,omitempty"` Crashed bool `protobuf:"varint,5,opt,name=crashed,proto3" json:"crashed,omitempty"` TerminatedReason string `protobuf:"bytes,7,opt,name=terminated_reason,json=terminatedReason,proto3" json:"terminated_reason,omitempty"` ExitCode int32 `protobuf:"varint,8,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` // contains filtered or unexported fields }
func (*Diagnostics) Descriptor
deprecated
func (*Diagnostics) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostics.ProtoReflect.Descriptor instead.
func (*Diagnostics) Failed ¶
func (d *Diagnostics) Failed() bool
func (*Diagnostics) GetCrashed ¶
func (x *Diagnostics) GetCrashed() bool
func (*Diagnostics) GetExitCode ¶
func (x *Diagnostics) GetExitCode() int32
func (*Diagnostics) GetIsReady ¶ added in v0.0.81
func (x *Diagnostics) GetIsReady() bool
func (*Diagnostics) GetRestartCount ¶
func (x *Diagnostics) GetRestartCount() int32
func (*Diagnostics) GetStarted ¶
func (x *Diagnostics) GetStarted() *timestamppb.Timestamp
func (*Diagnostics) GetState ¶ added in v0.0.81
func (x *Diagnostics) GetState() Diagnostics_State
func (*Diagnostics) GetTerminatedReason ¶
func (x *Diagnostics) GetTerminatedReason() string
func (*Diagnostics) GetWaitingReason ¶
func (x *Diagnostics) GetWaitingReason() string
func (*Diagnostics) ProtoMessage ¶
func (*Diagnostics) ProtoMessage()
func (*Diagnostics) ProtoReflect ¶
func (x *Diagnostics) ProtoReflect() protoreflect.Message
func (*Diagnostics) Reset ¶
func (x *Diagnostics) Reset()
func (*Diagnostics) String ¶
func (x *Diagnostics) String() string
type Diagnostics_State ¶ added in v0.0.81
type Diagnostics_State int32
const ( Diagnostics_STATE_UNKNOWN Diagnostics_State = 0 Diagnostics_RUNNING Diagnostics_State = 1 Diagnostics_WAITING Diagnostics_State = 2 Diagnostics_TERMINATED Diagnostics_State = 3 )
func (Diagnostics_State) Descriptor ¶ added in v0.0.81
func (Diagnostics_State) Descriptor() protoreflect.EnumDescriptor
func (Diagnostics_State) Enum ¶ added in v0.0.81
func (x Diagnostics_State) Enum() *Diagnostics_State
func (Diagnostics_State) EnumDescriptor
deprecated
added in
v0.0.81
func (Diagnostics_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Diagnostics_State.Descriptor instead.
func (Diagnostics_State) Number ¶ added in v0.0.81
func (x Diagnostics_State) Number() protoreflect.EnumNumber
func (Diagnostics_State) String ¶ added in v0.0.81
func (x Diagnostics_State) String() string
func (Diagnostics_State) Type ¶ added in v0.0.81
func (Diagnostics_State) Type() protoreflect.EnumType
type RuntimeConfig ¶
type RuntimeConfig struct { Environment *RuntimeConfig_Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` Current *Server `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` // References to other servers that this server depends on. StackEntry []*Server `protobuf:"bytes,3,rep,name=stack_entry,json=stackEntry,proto3" json:"stack_entry,omitempty"` // contains filtered or unexported fields }
The runtime configuration is generated from the deployment plan. It is injected into the server at runtime. Because RuntimeConfig is serialized as JSON, the field names have great significance and should be changed with care.
func (*RuntimeConfig) Descriptor
deprecated
func (*RuntimeConfig) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeConfig.ProtoReflect.Descriptor instead.
func (*RuntimeConfig) GetCurrent ¶
func (x *RuntimeConfig) GetCurrent() *Server
func (*RuntimeConfig) GetEnvironment ¶
func (x *RuntimeConfig) GetEnvironment() *RuntimeConfig_Environment
func (*RuntimeConfig) GetStackEntry ¶
func (x *RuntimeConfig) GetStackEntry() []*Server
func (*RuntimeConfig) ProtoMessage ¶
func (*RuntimeConfig) ProtoMessage()
func (*RuntimeConfig) ProtoReflect ¶
func (x *RuntimeConfig) ProtoReflect() protoreflect.Message
func (*RuntimeConfig) Reset ¶
func (x *RuntimeConfig) Reset()
func (*RuntimeConfig) String ¶
func (x *RuntimeConfig) String() string
type RuntimeConfig_Environment ¶
type RuntimeConfig_Environment struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Empty if ephemeral is true. Purpose string `protobuf:"bytes,2,opt,name=purpose,proto3" json:"purpose,omitempty"` // Typically only set for tests. Signals that this environment is single-use and not meant to be user serviceable. Ephemeral bool `protobuf:"varint,3,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` // contains filtered or unexported fields }
func (*RuntimeConfig_Environment) Descriptor
deprecated
func (*RuntimeConfig_Environment) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeConfig_Environment.ProtoReflect.Descriptor instead.
func (*RuntimeConfig_Environment) GetEphemeral ¶
func (x *RuntimeConfig_Environment) GetEphemeral() bool
func (*RuntimeConfig_Environment) GetName ¶
func (x *RuntimeConfig_Environment) GetName() string
func (*RuntimeConfig_Environment) GetPurpose ¶
func (x *RuntimeConfig_Environment) GetPurpose() string
func (*RuntimeConfig_Environment) ProtoMessage ¶
func (*RuntimeConfig_Environment) ProtoMessage()
func (*RuntimeConfig_Environment) ProtoReflect ¶
func (x *RuntimeConfig_Environment) ProtoReflect() protoreflect.Message
func (*RuntimeConfig_Environment) Reset ¶
func (x *RuntimeConfig_Environment) Reset()
func (*RuntimeConfig_Environment) String ¶
func (x *RuntimeConfig_Environment) String() string
type Server ¶
type Server struct { PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` ModuleName string `protobuf:"bytes,2,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` Port []*Server_Port `protobuf:"bytes,3,rep,name=port,proto3" json:"port,omitempty"` Service []*Server_Service `protobuf:"bytes,4,rep,name=service,proto3" json:"service,omitempty"` ImageRef string `protobuf:"bytes,5,opt,name=image_ref,json=imageRef,proto3" json:"image_ref,omitempty"` // Only set for current. // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetImageRef ¶
func (*Server) GetModuleName ¶
func (*Server) GetPackageName ¶
func (*Server) GetPort ¶
func (x *Server) GetPort() []*Server_Port
func (*Server) GetService ¶
func (x *Server) GetService() []*Server_Service
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type Server_Port ¶
type Server_Port struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*Server_Port) Descriptor
deprecated
func (*Server_Port) Descriptor() ([]byte, []int)
Deprecated: Use Server_Port.ProtoReflect.Descriptor instead.
func (*Server_Port) GetName ¶
func (x *Server_Port) GetName() string
func (*Server_Port) GetPort ¶
func (x *Server_Port) GetPort() int32
func (*Server_Port) ProtoMessage ¶
func (*Server_Port) ProtoMessage()
func (*Server_Port) ProtoReflect ¶
func (x *Server_Port) ProtoReflect() protoreflect.Message
func (*Server_Port) Reset ¶
func (x *Server_Port) Reset()
func (*Server_Port) String ¶
func (x *Server_Port) String() string
type Server_Service ¶
type Server_Service struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // Package name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Scoped to package name. Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // E.g. hostname:port. // contains filtered or unexported fields }
func (*Server_Service) Descriptor
deprecated
func (*Server_Service) Descriptor() ([]byte, []int)
Deprecated: Use Server_Service.ProtoReflect.Descriptor instead.
func (*Server_Service) GetEndpoint ¶
func (x *Server_Service) GetEndpoint() string
func (*Server_Service) GetName ¶
func (x *Server_Service) GetName() string
func (*Server_Service) GetOwner ¶
func (x *Server_Service) GetOwner() string
func (*Server_Service) ProtoMessage ¶
func (*Server_Service) ProtoMessage()
func (*Server_Service) ProtoReflect ¶
func (x *Server_Service) ProtoReflect() protoreflect.Message
func (*Server_Service) Reset ¶
func (x *Server_Service) Reset()
func (*Server_Service) String ¶
func (x *Server_Service) String() string
type SetContainerField ¶
type SetContainerField struct { SetArg []*SetContainerField_SetValue `protobuf:"bytes,1,rep,name=set_arg,json=setArg,proto3" json:"set_arg,omitempty"` SetEnv []*SetContainerField_SetValue `protobuf:"bytes,2,rep,name=set_env,json=setEnv,proto3" json:"set_env,omitempty"` // contains filtered or unexported fields }
func (*SetContainerField) Descriptor
deprecated
func (*SetContainerField) Descriptor() ([]byte, []int)
Deprecated: Use SetContainerField.ProtoReflect.Descriptor instead.
func (*SetContainerField) GetSetArg ¶
func (x *SetContainerField) GetSetArg() []*SetContainerField_SetValue
func (*SetContainerField) GetSetEnv ¶
func (x *SetContainerField) GetSetEnv() []*SetContainerField_SetValue
func (*SetContainerField) ProtoMessage ¶
func (*SetContainerField) ProtoMessage()
func (*SetContainerField) ProtoReflect ¶
func (x *SetContainerField) ProtoReflect() protoreflect.Message
func (*SetContainerField) Reset ¶
func (x *SetContainerField) Reset()
func (*SetContainerField) String ¶
func (x *SetContainerField) String() string
type SetContainerField_SetValue ¶
type SetContainerField_SetValue struct { ContainerName string `protobuf:"bytes,1,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"` // If empty, set all containers. Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // The target argument or environment variable. Value SetContainerField_ValueSource `protobuf:"varint,3,opt,name=value,proto3,enum=foundation.schema.runtime.SetContainerField_ValueSource" json:"value,omitempty"` ServiceRef *schema.ServiceRef `protobuf:"bytes,4,opt,name=service_ref,json=serviceRef,proto3" json:"service_ref,omitempty"` // Only valid if RUNTIME_CONFIG_SERVICE_ENDPOINT is set. ResourceConfigFieldSelector *schema.ResourceConfigFieldSelector `` // Only valid if RESOURCE_CONFIG_FIELD_SELECTOR is set. /* 146-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SetContainerField_SetValue) Descriptor
deprecated
func (*SetContainerField_SetValue) Descriptor() ([]byte, []int)
Deprecated: Use SetContainerField_SetValue.ProtoReflect.Descriptor instead.
func (*SetContainerField_SetValue) GetContainerName ¶
func (x *SetContainerField_SetValue) GetContainerName() string
func (*SetContainerField_SetValue) GetKey ¶
func (x *SetContainerField_SetValue) GetKey() string
func (*SetContainerField_SetValue) GetResourceConfigFieldSelector ¶ added in v0.0.81
func (x *SetContainerField_SetValue) GetResourceConfigFieldSelector() *schema.ResourceConfigFieldSelector
func (*SetContainerField_SetValue) GetServiceRef ¶ added in v0.0.76
func (x *SetContainerField_SetValue) GetServiceRef() *schema.ServiceRef
func (*SetContainerField_SetValue) GetValue ¶
func (x *SetContainerField_SetValue) GetValue() SetContainerField_ValueSource
func (*SetContainerField_SetValue) ProtoMessage ¶
func (*SetContainerField_SetValue) ProtoMessage()
func (*SetContainerField_SetValue) ProtoReflect ¶
func (x *SetContainerField_SetValue) ProtoReflect() protoreflect.Message
func (*SetContainerField_SetValue) Reset ¶
func (x *SetContainerField_SetValue) Reset()
func (*SetContainerField_SetValue) String ¶
func (x *SetContainerField_SetValue) String() string
type SetContainerField_ValueSource ¶
type SetContainerField_ValueSource int32
const ( SetContainerField_VALUE_SOURCE_UNKNOWN SetContainerField_ValueSource = 0 SetContainerField_RUNTIME_CONFIG SetContainerField_ValueSource = 1 SetContainerField_RESOURCE_CONFIG SetContainerField_ValueSource = 2 SetContainerField_RUNTIME_CONFIG_SERVICE_ENDPOINT SetContainerField_ValueSource = 3 SetContainerField_RESOURCE_CONFIG_FIELD_SELECTOR SetContainerField_ValueSource = 4 )
func (SetContainerField_ValueSource) Descriptor ¶
func (SetContainerField_ValueSource) Descriptor() protoreflect.EnumDescriptor
func (SetContainerField_ValueSource) Enum ¶
func (x SetContainerField_ValueSource) Enum() *SetContainerField_ValueSource
func (SetContainerField_ValueSource) EnumDescriptor
deprecated
func (SetContainerField_ValueSource) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetContainerField_ValueSource.Descriptor instead.
func (SetContainerField_ValueSource) Number ¶
func (x SetContainerField_ValueSource) Number() protoreflect.EnumNumber
func (SetContainerField_ValueSource) String ¶
func (x SetContainerField_ValueSource) String() string
func (SetContainerField_ValueSource) Type ¶
func (SetContainerField_ValueSource) Type() protoreflect.EnumType