proto

package
v1.0.165 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 11 Imported by: 0

README

Gravity Protocol Buffers

This directory contains the Protocol Buffer definitions for the Gravity control and tunnel protocols.

Module Path

Generated Go code uses the import path: github.com/agentuity/go-common/gravity/proto

Files

  • gravity.proto - Main protocol definitions
  • gravity.pb.go - Generated Go message types
  • gravity_grpc.pb.go - Generated gRPC service stubs

Regenerating Code

Use the same toolchain as the original graviton project:

# Install dependencies
make install-tools

# Generate code
make gen

The generated code should be committed to version control.

Documentation

Index

Constants

View Source
const (
	GravitySessionService_EstablishSession_FullMethodName      = "/gravity.GravitySessionService/EstablishSession"
	GravitySessionService_StreamSessionPackets_FullMethodName  = "/gravity.GravitySessionService/StreamSessionPackets"
	GravitySessionService_GetDeploymentMetadata_FullMethodName = "/gravity.GravitySessionService/GetDeploymentMetadata"
	GravitySessionService_GetSandboxMetadata_FullMethodName    = "/gravity.GravitySessionService/GetSandboxMetadata"
	GravitySessionService_Identify_FullMethodName              = "/gravity.GravitySessionService/Identify"
)

Variables

View Source
var (
	NodeEventLevel_name = map[int32]string{
		0: "NODE_EVENT_LEVEL_UNSPECIFIED",
		1: "NODE_EVENT_LEVEL_INFO",
		2: "NODE_EVENT_LEVEL_WARN",
		3: "NODE_EVENT_LEVEL_ERROR",
		4: "NODE_EVENT_LEVEL_CRITICAL",
	}
	NodeEventLevel_value = map[string]int32{
		"NODE_EVENT_LEVEL_UNSPECIFIED": 0,
		"NODE_EVENT_LEVEL_INFO":        1,
		"NODE_EVENT_LEVEL_WARN":        2,
		"NODE_EVENT_LEVEL_ERROR":       3,
		"NODE_EVENT_LEVEL_CRITICAL":    4,
	}
)

Enum value maps for NodeEventLevel.

View Source
var (
	NodeEventType_name = map[int32]string{
		0: "NODE_EVENT_TYPE_UNSPECIFIED",
		1: "NODE_EVENT_TYPE_CONTAINER_START",
		2: "NODE_EVENT_TYPE_CONTAINER_STOP",
		3: "NODE_EVENT_TYPE_CONTAINER_OOM",
		4: "NODE_EVENT_TYPE_CONTAINER_HEALTH_CHANGE",
		5: "NODE_EVENT_TYPE_PRESSURE_THRESHOLD",
		6: "NODE_EVENT_TYPE_DISK_NEARLY_FULL",
		7: "NODE_EVENT_TYPE_COLLECTOR_ERROR",
		8: "NODE_EVENT_TYPE_PRESSURE_ALERT",
		9: "NODE_EVENT_TYPE_HEALTH_ALERT",
	}
	NodeEventType_value = map[string]int32{
		"NODE_EVENT_TYPE_UNSPECIFIED":             0,
		"NODE_EVENT_TYPE_CONTAINER_START":         1,
		"NODE_EVENT_TYPE_CONTAINER_STOP":          2,
		"NODE_EVENT_TYPE_CONTAINER_OOM":           3,
		"NODE_EVENT_TYPE_CONTAINER_HEALTH_CHANGE": 4,
		"NODE_EVENT_TYPE_PRESSURE_THRESHOLD":      5,
		"NODE_EVENT_TYPE_DISK_NEARLY_FULL":        6,
		"NODE_EVENT_TYPE_COLLECTOR_ERROR":         7,
		"NODE_EVENT_TYPE_PRESSURE_ALERT":          8,
		"NODE_EVENT_TYPE_HEALTH_ALERT":            9,
	}
)

Enum value maps for NodeEventType.

View Source
var (
	CheckpointURLOperation_name = map[int32]string{
		0: "CHECKPOINT_URL_UPLOAD",
		1: "CHECKPOINT_URL_DOWNLOAD",
	}
	CheckpointURLOperation_value = map[string]int32{
		"CHECKPOINT_URL_UPLOAD":   0,
		"CHECKPOINT_URL_DOWNLOAD": 1,
	}
)

Enum value maps for CheckpointURLOperation.

View Source
var File_gravity_monitor_proto protoreflect.FileDescriptor
View Source
var File_gravity_session_proto protoreflect.FileDescriptor
View Source
var GravitySessionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gravity.GravitySessionService",
	HandlerType: (*GravitySessionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetDeploymentMetadata",
			Handler:    _GravitySessionService_GetDeploymentMetadata_Handler,
		},
		{
			MethodName: "GetSandboxMetadata",
			Handler:    _GravitySessionService_GetSandboxMetadata_Handler,
		},
		{
			MethodName: "Identify",
			Handler:    _GravitySessionService_Identify_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "EstablishSession",
			Handler:       _GravitySessionService_EstablishSession_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "StreamSessionPackets",
			Handler:       _GravitySessionService_StreamSessionPackets_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "gravity_session.proto",
}

GravitySessionService_ServiceDesc is the grpc.ServiceDesc for GravitySessionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterGravitySessionServiceServer added in v1.0.139

func RegisterGravitySessionServiceServer(s grpc.ServiceRegistrar, srv GravitySessionServiceServer)

Types

type AdjustMonitorInterval added in v1.0.163

type AdjustMonitorInterval struct {
	IntervalSeconds int32 `protobuf:"varint,1,opt,name=interval_seconds,json=intervalSeconds,proto3" json:"interval_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*AdjustMonitorInterval) Descriptor deprecated added in v1.0.163

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

Deprecated: Use AdjustMonitorInterval.ProtoReflect.Descriptor instead.

func (*AdjustMonitorInterval) GetIntervalSeconds added in v1.0.163

func (x *AdjustMonitorInterval) GetIntervalSeconds() int32

func (*AdjustMonitorInterval) ProtoMessage added in v1.0.163

func (*AdjustMonitorInterval) ProtoMessage()

func (*AdjustMonitorInterval) ProtoReflect added in v1.0.163

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

func (*AdjustMonitorInterval) Reset added in v1.0.163

func (x *AdjustMonitorInterval) Reset()

func (*AdjustMonitorInterval) String added in v1.0.163

func (x *AdjustMonitorInterval) String() string

type ByteStats added in v1.0.164

type ByteStats struct {
	InBytes  uint64 `protobuf:"varint,1,opt,name=in_bytes,json=inBytes,proto3" json:"in_bytes,omitempty"`
	OutBytes uint64 `protobuf:"varint,2,opt,name=out_bytes,json=outBytes,proto3" json:"out_bytes,omitempty"`
	// contains filtered or unexported fields
}

ByteStats captures inbound and outbound byte counts. Used for both cumulative lifetime totals (traffic_bytes) and per-report-interval deltas (traffic_bytes_delta).

func (*ByteStats) Descriptor deprecated added in v1.0.164

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

Deprecated: Use ByteStats.ProtoReflect.Descriptor instead.

func (*ByteStats) GetInBytes added in v1.0.164

func (x *ByteStats) GetInBytes() uint64

func (*ByteStats) GetOutBytes added in v1.0.164

func (x *ByteStats) GetOutBytes() uint64

func (*ByteStats) ProtoMessage added in v1.0.164

func (*ByteStats) ProtoMessage()

func (*ByteStats) ProtoReflect added in v1.0.164

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

func (*ByteStats) Reset added in v1.0.164

func (x *ByteStats) Reset()

func (*ByteStats) String added in v1.0.164

func (x *ByteStats) String() string

type CapacitySummary added in v1.0.163

type CapacitySummary struct {
	CpuPressure       float64 `protobuf:"fixed64,1,opt,name=cpu_pressure,json=cpuPressure,proto3" json:"cpu_pressure,omitempty"`
	MemoryPressure    float64 `protobuf:"fixed64,2,opt,name=memory_pressure,json=memoryPressure,proto3" json:"memory_pressure,omitempty"`
	DiskPressure      float64 `protobuf:"fixed64,3,opt,name=disk_pressure,json=diskPressure,proto3" json:"disk_pressure,omitempty"`
	NetworkPressure   float64 `protobuf:"fixed64,4,opt,name=network_pressure,json=networkPressure,proto3" json:"network_pressure,omitempty"`
	CompositeScore    float64 `protobuf:"fixed64,5,opt,name=composite_score,json=compositeScore,proto3" json:"composite_score,omitempty"`
	TotalContainers   int32   `protobuf:"varint,6,opt,name=total_containers,json=totalContainers,proto3" json:"total_containers,omitempty"`
	RunningContainers int32   `protobuf:"varint,7,opt,name=running_containers,json=runningContainers,proto3" json:"running_containers,omitempty"`
	// contains filtered or unexported fields
}

func (*CapacitySummary) Descriptor deprecated added in v1.0.163

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

Deprecated: Use CapacitySummary.ProtoReflect.Descriptor instead.

func (*CapacitySummary) GetCompositeScore added in v1.0.163

func (x *CapacitySummary) GetCompositeScore() float64

func (*CapacitySummary) GetCpuPressure added in v1.0.163

func (x *CapacitySummary) GetCpuPressure() float64

func (*CapacitySummary) GetDiskPressure added in v1.0.163

func (x *CapacitySummary) GetDiskPressure() float64

func (*CapacitySummary) GetMemoryPressure added in v1.0.163

func (x *CapacitySummary) GetMemoryPressure() float64

func (*CapacitySummary) GetNetworkPressure added in v1.0.163

func (x *CapacitySummary) GetNetworkPressure() float64

func (*CapacitySummary) GetRunningContainers added in v1.0.163

func (x *CapacitySummary) GetRunningContainers() int32

func (*CapacitySummary) GetTotalContainers added in v1.0.163

func (x *CapacitySummary) GetTotalContainers() int32

func (*CapacitySummary) ProtoMessage added in v1.0.163

func (*CapacitySummary) ProtoMessage()

func (*CapacitySummary) ProtoReflect added in v1.0.163

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

func (*CapacitySummary) Reset added in v1.0.163

func (x *CapacitySummary) Reset()

func (*CapacitySummary) String added in v1.0.163

func (x *CapacitySummary) String() string

type CheckpointURLOperation added in v1.0.152

type CheckpointURLOperation int32

Checkpoint URL operation type

const (
	CheckpointURLOperation_CHECKPOINT_URL_UPLOAD   CheckpointURLOperation = 0
	CheckpointURLOperation_CHECKPOINT_URL_DOWNLOAD CheckpointURLOperation = 1
)

func (CheckpointURLOperation) Descriptor added in v1.0.152

func (CheckpointURLOperation) Enum added in v1.0.152

func (CheckpointURLOperation) EnumDescriptor deprecated added in v1.0.152

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

Deprecated: Use CheckpointURLOperation.Descriptor instead.

func (CheckpointURLOperation) Number added in v1.0.152

func (CheckpointURLOperation) String added in v1.0.152

func (x CheckpointURLOperation) String() string

func (CheckpointURLOperation) Type added in v1.0.152

type CheckpointURLRequest added in v1.0.152

type CheckpointURLRequest struct {
	SandboxId     string                 `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	Operation     CheckpointURLOperation `protobuf:"varint,2,opt,name=operation,proto3,enum=gravity.CheckpointURLOperation" json:"operation,omitempty"`
	CheckpointKey string                 `protobuf:"bytes,3,opt,name=checkpoint_key,json=checkpointKey,proto3" json:"checkpoint_key,omitempty"` // For downloads: the S3 key to download. Empty for uploads (Gravity generates key).
	OrgId         string                 `protobuf:"bytes,4,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`                         // Organization ID for S3 bucket resolution
	// contains filtered or unexported fields
}

CheckpointURLRequest is sent by Hadron to Gravity to request a presigned S3 URL for checkpoint upload (suspend) or download (resume) operations. This enables centralized S3 bucket management — Hadron never needs S3 credentials.

func (*CheckpointURLRequest) Descriptor deprecated added in v1.0.152

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

Deprecated: Use CheckpointURLRequest.ProtoReflect.Descriptor instead.

func (*CheckpointURLRequest) GetCheckpointKey added in v1.0.152

func (x *CheckpointURLRequest) GetCheckpointKey() string

func (*CheckpointURLRequest) GetOperation added in v1.0.152

func (x *CheckpointURLRequest) GetOperation() CheckpointURLOperation

func (*CheckpointURLRequest) GetOrgId added in v1.0.159

func (x *CheckpointURLRequest) GetOrgId() string

func (*CheckpointURLRequest) GetSandboxId added in v1.0.152

func (x *CheckpointURLRequest) GetSandboxId() string

func (*CheckpointURLRequest) ProtoMessage added in v1.0.152

func (*CheckpointURLRequest) ProtoMessage()

func (*CheckpointURLRequest) ProtoReflect added in v1.0.152

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

func (*CheckpointURLRequest) Reset added in v1.0.152

func (x *CheckpointURLRequest) Reset()

func (*CheckpointURLRequest) String added in v1.0.152

func (x *CheckpointURLRequest) String() string

type CheckpointURLResponse added in v1.0.152

type CheckpointURLResponse struct {
	SandboxId     string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	PresignedUrl  string `protobuf:"bytes,2,opt,name=presigned_url,json=presignedUrl,proto3" json:"presigned_url,omitempty"`
	CheckpointKey string `protobuf:"bytes,3,opt,name=checkpoint_key,json=checkpointKey,proto3" json:"checkpoint_key,omitempty"`  // The S3 object key (for uploads: Gravity-generated; for downloads: echoed back)
	ExpirySeconds int64  `protobuf:"varint,4,opt,name=expiry_seconds,json=expirySeconds,proto3" json:"expiry_seconds,omitempty"` // How long the presigned URL is valid
	Success       bool   `protobuf:"varint,5,opt,name=success,proto3" json:"success,omitempty"`
	Error         string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` // Error message if success=false
	// contains filtered or unexported fields
}

CheckpointURLResponse is sent by Gravity to Hadron with the presigned S3 URL.

func (*CheckpointURLResponse) Descriptor deprecated added in v1.0.152

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

Deprecated: Use CheckpointURLResponse.ProtoReflect.Descriptor instead.

func (*CheckpointURLResponse) GetCheckpointKey added in v1.0.152

func (x *CheckpointURLResponse) GetCheckpointKey() string

func (*CheckpointURLResponse) GetError added in v1.0.152

func (x *CheckpointURLResponse) GetError() string

func (*CheckpointURLResponse) GetExpirySeconds added in v1.0.152

func (x *CheckpointURLResponse) GetExpirySeconds() int64

func (*CheckpointURLResponse) GetPresignedUrl added in v1.0.152

func (x *CheckpointURLResponse) GetPresignedUrl() string

func (*CheckpointURLResponse) GetSandboxId added in v1.0.152

func (x *CheckpointURLResponse) GetSandboxId() string

func (*CheckpointURLResponse) GetSuccess added in v1.0.152

func (x *CheckpointURLResponse) GetSuccess() bool

func (*CheckpointURLResponse) ProtoMessage added in v1.0.152

func (*CheckpointURLResponse) ProtoMessage()

func (*CheckpointURLResponse) ProtoReflect added in v1.0.152

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

func (*CheckpointURLResponse) Reset added in v1.0.152

func (x *CheckpointURLResponse) Reset()

func (*CheckpointURLResponse) String added in v1.0.152

func (x *CheckpointURLResponse) String() string

type ClientCapabilities

type ClientCapabilities struct {
	ProvisionDeployments   bool `protobuf:"varint,1,opt,name=provision_deployments,json=provisionDeployments,proto3" json:"provision_deployments,omitempty"` // Can handle provision deployment requests
	UnprovisionDeployments bool ``                                                                                                                           // Can handle unprovision deployment requests
	/* 128-byte string literal not displayed */
	DynamicProjectRouting string `` // Project ID for dynamic routing (empty = no routing)
	/* 126-byte string literal not displayed */
	DynamicHostname bool `protobuf:"varint,4,opt,name=dynamic_hostname,json=dynamicHostname,proto3" json:"dynamic_hostname,omitempty"` // Request dynamic hostname generation and routing
	// contains filtered or unexported fields
}

ClientCapabilities defines what capabilities a client supports

func (*ClientCapabilities) Descriptor deprecated

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

Deprecated: Use ClientCapabilities.ProtoReflect.Descriptor instead.

func (*ClientCapabilities) GetDynamicHostname

func (x *ClientCapabilities) GetDynamicHostname() bool

func (*ClientCapabilities) GetDynamicProjectRouting

func (x *ClientCapabilities) GetDynamicProjectRouting() string

func (*ClientCapabilities) GetProvisionDeployments

func (x *ClientCapabilities) GetProvisionDeployments() bool

func (*ClientCapabilities) GetUnprovisionDeployments

func (x *ClientCapabilities) GetUnprovisionDeployments() bool

func (*ClientCapabilities) ProtoMessage

func (*ClientCapabilities) ProtoMessage()

func (*ClientCapabilities) ProtoReflect

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

func (*ClientCapabilities) Reset

func (x *ClientCapabilities) Reset()

func (*ClientCapabilities) String

func (x *ClientCapabilities) String() string

type CloseRequest

type CloseRequest struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // Reason for closing the connection
	// contains filtered or unexported fields
}

Close request

func (*CloseRequest) Descriptor deprecated

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

Deprecated: Use CloseRequest.ProtoReflect.Descriptor instead.

func (*CloseRequest) GetReason

func (x *CloseRequest) GetReason() string

func (*CloseRequest) ProtoMessage

func (*CloseRequest) ProtoMessage()

func (*CloseRequest) ProtoReflect

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

func (*CloseRequest) Reset

func (x *CloseRequest) Reset()

func (*CloseRequest) String

func (x *CloseRequest) String() string

type CodeMetadata

type CodeMetadata struct {
	Env     []string `protobuf:"bytes,1,rep,name=env,proto3" json:"env,omitempty"`         // Environment variable names
	Secrets []string `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"` // Secret names required by the code
	// contains filtered or unexported fields
}

