runtime

package
v0.0.332 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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",
		5: "RUNTIME_CONFIG_SERVICE_INGRESS_BASE_URL",
	}
	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,
		"RUNTIME_CONFIG_SERVICE_INGRESS_BASE_URL": 5,
	}
)

Enum value maps for SetContainerField_ValueSource.

View Source
var File_schema_runtime_config_proto protoreflect.FileDescriptor
View Source
var File_schema_runtime_deployable_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use BuildVCS.ProtoReflect.Descriptor instead.

func (*BuildVCS) GetCommitTime

func (x *BuildVCS) GetCommitTime() string

func (*BuildVCS) GetRevision

func (x *BuildVCS) GetRevision() string

func (*BuildVCS) GetUncommitted

func (x *BuildVCS) GetUncommitted() bool

func (*BuildVCS) ProtoMessage

func (*BuildVCS) ProtoMessage()

func (*BuildVCS) ProtoReflect

func (x *BuildVCS) ProtoReflect() protoreflect.Message

func (*BuildVCS) Reset

func (x *BuildVCS) Reset()

func (*BuildVCS) String

func (x *BuildVCS) String() string

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) Enum

func (x ContainerKind) Enum() *ContainerKind

func (ContainerKind) EnumDescriptor deprecated

func (ContainerKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContainerKind.Descriptor instead.

func (ContainerKind) Number

func (ContainerKind) String

func (x ContainerKind) String() string

func (ContainerKind) Type

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 {
	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) 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) Enum added in v0.0.81

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 (Diagnostics_State) String added in v0.0.81

func (x Diagnostics_State) String() string

func (Diagnostics_State) Type added in v0.0.81

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"`
	ListenerConfiguration []*RuntimeConfig_ListenerConfiguration `protobuf:"bytes,4,rep,name=listener_configuration,json=listenerConfiguration,proto3" json:"listener_configuration,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) GetListenerConfiguration added in v0.0.324

func (x *RuntimeConfig) GetListenerConfiguration() []*RuntimeConfig_ListenerConfiguration

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 (*RuntimeConfig_Environment) Reset

func (x *RuntimeConfig_Environment) Reset()

func (*RuntimeConfig_Environment) String

func (x *RuntimeConfig_Environment) String() string

type RuntimeConfig_ListenerConfiguration added in v0.0.324

type RuntimeConfig_ListenerConfiguration struct {
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Protocol      string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` // grpc, or the empty string.
	ContainerPort int32  `protobuf:"varint,3,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
	// contains filtered or unexported fields
}

func (*RuntimeConfig_ListenerConfiguration) Descriptor deprecated added in v0.0.324

func (*RuntimeConfig_ListenerConfiguration) Descriptor() ([]byte, []int)

Deprecated: Use RuntimeConfig_ListenerConfiguration.ProtoReflect.Descriptor instead.

func (*RuntimeConfig_ListenerConfiguration) GetContainerPort added in v0.0.324

func (x *RuntimeConfig_ListenerConfiguration) GetContainerPort() int32

func (*RuntimeConfig_ListenerConfiguration) GetName added in v0.0.324

func (*RuntimeConfig_ListenerConfiguration) GetProtocol added in v0.0.324

func (*RuntimeConfig_ListenerConfiguration) ProtoMessage added in v0.0.324

func (*RuntimeConfig_ListenerConfiguration) ProtoMessage()

func (*RuntimeConfig_ListenerConfiguration) ProtoReflect added in v0.0.324

func (*RuntimeConfig_ListenerConfiguration) Reset added in v0.0.324

func (*RuntimeConfig_ListenerConfiguration) String added in v0.0.324

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"`
	InternalEndpoint []*Server_InternalEndpoint `protobuf:"bytes,6,rep,name=internal_endpoint,json=internalEndpoint,proto3" json:"internal_endpoint,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) Descriptor() ([]byte, []int)

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetImageRef

func (x *Server) GetImageRef() string

func (*Server) GetInternalEndpoint added in v0.0.167

func (x *Server) GetInternalEndpoint() []*Server_InternalEndpoint

func (*Server) GetModuleName

func (x *Server) GetModuleName() string

func (*Server) GetPackageName

func (x *Server) GetPackageName() string

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

type Server_Ingress added in v0.0.115

type Server_Ingress struct {
	Domain []*Server_Ingress_Domain `protobuf:"bytes,4,rep,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_Ingress) Descriptor deprecated added in v0.0.115

func (*Server_Ingress) Descriptor() ([]byte, []int)

Deprecated: Use Server_Ingress.ProtoReflect.Descriptor instead.

func (*Server_Ingress) GetDomain added in v0.0.115

func (x *Server_Ingress) GetDomain() []*Server_Ingress_Domain

func (*Server_Ingress) ProtoMessage added in v0.0.115

func (*Server_Ingress) ProtoMessage()

func (*Server_Ingress) ProtoReflect added in v0.0.115

func (x *Server_Ingress) ProtoReflect() protoreflect.Message

func (*Server_Ingress) Reset added in v0.0.115

func (x *Server_Ingress) Reset()

func (*Server_Ingress) String added in v0.0.115