func (*CodeMetadata) Descriptor deprecated

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

Deprecated: Use CodeMetadata.ProtoReflect.Descriptor instead.

func (*CodeMetadata) GetEnv

func (x *CodeMetadata) GetEnv() []string

func (*CodeMetadata) GetSecrets

func (x *CodeMetadata) GetSecrets() []string

func (*CodeMetadata) ProtoMessage

func (*CodeMetadata) ProtoMessage()

func (*CodeMetadata) ProtoReflect

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

func (*CodeMetadata) Reset

func (x *CodeMetadata) Reset()

func (*CodeMetadata) String

func (x *CodeMetadata) String() string

type ConfigItem

type ConfigItem struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`     // Configuration key name
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Configuration value
	// contains filtered or unexported fields
}

func (*ConfigItem) Descriptor deprecated

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

Deprecated: Use ConfigItem.ProtoReflect.Descriptor instead.

func (*ConfigItem) GetKey

func (x *ConfigItem) GetKey() string

func (*ConfigItem) GetValue

func (x *ConfigItem) GetValue() string

func (*ConfigItem) ProtoMessage

func (*ConfigItem) ProtoMessage()

func (*ConfigItem) ProtoReflect

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

func (*ConfigItem) Reset

func (x *ConfigItem) Reset()

func (*ConfigItem) String

func (x *ConfigItem) String() string

type ConfigurationUpdate

type ConfigurationUpdate struct {
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`         // Unique identifier for tracking this update
	Config []*ConfigItem `protobuf:"bytes,2,rep,name=config,proto3" json:"config,omitempty"` // List of configuration items to set
	// contains filtered or unexported fields
}

Configuration update from server to client

func (*ConfigurationUpdate) Descriptor deprecated

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

Deprecated: Use ConfigurationUpdate.ProtoReflect.Descriptor instead.

func (*ConfigurationUpdate) GetConfig

func (x *ConfigurationUpdate) GetConfig() []*ConfigItem

func (*ConfigurationUpdate) GetId

func (x *ConfigurationUpdate) GetId() string

func (*ConfigurationUpdate) ProtoMessage

func (*ConfigurationUpdate) ProtoMessage()

func (*ConfigurationUpdate) ProtoReflect

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

func (*ConfigurationUpdate) Reset

func (x *ConfigurationUpdate) Reset()

func (*ConfigurationUpdate) String

func (x *ConfigurationUpdate) String() string

type ConfigurationUpdateResponse

type ConfigurationUpdateResponse struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`            // Identifier matching the ConfigurationUpdate
	Success bool   `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` // Whether the configuration was successful
	Error   string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`      // Error message if configuration failed
	// contains filtered or unexported fields
}

Configuration update response from client to server

func (*ConfigurationUpdateResponse) Descriptor deprecated

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

Deprecated: Use ConfigurationUpdateResponse.ProtoReflect.Descriptor instead.

func (*ConfigurationUpdateResponse) GetError

func (x *ConfigurationUpdateResponse) GetError() string

func (*ConfigurationUpdateResponse) GetId

func (*ConfigurationUpdateResponse) GetSuccess

func (x *ConfigurationUpdateResponse) GetSuccess() bool

func (*ConfigurationUpdateResponse) ProtoMessage

func (*ConfigurationUpdateResponse) ProtoMessage()

func (*ConfigurationUpdateResponse) ProtoReflect

func (*ConfigurationUpdateResponse) Reset

func (x *ConfigurationUpdateResponse) Reset()

func (*ConfigurationUpdateResponse) String

func (x *ConfigurationUpdateResponse) String() string

type ContainerMetrics added in v1.0.163

type ContainerMetrics struct {
	EntityId    string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` // deployment ID or sandbox ID — identifies what the container runs
	ContainerId string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
	Image       string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	State       string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// CPU
	CpuUsagePercent     float64 `protobuf:"fixed64,5,opt,name=cpu_usage_percent,json=cpuUsagePercent,proto3" json:"cpu_usage_percent,omitempty"`
	CpuThrottledPeriods uint64  `protobuf:"varint,6,opt,name=cpu_throttled_periods,json=cpuThrottledPeriods,proto3" json:"cpu_throttled_periods,omitempty"`
	CpuTotalPeriods     uint64  `protobuf:"varint,7,opt,name=cpu_total_periods,json=cpuTotalPeriods,proto3" json:"cpu_total_periods,omitempty"`
	CpuLimitMillicores  int32   `protobuf:"varint,8,opt,name=cpu_limit_millicores,json=cpuLimitMillicores,proto3" json:"cpu_limit_millicores,omitempty"`
	// Memory
	MemoryUsageBytes uint64 `protobuf:"varint,9,opt,name=memory_usage_bytes,json=memoryUsageBytes,proto3" json:"memory_usage_bytes,omitempty"`
	MemoryLimitBytes uint64 `protobuf:"varint,10,opt,name=memory_limit_bytes,json=memoryLimitBytes,proto3" json:"memory_limit_bytes,omitempty"`
	MemoryRssBytes   uint64 `protobuf:"varint,11,opt,name=memory_rss_bytes,json=memoryRssBytes,proto3" json:"memory_rss_bytes,omitempty"`
	MemoryCacheBytes uint64 `protobuf:"varint,12,opt,name=memory_cache_bytes,json=memoryCacheBytes,proto3" json:"memory_cache_bytes,omitempty"`
	MemorySwapBytes  uint64 `protobuf:"varint,13,opt,name=memory_swap_bytes,json=memorySwapBytes,proto3" json:"memory_swap_bytes,omitempty"`
	OomKillCount     uint32 `protobuf:"varint,14,opt,name=oom_kill_count,json=oomKillCount,proto3" json:"oom_kill_count,omitempty"`
	// Network (deltas per report interval)
	NetRxBytesDelta   uint64 `protobuf:"varint,15,opt,name=net_rx_bytes_delta,json=netRxBytesDelta,proto3" json:"net_rx_bytes_delta,omitempty"`
	NetTxBytesDelta   uint64 `protobuf:"varint,16,opt,name=net_tx_bytes_delta,json=netTxBytesDelta,proto3" json:"net_tx_bytes_delta,omitempty"`
	NetRxPacketsDelta uint64 `protobuf:"varint,17,opt,name=net_rx_packets_delta,json=netRxPacketsDelta,proto3" json:"net_rx_packets_delta,omitempty"`
	NetTxPacketsDelta uint64 `protobuf:"varint,18,opt,name=net_tx_packets_delta,json=netTxPacketsDelta,proto3" json:"net_tx_packets_delta,omitempty"`
	// Block I/O (deltas per report interval)
	BlkioReadBytesDelta  uint64 `protobuf:"varint,19,opt,name=blkio_read_bytes_delta,json=blkioReadBytesDelta,proto3" json:"blkio_read_bytes_delta,omitempty"`
	BlkioWriteBytesDelta uint64 `` /* 127-byte string literal not displayed */
	// Network (cumulative totals from container start)
	NetRxBytesTotal   uint64 `protobuf:"varint,37,opt,name=net_rx_bytes_total,json=netRxBytesTotal,proto3" json:"net_rx_bytes_total,omitempty"`
	NetTxBytesTotal   uint64 `protobuf:"varint,38,opt,name=net_tx_bytes_total,json=netTxBytesTotal,proto3" json:"net_tx_bytes_total,omitempty"`
	NetRxPacketsTotal uint64 `protobuf:"varint,39,opt,name=net_rx_packets_total,json=netRxPacketsTotal,proto3" json:"net_rx_packets_total,omitempty"`
	NetTxPacketsTotal uint64 `protobuf:"varint,40,opt,name=net_tx_packets_total,json=netTxPacketsTotal,proto3" json:"net_tx_packets_total,omitempty"`
	// Block I/O (cumulative totals from container start)
	BlkioReadBytesTotal  uint64 `protobuf:"varint,41,opt,name=blkio_read_bytes_total,json=blkioReadBytesTotal,proto3" json:"blkio_read_bytes_total,omitempty"`
	BlkioWriteBytesTotal uint64 `` /* 127-byte string literal not displayed */
	// Process
	PidCount uint32 `protobuf:"varint,21,opt,name=pid_count,json=pidCount,proto3" json:"pid_count,omitempty"`
	// Health/Identity
	Healthy          bool   `protobuf:"varint,22,opt,name=healthy,proto3" json:"healthy,omitempty"`
	InflightRequests uint32 `protobuf:"varint,23,opt,name=inflight_requests,json=inflightRequests,proto3" json:"inflight_requests,omitempty"` // point-in-time gauge: requests currently being processed
	StartedAtUs      int64  `protobuf:"varint,24,opt,name=started_at_us,json=startedAtUs,proto3" json:"started_at_us,omitempty"`
	LastUpdatedUs    int64  `protobuf:"varint,25,opt,name=last_updated_us,json=lastUpdatedUs,proto3" json:"last_updated_us,omitempty"`
	Ipv4Address      string `protobuf:"bytes,26,opt,name=ipv4_address,json=ipv4Address,proto3" json:"ipv4_address,omitempty"`
	Ipv6Address      string `protobuf:"bytes,27,opt,name=ipv6_address,json=ipv6Address,proto3" json:"ipv6_address,omitempty"`
	// Traffic / Request Stats — cumulative lifetime counters
	UptimeSeconds float64           `protobuf:"fixed64,28,opt,name=uptime_seconds,json=uptimeSeconds,proto3" json:"uptime_seconds,omitempty"` // seconds since container started (gauge)
	TotalRequests uint64            `protobuf:"varint,29,opt,name=total_requests,json=totalRequests,proto3" json:"total_requests,omitempty"`  // cumulative lifetime request count
	StatusCodes   *StatusCodeCounts `protobuf:"bytes,31,opt,name=status_codes,json=statusCodes,proto3" json:"status_codes,omitempty"`         // cumulative lifetime counts by HTTP status class
	TrafficBytes  *ByteStats        `protobuf:"bytes,33,opt,name=traffic_bytes,json=trafficBytes,proto3" json:"traffic_bytes,omitempty"`      // cumulative lifetime byte counts
	// Traffic / Request Stats — per-report-interval deltas (since last report)
	RequestsDelta     uint64            `protobuf:"varint,34,opt,name=requests_delta,json=requestsDelta,proto3" json:"requests_delta,omitempty"`              // requests completed in this report interval
	StatusCodesDelta  *StatusCodeCounts `protobuf:"bytes,35,opt,name=status_codes_delta,json=statusCodesDelta,proto3" json:"status_codes_delta,omitempty"`    // status code counts in this report interval
	TrafficBytesDelta *ByteStats        `protobuf:"bytes,36,opt,name=traffic_bytes_delta,json=trafficBytesDelta,proto3" json:"traffic_bytes_delta,omitempty"` // bytes transferred in this report interval
	// Latency distribution — computed over the current report interval.
	// Percentiles are calculated locally by the reporting node over all
	// requests completed since the previous report.
	Duration *DurationStats `protobuf:"bytes,32,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

func (*ContainerMetrics) Descriptor deprecated added in v1.0.163

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

Deprecated: Use ContainerMetrics.ProtoReflect.Descriptor instead.

func (*ContainerMetrics) GetBlkioReadBytesDelta added in v1.0.163

func (x *ContainerMetrics) GetBlkioReadBytesDelta() uint64

func (*ContainerMetrics) GetBlkioReadBytesTotal added in v1.0.165

func (x *ContainerMetrics) GetBlkioReadBytesTotal() uint64

func (*ContainerMetrics) GetBlkioWriteBytesDelta added in v1.0.163

func (x *ContainerMetrics) GetBlkioWriteBytesDelta() uint64

func (*ContainerMetrics) GetBlkioWriteBytesTotal added in v1.0.165

func (x *ContainerMetrics) GetBlkioWriteBytesTotal() uint64

func (*ContainerMetrics) GetContainerId added in v1.0.163

func (x *ContainerMetrics) GetContainerId() string

func (*ContainerMetrics) GetCpuLimitMillicores added in v1.0.163

func (x *ContainerMetrics) GetCpuLimitMillicores() int32

func (*ContainerMetrics) GetCpuThrottledPeriods added in v1.0.163

func (x *ContainerMetrics) GetCpuThrottledPeriods() uint64

func (*ContainerMetrics) GetCpuTotalPeriods added in v1.0.163

func (x *ContainerMetrics) GetCpuTotalPeriods() uint64

func (*ContainerMetrics) GetCpuUsagePercent added in v1.0.163

func (x *ContainerMetrics) GetCpuUsagePercent() float64

func (*ContainerMetrics) GetDuration added in v1.0.164

func (x *ContainerMetrics) GetDuration() *DurationStats

func (*ContainerMetrics) GetEntityId added in v1.0.163

func (x *ContainerMetrics) GetEntityId() string

func (*ContainerMetrics) GetHealthy added in v1.0.163

func (x *ContainerMetrics) GetHealthy() bool

func (*ContainerMetrics) GetImage added in v1.0.163

func (x *ContainerMetrics) GetImage() string

func (*ContainerMetrics) GetInflightRequests added in v1.0.163

func (x *ContainerMetrics) GetInflightRequests() uint32

func (*ContainerMetrics) GetIpv4Address added in v1.0.163

func (x *ContainerMetrics) GetIpv4Address() string

func (*ContainerMetrics) GetIpv6Address added in v1.0.163

func (x *ContainerMetrics) GetIpv6Address() string

func (*ContainerMetrics) GetLastUpdatedUs added in v1.0.163

func (x *ContainerMetrics) GetLastUpdatedUs() int64

func (*ContainerMetrics) GetMemoryCacheBytes added in v1.0.163

func (x *ContainerMetrics) GetMemoryCacheBytes() uint64

func (*ContainerMetrics) GetMemoryLimitBytes added in v1.0.163

func (x *ContainerMetrics) GetMemoryLimitBytes() uint64

func (*ContainerMetrics) GetMemoryRssBytes added in v1.0.163

func (x *ContainerMetrics) GetMemoryRssBytes() uint64

func (*ContainerMetrics) GetMemorySwapBytes added in v1.0.163

func (x *ContainerMetrics) GetMemorySwapBytes() uint64

func (*ContainerMetrics) GetMemoryUsageBytes added in v1.0.163

func (x *ContainerMetrics) GetMemoryUsageBytes() uint64

func (*ContainerMetrics) GetNetRxBytesDelta added in v1.0.163

func (x *ContainerMetrics) GetNetRxBytesDelta() uint64

func (*ContainerMetrics) GetNetRxBytesTotal added in v1.0.165

func (x *ContainerMetrics) GetNetRxBytesTotal() uint64

func (*ContainerMetrics) GetNetRxPacketsDelta added in v1.0.163

func (x *ContainerMetrics) GetNetRxPacketsDelta() uint64

func (*ContainerMetrics) GetNetRxPacketsTotal added in v1.0.165

func (x *ContainerMetrics) GetNetRxPacketsTotal() uint64

func (*ContainerMetrics) GetNetTxBytesDelta added in v1.0.163

func (x *ContainerMetrics) GetNetTxBytesDelta() uint64

func (*ContainerMetrics) GetNetTxBytesTotal added in v1.0.165

func (x *ContainerMetrics) GetNetTxBytesTotal() uint64

func (*ContainerMetrics) GetNetTxPacketsDelta added in v1.0.163

func (x *ContainerMetrics) GetNetTxPacketsDelta() uint64

func (*ContainerMetrics) GetNetTxPacketsTotal added in v1.0.165

func (x *ContainerMetrics) GetNetTxPacketsTotal() uint64

func (*ContainerMetrics) GetOomKillCount added in v1.0.163

func (x *ContainerMetrics) GetOomKillCount() uint32

func (*ContainerMetrics) GetPidCount added in v1.0.163

func (x *ContainerMetrics) GetPidCount() uint32

func (*ContainerMetrics) GetRequestsDelta added in v1.0.164

func (x *ContainerMetrics) GetRequestsDelta() uint64

func (*ContainerMetrics) GetStartedAtUs added in v1.0.163

func (x *ContainerMetrics) GetStartedAtUs() int64

func (*ContainerMetrics) GetState added in v1.0.163

func (x *ContainerMetrics) GetState() string

func (*ContainerMetrics) GetStatusCodes added in v1.0.164

func (x *ContainerMetrics) GetStatusCodes() *StatusCodeCounts

func (*ContainerMetrics) GetStatusCodesDelta added in v1.0.164

func (x *ContainerMetrics) GetStatusCodesDelta() *StatusCodeCounts

func (*ContainerMetrics) GetTotalRequests added in v1.0.164

func (x *ContainerMetrics) GetTotalRequests() uint64

func (*ContainerMetrics) GetTrafficBytes added in v1.0.164

func (x *ContainerMetrics) GetTrafficBytes() *ByteStats

func (*ContainerMetrics) GetTrafficBytesDelta added in v1.0.164

func (x *ContainerMetrics) GetTrafficBytesDelta() *ByteStats

func (*ContainerMetrics) GetUptimeSeconds added in v1.0.164

func (x *ContainerMetrics) GetUptimeSeconds() float64

func (*ContainerMetrics) ProtoMessage added in v1.0.163

func (*ContainerMetrics) ProtoMessage()

func (*ContainerMetrics) ProtoReflect added in v1.0.163

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

func (*ContainerMetrics) Reset added in v1.0.163

func (x *ContainerMetrics) Reset()

func (*ContainerMetrics) String added in v1.0.163

func (x *ContainerMetrics) String() string

type CpuMetrics added in v1.0.163

type CpuMetrics struct {
	UsagePercent     float64   `protobuf:"fixed64,1,opt,name=usage_percent,json=usagePercent,proto3" json:"usage_percent,omitempty"`
	CoreUsagePercent []float64 `protobuf:"fixed64,2,rep,packed,name=core_usage_percent,json=coreUsagePercent,proto3" json:"core_usage_percent,omitempty"`
	LoadAvg_1        float64   `protobuf:"fixed64,3,opt,name=load_avg_1,json=loadAvg1,proto3" json:"load_avg_1,omitempty"`
	LoadAvg_5        float64   `protobuf:"fixed64,4,opt,name=load_avg_5,json=loadAvg5,proto3" json:"load_avg_5,omitempty"`
	LoadAvg_15       float64   `protobuf:"fixed64,5,opt,name=load_avg_15,json=loadAvg15,proto3" json:"load_avg_15,omitempty"`
	CoreCount        int32     `protobuf:"varint,6,opt,name=core_count,json=coreCount,proto3" json:"core_count,omitempty"`
	// contains filtered or unexported fields
}

func (*CpuMetrics) Descriptor deprecated added in v1.0.163

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

Deprecated: Use CpuMetrics.ProtoReflect.Descriptor instead.

func (*CpuMetrics) GetCoreCount added in v1.0.163

func (x *CpuMetrics) GetCoreCount() int32

func (*CpuMetrics) GetCoreUsagePercent added in v1.0.163

func (x *CpuMetrics) GetCoreUsagePercent() []float64

func (*CpuMetrics) GetLoadAvg_1 added in v1.0.163

func (x *CpuMetrics) GetLoadAvg_1() float64

func (*CpuMetrics) GetLoadAvg_5 added in v1.0.163

func (x *CpuMetrics) GetLoadAvg_5() float64

func (*CpuMetrics) GetLoadAvg_15 added in v1.0.163

func (x *CpuMetrics) GetLoadAvg_15() float64

func (*CpuMetrics) GetUsagePercent added in v1.0.163

func (x *CpuMetrics) GetUsagePercent() float64

func (*CpuMetrics) ProtoMessage added in v1.0.163

func (*CpuMetrics) ProtoMessage()

func (*CpuMetrics) ProtoReflect added in v1.0.163

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

func (*CpuMetrics) Reset added in v1.0.163

func (x *CpuMetrics) Reset()

func (*CpuMetrics) String added in v1.0.163

func (x *CpuMetrics) String() string

type DeploymentCert

type DeploymentCert struct {
	Cert    string `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"`       // TLS certificate in PEM format
	Key     string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`         // TLS private key in PEM format
	Ca      string `protobuf:"bytes,3,opt,name=ca,proto3" json:"ca,omitempty"`           // Certificate Authority certificate
	Dnsname string `protobuf:"bytes,4,opt,name=dnsname,proto3" json:"dnsname,omitempty"` // DNS name for the certificate
	// contains filtered or unexported fields
}

func (*DeploymentCert) Descriptor deprecated

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

Deprecated: Use DeploymentCert.ProtoReflect.Descriptor instead.

func (*DeploymentCert) GetCa

func (x *DeploymentCert) GetCa() string

func (*DeploymentCert) GetCert

func (x *DeploymentCert) GetCert() string

func (*DeploymentCert) GetDnsname

func (x *DeploymentCert) GetDnsname() string

func (*DeploymentCert) GetKey

func (x *DeploymentCert) GetKey() string

func (*DeploymentCert) ProtoMessage

func (*DeploymentCert) ProtoMessage()

func (*DeploymentCert) ProtoReflect

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

func (*DeploymentCert) Reset

func (x *DeploymentCert) Reset()

func (*DeploymentCert) String

func (x *DeploymentCert) String() string

type DeploymentMetadataRequest

type DeploymentMetadataRequest struct {
	DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // Unique identifier for the deployment
	OrgId        string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`                      // Organization identifier
	// contains filtered or unexported fields
}

Deployment metadata request

func (*DeploymentMetadataRequest) Descriptor deprecated

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

Deprecated: Use DeploymentMetadataRequest.ProtoReflect.Descriptor instead.

func (*DeploymentMetadataRequest) GetDeploymentId

func (x *DeploymentMetadataRequest) GetDeploymentId() string

func (*DeploymentMetadataRequest) GetOrgId

func (x *DeploymentMetadataRequest) GetOrgId() string

func (*DeploymentMetadataRequest) ProtoMessage

func (*DeploymentMetadataRequest) ProtoMessage()

func (*DeploymentMetadataRequest) ProtoReflect

func (*DeploymentMetadataRequest) Reset

func (x *DeploymentMetadataRequest) Reset()

func (*DeploymentMetadataRequest) String

func (x *DeploymentMetadataRequest) String() string

type DeploymentMetadataResponse

type DeploymentMetadataResponse struct {
	Success        bool            `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`                                    // Whether the request was successful
	Error          string          `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`                                         // Error message if request failed
	CodeMetadata   *CodeMetadata   `protobuf:"bytes,3,opt,name=code_metadata,json=codeMetadata,proto3" json:"code_metadata,omitempty"`       // Code metadata from FetchEnv
	DeploymentCert *DeploymentCert `protobuf:"bytes,4,opt,name=deployment_cert,json=deploymentCert,proto3" json:"deployment_cert,omitempty"` // Generated deployment certificate
	OtlpToken      string          `protobuf:"bytes,5,opt,name=otlp_token,json=otlpToken,proto3" json:"otlp_token,omitempty"`                // OpenTelemetry token for metrics
	AuthToken      string          `protobuf:"bytes,6,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`                // Authentication token
	ExtraHosts     []string        `protobuf:"bytes,7,rep,name=extra_hosts,json=extraHosts,proto3" json:"extra_hosts,omitempty"`             // Extra /etc/hosts entries for the deployment
	CertBundle     string          `protobuf:"bytes,8,opt,name=cert_bundle,json=certBundle,proto3" json:"cert_bundle,omitempty"`             // PEM certificate bundle (cert, ca, key)
	// contains filtered or unexported fields
}

Deployment metadata response

func (*DeploymentMetadataResponse) Descriptor deprecated

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

Deprecated: Use DeploymentMetadataResponse.ProtoReflect.Descriptor instead.

func (*DeploymentMetadataResponse) GetAuthToken

func (x *DeploymentMetadataResponse) GetAuthToken() string

func (*DeploymentMetadataResponse) GetCertBundle added in v1.0.138

func (x *DeploymentMetadataResponse) GetCertBundle() string

func (*DeploymentMetadataResponse) GetCodeMetadata

func (x *DeploymentMetadataResponse) GetCodeMetadata() *CodeMetadata

func (*DeploymentMetadataResponse) GetDeploymentCert

func (x *DeploymentMetadataResponse) GetDeploymentCert() *DeploymentCert

func (*DeploymentMetadataResponse) GetError

func (x *DeploymentMetadataResponse) GetError() string

func (*DeploymentMetadataResponse) GetExtraHosts added in v1.0.125

func (x *DeploymentMetadataResponse) GetExtraHosts() []string

func (*DeploymentMetadataResponse) GetOtlpToken

func (x *DeploymentMetadataResponse) GetOtlpToken() string

func (*DeploymentMetadataResponse) GetSuccess

func (x *DeploymentMetadataResponse) GetSuccess() bool

func (*DeploymentMetadataResponse) ProtoMessage

func (*DeploymentMetadataResponse) ProtoMessage()

func (*DeploymentMetadataResponse) ProtoReflect

func (*DeploymentMetadataResponse) Reset

func (x *DeploymentMetadataResponse) Reset()

func (*DeploymentMetadataResponse) String

func (x *DeploymentMetadataResponse) String() string

type DiskMetrics added in v1.0.163

type DiskMetrics struct {
	MountPoint      string  `protobuf:"bytes,1,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"`
	Device          string  `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	FsType          string  `protobuf:"bytes,3,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"`
	TotalBytes      uint64  `protobuf:"varint,4,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	UsedBytes       uint64  `protobuf:"varint,5,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
	AvailableBytes  uint64  `protobuf:"varint,6,opt,name=available_bytes,json=availableBytes,proto3" json:"available_bytes,omitempty"`
	UsagePercent    float64 `protobuf:"fixed64,7,opt,name=usage_percent,json=usagePercent,proto3" json:"usage_percent,omitempty"`
	InodesTotal     uint64  `protobuf:"varint,8,opt,name=inodes_total,json=inodesTotal,proto3" json:"inodes_total,omitempty"`
	InodesUsed      uint64  `protobuf:"varint,9,opt,name=inodes_used,json=inodesUsed,proto3" json:"inodes_used,omitempty"`
	ReadBytesDelta  uint64  `protobuf:"varint,10,opt,name=read_bytes_delta,json=readBytesDelta,proto3" json:"read_bytes_delta,omitempty"`
	WriteBytesDelta uint64  `protobuf:"varint,11,opt,name=write_bytes_delta,json=writeBytesDelta,proto3" json:"write_bytes_delta,omitempty"`
	ReadOpsDelta    uint64  `protobuf:"varint,12,opt,name=read_ops_delta,json=readOpsDelta,proto3" json:"read_ops_delta,omitempty"`
	WriteOpsDelta   uint64  `protobuf:"varint,13,opt,name=write_ops_delta,json=writeOpsDelta,proto3" json:"write_ops_delta,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskMetrics) Descriptor deprecated added in v1.0.163

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

Deprecated: Use DiskMetrics.ProtoReflect.Descriptor instead.

func (*DiskMetrics) GetAvailableBytes added in v1.0.163

func (x *DiskMetrics) GetAvailableBytes() uint64

func (*DiskMetrics) GetDevice added in v1.0.163

func (x *DiskMetrics) GetDevice() string

func (*DiskMetrics) GetFsType added in v1.0.163

func (x *DiskMetrics) GetFsType() string

func (*DiskMetrics) GetInodesTotal added in v1.0.163

func (x *DiskMetrics) GetInodesTotal() uint64

func (*DiskMetrics) GetInodesUsed added in v1.0.163

func (x *DiskMetrics) GetInodesUsed() uint64

func (*DiskMetrics) GetMountPoint added in v1.0.163

func (x *DiskMetrics) GetMountPoint() string

func (*DiskMetrics) GetReadBytesDelta added in v1.0.163

func (x *DiskMetrics) GetReadBytesDelta() uint64

func (*DiskMetrics) GetReadOpsDelta added in v1.0.163

func (x *DiskMetrics) GetReadOpsDelta() uint64

func (*DiskMetrics) GetTotalBytes added in v1.0.163

func (x *DiskMetrics) GetTotalBytes() uint64

func (*DiskMetrics) GetUsagePercent added in v1.0.163

func (x *DiskMetrics) GetUsagePercent() float64

func (*DiskMetrics) GetUsedBytes added in v1.0.163

func (x *DiskMetrics) GetUsedBytes() uint64

func (*DiskMetrics) GetWriteBytesDelta added in v1.0.163

func (x *DiskMetrics) GetWriteBytesDelta() uint64

func (*DiskMetrics) GetWriteOpsDelta added in v1.0.163

func (x *DiskMetrics) GetWriteOpsDelta() uint64

func (*DiskMetrics) ProtoMessage added in v1.0.163

func (*DiskMetrics) ProtoMessage()

func (*DiskMetrics) ProtoReflect added in v1.0.163

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

func (*DiskMetrics) Reset added in v1.0.163

func (x *DiskMetrics) Reset()

func (*DiskMetrics) String added in v1.0.163

func (x *DiskMetrics) String() string

type DurationStats added in v1.0.164

type DurationStats struct {
	AvgMs float64 `protobuf:"fixed64,1,opt,name=avg_ms,json=avgMs,proto3" json:"avg_ms,omitempty"`
	MaxMs float64 `protobuf:"fixed64,2,opt,name=max_ms,json=maxMs,proto3" json:"max_ms,omitempty"`
	P50Ms float64 `protobuf:"fixed64,3,opt,name=p50_ms,json=p50Ms,proto3" json:"p50_ms,omitempty"`
	P95Ms float64 `protobuf:"fixed64,4,opt,name=p95_ms,json=p95Ms,proto3" json:"p95_ms,omitempty"`
	P99Ms float64 `protobuf:"fixed64,5,opt,name=p99_ms,json=p99Ms,proto3" json:"p99_ms,omitempty"`
	MinMs float64 `protobuf:"fixed64,6,opt,name=min_ms,json=minMs,proto3" json:"min_ms,omitempty"`
	// contains filtered or unexported fields
}

DurationStats captures request latency distribution for the current report interval. Percentiles are computed locally by the reporting node over all requests completed since the previous report.

func (*DurationStats) Descriptor deprecated added in v1.0.164

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

Deprecated: Use DurationStats.ProtoReflect.Descriptor instead.

func (*DurationStats) GetAvgMs added in v1.0.164

func (x *DurationStats) GetAvgMs() float64

func (*DurationStats) GetMaxMs added in v1.0.164

func (x *DurationStats) GetMaxMs() float64

func (*DurationStats) GetMinMs added in v1.0.164

func (x *DurationStats) GetMinMs() float64

func (*DurationStats) GetP50Ms added in v1.0.164

func (x *DurationStats) GetP50Ms() float64

func (*DurationStats) GetP95Ms added in v1.0.164

func (x *DurationStats) GetP95Ms() float64

func (*DurationStats) GetP99Ms added in v1.0.164

func (x *DurationStats) GetP99Ms() float64

func (*DurationStats) ProtoMessage added in v1.0.164

func (*DurationStats) ProtoMessage()

func (*DurationStats) ProtoReflect added in v1.0.164

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

func (*DurationStats) Reset added in v1.0.164

func (x *DurationStats) Reset()

func (*DurationStats) String added in v1.0.164

func (x *DurationStats) String() string

type EvacuateRequest added in v1.0.151

type EvacuateRequest struct {
	MachineId string             `protobuf:"bytes,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
	Reason    string             `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // "shutdown", "maintenance", "resource_pressure"
	Sandboxes []*SandboxEvacInfo `protobuf:"bytes,3,rep,name=sandboxes,proto3" json:"sandboxes,omitempty"`
	// contains filtered or unexported fields
}

EvacuateRequest is sent by Hadron to Gravity when it needs to evacuate sandboxes. Reasons include: machine shutdown, maintenance, or resource pressure.

func (*EvacuateRequest) Descriptor deprecated added in v1.0.151

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

Deprecated: Use EvacuateRequest.ProtoReflect.Descriptor instead.

func (*EvacuateRequest) GetMachineId added in v1.0.151

func (x *EvacuateRequest) GetMachineId() string

func (*EvacuateRequest) GetReason added in v1.0.151

func (x *EvacuateRequest) GetReason() string

func (*EvacuateRequest) GetSandboxes added in v1.0.151

func (x *EvacuateRequest) GetSandboxes() []*SandboxEvacInfo

func (*EvacuateRequest) ProtoMessage added in v1.0.151

func (*EvacuateRequest) ProtoMessage()

func (*EvacuateRequest) ProtoReflect added in v1.0.151

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

func (*EvacuateRequest) Reset added in v1.0.151

func (x *EvacuateRequest) Reset()

func (*EvacuateRequest) String added in v1.0.151

func (x *EvacuateRequest) String() string

type EvacuateSandboxPlan added in v1.0.151

type EvacuateSandboxPlan struct {
	SandboxId          string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	UploadUrl          string `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`                            // Presigned S3 URL for uploading checkpoint bundle
	DestinationMachine string `protobuf:"bytes,3,opt,name=destination_machine,json=destinationMachine,proto3" json:"destination_machine,omitempty"` // May be empty (Gravity decides after upload)
	// contains filtered or unexported fields
}

EvacuateSandboxPlan describes the plan for evacuating a single sandbox.

func (*EvacuateSandboxPlan) Descriptor deprecated added in v1.0.151

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

Deprecated: Use EvacuateSandboxPlan.ProtoReflect.Descriptor instead.

func (*EvacuateSandboxPlan) GetDestinationMachine added in v1.0.151

func (x *EvacuateSandboxPlan) GetDestinationMachine() string

func (*EvacuateSandboxPlan) GetSandboxId added in v1.0.151

func (x *EvacuateSandboxPlan) GetSandboxId() string

func (*EvacuateSandboxPlan) GetUploadUrl added in v1.0.151

func (x *EvacuateSandboxPlan) GetUploadUrl() string

func (*EvacuateSandboxPlan) ProtoMessage added in v1.0.151

func (*EvacuateSandboxPlan) ProtoMessage()

func (*EvacuateSandboxPlan) ProtoReflect added in v1.0.151

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

func (*EvacuateSandboxPlan) Reset added in v1.0.151

func (x *EvacuateSandboxPlan) Reset()

func (*EvacuateSandboxPlan) String added in v1.0.151

func (x *EvacuateSandboxPlan) String() string

type EvacuationPlan added in v1.0.151

type EvacuationPlan struct {
	Sandboxes []*EvacuateSandboxPlan `protobuf:"bytes,1,rep,name=sandboxes,proto3" json:"sandboxes,omitempty"`
	// contains filtered or unexported fields
}

EvacuationPlan is sent by Gravity to the source Hadron with upload URLs and destination info.

func (*EvacuationPlan) Descriptor deprecated added in v1.0.151

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

Deprecated: Use EvacuationPlan.ProtoReflect.Descriptor instead.

func (*EvacuationPlan) GetSandboxes added in v1.0.151

func (x *EvacuationPlan) GetSandboxes() []*EvacuateSandboxPlan

func (*EvacuationPlan) ProtoMessage added in v1.0.151

func (*EvacuationPlan) ProtoMessage()

func (*EvacuationPlan) ProtoReflect added in v1.0.151

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

func (*EvacuationPlan) Reset added in v1.0.151

func (x *EvacuationPlan) Reset()

func (*EvacuationPlan) String added in v1.0.151

func (x *EvacuationPlan) String() string

type ExistingDeployment

type ExistingDeployment struct {
	Id             string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                      // Unique identifier for the deployment
	Started        *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=started,proto3" json:"started,omitempty"`                            // When the deployment was started
	Ipv6Address    string                 `protobuf:"bytes,4,opt,name=ipv6_address,json=ipv6Address,proto3" json:"ipv6_address,omitempty"` // Assigned IPv6 address for the deployment
	OrgId          string                 `protobuf:"bytes,5,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Resources      *ResourceRequirements  `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"` // CPU and memory requirements
	DeploymentCert *DeploymentCert        `protobuf:"bytes,7,opt,name=deployment_cert,json=deploymentCert,proto3" json:"deployment_cert,omitempty"`
	UsedPrivateKey bool                   `protobuf:"varint,8,opt,name=used_private_key,json=usedPrivateKey,proto3" json:"used_private_key,omitempty"` // Deployment used private key
	Paused         bool                   `protobuf:"varint,9,opt,name=paused,proto3" json:"paused,omitempty"`
	PausedDuration *durationpb.Duration   `protobuf:"bytes,10,opt,name=pausedDuration,proto3" json:"pausedDuration,omitempty"`
	OnDemand       bool                   `protobuf:"varint,11,opt,name=on_demand,json=onDemand,proto3" json:"on_demand,omitempty"`
	Cert           string                 `protobuf:"bytes,12,opt,name=cert,proto3" json:"cert,omitempty"` // PEM certificate that was issued (just cert, ca + key not required)
	// contains filtered or unexported fields
}

func (*ExistingDeployment) Descriptor deprecated

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

Deprecated: Use ExistingDeployment.ProtoReflect.Descriptor instead.

func (*ExistingDeployment) GetCert added in v1.0.138

func (x *ExistingDeployment) GetCert() string

func (*ExistingDeployment) GetDeploymentCert added in v1.0.111

func (x *ExistingDeployment) GetDeploymentCert() *DeploymentCert

func (*ExistingDeployment) GetId

func (x *ExistingDeployment) GetId() string

func (*ExistingDeployment) GetIpv6Address

func (x *ExistingDeployment) GetIpv6Address() string

func (*ExistingDeployment) GetOnDemand added in v1.0.114

func (x *ExistingDeployment) GetOnDemand() bool

func (*ExistingDeployment) GetOrgId added in v1.0.111

func (x *ExistingDeployment) GetOrgId() string

func (*ExistingDeployment) GetPaused added in v1.0.111

func (x *ExistingDeployment) GetPaused() bool

func (*ExistingDeployment) GetPausedDuration added in v1.0.111

func (x *ExistingDeployment) GetPausedDuration() *durationpb.Duration

func (*ExistingDeployment) GetResources added in v1.0.111

func (x *ExistingDeployment) GetResources() *ResourceRequirements

func (*ExistingDeployment) GetStarted

func (x *ExistingDeployment) GetStarted() *timestamppb.Timestamp

func (*ExistingDeployment) GetUsedPrivateKey added in v1.0.111

func (x *ExistingDeployment) GetUsedPrivateKey() bool

func (*ExistingDeployment) ProtoMessage

func (*ExistingDeployment) ProtoMessage()

func (*ExistingDeployment) ProtoReflect

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

func (*ExistingDeployment) Reset

func (x *ExistingDeployment) Reset()

func (*ExistingDeployment) String

func (x *ExistingDeployment) String() string

type GravitySessionServiceClient added in v1.0.139

type GravitySessionServiceClient interface {
	// EstablishSession creates a bidirectional control stream.
	// Authentication is performed via mTLS using self-signed client certificates.
	// The client's certificate public key is verified against the org's registered key.
	EstablishSession(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[SessionMessage, SessionMessage], error)
	// StreamSessionPackets handles bidirectional packet data streaming.
	// Same as the legacy GravityTunnel.StreamPackets but on the new service.
	StreamSessionPackets(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[TunnelPacket, TunnelPacket], error)
	// GetDeploymentMetadata retrieves metadata for a deployment.
	GetDeploymentMetadata(ctx context.Context, in *DeploymentMetadataRequest, opts ...grpc.CallOption) (*DeploymentMetadataResponse, error)
	// GetSandboxMetadata retrieves metadata for a sandbox.
	GetSandboxMetadata(ctx context.Context, in *SandboxMetadataRequest, opts ...grpc.CallOption) (*SandboxMetadataResponse, error)
	// Identify performs a one-shot authentication to retrieve the org ID.
	// Authentication is performed via mTLS using self-signed client certificates.
	Identify(ctx context.Context, in *IdentifyRequest, opts ...grpc.CallOption) (*IdentifyResponse, error)
}

GravitySessionServiceClient is the client API for GravitySessionService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

GravitySessionService handles session establishment and tunnel management using self-signed client certificates authenticated against the org's registered public key.

This service replaces the legacy Provision + EstablishTunnel two-step flow with a single-step session establishment.

func NewGravitySessionServiceClient added in v1.0.139

func NewGravitySessionServiceClient(cc grpc.ClientConnInterface) GravitySessionServiceClient

type GravitySessionServiceServer added in v1.0.139

type GravitySessionServiceServer interface {
	// EstablishSession creates a bidirectional control stream.
	// Authentication is performed via mTLS using self-signed client certificates.
	// The client's certificate public key is verified against the org's registered key.
	EstablishSession(grpc.BidiStreamingServer[SessionMessage, SessionMessage]) error
	// StreamSessionPackets handles bidirectional packet data streaming.
	// Same as the legacy GravityTunnel.StreamPackets but on the new service.
	StreamSessionPackets(grpc.BidiStreamingServer[TunnelPacket, TunnelPacket]) error
	// GetDeploymentMetadata retrieves metadata for a deployment.
	GetDeploymentMetadata(context.Context, *DeploymentMetadataRequest) (*DeploymentMetadataResponse, error)
	// GetSandboxMetadata retrieves metadata for a sandbox.
	GetSandboxMetadata(context.Context, *SandboxMetadataRequest) (*SandboxMetadataResponse, error)
	// Identify performs a one-shot authentication to retrieve the org ID.
	// Authentication is performed via mTLS using self-signed client certificates.
	Identify(context.Context, *IdentifyRequest) (*IdentifyResponse, error)
	// contains filtered or unexported methods
}

GravitySessionServiceServer is the server API for GravitySessionService service. All implementations must embed UnimplementedGravitySessionServiceServer for forward compatibility.

GravitySessionService handles session establishment and tunnel management using self-signed client certificates authenticated against the org's registered public key.

This service replaces the legacy Provision + EstablishTunnel two-step flow with a single-step session establishment.

type GravitySessionService_EstablishSessionClient added in v1.0.139

type GravitySessionService_EstablishSessionClient = grpc.BidiStreamingClient[SessionMessage, SessionMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type GravitySessionService_EstablishSessionServer added in v1.0.139

type GravitySessionService_EstablishSessionServer = grpc.BidiStreamingServer[SessionMessage, SessionMessage]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type GravitySessionService_StreamSessionPacketsClient added in v1.0.139

type GravitySessionService_StreamSessionPacketsClient = grpc.BidiStreamingClient[TunnelPacket, TunnelPacket]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type GravitySessionService_StreamSessionPacketsServer added in v1.0.139

type GravitySessionService_StreamSessionPacketsServer = grpc.BidiStreamingServer[TunnelPacket, TunnelPacket]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type HostInfo

type HostInfo struct {
	Started          uint64   `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"`                                           // epoch time in milliseconds since server started
	Cpu              uint32   `protobuf:"varint,2,opt,name=cpu,proto3" json:"cpu,omitempty"`                                                   // number of CPUs
	Memory           uint64   `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"`                                             // memory in bytes
	Disk             uint64   `protobuf:"varint,4,opt,name=disk,proto3" json:"disk,omitempty"`                                                 // disk free space in bytes
	Ipv4Address      string   `protobuf:"bytes,5,opt,name=ipv4_address,json=ipv4Address,proto3" json:"ipv4_address,omitempty"`                 // IPv4 address
	Ipv6Address      string   `protobuf:"bytes,6,opt,name=ipv6_address,json=ipv6Address,proto3" json:"ipv6_address,omitempty"`                 // IPv6 address
	Hostname         string   `protobuf:"bytes,7,opt,name=hostname,proto3" json:"hostname,omitempty"`                                          // hostname
	InstanceId       string   `protobuf:"bytes,8,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`                    // instance id of the client
	Provider         string   `protobuf:"bytes,9,opt,name=provider,proto3" json:"provider,omitempty"`                                          // Cloud provider (e.g., "aws", "gcp", "azure")
	Region           string   `protobuf:"bytes,10,opt,name=region,proto3" json:"region,omitempty"`                                             // Cloud region
	InstanceType     string   `protobuf:"bytes,11,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`             // instance type of the client (n1-standard-32, m6i.8xlarge)
	InstanceTags     []string `protobuf:"bytes,12,rep,name=instance_tags,json=instanceTags,proto3" json:"instance_tags,omitempty"`             // tags on the instance
	AvailabilityZone string   `protobuf:"bytes,13,opt,name=availability_zone,json=availabilityZone,proto3" json:"availability_zone,omitempty"` // the availability zone for the client
	// contains filtered or unexported fields
}

Supporting data structures

func (*HostInfo) Descriptor deprecated

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

Deprecated: Use HostInfo.ProtoReflect.Descriptor instead.

func (*HostInfo) GetAvailabilityZone added in v1.0.142

func (x *HostInfo) GetAvailabilityZone() string

func (*HostInfo) GetCpu

func (x *HostInfo) GetCpu() uint32

func (*HostInfo) GetDisk

func (x *HostInfo) GetDisk() uint64

func (*HostInfo) GetHostname

func (x *HostInfo) GetHostname() string

func (*HostInfo) GetInstanceId

func (x *HostInfo) GetInstanceId() string

func (*HostInfo) GetInstanceTags added in v1.0.141

func (x *HostInfo) GetInstanceTags() []string

func (*HostInfo) GetInstanceType added in v1.0.141

func (x *HostInfo) GetInstanceType() string

func (*HostInfo) GetIpv4Address

func (x *HostInfo) GetIpv4Address() string

func (*HostInfo) GetIpv6Address

func (x *HostInfo) GetIpv6Address() string

func (*HostInfo) GetMemory

func (x *HostInfo) GetMemory() uint64

func (*HostInfo) GetProvider added in v1.0.141

func (x *HostInfo) GetProvider() string

func (*HostInfo) GetRegion added in v1.0.141

func (x *HostInfo) GetRegion() string

func (*HostInfo) GetStarted

func (x *HostInfo) GetStarted() uint64

func (*HostInfo) ProtoMessage

func (*HostInfo) ProtoMessage()

func (*HostInfo) ProtoReflect

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

func (*HostInfo) Reset

func (x *HostInfo) Reset()

func (*HostInfo) String

func (x *HostInfo) String() string

type HostMapping

type HostMapping struct {
	Hostname  string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`                    // Hostname to map
	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // IP address to map the hostname to
	// contains filtered or unexported fields
}

func (*HostMapping) Descriptor deprecated

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

Deprecated: Use HostMapping.ProtoReflect.Descriptor instead.

func (*HostMapping) GetHostname

func (x *HostMapping) GetHostname() string

func (*HostMapping) GetIpAddress

func (x *HostMapping) GetIpAddress() string

func (*HostMapping) ProtoMessage

func (*HostMapping) ProtoMessage()

func (*HostMapping) ProtoReflect

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

func (*HostMapping) Reset

func (x *HostMapping) Reset()

func (*HostMapping) String

func (x *HostMapping) String() string

type HostMetrics added in v1.0.163

type HostMetrics struct {
	Cpu               *CpuMetrics                `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	Memory            *MemoryMetrics             `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	Disks             []*DiskMetrics             `protobuf:"bytes,3,rep,name=disks,proto3" json:"disks,omitempty"`
	NetworkInterfaces []*NetworkInterfaceMetrics `protobuf:"bytes,4,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
	System            *SystemInfo                `protobuf:"bytes,5,opt,name=system,proto3" json:"system,omitempty"`
	// contains filtered or unexported fields
}

func (*HostMetrics) Descriptor deprecated added in v1.0.163

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

Deprecated: Use HostMetrics.ProtoReflect.Descriptor instead.

func (*HostMetrics) GetCpu added in v1.0.163

func (x *HostMetrics) GetCpu() *CpuMetrics

func (*HostMetrics) GetDisks added in v1.0.163

func (x *HostMetrics) GetDisks() []*DiskMetrics

func (*HostMetrics) GetMemory added in v1.0.163

func (x *HostMetrics) GetMemory() *MemoryMetrics

func (*HostMetrics) GetNetworkInterfaces added in v1.0.163

func (x *HostMetrics) GetNetworkInterfaces() []*NetworkInterfaceMetrics

func (*HostMetrics) GetSystem added in v1.0.163

func (x *HostMetrics) GetSystem() *SystemInfo

func (*HostMetrics) ProtoMessage added in v1.0.163

func (*HostMetrics) ProtoMessage()

func (*HostMetrics) ProtoReflect added in v1.0.163

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

func (*HostMetrics) Reset added in v1.0.163

func (x *HostMetrics) Reset()

func (*HostMetrics) String added in v1.0.163

func (x *HostMetrics) String() string

type IdentifyRequest added in v1.0.139

type IdentifyRequest struct {
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Instance ID (must match cert CN)
	// contains filtered or unexported fields
}

IdentifyRequest is sent by the client to identify the org associated with the key.

func (*IdentifyRequest) Descriptor deprecated added in v1.0.139

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

Deprecated: Use IdentifyRequest.ProtoReflect.Descriptor instead.

func (*IdentifyRequest) GetInstanceId added in v1.0.139

func (x *IdentifyRequest) GetInstanceId() string

func (*IdentifyRequest) ProtoMessage added in v1.0.139

func (*IdentifyRequest) ProtoMessage()

func (*IdentifyRequest) ProtoReflect added in v1.0.139

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

func (*IdentifyRequest) Reset added in v1.0.139

func (x *IdentifyRequest) Reset()

func (*IdentifyRequest) String added in v1.0.139

func (x *IdentifyRequest) String() string

type IdentifyResponse added in v1.0.139

type IdentifyResponse struct {
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // Organization ID (from cert verification)
	// contains filtered or unexported fields
}

IdentifyResponse contains the org ID from cert verification.

func (*IdentifyResponse) Descriptor deprecated added in v1.0.139

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

Deprecated: Use IdentifyResponse.ProtoReflect.Descriptor instead.

func (*IdentifyResponse) GetOrgId added in v1.0.139

func (x *IdentifyResponse) GetOrgId() string

func (*IdentifyResponse) ProtoMessage added in v1.0.139

func (*IdentifyResponse) ProtoMessage()

func (*IdentifyResponse) ProtoReflect added in v1.0.139

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

func (*IdentifyResponse) Reset added in v1.0.139

func (x *IdentifyResponse) Reset()

func (*IdentifyResponse) String added in v1.0.139

func (x *IdentifyResponse) String() string

type MemoryMetrics added in v1.0.163

type MemoryMetrics struct {
	TotalBytes     uint64  `protobuf:"varint,1,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"`
	UsedBytes      uint64  `protobuf:"varint,2,opt,name=used_bytes,json=usedBytes,proto3" json:"used_bytes,omitempty"`
	AvailableBytes uint64  `protobuf:"varint,3,opt,name=available_bytes,json=availableBytes,proto3" json:"available_bytes,omitempty"`
	CachedBytes    uint64  `protobuf:"varint,4,opt,name=cached_bytes,json=cachedBytes,proto3" json:"cached_bytes,omitempty"`
	BuffersBytes   uint64  `protobuf:"varint,5,opt,name=buffers_bytes,json=buffersBytes,proto3" json:"buffers_bytes,omitempty"`
	SwapTotalBytes uint64  `protobuf:"varint,6,opt,name=swap_total_bytes,json=swapTotalBytes,proto3" json:"swap_total_bytes,omitempty"`
	SwapUsedBytes  uint64  `protobuf:"varint,7,opt,name=swap_used_bytes,json=swapUsedBytes,proto3" json:"swap_used_bytes,omitempty"`
	UsagePercent   float64 `protobuf:"fixed64,8,opt,name=usage_percent,json=usagePercent,proto3" json:"usage_percent,omitempty"`
	// contains filtered or unexported fields
}

func (*MemoryMetrics) Descriptor deprecated added in v1.0.163

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

Deprecated: Use MemoryMetrics.ProtoReflect.Descriptor instead.

func (*MemoryMetrics) GetAvailableBytes added in v1.0.163

func (x *MemoryMetrics) GetAvailableBytes() uint64

func (*MemoryMetrics) GetBuffersBytes added in v1.0.163

func (x *MemoryMetrics) GetBuffersBytes() uint64

func (*MemoryMetrics) GetCachedBytes added in v1.0.163

func (x *MemoryMetrics) GetCachedBytes() uint64

func (*MemoryMetrics) GetSwapTotalBytes added in v1.0.163

func (x *MemoryMetrics) GetSwapTotalBytes() uint64

func (*MemoryMetrics) GetSwapUsedBytes added in v1.0.163

func (x *MemoryMetrics) GetSwapUsedBytes() uint64

func (*MemoryMetrics) GetTotalBytes added in v1.0.163

func (x *MemoryMetrics) GetTotalBytes() uint64

func (*MemoryMetrics) GetUsagePercent added in v1.0.163

func (x *MemoryMetrics) GetUsagePercent() float64

func (*MemoryMetrics) GetUsedBytes added in v1.0.163

func (x *MemoryMetrics) GetUsedBytes() uint64

func (*MemoryMetrics) ProtoMessage added in v1.0.163

func (*MemoryMetrics) ProtoMessage()

func (*MemoryMetrics) ProtoReflect added in v1.0.163

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

func (*MemoryMetrics) Reset added in v1.0.163

func (x *MemoryMetrics) Reset()

func (*MemoryMetrics) String added in v1.0.163

func (x *MemoryMetrics) String() string

type MonitorCommand added in v1.0.163

type MonitorCommand struct {

	// Types that are valid to be assigned to Command:
	//
	//	*MonitorCommand_AdjustInterval
	//	*MonitorCommand_RequestSnapshot
	Command isMonitorCommand_Command `protobuf_oneof:"command"`
	// contains filtered or unexported fields
}

func (*MonitorCommand) Descriptor deprecated added in v1.0.163

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

Deprecated: Use MonitorCommand.ProtoReflect.Descriptor instead.

func (*MonitorCommand) GetAdjustInterval added in v1.0.163

func (x *MonitorCommand) GetAdjustInterval() *AdjustMonitorInterval

func (*MonitorCommand) GetCommand added in v1.0.163

func (x *MonitorCommand) GetCommand() isMonitorCommand_Command

func (*MonitorCommand) GetRequestSnapshot added in v1.0.163

func (x *MonitorCommand) GetRequestSnapshot() *RequestMonitorSnapshot

func (*MonitorCommand) ProtoMessage added in v1.0.163

func (*MonitorCommand) ProtoMessage()

func (*MonitorCommand) ProtoReflect added in v1.0.163

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

func (*MonitorCommand) Reset added in v1.0.163

func (x *MonitorCommand) Reset()

func (*MonitorCommand) String added in v1.0.163

func (x *MonitorCommand) String() string

type MonitorCommand_AdjustInterval added in v1.0.163

type MonitorCommand_AdjustInterval struct {
	AdjustInterval *AdjustMonitorInterval `protobuf:"bytes,1,opt,name=adjust_interval,json=adjustInterval,proto3,oneof"`
}

type MonitorCommand_RequestSnapshot added in v1.0.163

type MonitorCommand_RequestSnapshot struct {
	RequestSnapshot *RequestMonitorSnapshot `protobuf:"bytes,2,opt,name=request_snapshot,json=requestSnapshot,proto3,oneof"`
}

type NetworkInterfaceMetrics added in v1.0.163

type NetworkInterfaceMetrics struct {
	Name           string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	RxBytesDelta   uint64 `protobuf:"varint,2,opt,name=rx_bytes_delta,json=rxBytesDelta,proto3" json:"rx_bytes_delta,omitempty"`
	TxBytesDelta   uint64 `protobuf:"varint,3,opt,name=tx_bytes_delta,json=txBytesDelta,proto3" json:"tx_bytes_delta,omitempty"`
	RxPacketsDelta uint64 `protobuf:"varint,4,opt,name=rx_packets_delta,json=rxPacketsDelta,proto3" json:"rx_packets_delta,omitempty"`
	TxPacketsDelta uint64 `protobuf:"varint,5,opt,name=tx_packets_delta,json=txPacketsDelta,proto3" json:"tx_packets_delta,omitempty"`
	RxErrorsDelta  uint64 `protobuf:"varint,6,opt,name=rx_errors_delta,json=rxErrorsDelta,proto3" json:"rx_errors_delta,omitempty"`
	TxErrorsDelta  uint64 `protobuf:"varint,7,opt,name=tx_errors_delta,json=txErrorsDelta,proto3" json:"tx_errors_delta,omitempty"`
	RxDropsDelta   uint64 `protobuf:"varint,8,opt,name=rx_drops_delta,json=rxDropsDelta,proto3" json:"rx_drops_delta,omitempty"`
	TxDropsDelta   uint64 `protobuf:"varint,9,opt,name=tx_drops_delta,json=txDropsDelta,proto3" json:"tx_drops_delta,omitempty"`
	LinkState      string `protobuf:"bytes,10,opt,name=link_state,json=linkState,proto3" json:"link_state,omitempty"`
	SpeedMbps      uint64 `protobuf:"varint,11,opt,name=speed_mbps,json=speedMbps,proto3" json:"speed_mbps,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkInterfaceMetrics) Descriptor deprecated added in v1.0.163

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

Deprecated: Use NetworkInterfaceMetrics.ProtoReflect.Descriptor instead.

func (*NetworkInterfaceMetrics) GetLinkState added in v1.0.163

func (x *NetworkInterfaceMetrics) GetLinkState() string

func (*NetworkInterfaceMetrics) GetName added in v1.0.163

func (x *NetworkInterfaceMetrics) GetName() string

func (*NetworkInterfaceMetrics) GetRxBytesDelta added in v1.0.163

func (x *NetworkInterfaceMetrics) GetRxBytesDelta() uint64

func (*NetworkInterfaceMetrics) GetRxDropsDelta added in v1.0.163

func (x *NetworkInterfaceMetrics) GetRxDropsDelta() uint64

func (*NetworkInterfaceMetrics) GetRxErrorsDelta added in v1.0.163

func (x *NetworkInterfaceMetrics) GetRxErrorsDelta() uint64

func (*NetworkInterfaceMetrics) GetRxPacketsDelta added in v1.0.163

func (x *NetworkInterfaceMetrics) GetRxPacketsDelta() uint64

func (*NetworkInterfaceMetrics) GetSpeedMbps added in v1.0.163

func (x *NetworkInterfaceMetrics) GetSpeedMbps() uint64

func (*NetworkInterfaceMetrics) GetTxBytesDelta added in v1.0.163

func (x *NetworkInterfaceMetrics) GetTxBytesDelta() uint64

func (*NetworkInterfaceMetrics) GetTxDropsDelta added in v1.0.163

func (x *NetworkInterfaceMetrics) GetTxDropsDelta() uint64

func (*NetworkInterfaceMetrics) GetTxErrorsDelta added in v1.0.163

func (x *NetworkInterfaceMetrics) GetTxErrorsDelta() uint64

func (*NetworkInterfaceMetrics) GetTxPacketsDelta added in v1.0.163

func (x *NetworkInterfaceMetrics) GetTxPacketsDelta() uint64

func (*NetworkInterfaceMetrics) ProtoMessage added in v1.0.163

func (*NetworkInterfaceMetrics) ProtoMessage()

func (*NetworkInterfaceMetrics) ProtoReflect added in v1.0.163

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

func (*NetworkInterfaceMetrics) Reset added in v1.0.163

func (x *NetworkInterfaceMetrics) Reset()

func (*NetworkInterfaceMetrics) String added in v1.0.163

func (x *NetworkInterfaceMetrics) String() string

type NodeEvent added in v1.0.163

type NodeEvent struct {
	TimestampUs int64             `protobuf:"varint,1,opt,name=timestamp_us,json=timestampUs,proto3" json:"timestamp_us,omitempty"`
	Level       NodeEventLevel    `protobuf:"varint,2,opt,name=level,proto3,enum=gravity.NodeEventLevel" json:"level,omitempty"`
	Type        NodeEventType     `protobuf:"varint,3,opt,name=type,proto3,enum=gravity.NodeEventType" json:"type,omitempty"`
	Message     string            `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	Metadata    map[string]string `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NodeEvent) Descriptor deprecated added in v1.0.163

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

Deprecated: Use NodeEvent.ProtoReflect.Descriptor instead.

func (*NodeEvent) GetLevel added in v1.0.163

func (x *NodeEvent) GetLevel() NodeEventLevel

func (*NodeEvent) GetMessage added in v1.0.163

func (x *NodeEvent) GetMessage() string

func (*NodeEvent) GetMetadata added in v1.0.163

func (x *NodeEvent) GetMetadata() map[string]string

func (*NodeEvent) GetTimestampUs added in v1.0.163

func (x *NodeEvent) GetTimestampUs() int64

func (*NodeEvent) GetType added in v1.0.163

func (x *NodeEvent) GetType() NodeEventType

func (*NodeEvent) ProtoMessage added in v1.0.163

func (*NodeEvent) ProtoMessage()

func (*NodeEvent) ProtoReflect added in v1.0.163

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

func (*NodeEvent) Reset added in v1.0.163

func (x *NodeEvent) Reset()

func (*NodeEvent) String added in v1.0.163

func (x *NodeEvent) String() string

type NodeEventLevel added in v1.0.163

type NodeEventLevel int32
const (
	NodeEventLevel_NODE_EVENT_LEVEL_UNSPECIFIED NodeEventLevel = 0
	NodeEventLevel_NODE_EVENT_LEVEL_INFO        NodeEventLevel = 1
	NodeEventLevel_NODE_EVENT_LEVEL_WARN        NodeEventLevel = 2
	NodeEventLevel_NODE_EVENT_LEVEL_ERROR       NodeEventLevel = 3
	NodeEventLevel_NODE_EVENT_LEVEL_CRITICAL    NodeEventLevel = 4
)

func (NodeEventLevel) Descriptor added in v1.0.163

func (NodeEventLevel) Enum added in v1.0.163

func (x NodeEventLevel) Enum() *NodeEventLevel

func (NodeEventLevel) EnumDescriptor deprecated added in v1.0.163

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

Deprecated: Use NodeEventLevel.Descriptor instead.

func (NodeEventLevel) Number added in v1.0.163

func (NodeEventLevel) String added in v1.0.163

func (x NodeEventLevel) String() string

func (NodeEventLevel) Type added in v1.0.163

type NodeEventType added in v1.0.163

type NodeEventType int32
const (
	NodeEventType_NODE_EVENT_TYPE_UNSPECIFIED             NodeEventType = 0
	NodeEventType_NODE_EVENT_TYPE_CONTAINER_START         NodeEventType = 1
	NodeEventType_NODE_EVENT_TYPE_CONTAINER_STOP          NodeEventType = 2
	NodeEventType_NODE_EVENT_TYPE_CONTAINER_OOM           NodeEventType = 3
	NodeEventType_NODE_EVENT_TYPE_CONTAINER_HEALTH_CHANGE NodeEventType = 4
	NodeEventType_NODE_EVENT_TYPE_PRESSURE_THRESHOLD      NodeEventType = 5
	NodeEventType_NODE_EVENT_TYPE_DISK_NEARLY_FULL        NodeEventType = 6
	NodeEventType_NODE_EVENT_TYPE_COLLECTOR_ERROR         NodeEventType = 7
	NodeEventType_NODE_EVENT_TYPE_PRESSURE_ALERT          NodeEventType = 8
	NodeEventType_NODE_EVENT_TYPE_HEALTH_ALERT            NodeEventType = 9
)

func (NodeEventType) Descriptor added in v1.0.163

func (NodeEventType) Enum added in v1.0.163

func (x NodeEventType) Enum() *NodeEventType

func (NodeEventType) EnumDescriptor deprecated added in v1.0.163

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

Deprecated: Use NodeEventType.Descriptor instead.

func (NodeEventType) Number added in v1.0.163

func (NodeEventType) String added in v1.0.163

func (x NodeEventType) String() string

func (NodeEventType) Type added in v1.0.163

type NodeMonitorReport added in v1.0.163

type NodeMonitorReport struct {
	MachineId             string              `protobuf:"bytes,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`
	ReportedAtUs          int64               `protobuf:"varint,2,opt,name=reported_at_us,json=reportedAtUs,proto3" json:"reported_at_us,omitempty"`
	Seq                   uint64              `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"`
	Host                  *HostMetrics        `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"`
	Containers            []*ContainerMetrics `protobuf:"bytes,5,rep,name=containers,proto3" json:"containers,omitempty"`
	Capacity              *CapacitySummary    `protobuf:"bytes,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
	Events                []*NodeEvent        `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
	ReportIntervalSeconds int32               `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NodeMonitorReport) Descriptor deprecated added in v1.0.163

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

Deprecated: Use NodeMonitorReport.ProtoReflect.Descriptor instead.

func (*NodeMonitorReport) GetCapacity added in v1.0.163

func (x *NodeMonitorReport) GetCapacity() *CapacitySummary

func (*NodeMonitorReport) GetContainers added in v1.0.163

func (x *NodeMonitorReport) GetContainers() []*ContainerMetrics

func (*NodeMonitorReport) GetEvents added in v1.0.163

func (x *NodeMonitorReport) GetEvents() []*NodeEvent

func (*NodeMonitorReport) GetHost added in v1.0.163

func (x *NodeMonitorReport) GetHost() *HostMetrics

func (*NodeMonitorReport) GetMachineId added in v1.0.163

func (x *NodeMonitorReport) GetMachineId() string

func (*NodeMonitorReport) GetReportIntervalSeconds added in v1.0.163

func (x *NodeMonitorReport) GetReportIntervalSeconds() int32

func (*NodeMonitorReport) GetReportedAtUs added in v1.0.163

func (x *NodeMonitorReport) GetReportedAtUs() int64

func (*NodeMonitorReport) GetSeq added in v1.0.163

func (x *NodeMonitorReport) GetSeq() uint64

func (*NodeMonitorReport) ProtoMessage added in v1.0.163

func (*NodeMonitorReport) ProtoMessage()

func (*NodeMonitorReport) ProtoReflect added in v1.0.163

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

func (*NodeMonitorReport) Reset added in v1.0.163

func (x *NodeMonitorReport) Reset()

func (*NodeMonitorReport) String added in v1.0.163

func (x *NodeMonitorReport) String() string

type PauseRequest

type PauseRequest struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // Reason for pausing the session
	// contains filtered or unexported fields
}

Pause request

func (*PauseRequest) Descriptor deprecated

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

Deprecated: Use PauseRequest.ProtoReflect.Descriptor instead.

func (*PauseRequest) GetReason

func (x *PauseRequest) GetReason() string

func (*PauseRequest) ProtoMessage

func (*PauseRequest) ProtoMessage()

func (*PauseRequest) ProtoReflect

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

func (*PauseRequest) Reset

func (x *PauseRequest) Reset()

func (*PauseRequest) String

func (x *PauseRequest) String() string

type PingRequest

type PingRequest struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Ping request for health checking

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) GetTimestamp

func (x *PingRequest) GetTimestamp() *timestamppb.Timestamp

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

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

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

type PongResponse

type PongResponse struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Pong response

func (*PongResponse) Descriptor deprecated

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

Deprecated: Use PongResponse.ProtoReflect.Descriptor instead.

func (*PongResponse) GetTimestamp

func (x *PongResponse) GetTimestamp() *timestamppb.Timestamp

func (*PongResponse) ProtoMessage

func (*PongResponse) ProtoMessage()

func (*PongResponse) ProtoReflect

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

func (*PongResponse) Reset

func (x *PongResponse) Reset()

func (*PongResponse) String

func (x *PongResponse) String() string

type ProtocolEvent

type ProtocolEvent struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`           // Unique identifier for the event
	Event   string `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`     // Event type being sent
	Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // Event payload data
	// contains filtered or unexported fields
}

Generic protocol event (server-initiated)

func (*ProtocolEvent) Descriptor deprecated

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

Deprecated: Use ProtocolEvent.ProtoReflect.Descriptor instead.

func (*ProtocolEvent) GetEvent

func (x *ProtocolEvent) GetEvent() string

func (*ProtocolEvent) GetId

func (x *ProtocolEvent) GetId() string

func (*ProtocolEvent) GetPayload

func (x *ProtocolEvent) GetPayload() []byte

func (*ProtocolEvent) ProtoMessage

func (*ProtocolEvent) ProtoMessage()

func (*ProtocolEvent) ProtoReflect

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

func (*ProtocolEvent) Reset

func (x *ProtocolEvent) Reset()

func (*ProtocolEvent) String

func (x *ProtocolEvent) String() string

type ProtocolResponse

type ProtocolResponse struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`            // Unique identifier for the response
	Event   string `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`      // Event type this response is for
	Success bool   `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"` // Whether the operation was successful
	Error   string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`      // Error message if operation failed
	Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"`  // Optional response payload data
	// contains filtered or unexported fields
}

Generic protocol response

func (*ProtocolResponse) Descriptor deprecated

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

Deprecated: Use ProtocolResponse.ProtoReflect.Descriptor instead.

func (*ProtocolResponse) GetError

func (x *ProtocolResponse) GetError() string

func (*ProtocolResponse) GetEvent

func (x *ProtocolResponse) GetEvent() string

func (*ProtocolResponse) GetId

func (x *ProtocolResponse) GetId() string

func (*ProtocolResponse) GetPayload

func (x *ProtocolResponse) GetPayload() []byte

func (*ProtocolResponse) GetSuccess

func (x *ProtocolResponse) GetSuccess() bool

func (*ProtocolResponse) ProtoMessage

func (*ProtocolResponse) ProtoMessage()

func (*ProtocolResponse) ProtoReflect

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

func (*ProtocolResponse) Reset

func (x *ProtocolResponse) Reset()

func (*ProtocolResponse) String

func (x *ProtocolResponse) String() string

type RequestMonitorSnapshot added in v1.0.163

type RequestMonitorSnapshot struct {
	// contains filtered or unexported fields
}

func (*RequestMonitorSnapshot) Descriptor deprecated added in v1.0.163

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

Deprecated: Use RequestMonitorSnapshot.ProtoReflect.Descriptor instead.

func (*RequestMonitorSnapshot) ProtoMessage added in v1.0.163

func (*RequestMonitorSnapshot) ProtoMessage()

func (*RequestMonitorSnapshot) ProtoReflect added in v1.0.163

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

func (*RequestMonitorSnapshot) Reset added in v1.0.163

func (x *RequestMonitorSnapshot) Reset()

func (*RequestMonitorSnapshot) String added in v1.0.163

func (x *RequestMonitorSnapshot) String() string

type ResourceRequirements

type ResourceRequirements struct {
	MemoryLimit   int64 `protobuf:"varint,1,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`       // Maximum memory in bytes
	CpuLimit      int64 `protobuf:"varint,2,opt,name=cpu_limit,json=cpuLimit,proto3" json:"cpu_limit,omitempty"`                // Maximum CPU in millicores (1000 = 1 core)
	MemoryRequest int64 `protobuf:"varint,3,opt,name=memory_request,json=memoryRequest,proto3" json:"memory_request,omitempty"` // Requested memory in bytes
	CpuRequest    int64 `protobuf:"varint,4,opt,name=cpu_request,json=cpuRequest,proto3" json:"cpu_request,omitempty"`          // Requested CPU in millicores
	DiskLimit     int64 `protobuf:"varint,5,opt,name=disk_limit,json=diskLimit,proto3" json:"disk_limit,omitempty"`             // Maximum storage in bytes
	DiskRequest   int64 `protobuf:"varint,6,opt,name=disk_request,json=diskRequest,proto3" json:"disk_request,omitempty"`       // Requested storage in bytes
	// contains filtered or unexported fields
}

func (*ResourceRequirements) Descriptor deprecated

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

Deprecated: Use ResourceRequirements.ProtoReflect.Descriptor instead.

func (*ResourceRequirements) GetCpuLimit

func (x *ResourceRequirements) GetCpuLimit() int64

func (*ResourceRequirements) GetCpuRequest

func (x *ResourceRequirements) GetCpuRequest() int64

func (*ResourceRequirements) GetDiskLimit added in v1.0.113

func (x *ResourceRequirements) GetDiskLimit() int64

func (*ResourceRequirements) GetDiskRequest added in v1.0.113

func (x *ResourceRequirements) GetDiskRequest() int64

func (*ResourceRequirements) GetMemoryLimit

func (x *ResourceRequirements) GetMemoryLimit() int64

func (*ResourceRequirements) GetMemoryRequest

func (x *ResourceRequirements) GetMemoryRequest() int64

func (*ResourceRequirements) ProtoMessage

func (*ResourceRequirements) ProtoMessage()

func (*ResourceRequirements) ProtoReflect

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

func (*ResourceRequirements) Reset

func (x *ResourceRequirements) Reset()

func (*ResourceRequirements) String

func (x *ResourceRequirements) String() string

type RestoreSandboxTask added in v1.0.151

type RestoreSandboxTask struct {
	SandboxId    string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	CheckpointId string `protobuf:"bytes,2,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
	DownloadUrl  string `protobuf:"bytes,3,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"` // Presigned S3 URL for downloading checkpoint bundle
	NetworkName  string `protobuf:"bytes,4,opt,name=network_name,json=networkName,proto3" json:"network_name,omitempty"`
	SandboxSpec  []byte `protobuf:"bytes,5,opt,name=sandbox_spec,json=sandboxSpec,proto3" json:"sandbox_spec,omitempty"` // JSON-encoded SandboxSpec
	OrgId        string `protobuf:"bytes,6,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	ProjectId    string `protobuf:"bytes,7,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

RestoreSandboxTask is sent by Gravity to the destination Hadron to restore a sandbox.

func (*RestoreSandboxTask) Descriptor deprecated added in v1.0.151

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

Deprecated: Use RestoreSandboxTask.ProtoReflect.Descriptor instead.

func (*RestoreSandboxTask) GetCheckpointId added in v1.0.151

func (x *RestoreSandboxTask) GetCheckpointId() string

func (*RestoreSandboxTask) GetDownloadUrl added in v1.0.151

func (x *RestoreSandboxTask) GetDownloadUrl() string

func (*RestoreSandboxTask) GetNetworkName added in v1.0.151

func (x *RestoreSandboxTask) GetNetworkName() string

func (*RestoreSandboxTask) GetOrgId added in v1.0.151

func (x *RestoreSandboxTask) GetOrgId() string

func (*RestoreSandboxTask) GetProjectId added in v1.0.151

func (x *RestoreSandboxTask) GetProjectId() string

func (*RestoreSandboxTask) GetSandboxId added in v1.0.151

func (x *RestoreSandboxTask) GetSandboxId() string

func (*RestoreSandboxTask) GetSandboxSpec added in v1.0.151

func (x *RestoreSandboxTask) GetSandboxSpec() []byte

func (*RestoreSandboxTask) ProtoMessage added in v1.0.151

func (*RestoreSandboxTask) ProtoMessage()

func (*RestoreSandboxTask) ProtoReflect added in v1.0.151

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

func (*RestoreSandboxTask) Reset added in v1.0.151

func (x *RestoreSandboxTask) Reset()

func (*RestoreSandboxTask) String added in v1.0.151

func (x *RestoreSandboxTask) String() string

type ResumeRequest

type ResumeRequest struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // Reason for resuming the session
	// contains filtered or unexported fields
}

Resume request

func (*ResumeRequest) Descriptor deprecated

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

Deprecated: Use ResumeRequest.ProtoReflect.Descriptor instead.

func (*ResumeRequest) GetReason

func (x *ResumeRequest) GetReason() string

func (*ResumeRequest) ProtoMessage

func (*ResumeRequest) ProtoMessage()

func (*ResumeRequest) ProtoReflect

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

func (*ResumeRequest) Reset

func (x *ResumeRequest) Reset()

func (*ResumeRequest) String

func (x *ResumeRequest) String() string

type RouteDeploymentRequest

type RouteDeploymentRequest struct {
	DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // Unique identifier for the deployment
	VirtualIp    string `protobuf:"bytes,3,opt,name=virtual_ip,json=virtualIp,proto3" json:"virtual_ip,omitempty"`          // Hadron virtual IP for the deployment
	// contains filtered or unexported fields
}

func (*RouteDeploymentRequest) Descriptor deprecated

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

Deprecated: Use RouteDeploymentRequest.ProtoReflect.Descriptor instead.

func (*RouteDeploymentRequest) GetDeploymentId

func (x *RouteDeploymentRequest) GetDeploymentId() string

func (*RouteDeploymentRequest) GetVirtualIp

func (x *RouteDeploymentRequest) GetVirtualIp() string

func (*RouteDeploymentRequest) ProtoMessage

func (*RouteDeploymentRequest) ProtoMessage()

func (*RouteDeploymentRequest) ProtoReflect

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

func (*RouteDeploymentRequest) Reset

func (x *RouteDeploymentRequest) Reset()

func (*RouteDeploymentRequest) String

func (x *RouteDeploymentRequest) String() string

type RouteDeploymentResponse

type RouteDeploymentResponse struct {
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteDeploymentResponse) Descriptor deprecated

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

Deprecated: Use RouteDeploymentResponse.ProtoReflect.Descriptor instead.

func (*RouteDeploymentResponse) GetIp

func (x *RouteDeploymentResponse) GetIp() string

func (*RouteDeploymentResponse) ProtoMessage

func (*RouteDeploymentResponse) ProtoMessage()

func (*RouteDeploymentResponse) ProtoReflect

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

func (*RouteDeploymentResponse) Reset

func (x *RouteDeploymentResponse) Reset()

func (*RouteDeploymentResponse) String

func (x *RouteDeploymentResponse) String() string

type RouteSandboxRequest added in v1.0.136

type RouteSandboxRequest struct {
	SandboxId string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	VirtualIp string `protobuf:"bytes,2,opt,name=virtual_ip,json=virtualIp,proto3" json:"virtual_ip,omitempty"` // Hadron virtual IP for the sandbox
	// contains filtered or unexported fields
}

func (*RouteSandboxRequest) Descriptor deprecated added in v1.0.136

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

Deprecated: Use RouteSandboxRequest.ProtoReflect.Descriptor instead.

func (*RouteSandboxRequest) GetSandboxId added in v1.0.136

func (x *RouteSandboxRequest) GetSandboxId() string

func (*RouteSandboxRequest) GetVirtualIp added in v1.0.136

func (x *RouteSandboxRequest) GetVirtualIp() string

func (*RouteSandboxRequest) ProtoMessage added in v1.0.136

func (*RouteSandboxRequest) ProtoMessage()

func (*RouteSandboxRequest) ProtoReflect added in v1.0.136

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

func (*RouteSandboxRequest) Reset added in v1.0.136

func (x *RouteSandboxRequest) Reset()

func (*RouteSandboxRequest) String added in v1.0.136

func (x *RouteSandboxRequest) String() string

type RouteSandboxResponse added in v1.0.136

type RouteSandboxResponse struct {
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteSandboxResponse) Descriptor deprecated added in v1.0.136

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

Deprecated: Use RouteSandboxResponse.ProtoReflect.Descriptor instead.

func (*RouteSandboxResponse) GetIp added in v1.0.136

func (x *RouteSandboxResponse) GetIp() string

func (*RouteSandboxResponse) ProtoMessage added in v1.0.136

func (*RouteSandboxResponse) ProtoMessage()

func (*RouteSandboxResponse) ProtoReflect added in v1.0.136

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

func (*RouteSandboxResponse) Reset added in v1.0.136

func (x *RouteSandboxResponse) Reset()

func (*RouteSandboxResponse) String added in v1.0.136

func (x *RouteSandboxResponse) String() string

type SandboxCheckpointed added in v1.0.151

type SandboxCheckpointed struct {
	SandboxId    string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	CheckpointId string `protobuf:"bytes,2,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
	S3Key        string `protobuf:"bytes,3,opt,name=s3_key,json=s3Key,proto3" json:"s3_key,omitempty"`
	BundleSize   int64  `protobuf:"varint,4,opt,name=bundle_size,json=bundleSize,proto3" json:"bundle_size,omitempty"`
	Success      bool   `protobuf:"varint,5,opt,name=success,proto3" json:"success,omitempty"`
	Error        string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`                                // Error message if success=false
	SandboxSpec  []byte `protobuf:"bytes,7,opt,name=sandbox_spec,json=sandboxSpec,proto3" json:"sandbox_spec,omitempty"` // JSON-encoded SandboxSpec from source machine
	// contains filtered or unexported fields
}

SandboxCheckpointed is sent by source Hadron to Gravity after a sandbox has been checkpointed.

func (*SandboxCheckpointed) Descriptor deprecated added in v1.0.151

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

Deprecated: Use SandboxCheckpointed.ProtoReflect.Descriptor instead.

func (*SandboxCheckpointed) GetBundleSize added in v1.0.151

func (x *SandboxCheckpointed) GetBundleSize() int64

func (*SandboxCheckpointed) GetCheckpointId added in v1.0.151

func (x *SandboxCheckpointed) GetCheckpointId() string

func (*SandboxCheckpointed) GetError added in v1.0.151

func (x *SandboxCheckpointed) GetError() string

func (*SandboxCheckpointed) GetS3Key added in v1.0.151

func (x *SandboxCheckpointed) GetS3Key() string

func (*SandboxCheckpointed) GetSandboxId added in v1.0.151

func (x *SandboxCheckpointed) GetSandboxId() string

func (*SandboxCheckpointed) GetSandboxSpec added in v1.0.158

func (x *SandboxCheckpointed) GetSandboxSpec() []byte

func (*SandboxCheckpointed) GetSuccess added in v1.0.151

func (x *SandboxCheckpointed) GetSuccess() bool

func (*SandboxCheckpointed) ProtoMessage added in v1.0.151

func (*SandboxCheckpointed) ProtoMessage()

func (*SandboxCheckpointed) ProtoReflect added in v1.0.151

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

func (*SandboxCheckpointed) Reset added in v1.0.151

func (x *SandboxCheckpointed) Reset()

func (*SandboxCheckpointed) String added in v1.0.151

func (x *SandboxCheckpointed) String() string

type SandboxEvacInfo added in v1.0.151

type SandboxEvacInfo struct {
	SandboxId     string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	OrgId         string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	ProjectId     string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	EstimatedSize int64  `protobuf:"varint,4,opt,name=estimated_size,json=estimatedSize,proto3" json:"estimated_size,omitempty"` // Estimated checkpoint bundle size in bytes
	// contains filtered or unexported fields
}

SandboxEvacInfo describes a sandbox that needs to be evacuated.

func (*SandboxEvacInfo) Descriptor deprecated added in v1.0.151

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

Deprecated: Use SandboxEvacInfo.ProtoReflect.Descriptor instead.

func (*SandboxEvacInfo) GetEstimatedSize added in v1.0.151

func (x *SandboxEvacInfo) GetEstimatedSize() int64

func (*SandboxEvacInfo) GetOrgId added in v1.0.151

func (x *SandboxEvacInfo) GetOrgId() string

func (*SandboxEvacInfo) GetProjectId added in v1.0.151

func (x *SandboxEvacInfo) GetProjectId() string

func (*SandboxEvacInfo) GetSandboxId added in v1.0.151

func (x *SandboxEvacInfo) GetSandboxId() string

func (*SandboxEvacInfo) ProtoMessage added in v1.0.151

func (*SandboxEvacInfo) ProtoMessage()

func (*SandboxEvacInfo) ProtoReflect added in v1.0.151

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

func (*SandboxEvacInfo) Reset added in v1.0.151

func (x *SandboxEvacInfo) Reset()

func (*SandboxEvacInfo) String added in v1.0.151

func (x *SandboxEvacInfo) String() string

type SandboxMetadataRequest added in v1.0.138

type SandboxMetadataRequest struct {
	SandboxId           string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	OrgId               string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	GenerateCertificate bool   `protobuf:"varint,3,opt,name=generate_certificate,json=generateCertificate,proto3" json:"generate_certificate,omitempty"` // Whether to generate a certificate
	// contains filtered or unexported fields
}

Sandbox metadata request

func (*SandboxMetadataRequest) Descriptor deprecated added in v1.0.138

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

Deprecated: Use SandboxMetadataRequest.ProtoReflect.Descriptor instead.

func (*SandboxMetadataRequest) GetGenerateCertificate added in v1.0.138

func (x *SandboxMetadataRequest) GetGenerateCertificate() bool

func (*SandboxMetadataRequest) GetOrgId added in v1.0.138

func (x *SandboxMetadataRequest) GetOrgId() string

func (*SandboxMetadataRequest) GetSandboxId added in v1.0.138

func (x *SandboxMetadataRequest) GetSandboxId() string

func (*SandboxMetadataRequest) ProtoMessage added in v1.0.138

func (*SandboxMetadataRequest) ProtoMessage()

func (*SandboxMetadataRequest) ProtoReflect added in v1.0.138

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

func (*SandboxMetadataRequest) Reset added in v1.0.138

func (x *SandboxMetadataRequest) Reset()

func (*SandboxMetadataRequest) String added in v1.0.138

func (x *SandboxMetadataRequest) String() string

type SandboxMetadataResponse added in v1.0.138

type SandboxMetadataResponse struct {
	Success    bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`                        // Whether the request was successful
	Error      string   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`                             // Error message if request failed
	ExtraHosts []string `protobuf:"bytes,3,rep,name=extra_hosts,json=extraHosts,proto3" json:"extra_hosts,omitempty"` // Extra /etc/hosts entries for the sandbox
	CertBundle string   `protobuf:"bytes,4,opt,name=cert_bundle,json=certBundle,proto3" json:"cert_bundle,omitempty"` // PEM certificate bundle (cert, ca, key)
	// contains filtered or unexported fields
}

Sandbox metadata response

func (*SandboxMetadataResponse) Descriptor deprecated added in v1.0.138

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

Deprecated: Use SandboxMetadataResponse.ProtoReflect.Descriptor instead.

func (*SandboxMetadataResponse) GetCertBundle added in v1.0.138

func (x *SandboxMetadataResponse) GetCertBundle() string

func (*SandboxMetadataResponse) GetError added in v1.0.138

func (x *SandboxMetadataResponse) GetError() string

func (*SandboxMetadataResponse) GetExtraHosts added in v1.0.138

func (x *SandboxMetadataResponse) GetExtraHosts() []string

func (*SandboxMetadataResponse) GetSuccess added in v1.0.138

func (x *SandboxMetadataResponse) GetSuccess() bool

func (*SandboxMetadataResponse) ProtoMessage added in v1.0.138

func (*SandboxMetadataResponse) ProtoMessage()

func (*SandboxMetadataResponse) ProtoReflect added in v1.0.138

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

func (*SandboxMetadataResponse) Reset added in v1.0.138

func (x *SandboxMetadataResponse) Reset()

func (*SandboxMetadataResponse) String added in v1.0.138

func (x *SandboxMetadataResponse) String() string

type SandboxRestored added in v1.0.151

type SandboxRestored struct {
	SandboxId   string `protobuf:"bytes,1,opt,name=sandbox_id,json=sandboxId,proto3" json:"sandbox_id,omitempty"`
	Ipv6Address string `protobuf:"bytes,2,opt,name=ipv6_address,json=ipv6Address,proto3" json:"ipv6_address,omitempty"` // New IPv6 address on destination machine
	Success     bool   `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"`
	Error       string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // Error message if success=false
	// contains filtered or unexported fields
}

SandboxRestored is sent by destination Hadron to Gravity after a sandbox has been restored.

func (*SandboxRestored) Descriptor deprecated added in v1.0.151

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

Deprecated: Use SandboxRestored.ProtoReflect.Descriptor instead.

func (*SandboxRestored) GetError added in v1.0.151

func (x *SandboxRestored) GetError() string

func (*SandboxRestored) GetIpv6Address added in v1.0.151

func (x *SandboxRestored) GetIpv6Address() string

func (*SandboxRestored) GetSandboxId added in v1.0.151

func (x *SandboxRestored) GetSandboxId() string

func (*SandboxRestored) GetSuccess added in v1.0.151

func (x *SandboxRestored) GetSuccess() bool

func (*SandboxRestored) ProtoMessage added in v1.0.151

func (*SandboxRestored) ProtoMessage()

func (*SandboxRestored) ProtoReflect added in v1.0.151

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

func (*SandboxRestored) Reset added in v1.0.151

func (x *SandboxRestored) Reset()

func (*SandboxRestored) String added in v1.0.151

func (x *SandboxRestored) String() string

type SessionCloseRequest added in v1.0.139

type SessionCloseRequest struct {
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // Reason for closing the session
	// contains filtered or unexported fields
}

SessionCloseRequest is sent to gracefully close the session.

func (*SessionCloseRequest) Descriptor deprecated added in v1.0.139

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

Deprecated: Use SessionCloseRequest.ProtoReflect.Descriptor instead.

func (*SessionCloseRequest) GetReason added in v1.0.139

func (x *SessionCloseRequest) GetReason() string

func (*SessionCloseRequest) ProtoMessage added in v1.0.139

func (*SessionCloseRequest) ProtoMessage()

func (*SessionCloseRequest) ProtoReflect added in v1.0.139

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

func (*SessionCloseRequest) Reset added in v1.0.139

func (x *SessionCloseRequest) Reset()

func (*SessionCloseRequest) String added in v1.0.139

func (x *SessionCloseRequest) String() string

type SessionHello added in v1.0.139

type SessionHello struct {
	ProtocolVersion int32                 `protobuf:"varint,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` // Protocol version number for compatibility
	ClientVersion   string                `protobuf:"bytes,2,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`        // Version string of the client (e.g., SHA, semver)
	ClientName      string                `protobuf:"bytes,3,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`                 // Name of the client application (e.g., "hadron")
	Deployments     []*ExistingDeployment `protobuf:"bytes,4,rep,name=deployments,proto3" json:"deployments,omitempty"`                                 // List of existing deployments to restore
	HostInfo        *HostInfo             `protobuf:"bytes,5,opt,name=host_info,json=hostInfo,proto3" json:"host_info,omitempty"`                       // Information about the host system
	Capabilities    *ClientCapabilities   `protobuf:"bytes,6,opt,name=capabilities,proto3" json:"capabilities,omitempty"`                               // Client capabilities for this session
	// Instance metadata (extracted from cert but also sent for validation)
	InstanceId string `protobuf:"bytes,7,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Instance ID (must match cert CN)
	// contains filtered or unexported fields
}

SessionHello is sent by the client as the first message after TLS handshake. The org_id and instance_id are extracted from the client certificate.

func (*SessionHello) Descriptor deprecated added in v1.0.139

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

Deprecated: Use SessionHello.ProtoReflect.Descriptor instead.

func (*SessionHello) GetCapabilities added in v1.0.139

func (x *SessionHello) GetCapabilities() *ClientCapabilities

func (*SessionHello) GetClientName added in v1.0.139

func (x *SessionHello) GetClientName() string

func (*SessionHello) GetClientVersion added in v1.0.139

func (x *SessionHello) GetClientVersion() string

func (*SessionHello) GetDeployments added in v1.0.139

func (x *SessionHello) GetDeployments() []*ExistingDeployment

func (*SessionHello) GetHostInfo added in v1.0.139

func (x *SessionHello) GetHostInfo() *HostInfo

func (*SessionHello) GetInstanceId added in v1.0.139

func (x *SessionHello) GetInstanceId() string

func (*SessionHello) GetProtocolVersion added in v1.0.139

func (x *SessionHello) GetProtocolVersion() int32

func (*SessionHello) ProtoMessage added in v1.0.139

func (*SessionHello) ProtoMessage()

func (*SessionHello) ProtoReflect added in v1.0.139

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

func (*SessionHello) Reset added in v1.0.139

func (x *SessionHello) Reset()

func (*SessionHello) String added in v1.0.139

func (x *SessionHello) String() string

type SessionHelloResponse added in v1.0.139

type SessionHelloResponse struct {
	MachineId         string         `protobuf:"bytes,1,opt,name=machine_id,json=machineId,proto3" json:"machine_id,omitempty"`                            // Deterministic machine ID assigned by server
	OrgId             string         `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`                                        // Organization ID (from cert verification)
	OtlpUrl           string         `protobuf:"bytes,3,opt,name=otlp_url,json=otlpUrl,proto3" json:"otlp_url,omitempty"`                                  // OpenTelemetry endpoint URL for metrics
	OtlpKey           string         `protobuf:"bytes,4,opt,name=otlp_key,json=otlpKey,proto3" json:"otlp_key,omitempty"`                                  // OpenTelemetry API key for authentication
	ApiUrl            string         `protobuf:"bytes,5,opt,name=api_url,json=apiUrl,proto3" json:"api_url,omitempty"`                                     // Base URL for API operations
	Environment       []string       `protobuf:"bytes,6,rep,name=environment,proto3" json:"environment,omitempty"`                                         // Environment variables to set
	HostMapping       []*HostMapping `protobuf:"bytes,7,rep,name=host_mapping,json=hostMapping,proto3" json:"host_mapping,omitempty"`                      // Host to IP address mappings
	SubnetRoutes      []string       `protobuf:"bytes,8,rep,name=subnet_routes,json=subnetRoutes,proto3" json:"subnet_routes,omitempty"`                   // Subnet routes for the session
	GravityServer     string         `protobuf:"bytes,9,opt,name=gravity_server,json=gravityServer,proto3" json:"gravity_server,omitempty"`                // The gravity server that we're connected to
	Hostname          string         `protobuf:"bytes,10,opt,name=hostname,proto3" json:"hostname,omitempty"`                                              // Dynamic hostname if requested
	SshPublicKey      []byte         `protobuf:"bytes,11,opt,name=ssh_public_key,json=sshPublicKey,proto3" json:"ssh_public_key,omitempty"`                // SSH public key for internal trusted connections
	MachineToken      string         `protobuf:"bytes,12,opt,name=machine_token,json=machineToken,proto3" json:"machine_token,omitempty"`                  // JWT token for machine to authenticate with catalyst
	MachineCertBundle string         `protobuf:"bytes,13,opt,name=machine_cert_bundle,json=machineCertBundle,proto3" json:"machine_cert_bundle,omitempty"` // PEM certificate bundle (cert, ca, key)
	// contains filtered or unexported fields
}

SessionHelloResponse is sent by the server after successful authentication.

func (*SessionHelloResponse) Descriptor deprecated added in v1.0.139

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

Deprecated: Use SessionHelloResponse.ProtoReflect.Descriptor instead.

func (*SessionHelloResponse) GetApiUrl added in v1.0.139

func (x *SessionHelloResponse) GetApiUrl() string

func (*SessionHelloResponse) GetEnvironment added in v1.0.139

func (x *SessionHelloResponse) GetEnvironment() []string

func (*SessionHelloResponse) GetGravityServer added in v1.0.139

func (x *SessionHelloResponse) GetGravityServer() string

func (*SessionHelloResponse) GetHostMapping added in v1.0.139

func (x *SessionHelloResponse) GetHostMapping() []*HostMapping

func (*SessionHelloResponse) GetHostname added in v1.0.139

func (x *SessionHelloResponse) GetHostname() string

func (*SessionHelloResponse) GetMachineCertBundle added in v1.0.139

func (x *SessionHelloResponse) GetMachineCertBundle() string

func (*SessionHelloResponse) GetMachineId added in v1.0.139

func (x *SessionHelloResponse) GetMachineId() string

func (*SessionHelloResponse) GetMachineToken added in v1.0.139

func (x *SessionHelloResponse) GetMachineToken() string

func (*SessionHelloResponse) GetOrgId added in v1.0.139

func (x *SessionHelloResponse) GetOrgId() string

func (*SessionHelloResponse) GetOtlpKey added in v1.0.139

func (x *SessionHelloResponse) GetOtlpKey() string

func (*SessionHelloResponse) GetOtlpUrl added in v1.0.139

func (x *SessionHelloResponse) GetOtlpUrl() string

func (*SessionHelloResponse) GetSshPublicKey added in v1.0.139

func (x *SessionHelloResponse) GetSshPublicKey() []byte

func (*SessionHelloResponse) GetSubnetRoutes added in v1.0.139

func (x *SessionHelloResponse) GetSubnetRoutes() []string

func (*SessionHelloResponse) ProtoMessage added in v1.0.139

func (*SessionHelloResponse) ProtoMessage()

func (*SessionHelloResponse) ProtoReflect added in v1.0.139

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

func (*SessionHelloResponse) Reset added in v1.0.139

func (x *SessionHelloResponse) Reset()

func (*SessionHelloResponse) String added in v1.0.139

func (x *SessionHelloResponse) String() string

type SessionMessage added in v1.0.139

type SessionMessage struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	StreamId string `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // Logical stream identifier for multiplexing
	// Types that are valid to be assigned to MessageType:
	//
	//	*SessionMessage_SessionHello
	//	*SessionMessage_SessionHelloResponse
	//	*SessionMessage_SessionClose
	//	*SessionMessage_RouteDeployment
	//	*SessionMessage_RouteDeploymentResponse
	//	*SessionMessage_Unprovision
	//	*SessionMessage_RouteSandbox
	//	*SessionMessage_RouteSandboxResponse
	//	*SessionMessage_Ping
	//	*SessionMessage_Pong
	//	*SessionMessage_MonitorReport
	//	*SessionMessage_MonitorCommand
	//	*SessionMessage_Pause
	//	*SessionMessage_Resume
	//	*SessionMessage_ConfigUpdate
	//	*SessionMessage_ConfigUpdateResponse
	//	*SessionMessage_Response
	//	*SessionMessage_Event
	//	*SessionMessage_EvacuateRequest
	//	*SessionMessage_EvacuationPlan
	//	*SessionMessage_SandboxCheckpointed
	//	*SessionMessage_RestoreSandboxTask
	//	*SessionMessage_SandboxRestored
	//	*SessionMessage_CheckpointUrlRequest
	//	*SessionMessage_CheckpointUrlResponse
	MessageType isSessionMessage_MessageType `protobuf_oneof:"message_type"`
	// contains filtered or unexported fields
}

SessionMessage is the bidirectional message type for EstablishSession. It contains all control plane messages for the session lifecycle.

func (*SessionMessage) Descriptor deprecated added in v1.0.139

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

Deprecated: Use SessionMessage.ProtoReflect.Descriptor instead.

func (*SessionMessage) GetCheckpointUrlRequest added in v1.0.152

func (x *SessionMessage) GetCheckpointUrlRequest() *CheckpointURLRequest

func (*SessionMessage) GetCheckpointUrlResponse added in v1.0.152

func (x *SessionMessage) GetCheckpointUrlResponse() *CheckpointURLResponse

func (*SessionMessage) GetConfigUpdate added in v1.0.139

func (x *SessionMessage) GetConfigUpdate() *ConfigurationUpdate

func (*SessionMessage) GetConfigUpdateResponse added in v1.0.139

func (x *SessionMessage) GetConfigUpdateResponse() *ConfigurationUpdateResponse

func (*SessionMessage) GetEvacuateRequest added in v1.0.151

func (x *SessionMessage) GetEvacuateRequest() *EvacuateRequest

func (*SessionMessage) GetEvacuationPlan added in v1.0.151

func (x *SessionMessage) GetEvacuationPlan() *EvacuationPlan

func (*SessionMessage) GetEvent added in v1.0.139

func (x *SessionMessage) GetEvent() *ProtocolEvent

func (*SessionMessage) GetId added in v1.0.139

func (x *SessionMessage) GetId() string

func (*SessionMessage) GetMessageType added in v1.0.139

func (x *SessionMessage) GetMessageType() isSessionMessage_MessageType

func (*SessionMessage) GetMonitorCommand added in v1.0.163

func (x *SessionMessage) GetMonitorCommand() *MonitorCommand

func (*SessionMessage) GetMonitorReport added in v1.0.163

func (x *SessionMessage) GetMonitorReport() *NodeMonitorReport

func (*SessionMessage) GetPause added in v1.0.139

func (x *SessionMessage) GetPause() *PauseRequest

func (*SessionMessage) GetPing added in v1.0.139

func (x *SessionMessage) GetPing() *PingRequest

func (*SessionMessage) GetPong added in v1.0.139

func (x *SessionMessage) GetPong() *PongResponse

func (*SessionMessage) GetResponse added in v1.0.139

func (x *SessionMessage) GetResponse() *ProtocolResponse

func (*SessionMessage) GetRestoreSandboxTask added in v1.0.151

func (x *SessionMessage) GetRestoreSandboxTask() *RestoreSandboxTask

func (*SessionMessage) GetResume added in v1.0.139

func (x *SessionMessage) GetResume() *ResumeRequest

func (*SessionMessage) GetRouteDeployment added in v1.0.139

func (x *SessionMessage) GetRouteDeployment() *RouteDeploymentRequest

func (*SessionMessage) GetRouteDeploymentResponse added in v1.0.139

func (x *SessionMessage) GetRouteDeploymentResponse() *RouteDeploymentResponse

func (*SessionMessage) GetRouteSandbox added in v1.0.139

func (x *SessionMessage) GetRouteSandbox() *RouteSandboxRequest

func (*SessionMessage) GetRouteSandboxResponse added in v1.0.139

func (x *SessionMessage) GetRouteSandboxResponse() *RouteSandboxResponse

func (*SessionMessage) GetSandboxCheckpointed added in v1.0.151

func (x *SessionMessage) GetSandboxCheckpointed() *SandboxCheckpointed

func (*SessionMessage) GetSandboxRestored added in v1.0.151

func (x *SessionMessage) GetSandboxRestored() *SandboxRestored

func (*SessionMessage) GetSessionClose added in v1.0.139

func (x *SessionMessage) GetSessionClose() *SessionCloseRequest

func (*SessionMessage) GetSessionHello added in v1.0.139

func (x *SessionMessage) GetSessionHello() *SessionHello

func (*SessionMessage) GetSessionHelloResponse added in v1.0.139

func (x *SessionMessage) GetSessionHelloResponse() *SessionHelloResponse

func (*SessionMessage) GetStreamId added in v1.0.139

func (x *SessionMessage) GetStreamId() string

func (*SessionMessage) GetUnprovision added in v1.0.139

func (x *SessionMessage) GetUnprovision() *UnprovisionRequest

func (*SessionMessage) ProtoMessage added in v1.0.139

func (*SessionMessage) ProtoMessage()

func (*SessionMessage) ProtoReflect added in v1.0.139

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

func (*SessionMessage) Reset added in v1.0.139

func (x *SessionMessage) Reset()

func (*SessionMessage) String added in v1.0.139

func (x *SessionMessage) String() string

type SessionMessage_CheckpointUrlRequest added in v1.0.152

type SessionMessage_CheckpointUrlRequest struct {
	// Checkpoint URL requests (65-66) — presigned URL generation for suspend/resume
	CheckpointUrlRequest *CheckpointURLRequest `protobuf:"bytes,65,opt,name=checkpoint_url_request,json=checkpointUrlRequest,proto3,oneof"`
}

type SessionMessage_CheckpointUrlResponse added in v1.0.152

type SessionMessage_CheckpointUrlResponse struct {
	CheckpointUrlResponse *CheckpointURLResponse `protobuf:"bytes,66,opt,name=checkpoint_url_response,json=checkpointUrlResponse,proto3,oneof"`
}

type SessionMessage_ConfigUpdate added in v1.0.139

type SessionMessage_ConfigUpdate struct {
	// Configuration management (45-49)
	ConfigUpdate *ConfigurationUpdate `protobuf:"bytes,45,opt,name=config_update,json=configUpdate,proto3,oneof"`
}

type SessionMessage_ConfigUpdateResponse added in v1.0.139

type SessionMessage_ConfigUpdateResponse struct {
	ConfigUpdateResponse *ConfigurationUpdateResponse `protobuf:"bytes,46,opt,name=config_update_response,json=configUpdateResponse,proto3,oneof"`
}

type SessionMessage_EvacuateRequest added in v1.0.151

type SessionMessage_EvacuateRequest struct {
	// Evacuation / live migration (60-69)
	EvacuateRequest *EvacuateRequest `protobuf:"bytes,60,opt,name=evacuate_request,json=evacuateRequest,proto3,oneof"`
}

type SessionMessage_EvacuationPlan added in v1.0.151

type SessionMessage_EvacuationPlan struct {
	EvacuationPlan *EvacuationPlan `protobuf:"bytes,61,opt,name=evacuation_plan,json=evacuationPlan,proto3,oneof"`
}

type SessionMessage_Event added in v1.0.139

type SessionMessage_Event struct {
	Event *ProtocolEvent `protobuf:"bytes,51,opt,name=event,proto3,oneof"`
}

type SessionMessage_MonitorCommand added in v1.0.163

type SessionMessage_MonitorCommand struct {
	MonitorCommand *MonitorCommand `protobuf:"bytes,34,opt,name=monitor_command,json=monitorCommand,proto3,oneof"` // Monitoring commands (gravity → hadron)
}

type SessionMessage_MonitorReport added in v1.0.163

type SessionMessage_MonitorReport struct {
	// Field 32 reserved (was: ReportRequest report, deprecated and removed)
	MonitorReport *NodeMonitorReport `protobuf:"bytes,33,opt,name=monitor_report,json=monitorReport,proto3,oneof"` // Node monitoring report (hadron → gravity)
}

type SessionMessage_Pause added in v1.0.139

type SessionMessage_Pause struct {
	// Session control (40-49)
	Pause *PauseRequest `protobuf:"bytes,40,opt,name=pause,proto3,oneof"`
}

type SessionMessage_Ping added in v1.0.139

type SessionMessage_Ping struct {
	// Health and monitoring (30-39)
	Ping *PingRequest `protobuf:"bytes,30,opt,name=ping,proto3,oneof"`
}

type SessionMessage_Pong added in v1.0.139

type SessionMessage_Pong struct {
	Pong *PongResponse `protobuf:"bytes,31,opt,name=pong,proto3,oneof"`
}

type SessionMessage_Response added in v1.0.139

type SessionMessage_Response struct {
	// Generic protocol messages (50-59)
	Response *ProtocolResponse `protobuf:"bytes,50,opt,name=response,proto3,oneof"`
}

type SessionMessage_RestoreSandboxTask added in v1.0.151

type SessionMessage_RestoreSandboxTask struct {
	RestoreSandboxTask *RestoreSandboxTask `protobuf:"bytes,63,opt,name=restore_sandbox_task,json=restoreSandboxTask,proto3,oneof"`
}

type SessionMessage_Resume added in v1.0.139

type SessionMessage_Resume struct {
	Resume *ResumeRequest `protobuf:"bytes,41,opt,name=resume,proto3,oneof"`
}

type SessionMessage_RouteDeployment added in v1.0.139

type SessionMessage_RouteDeployment struct {
	// Deployment management (20-29)
	RouteDeployment *RouteDeploymentRequest `protobuf:"bytes,22,opt,name=route_deployment,json=routeDeployment,proto3,oneof"`
}

type SessionMessage_RouteDeploymentResponse added in v1.0.139

type SessionMessage_RouteDeploymentResponse struct {
	RouteDeploymentResponse *RouteDeploymentResponse `protobuf:"bytes,23,opt,name=route_deployment_response,json=routeDeploymentResponse,proto3,oneof"`
}

type SessionMessage_RouteSandbox added in v1.0.139

type SessionMessage_RouteSandbox struct {
	RouteSandbox *RouteSandboxRequest `protobuf:"bytes,26,opt,name=route_sandbox,json=routeSandbox,proto3,oneof"`
}

type SessionMessage_RouteSandboxResponse added in v1.0.139

type SessionMessage_RouteSandboxResponse struct {
	RouteSandboxResponse *RouteSandboxResponse `protobuf:"bytes,27,opt,name=route_sandbox_response,json=routeSandboxResponse,proto3,oneof"`
}

type SessionMessage_SandboxCheckpointed added in v1.0.151

type SessionMessage_SandboxCheckpointed struct {
	SandboxCheckpointed *SandboxCheckpointed `protobuf:"bytes,62,opt,name=sandbox_checkpointed,json=sandboxCheckpointed,proto3,oneof"`
}

type SessionMessage_SandboxRestored added in v1.0.151

type SessionMessage_SandboxRestored struct {
	SandboxRestored *SandboxRestored `protobuf:"bytes,64,opt,name=sandbox_restored,json=sandboxRestored,proto3,oneof"`
}

type SessionMessage_SessionClose added in v1.0.139

type SessionMessage_SessionClose struct {
	SessionClose *SessionCloseRequest `protobuf:"bytes,15,opt,name=session_close,json=sessionClose,proto3,oneof"`
}

type SessionMessage_SessionHello added in v1.0.139

type SessionMessage_SessionHello struct {
	// Session lifecycle (10-19)
	SessionHello *SessionHello `protobuf:"bytes,10,opt,name=session_hello,json=sessionHello,proto3,oneof"`
}

type SessionMessage_SessionHelloResponse added in v1.0.139

type SessionMessage_SessionHelloResponse struct {
	SessionHelloResponse *SessionHelloResponse `protobuf:"bytes,11,opt,name=session_hello_response,json=sessionHelloResponse,proto3,oneof"`
}

type SessionMessage_Unprovision added in v1.0.139

type SessionMessage_Unprovision struct {
	Unprovision *UnprovisionRequest `protobuf:"bytes,25,opt,name=unprovision,proto3,oneof"`
}

type StatusCodeCounts added in v1.0.164

type StatusCodeCounts struct {
	Status_1Xx uint64 `protobuf:"varint,1,opt,name=status_1xx,json=status1xx,proto3" json:"status_1xx,omitempty"` // informational
	Status_2Xx uint64 `protobuf:"varint,2,opt,name=status_2xx,json=status2xx,proto3" json:"status_2xx,omitempty"` // success
	Status_3Xx uint64 `protobuf:"varint,3,opt,name=status_3xx,json=status3xx,proto3" json:"status_3xx,omitempty"` // redirection
	Status_4Xx uint64 `protobuf:"varint,4,opt,name=status_4xx,json=status4xx,proto3" json:"status_4xx,omitempty"` // client error
	Status_5Xx uint64 `protobuf:"varint,5,opt,name=status_5xx,json=status5xx,proto3" json:"status_5xx,omitempty"` // server error
	// contains filtered or unexported fields
}

StatusCodeCounts breaks down request counts by HTTP status class. Used for both cumulative lifetime totals (status_codes) and per-report-interval deltas (status_codes_delta).

func (*StatusCodeCounts) Descriptor deprecated added in v1.0.164

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

Deprecated: Use StatusCodeCounts.ProtoReflect.Descriptor instead.

func (*StatusCodeCounts) GetStatus_1Xx added in v1.0.164

func (x *StatusCodeCounts) GetStatus_1Xx() uint64

func (*StatusCodeCounts) GetStatus_2Xx added in v1.0.164

func (x *StatusCodeCounts) GetStatus_2Xx() uint64

func (*StatusCodeCounts) GetStatus_3Xx added in v1.0.164

func (x *StatusCodeCounts) GetStatus_3Xx() uint64

func (*StatusCodeCounts) GetStatus_4Xx added in v1.0.164

func (x *StatusCodeCounts) GetStatus_4Xx() uint64

func (*StatusCodeCounts) GetStatus_5Xx added in v1.0.164

func (x *StatusCodeCounts) GetStatus_5Xx() uint64

func (*StatusCodeCounts) ProtoMessage added in v1.0.164

func (*StatusCodeCounts) ProtoMessage()

func (*StatusCodeCounts) ProtoReflect added in v1.0.164

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

func (*StatusCodeCounts) Reset added in v1.0.164

func (x *StatusCodeCounts) Reset()

func (*StatusCodeCounts) String added in v1.0.164

func (x *StatusCodeCounts) String() string

type SystemInfo added in v1.0.163

type SystemInfo struct {
	Hostname         string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	KernelVersion    string `protobuf:"bytes,2,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
	Os               string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
	Arch             string `protobuf:"bytes,4,opt,name=arch,proto3" json:"arch,omitempty"`
	UptimeSeconds    uint64 `protobuf:"varint,5,opt,name=uptime_seconds,json=uptimeSeconds,proto3" json:"uptime_seconds,omitempty"`
	CpuCount         int32  `protobuf:"varint,6,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
	TotalMemoryBytes uint64 `protobuf:"varint,7,opt,name=total_memory_bytes,json=totalMemoryBytes,proto3" json:"total_memory_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemInfo) Descriptor deprecated added in v1.0.163

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

Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.

func (*SystemInfo) GetArch added in v1.0.163

func (x *SystemInfo) GetArch() string

func (*SystemInfo) GetCpuCount added in v1.0.163

func (x *SystemInfo) GetCpuCount() int32

func (*SystemInfo) GetHostname added in v1.0.163

func (x *SystemInfo) GetHostname() string

func (*SystemInfo) GetKernelVersion added in v1.0.163

func (x *SystemInfo) GetKernelVersion() string

func (*SystemInfo) GetOs added in v1.0.163

func (x *SystemInfo) GetOs() string

func (*SystemInfo) GetTotalMemoryBytes added in v1.0.163

func (x *SystemInfo) GetTotalMemoryBytes() uint64

func (*SystemInfo) GetUptimeSeconds added in v1.0.163

func (x *SystemInfo) GetUptimeSeconds() uint64

func (*SystemInfo) ProtoMessage added in v1.0.163

func (*SystemInfo) ProtoMessage()

func (*SystemInfo) ProtoReflect added in v1.0.163

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

func (*SystemInfo) Reset added in v1.0.163

func (x *SystemInfo) Reset()

func (*SystemInfo) String added in v1.0.163

func (x *SystemInfo) String() string

type TunnelPacket

type TunnelPacket struct {
	Data     []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`                         // Raw IP packet data
	StreamId string `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // Logical stream identifier for multiplexing
	// contains filtered or unexported fields
}

TunnelPacket represents network packet data for the tunnel

func (*TunnelPacket) Descriptor deprecated

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

Deprecated: Use TunnelPacket.ProtoReflect.Descriptor instead.

func (*TunnelPacket) GetData

func (x *TunnelPacket) GetData() []byte

func (*TunnelPacket) GetStreamId

func (x *TunnelPacket) GetStreamId() string

func (*TunnelPacket) ProtoMessage

func (*TunnelPacket) ProtoMessage()

func (*TunnelPacket) ProtoReflect

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

func (*TunnelPacket) Reset

func (x *TunnelPacket) Reset()

func (*TunnelPacket) String

func (x *TunnelPacket) String() string

type UnimplementedGravitySessionServiceServer added in v1.0.139

type UnimplementedGravitySessionServiceServer struct{}

UnimplementedGravitySessionServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedGravitySessionServiceServer) EstablishSession added in v1.0.139

func (UnimplementedGravitySessionServiceServer) GetDeploymentMetadata added in v1.0.139

func (UnimplementedGravitySessionServiceServer) GetSandboxMetadata added in v1.0.139

func (UnimplementedGravitySessionServiceServer) Identify added in v1.0.139

func (UnimplementedGravitySessionServiceServer) StreamSessionPackets added in v1.0.139

type UnprovisionRequest

type UnprovisionRequest struct {
	DeploymentId string `protobuf:"bytes,1,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // Unique identifier of deployment to remove
	// contains filtered or unexported fields
}

Unprovision request

func (*UnprovisionRequest) Descriptor deprecated

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

Deprecated: Use UnprovisionRequest.ProtoReflect.Descriptor instead.

func (*UnprovisionRequest) GetDeploymentId

func (x *UnprovisionRequest) GetDeploymentId() string

func (*UnprovisionRequest) ProtoMessage

func (*UnprovisionRequest) ProtoMessage()

func (*UnprovisionRequest) ProtoReflect

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

func (*UnprovisionRequest) Reset

func (x *UnprovisionRequest) Reset()

func (*UnprovisionRequest) String

func (x *UnprovisionRequest) String() string

type UnsafeGravitySessionServiceServer added in v1.0.139

type UnsafeGravitySessionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeGravitySessionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GravitySessionServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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