func (x *Server_Ingress) String() string

type Server_Ingress_Domain added in v0.0.115

type Server_Ingress_Domain struct {

	// Includes the protocol, e.g. https://, and a port if needed.
	BaseUrl string `protobuf:"bytes,1,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_Ingress_Domain) Descriptor deprecated added in v0.0.115

func (*Server_Ingress_Domain) Descriptor() ([]byte, []int)

Deprecated: Use Server_Ingress_Domain.ProtoReflect.Descriptor instead.

func (*Server_Ingress_Domain) GetBaseUrl added in v0.0.115

func (x *Server_Ingress_Domain) GetBaseUrl() string

func (*Server_Ingress_Domain) ProtoMessage added in v0.0.115

func (*Server_Ingress_Domain) ProtoMessage()

func (*Server_Ingress_Domain) ProtoReflect added in v0.0.115

func (x *Server_Ingress_Domain) ProtoReflect() protoreflect.Message

func (*Server_Ingress_Domain) Reset added in v0.0.115

func (x *Server_Ingress_Domain) Reset()

func (*Server_Ingress_Domain) String added in v0.0.115

func (x *Server_Ingress_Domain) String() string

type Server_InternalEndpoint added in v0.0.167

type Server_InternalEndpoint struct {
	PortName      string                                  `protobuf:"bytes,1,opt,name=port_name,json=portName,proto3" json:"port_name,omitempty"`
	ContainerPort int32                                   `protobuf:"varint,2,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
	Exported      []*Server_InternalEndpoint_ExportedHttp `protobuf:"bytes,3,rep,name=exported,proto3" json:"exported,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_InternalEndpoint) Descriptor deprecated added in v0.0.167

func (*Server_InternalEndpoint) Descriptor() ([]byte, []int)

Deprecated: Use Server_InternalEndpoint.ProtoReflect.Descriptor instead.

func (*Server_InternalEndpoint) GetContainerPort added in v0.0.167

func (x *Server_InternalEndpoint) GetContainerPort() int32

func (*Server_InternalEndpoint) GetExported added in v0.0.167

func (*Server_InternalEndpoint) GetPortName added in v0.0.167

func (x *Server_InternalEndpoint) GetPortName() string

func (*Server_InternalEndpoint) ProtoMessage added in v0.0.167

func (*Server_InternalEndpoint) ProtoMessage()

func (*Server_InternalEndpoint) ProtoReflect added in v0.0.167

func (x *Server_InternalEndpoint) ProtoReflect() protoreflect.Message

func (*Server_InternalEndpoint) Reset added in v0.0.167

func (x *Server_InternalEndpoint) Reset()

func (*Server_InternalEndpoint) String added in v0.0.167

func (x *Server_InternalEndpoint) String() string

type Server_InternalEndpoint_ExportedHttp added in v0.0.167

type Server_InternalEndpoint_ExportedHttp struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_InternalEndpoint_ExportedHttp) Descriptor deprecated added in v0.0.167

func (*Server_InternalEndpoint_ExportedHttp) Descriptor() ([]byte, []int)

Deprecated: Use Server_InternalEndpoint_ExportedHttp.ProtoReflect.Descriptor instead.

func (*Server_InternalEndpoint_ExportedHttp) GetKind added in v0.0.167

func (*Server_InternalEndpoint_ExportedHttp) GetPath added in v0.0.167

func (*Server_InternalEndpoint_ExportedHttp) ProtoMessage added in v0.0.167

func (*Server_InternalEndpoint_ExportedHttp) ProtoMessage()

func (*Server_InternalEndpoint_ExportedHttp) ProtoReflect added in v0.0.167

func (*Server_InternalEndpoint_ExportedHttp) Reset added in v0.0.167

func (*Server_InternalEndpoint_ExportedHttp) String added in v0.0.167

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.
	FullyQualifiedEndpoint string ``                                                                      // E.g. fully_qualified_hostname:port.
	/* 129-byte string literal not displayed */
	Ingress *Server_Ingress `protobuf:"bytes,4,opt,name=ingress,proto3" json:"ingress,omitempty"` // Computed ingress for this service.
	// 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) GetFullyQualifiedEndpoint added in v0.0.176

func (x *Server_Service) GetFullyQualifiedEndpoint() string

func (*Server_Service) GetIngress added in v0.0.115

func (x *Server_Service) GetIngress() *Server_Ingress

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 (*SetContainerField) GetSetEnv

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 (*SetContainerField_SetValue) ProtoMessage

func (*SetContainerField_SetValue) ProtoMessage()

func (*SetContainerField_SetValue) ProtoReflect

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
	SetContainerField_RUNTIME_CONFIG_SERVICE_INGRESS_BASE_URL SetContainerField_ValueSource = 5
)

func (SetContainerField_ValueSource) Descriptor

func (SetContainerField_ValueSource) Enum

func (SetContainerField_ValueSource) EnumDescriptor deprecated

func (SetContainerField_ValueSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use SetContainerField_ValueSource.Descriptor instead.

func (SetContainerField_ValueSource) Number

func (SetContainerField_ValueSource) String

func (SetContainerField_ValueSource) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL