Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAgentServiceServer(s grpc.ServiceRegistrar, srv AgentServiceServer)
- type AgentInfo
- func (*AgentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInfo) GetArch() string
- func (x *AgentInfo) GetCommit() string
- func (x *AgentInfo) GetOs() string
- func (x *AgentInfo) GetVersion() string
- func (*AgentInfo) ProtoMessage()
- func (x *AgentInfo) ProtoReflect() protoreflect.Message
- func (x *AgentInfo) Reset()
- func (x *AgentInfo) String() string
- type AgentMessage
- func (*AgentMessage) Descriptor() ([]byte, []int)deprecated
- func (x *AgentMessage) GetBuildCredit() *BuildCredit
- func (x *AgentMessage) GetBuildOutput() *BuildOutput
- func (x *AgentMessage) GetEvent() *ProxiedEvent
- func (x *AgentMessage) GetExecCredit() *ExecCredit
- func (x *AgentMessage) GetExecOutput() *ExecOutput
- func (x *AgentMessage) GetGpuReport() *GPUReport
- func (x *AgentMessage) GetHeartbeat() *Heartbeat
- func (x *AgentMessage) GetHello() *AgentInfo
- func (x *AgentMessage) GetHostReport() *HostReport
- func (x *AgentMessage) GetOnboarding() *OnboardingReport
- func (x *AgentMessage) GetPayload() isAgentMessage_Payload
- func (x *AgentMessage) GetRenewal() *RenewalReport
- func (x *AgentMessage) GetResponse() *AgentResponse
- func (*AgentMessage) ProtoMessage()
- func (x *AgentMessage) ProtoReflect() protoreflect.Message
- func (x *AgentMessage) Reset()
- func (x *AgentMessage) String() string
- type AgentMessage_BuildCredit
- type AgentMessage_BuildOutput
- type AgentMessage_Event
- type AgentMessage_ExecCredit
- type AgentMessage_ExecOutput
- type AgentMessage_GpuReport
- type AgentMessage_Heartbeat
- type AgentMessage_Hello
- type AgentMessage_HostReport
- type AgentMessage_Onboarding
- type AgentMessage_Renewal
- type AgentMessage_Response
- type AgentRequest
- func (*AgentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AgentRequest) GetApplyMesh() *ApplyMeshRequest
- func (x *AgentRequest) GetBuild() *BuildRequest
- func (x *AgentRequest) GetCreate() *CreateRequest
- func (x *AgentRequest) GetEnsureNetwork() *EnsureNetworkRequest
- func (x *AgentRequest) GetEnsureVolume() *EnsureVolumeRequest
- func (x *AgentRequest) GetExec() *ExecRequest
- func (x *AgentRequest) GetInspectByName() *InspectByNameRequest
- func (x *AgentRequest) GetInspectExitState() *InspectExitStateRequest
- func (x *AgentRequest) GetListByPrefix() *ListByPrefixRequest
- func (x *AgentRequest) GetListImages() *ListImagesRequest
- func (x *AgentRequest) GetListNetworksByPrefix() *ListNetworksByPrefixRequest
- func (x *AgentRequest) GetMeshStatus() *MeshStatusRequest
- func (x *AgentRequest) GetNetworkConnect() *NetworkConnectRequest
- func (x *AgentRequest) GetNetworkDisconnect() *NetworkDisconnectRequest
- func (x *AgentRequest) GetOp() isAgentRequest_Op
- func (x *AgentRequest) GetRemove() *RemoveRequest
- func (x *AgentRequest) GetRemoveNetwork() *RemoveNetworkRequest
- func (x *AgentRequest) GetRequestId() string
- func (x *AgentRequest) GetRotateMeshKey() *RotateMeshKeyRequest
- func (x *AgentRequest) GetStart() *StartRequest
- func (x *AgentRequest) GetStats() *StatsRequest
- func (x *AgentRequest) GetStop() *StopRequest
- func (x *AgentRequest) GetUpdateResources() *UpdateResourcesRequest
- func (x *AgentRequest) GetWatchEvents() *WatchEventsRequest
- func (*AgentRequest) ProtoMessage()
- func (x *AgentRequest) ProtoReflect() protoreflect.Message
- func (x *AgentRequest) Reset()
- func (x *AgentRequest) String() string
- type AgentRequest_ApplyMesh
- type AgentRequest_Build
- type AgentRequest_Create
- type AgentRequest_EnsureNetwork
- type AgentRequest_EnsureVolume
- type AgentRequest_Exec
- type AgentRequest_InspectByName
- type AgentRequest_InspectExitState
- type AgentRequest_ListByPrefix
- type AgentRequest_ListImages
- type AgentRequest_ListNetworksByPrefix
- type AgentRequest_MeshStatus
- type AgentRequest_NetworkConnect
- type AgentRequest_NetworkDisconnect
- type AgentRequest_Remove
- type AgentRequest_RemoveNetwork
- type AgentRequest_RotateMeshKey
- type AgentRequest_Start
- type AgentRequest_Stats
- type AgentRequest_Stop
- type AgentRequest_UpdateResources
- type AgentRequest_WatchEvents
- type AgentResponse
- func (*AgentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AgentResponse) GetApplyMesh() *ApplyMeshResponse
- func (x *AgentResponse) GetArchiveStat() *ArchiveStat
- func (x *AgentResponse) GetCreate() *CreateResponse
- func (x *AgentResponse) GetEmpty() *Empty
- func (x *AgentResponse) GetEnsureNetwork() *EnsureNetworkResponse
- func (x *AgentResponse) GetError() string
- func (x *AgentResponse) GetInspectByName() *InspectByNameResponse
- func (x *AgentResponse) GetInspectExitState() *InspectExitStateResponse
- func (x *AgentResponse) GetListByPrefix() *ListByPrefixResponse
- func (x *AgentResponse) GetListImages() *ListImagesResponse
- func (x *AgentResponse) GetListNetworksByPrefix() *ListNetworksByPrefixResponse
- func (x *AgentResponse) GetMeshStatus() *MeshStatusResponse
- func (x *AgentResponse) GetRequestId() string
- func (x *AgentResponse) GetResult() isAgentResponse_Result
- func (x *AgentResponse) GetRotateMeshKey() *RotateMeshKeyResponse
- func (x *AgentResponse) GetStats() *StatsResponse
- func (*AgentResponse) ProtoMessage()
- func (x *AgentResponse) ProtoReflect() protoreflect.Message
- func (x *AgentResponse) Reset()
- func (x *AgentResponse) String() string
- type AgentResponse_ApplyMesh
- type AgentResponse_ArchiveStat
- type AgentResponse_Create
- type AgentResponse_Empty
- type AgentResponse_EnsureNetwork
- type AgentResponse_InspectByName
- type AgentResponse_InspectExitState
- type AgentResponse_ListByPrefix
- type AgentResponse_ListImages
- type AgentResponse_ListNetworksByPrefix
- type AgentResponse_MeshStatus
- type AgentResponse_RotateMeshKey
- type AgentResponse_Stats
- type AgentServiceClient
- type AgentServiceServer
- type AgentService_SessionClient
- type AgentService_SessionServer
- type ApplyMeshRequest
- type ApplyMeshResponse
- func (*ApplyMeshResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyMeshResponse) GetIdentity() *NodeIdentity
- func (*ApplyMeshResponse) ProtoMessage()
- func (x *ApplyMeshResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyMeshResponse) Reset()
- func (x *ApplyMeshResponse) String() string
- type ArchiveOp
- func (*ArchiveOp) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveOp) GetCopyIn() bool
- func (x *ArchiveOp) GetMaxBytes() int64
- func (x *ArchiveOp) GetPath() string
- func (*ArchiveOp) ProtoMessage()
- func (x *ArchiveOp) ProtoReflect() protoreflect.Message
- func (x *ArchiveOp) Reset()
- func (x *ArchiveOp) String() string
- type ArchiveStat
- func (*ArchiveStat) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveStat) GetLinkTarget() string
- func (x *ArchiveStat) GetMode() uint32
- func (x *ArchiveStat) GetName() string
- func (x *ArchiveStat) GetSize() int64
- func (*ArchiveStat) ProtoMessage()
- func (x *ArchiveStat) ProtoReflect() protoreflect.Message
- func (x *ArchiveStat) Reset()
- func (x *ArchiveStat) String() string
- type BuildCache
- func (*BuildCache) Descriptor() ([]byte, []int)deprecated
- func (x *BuildCache) GetRegistryInsecure() bool
- func (x *BuildCache) GetRegistryRef() string
- func (*BuildCache) ProtoMessage()
- func (x *BuildCache) ProtoReflect() protoreflect.Message
- func (x *BuildCache) Reset()
- func (x *BuildCache) String() string
- type BuildCancel
- type BuildCredit
- func (*BuildCredit) Descriptor() ([]byte, []int)deprecated
- func (x *BuildCredit) GetBuildId() string
- func (x *BuildCredit) GetFrames() uint32
- func (*BuildCredit) ProtoMessage()
- func (x *BuildCredit) ProtoReflect() protoreflect.Message
- func (x *BuildCredit) Reset()
- func (x *BuildCredit) String() string
- type BuildDone
- func (*BuildDone) Descriptor() ([]byte, []int)deprecated
- func (x *BuildDone) GetDurationMs() int64
- func (x *BuildDone) GetExporterResponse() map[string]string
- func (*BuildDone) ProtoMessage()
- func (x *BuildDone) ProtoReflect() protoreflect.Message
- func (x *BuildDone) Reset()
- func (x *BuildDone) String() string
- type BuildFailure
- func (*BuildFailure) Descriptor() ([]byte, []int)deprecated
- func (x *BuildFailure) GetMessage() string
- func (x *BuildFailure) GetProvider() string
- func (x *BuildFailure) GetUnsupportedProvider() bool
- func (*BuildFailure) ProtoMessage()
- func (x *BuildFailure) ProtoReflect() protoreflect.Message
- func (x *BuildFailure) Reset()
- func (x *BuildFailure) String() string
- type BuildInput
- func (*BuildInput) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInput) GetBuildId() string
- func (x *BuildInput) GetChunk() []byte
- func (x *BuildInput) GetEof() bool
- func (x *BuildInput) GetError() string
- func (*BuildInput) ProtoMessage()
- func (x *BuildInput) ProtoReflect() protoreflect.Message
- func (x *BuildInput) Reset()
- func (x *BuildInput) String() string
- type BuildKind
- type BuildOutput
- func (*BuildOutput) Descriptor() ([]byte, []int)deprecated
- func (x *BuildOutput) GetBuildId() string
- func (x *BuildOutput) GetDone() *BuildDone
- func (x *BuildOutput) GetFailure() *BuildFailure
- func (x *BuildOutput) GetFrame() isBuildOutput_Frame
- func (x *BuildOutput) GetImageChunk() []byte
- func (x *BuildOutput) GetProgress() *BuildProgress
- func (*BuildOutput) ProtoMessage()
- func (x *BuildOutput) ProtoReflect() protoreflect.Message
- func (x *BuildOutput) Reset()
- func (x *BuildOutput) String() string
- type BuildOutput_Done
- type BuildOutput_Failure
- type BuildOutput_ImageChunk
- type BuildOutput_Progress
- type BuildProgress
- func (*BuildProgress) Descriptor() ([]byte, []int)deprecated
- func (x *BuildProgress) GetCached() bool
- func (x *BuildProgress) GetCompleted() bool
- func (x *BuildProgress) GetError() string
- func (x *BuildProgress) GetLog() string
- func (x *BuildProgress) GetStep() string
- func (x *BuildProgress) GetStream() string
- func (*BuildProgress) ProtoMessage()
- func (x *BuildProgress) ProtoReflect() protoreflect.Message
- func (x *BuildProgress) Reset()
- func (x *BuildProgress) String() string
- type BuildRequest
- func (*BuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BuildRequest) GetBuildArgs() map[string]string
- func (x *BuildRequest) GetCache() *BuildCache
- func (x *BuildRequest) GetDockerfilePath() string
- func (x *BuildRequest) GetKind() BuildKind
- func (x *BuildRequest) GetNoCache() bool
- func (x *BuildRequest) GetTag() string
- func (x *BuildRequest) GetTarget() string
- func (*BuildRequest) ProtoMessage()
- func (x *BuildRequest) ProtoReflect() protoreflect.Message
- func (x *BuildRequest) Reset()
- func (x *BuildRequest) String() string
- type CPUStatsRaw
- func (*CPUStatsRaw) Descriptor() ([]byte, []int)deprecated
- func (x *CPUStatsRaw) GetOnlineCpus() uint32
- func (x *CPUStatsRaw) GetSystemUsageNanos() uint64
- func (x *CPUStatsRaw) GetTotalUsageNanos() uint64
- func (*CPUStatsRaw) ProtoMessage()
- func (x *CPUStatsRaw) ProtoReflect() protoreflect.Message
- func (x *CPUStatsRaw) Reset()
- func (x *CPUStatsRaw) String() string
- type CheckIdentityRequest
- type CheckIdentityResponse
- func (*CheckIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckIdentityResponse) GetCurrent() bool
- func (x *CheckIdentityResponse) GetNodeId() string
- func (*CheckIdentityResponse) ProtoMessage()
- func (x *CheckIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *CheckIdentityResponse) Reset()
- func (x *CheckIdentityResponse) String() string
- type ContainerSpec
- func (*ContainerSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerSpec) GetCapAdd() []string
- func (x *ContainerSpec) GetCommand() []string
- func (x *ContainerSpec) GetDns() []string
- func (x *ContainerSpec) GetEntrypoint() []string
- func (x *ContainerSpec) GetEnv() map[string]string
- func (x *ContainerSpec) GetExtraHosts() []string
- func (x *ContainerSpec) GetGpu() *GPURequest
- func (x *ContainerSpec) GetImage() string
- func (x *ContainerSpec) GetLabels() map[string]string
- func (x *ContainerSpec) GetName() string
- func (x *ContainerSpec) GetNetworkAlias() string
- func (x *ContainerSpec) GetNetworkMode() string
- func (x *ContainerSpec) GetNetworkName() string
- func (x *ContainerSpec) GetPorts() []*PortBinding
- func (x *ContainerSpec) GetResources() *Resources
- func (x *ContainerSpec) GetShmSizeBytes() int64
- func (x *ContainerSpec) GetVolumes() []*VolumeMount
- func (*ContainerSpec) ProtoMessage()
- func (x *ContainerSpec) ProtoReflect() protoreflect.Message
- func (x *ContainerSpec) Reset()
- func (x *ContainerSpec) String() string
- type ContainerState
- func (*ContainerState) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerState) GetId() string
- func (x *ContainerState) GetImage() string
- func (x *ContainerState) GetName() string
- func (x *ContainerState) GetPorts() []*PortBinding
- func (x *ContainerState) GetRunning() bool
- func (*ContainerState) ProtoMessage()
- func (x *ContainerState) ProtoReflect() protoreflect.Message
- func (x *ContainerState) Reset()
- func (x *ContainerState) String() string
- type ContainerStats
- func (*ContainerStats) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerStats) GetCpuPercent() float64
- func (x *ContainerStats) GetCpuRaw() *CPUStatsRaw
- func (x *ContainerStats) GetDiskReadBytes() uint64
- func (x *ContainerStats) GetDiskWriteBytes() uint64
- func (x *ContainerStats) GetMemoryLimitBytes() uint64
- func (x *ContainerStats) GetMemoryUsageBytes() uint64
- func (x *ContainerStats) GetNetworkRxBytes() uint64
- func (x *ContainerStats) GetNetworkTxBytes() uint64
- func (*ContainerStats) ProtoMessage()
- func (x *ContainerStats) ProtoReflect() protoreflect.Message
- func (x *ContainerStats) Reset()
- func (x *ContainerStats) String() string
- type ControlMessage
- func (*ControlMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ControlMessage) GetBuildCancel() *BuildCancel
- func (x *ControlMessage) GetBuildCredit() *BuildCredit
- func (x *ControlMessage) GetBuildInput() *BuildInput
- func (x *ControlMessage) GetExecCancel() *ExecCancel
- func (x *ControlMessage) GetExecCredit() *ExecCredit
- func (x *ControlMessage) GetExecInput() *ExecInput
- func (x *ControlMessage) GetExecResize() *ExecResize
- func (x *ControlMessage) GetGoAway() *GoAway
- func (x *ControlMessage) GetPayload() isControlMessage_Payload
- func (x *ControlMessage) GetRenewNow() *RenewNow
- func (x *ControlMessage) GetRequest() *AgentRequest
- func (*ControlMessage) ProtoMessage()
- func (x *ControlMessage) ProtoReflect() protoreflect.Message
- func (x *ControlMessage) Reset()
- func (x *ControlMessage) String() string
- type ControlMessage_BuildCancel
- type ControlMessage_BuildCredit
- type ControlMessage_BuildInput
- type ControlMessage_ExecCancel
- type ControlMessage_ExecCredit
- type ControlMessage_ExecInput
- type ControlMessage_ExecResize
- type ControlMessage_GoAway
- type ControlMessage_RenewNow
- type ControlMessage_Request
- type CreateRequest
- type CreateResponse
- type DeviceConfig
- func (*DeviceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceConfig) GetAddress() string
- func (x *DeviceConfig) GetListenPort() int32
- func (x *DeviceConfig) GetNodeId() string
- func (x *DeviceConfig) GetPeers() []*PeerConfig
- func (*DeviceConfig) ProtoMessage()
- func (x *DeviceConfig) ProtoReflect() protoreflect.Message
- func (x *DeviceConfig) Reset()
- func (x *DeviceConfig) String() string
- type Empty
- type EnrollRequest
- func (*EnrollRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnrollRequest) GetAgent() *AgentInfo
- func (x *EnrollRequest) GetCaPinState() string
- func (x *EnrollRequest) GetCsrDer() []byte
- func (x *EnrollRequest) GetJoinToken() string
- func (x *EnrollRequest) GetNodeName() string
- func (*EnrollRequest) ProtoMessage()
- func (x *EnrollRequest) ProtoReflect() protoreflect.Message
- func (x *EnrollRequest) Reset()
- func (x *EnrollRequest) String() string
- type EnrollResponse
- func (*EnrollResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnrollResponse) GetCaCertPem() []byte
- func (x *EnrollResponse) GetClientCertPem() []byte
- func (x *EnrollResponse) GetNodeId() string
- func (x *EnrollResponse) GetNotAfter() *timestamppb.Timestamp
- func (*EnrollResponse) ProtoMessage()
- func (x *EnrollResponse) ProtoReflect() protoreflect.Message
- func (x *EnrollResponse) Reset()
- func (x *EnrollResponse) String() string
- type EnsureNetworkRequest
- func (*EnsureNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnsureNetworkRequest) GetName() string
- func (*EnsureNetworkRequest) ProtoMessage()
- func (x *EnsureNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *EnsureNetworkRequest) Reset()
- func (x *EnsureNetworkRequest) String() string
- type EnsureNetworkResponse
- func (*EnsureNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EnsureNetworkResponse) GetId() string
- func (*EnsureNetworkResponse) ProtoMessage()
- func (x *EnsureNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *EnsureNetworkResponse) Reset()
- func (x *EnsureNetworkResponse) String() string
- type EnsureVolumeRequest
- func (*EnsureVolumeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EnsureVolumeRequest) GetName() string
- func (*EnsureVolumeRequest) ProtoMessage()
- func (x *EnsureVolumeRequest) ProtoReflect() protoreflect.Message
- func (x *EnsureVolumeRequest) Reset()
- func (x *EnsureVolumeRequest) String() string
- type ExecCancel
- type ExecCredit
- type ExecExit
- func (*ExecExit) Descriptor() ([]byte, []int)deprecated
- func (x *ExecExit) GetCmd() []string
- func (x *ExecExit) GetContainer() string
- func (x *ExecExit) GetExitCode() int32
- func (x *ExecExit) GetStderr() string
- func (*ExecExit) ProtoMessage()
- func (x *ExecExit) ProtoReflect() protoreflect.Message
- func (x *ExecExit) Reset()
- func (x *ExecExit) String() string
- type ExecFailure
- func (*ExecFailure) Descriptor() ([]byte, []int)deprecated
- func (x *ExecFailure) GetExit() *ExecExit
- func (x *ExecFailure) GetMessage() string
- func (*ExecFailure) ProtoMessage()
- func (x *ExecFailure) ProtoReflect() protoreflect.Message
- func (x *ExecFailure) Reset()
- func (x *ExecFailure) String() string
- type ExecInput
- func (*ExecInput) Descriptor() ([]byte, []int)deprecated
- func (x *ExecInput) GetChunk() []byte
- func (x *ExecInput) GetEof() bool
- func (x *ExecInput) GetError() string
- func (x *ExecInput) GetExecId() string
- func (*ExecInput) ProtoMessage()
- func (x *ExecInput) ProtoReflect() protoreflect.Message
- func (x *ExecInput) Reset()
- func (x *ExecInput) String() string
- type ExecOutput
- func (*ExecOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ExecOutput) GetChunk() []byte
- func (x *ExecOutput) GetEof() bool
- func (x *ExecOutput) GetExecId() string
- func (x *ExecOutput) GetFailure() *ExecFailure
- func (*ExecOutput) ProtoMessage()
- func (x *ExecOutput) ProtoReflect() protoreflect.Message
- func (x *ExecOutput) Reset()
- func (x *ExecOutput) String() string
- type ExecRequest
- func (*ExecRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecRequest) GetArchive() *ArchiveOp
- func (x *ExecRequest) GetAttachStdin() bool
- func (x *ExecRequest) GetCmd() []string
- func (x *ExecRequest) GetContainerId() string
- func (x *ExecRequest) GetEnv() []string
- func (x *ExecRequest) GetFile() *FileOp
- func (x *ExecRequest) GetTty() bool
- func (x *ExecRequest) GetTtySize() *ExecTTYSize
- func (*ExecRequest) ProtoMessage()
- func (x *ExecRequest) ProtoReflect() protoreflect.Message
- func (x *ExecRequest) Reset()
- func (x *ExecRequest) String() string
- type ExecResize
- func (*ExecResize) Descriptor() ([]byte, []int)deprecated
- func (x *ExecResize) GetCols() uint32
- func (x *ExecResize) GetExecId() string
- func (x *ExecResize) GetRows() uint32
- func (*ExecResize) ProtoMessage()
- func (x *ExecResize) ProtoReflect() protoreflect.Message
- func (x *ExecResize) Reset()
- func (x *ExecResize) String() string
- type ExecTTYSize
- type ExitState
- func (*ExitState) Descriptor() ([]byte, []int)deprecated
- func (x *ExitState) GetExitCode() int32
- func (x *ExitState) GetOomKilled() bool
- func (x *ExitState) GetRunning() bool
- func (*ExitState) ProtoMessage()
- func (x *ExitState) ProtoReflect() protoreflect.Message
- func (x *ExitState) Reset()
- func (x *ExitState) String() string
- type FileOp
- func (*FileOp) Descriptor() ([]byte, []int)deprecated
- func (x *FileOp) GetKind() FileOp_Kind
- func (x *FileOp) GetMaxBytes() int64
- func (x *FileOp) GetPath() string
- func (*FileOp) ProtoMessage()
- func (x *FileOp) ProtoReflect() protoreflect.Message
- func (x *FileOp) Reset()
- func (x *FileOp) String() string
- type FileOp_Kind
- func (FileOp_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x FileOp_Kind) Enum() *FileOp_Kind
- func (FileOp_Kind) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileOp_Kind) Number() protoreflect.EnumNumber
- func (x FileOp_Kind) String() string
- func (FileOp_Kind) Type() protoreflect.EnumType
- type GPUDevice
- func (*GPUDevice) Descriptor() ([]byte, []int)deprecated
- func (x *GPUDevice) GetIndex() int32
- func (x *GPUDevice) GetName() string
- func (x *GPUDevice) GetUtilizationPercent() int32
- func (x *GPUDevice) GetUuid() string
- func (x *GPUDevice) GetVramTotalMib() int64
- func (x *GPUDevice) GetVramUsedMib() int64
- func (*GPUDevice) ProtoMessage()
- func (x *GPUDevice) ProtoReflect() protoreflect.Message
- func (x *GPUDevice) Reset()
- func (x *GPUDevice) String() string
- type GPUReport
- func (*GPUReport) Descriptor() ([]byte, []int)deprecated
- func (x *GPUReport) GetDevices() []*GPUDevice
- func (x *GPUReport) GetDriverVersion() string
- func (x *GPUReport) GetPresent() bool
- func (x *GPUReport) GetRuntimeInstalled() bool
- func (*GPUReport) ProtoMessage()
- func (x *GPUReport) ProtoReflect() protoreflect.Message
- func (x *GPUReport) Reset()
- func (x *GPUReport) String() string
- type GPURequest
- type GoAway
- type Heartbeat
- type HostReport
- func (*HostReport) Descriptor() ([]byte, []int)deprecated
- func (x *HostReport) GetAgentRssBytes() uint64
- func (x *HostReport) GetCpuCores() uint32
- func (x *HostReport) GetDiskFreeBytes() uint64
- func (x *HostReport) GetDiskInodesFree() uint64
- func (x *HostReport) GetDiskInodesTotal() uint64
- func (x *HostReport) GetDiskTotalBytes() uint64
- func (x *HostReport) GetMemoryAvailableBytes() uint64
- func (x *HostReport) GetMemoryTotalBytes() uint64
- func (x *HostReport) GetOtherContainers() []*UnmanagedContainer
- func (x *HostReport) GetOtherContainersMemoryBytes() uint64
- func (x *HostReport) GetSwapFreeBytes() uint64
- func (x *HostReport) GetSwapTotalBytes() uint64
- func (*HostReport) ProtoMessage()
- func (x *HostReport) ProtoReflect() protoreflect.Message
- func (x *HostReport) Reset()
- func (x *HostReport) String() string
- type ImageInfo
- func (*ImageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ImageInfo) GetCreatedAt() *timestamppb.Timestamp
- func (x *ImageInfo) GetTag() string
- func (*ImageInfo) ProtoMessage()
- func (x *ImageInfo) ProtoReflect() protoreflect.Message
- func (x *ImageInfo) Reset()
- func (x *ImageInfo) String() string
- type InspectByNameRequest
- func (*InspectByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InspectByNameRequest) GetName() string
- func (*InspectByNameRequest) ProtoMessage()
- func (x *InspectByNameRequest) ProtoReflect() protoreflect.Message
- func (x *InspectByNameRequest) Reset()
- func (x *InspectByNameRequest) String() string
- type InspectByNameResponse
- func (*InspectByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InspectByNameResponse) GetFound() bool
- func (x *InspectByNameResponse) GetState() *ContainerState
- func (*InspectByNameResponse) ProtoMessage()
- func (x *InspectByNameResponse) ProtoReflect() protoreflect.Message
- func (x *InspectByNameResponse) Reset()
- func (x *InspectByNameResponse) String() string
- type InspectExitStateRequest
- func (*InspectExitStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InspectExitStateRequest) GetName() string
- func (*InspectExitStateRequest) ProtoMessage()
- func (x *InspectExitStateRequest) ProtoReflect() protoreflect.Message
- func (x *InspectExitStateRequest) Reset()
- func (x *InspectExitStateRequest) String() string
- type InspectExitStateResponse
- func (*InspectExitStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InspectExitStateResponse) GetFound() bool
- func (x *InspectExitStateResponse) GetState() *ExitState
- func (*InspectExitStateResponse) ProtoMessage()
- func (x *InspectExitStateResponse) ProtoReflect() protoreflect.Message
- func (x *InspectExitStateResponse) Reset()
- func (x *InspectExitStateResponse) String() string
- type ListByPrefixRequest
- func (*ListByPrefixRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListByPrefixRequest) GetPrefix() string
- func (*ListByPrefixRequest) ProtoMessage()
- func (x *ListByPrefixRequest) ProtoReflect() protoreflect.Message
- func (x *ListByPrefixRequest) Reset()
- func (x *ListByPrefixRequest) String() string
- type ListByPrefixResponse
- func (*ListByPrefixResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListByPrefixResponse) GetContainers() []*ContainerState
- func (*ListByPrefixResponse) ProtoMessage()
- func (x *ListByPrefixResponse) ProtoReflect() protoreflect.Message
- func (x *ListByPrefixResponse) Reset()
- func (x *ListByPrefixResponse) String() string
- type ListImagesRequest
- type ListImagesResponse
- func (*ListImagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesResponse) GetImages() []*ImageInfo
- func (*ListImagesResponse) ProtoMessage()
- func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListImagesResponse) Reset()
- func (x *ListImagesResponse) String() string
- type ListNetworksByPrefixRequest
- func (*ListNetworksByPrefixRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetworksByPrefixRequest) GetPrefix() string
- func (*ListNetworksByPrefixRequest) ProtoMessage()
- func (x *ListNetworksByPrefixRequest) ProtoReflect() protoreflect.Message
- func (x *ListNetworksByPrefixRequest) Reset()
- func (x *ListNetworksByPrefixRequest) String() string
- type ListNetworksByPrefixResponse
- func (*ListNetworksByPrefixResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetworksByPrefixResponse) GetNetworks() []*NetworkInfo
- func (*ListNetworksByPrefixResponse) ProtoMessage()
- func (x *ListNetworksByPrefixResponse) ProtoReflect() protoreflect.Message
- func (x *ListNetworksByPrefixResponse) Reset()
- func (x *ListNetworksByPrefixResponse) String() string
- type MeshPeerStatus
- func (*MeshPeerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *MeshPeerStatus) GetEndpoint() string
- func (x *MeshPeerStatus) GetLastHandshakeUnixMs() int64
- func (x *MeshPeerStatus) GetNodeId() string
- func (x *MeshPeerStatus) GetPublicKey() string
- func (x *MeshPeerStatus) GetRxBytes() int64
- func (x *MeshPeerStatus) GetTxBytes() int64
- func (*MeshPeerStatus) ProtoMessage()
- func (x *MeshPeerStatus) ProtoReflect() protoreflect.Message
- func (x *MeshPeerStatus) Reset()
- func (x *MeshPeerStatus) String() string
- type MeshStatusRequest
- type MeshStatusResponse
- func (*MeshStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MeshStatusResponse) GetAddress() string
- func (x *MeshStatusResponse) GetPeers() []*MeshPeerStatus
- func (*MeshStatusResponse) ProtoMessage()
- func (x *MeshStatusResponse) ProtoReflect() protoreflect.Message
- func (x *MeshStatusResponse) Reset()
- func (x *MeshStatusResponse) String() string
- type NetworkConnectRequest
- func (*NetworkConnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkConnectRequest) GetContainerId() string
- func (x *NetworkConnectRequest) GetNetwork() string
- func (*NetworkConnectRequest) ProtoMessage()
- func (x *NetworkConnectRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkConnectRequest) Reset()
- func (x *NetworkConnectRequest) String() string
- type NetworkDisconnectRequest
- func (*NetworkDisconnectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkDisconnectRequest) GetContainerId() string
- func (x *NetworkDisconnectRequest) GetForce() bool
- func (x *NetworkDisconnectRequest) GetNetwork() string
- func (*NetworkDisconnectRequest) ProtoMessage()
- func (x *NetworkDisconnectRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkDisconnectRequest) Reset()
- func (x *NetworkDisconnectRequest) String() string
- type NetworkInfo
- type NodeIdentity
- func (*NodeIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *NodeIdentity) GetEndpoint() string
- func (x *NodeIdentity) GetListenPort() int32
- func (x *NodeIdentity) GetPublicKey() string
- func (*NodeIdentity) ProtoMessage()
- func (x *NodeIdentity) ProtoReflect() protoreflect.Message
- func (x *NodeIdentity) Reset()
- func (x *NodeIdentity) String() string
- type OnboardingReport
- func (*OnboardingReport) Descriptor() ([]byte, []int)deprecated
- func (x *OnboardingReport) GetAgentUnixNano() int64
- func (x *OnboardingReport) GetArch() string
- func (x *OnboardingReport) GetCloudInstanceId() string
- func (x *OnboardingReport) GetCloudProvider() string
- func (x *OnboardingReport) GetCloudRegion() string
- func (x *OnboardingReport) GetCloudSource() string
- func (x *OnboardingReport) GetCloudZone() string
- func (x *OnboardingReport) GetDiskFreeBytes() uint64
- func (x *OnboardingReport) GetDiskTotalBytes() uint64
- func (x *OnboardingReport) GetDockerError() string
- func (x *OnboardingReport) GetDockerOk() bool
- func (x *OnboardingReport) GetDockerVersion() string
- func (x *OnboardingReport) GetMeshEnabled() bool
- func (x *OnboardingReport) GetMeshPort() uint32
- func (x *OnboardingReport) GetMeshPortBindable() bool
- func (x *OnboardingReport) GetMetadataDisabled() bool
- func (x *OnboardingReport) GetOs() string
- func (x *OnboardingReport) GetWireguardKernel() bool
- func (*OnboardingReport) ProtoMessage()
- func (x *OnboardingReport) ProtoReflect() protoreflect.Message
- func (x *OnboardingReport) Reset()
- func (x *OnboardingReport) String() string
- type PeerConfig
- func (*PeerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PeerConfig) GetAllowedIps() []string
- func (x *PeerConfig) GetEndpoint() string
- func (x *PeerConfig) GetNodeId() string
- func (x *PeerConfig) GetPersistentKeepaliveMs() int64
- func (x *PeerConfig) GetPublicKey() string
- func (*PeerConfig) ProtoMessage()
- func (x *PeerConfig) ProtoReflect() protoreflect.Message
- func (x *PeerConfig) Reset()
- func (x *PeerConfig) String() string
- type PortBinding
- func (*PortBinding) Descriptor() ([]byte, []int)deprecated
- func (x *PortBinding) GetContainerPort() int32
- func (x *PortBinding) GetHostIp() string
- func (x *PortBinding) GetHostPort() int32
- func (x *PortBinding) GetProtocol() string
- func (*PortBinding) ProtoMessage()
- func (x *PortBinding) ProtoReflect() protoreflect.Message
- func (x *PortBinding) Reset()
- func (x *PortBinding) String() string
- type ProxiedEvent
- func (*ProxiedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ProxiedEvent) GetAction() string
- func (x *ProxiedEvent) GetContainerName() string
- func (x *ProxiedEvent) GetTime() *timestamppb.Timestamp
- func (x *ProxiedEvent) GetWatchId() string
- func (*ProxiedEvent) ProtoMessage()
- func (x *ProxiedEvent) ProtoReflect() protoreflect.Message
- func (x *ProxiedEvent) Reset()
- func (x *ProxiedEvent) String() string
- type ReenrollRequest
- func (*ReenrollRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReenrollRequest) GetAgent() *AgentInfo
- func (x *ReenrollRequest) GetCaPinState() string
- func (x *ReenrollRequest) GetCsrDer() []byte
- func (x *ReenrollRequest) GetNodeId() string
- func (x *ReenrollRequest) GetReenrollToken() string
- func (*ReenrollRequest) ProtoMessage()
- func (x *ReenrollRequest) ProtoReflect() protoreflect.Message
- func (x *ReenrollRequest) Reset()
- func (x *ReenrollRequest) String() string
- type ReenrollResponse
- func (*ReenrollResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReenrollResponse) GetCaCertPem() []byte
- func (x *ReenrollResponse) GetClientCertPem() []byte
- func (x *ReenrollResponse) GetNodeId() string
- func (x *ReenrollResponse) GetNotAfter() *timestamppb.Timestamp
- func (*ReenrollResponse) ProtoMessage()
- func (x *ReenrollResponse) ProtoReflect() protoreflect.Message
- func (x *ReenrollResponse) Reset()
- func (x *ReenrollResponse) String() string
- type RemoveNetworkRequest
- func (*RemoveNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNetworkRequest) GetName() string
- func (*RemoveNetworkRequest) ProtoMessage()
- func (x *RemoveNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveNetworkRequest) Reset()
- func (x *RemoveNetworkRequest) String() string
- type RemoveRequest
- func (*RemoveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequest) GetForce() bool
- func (x *RemoveRequest) GetId() string
- func (*RemoveRequest) ProtoMessage()
- func (x *RemoveRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRequest) Reset()
- func (x *RemoveRequest) String() string
- type RenewNow
- type RenewRequest
- type RenewResponse
- func (*RenewResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenewResponse) GetCaCertPem() []byte
- func (x *RenewResponse) GetClientCertPem() []byte
- func (x *RenewResponse) GetNotAfter() *timestamppb.Timestamp
- func (*RenewResponse) ProtoMessage()
- func (x *RenewResponse) ProtoReflect() protoreflect.Message
- func (x *RenewResponse) Reset()
- func (x *RenewResponse) String() string
- type RenewalReport
- func (*RenewalReport) Descriptor() ([]byte, []int)deprecated
- func (x *RenewalReport) GetConsecutiveFailures() int32
- func (x *RenewalReport) GetLastError() string
- func (x *RenewalReport) GetLastFailedAt() *timestamppb.Timestamp
- func (x *RenewalReport) GetNextRenewAt() *timestamppb.Timestamp
- func (x *RenewalReport) GetNextRetryAt() *timestamppb.Timestamp
- func (*RenewalReport) ProtoMessage()
- func (x *RenewalReport) ProtoReflect() protoreflect.Message
- func (x *RenewalReport) Reset()
- func (x *RenewalReport) String() string
- type Resources
- func (*Resources) Descriptor() ([]byte, []int)deprecated
- func (x *Resources) GetCpusetCpus() string
- func (x *Resources) GetMemoryBytes() int64
- func (x *Resources) GetNanoCpus() int64
- func (x *Resources) GetSwapMemoryBytes() int64
- func (*Resources) ProtoMessage()
- func (x *Resources) ProtoReflect() protoreflect.Message
- func (x *Resources) Reset()
- func (x *Resources) String() string
- type RotateMeshKeyRequest
- type RotateMeshKeyResponse
- func (*RotateMeshKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RotateMeshKeyResponse) GetNewPublicKey() string
- func (x *RotateMeshKeyResponse) GetOldPublicKey() string
- func (*RotateMeshKeyResponse) ProtoMessage()
- func (x *RotateMeshKeyResponse) ProtoReflect() protoreflect.Message
- func (x *RotateMeshKeyResponse) Reset()
- func (x *RotateMeshKeyResponse) String() string
- type StartRequest
- type StatsRequest
- type StatsResponse
- type StopRequest
- type UnimplementedAgentServiceServer
- func (UnimplementedAgentServiceServer) CheckIdentity(context.Context, *CheckIdentityRequest) (*CheckIdentityResponse, error)
- func (UnimplementedAgentServiceServer) Enroll(context.Context, *EnrollRequest) (*EnrollResponse, error)
- func (UnimplementedAgentServiceServer) Reenroll(context.Context, *ReenrollRequest) (*ReenrollResponse, error)
- func (UnimplementedAgentServiceServer) Renew(context.Context, *RenewRequest) (*RenewResponse, error)
- func (UnimplementedAgentServiceServer) Session(grpc.BidiStreamingServer[AgentMessage, ControlMessage]) error
- type UnmanagedContainer
- func (*UnmanagedContainer) Descriptor() ([]byte, []int)deprecated
- func (x *UnmanagedContainer) GetMemoryBytes() uint64
- func (x *UnmanagedContainer) GetName() string
- func (*UnmanagedContainer) ProtoMessage()
- func (x *UnmanagedContainer) ProtoReflect() protoreflect.Message
- func (x *UnmanagedContainer) Reset()
- func (x *UnmanagedContainer) String() string
- type UnsafeAgentServiceServer
- type UpdateResourcesRequest
- func (*UpdateResourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResourcesRequest) GetId() string
- func (x *UpdateResourcesRequest) GetResources() *Resources
- func (*UpdateResourcesRequest) ProtoMessage()
- func (x *UpdateResourcesRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateResourcesRequest) Reset()
- func (x *UpdateResourcesRequest) String() string
- type VolumeMount
- func (*VolumeMount) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeMount) GetContainerPath() string
- func (x *VolumeMount) GetName() string
- func (*VolumeMount) ProtoMessage()
- func (x *VolumeMount) ProtoReflect() protoreflect.Message
- func (x *VolumeMount) Reset()
- func (x *VolumeMount) String() string
- type WatchEventsRequest
- func (*WatchEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WatchEventsRequest) GetWatchId() string
- func (*WatchEventsRequest) ProtoMessage()
- func (x *WatchEventsRequest) ProtoReflect() protoreflect.Message
- func (x *WatchEventsRequest) Reset()
- func (x *WatchEventsRequest) String() string
Constants ¶
const ( AgentService_Enroll_FullMethodName = "/levelrail.agent.v1.AgentService/Enroll" AgentService_Session_FullMethodName = "/levelrail.agent.v1.AgentService/Session" AgentService_Renew_FullMethodName = "/levelrail.agent.v1.AgentService/Renew" AgentService_Reenroll_FullMethodName = "/levelrail.agent.v1.AgentService/Reenroll" AgentService_CheckIdentity_FullMethodName = "/levelrail.agent.v1.AgentService/CheckIdentity" )
Variables ¶
var ( BuildKind_name = map[int32]string{ 0: "BUILD_KIND_UNSPECIFIED", 1: "BUILD_KIND_DOCKERFILE", 2: "BUILD_KIND_RAILPACK", } BuildKind_value = map[string]int32{ "BUILD_KIND_UNSPECIFIED": 0, "BUILD_KIND_DOCKERFILE": 1, "BUILD_KIND_RAILPACK": 2, } )
Enum value maps for BuildKind.
var ( FileOp_Kind_name = map[int32]string{ 0: "KIND_UNSPECIFIED", 1: "KIND_PUT", 2: "KIND_GET", 3: "KIND_DELETE", 4: "KIND_LIST", } FileOp_Kind_value = map[string]int32{ "KIND_UNSPECIFIED": 0, "KIND_PUT": 1, "KIND_GET": 2, "KIND_DELETE": 3, "KIND_LIST": 4, } )
Enum value maps for FileOp_Kind.
var AgentService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "levelrail.agent.v1.AgentService", HandlerType: (*AgentServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Enroll", Handler: _AgentService_Enroll_Handler, }, { MethodName: "Renew", Handler: _AgentService_Renew_Handler, }, { MethodName: "Reenroll", Handler: _AgentService_Reenroll_Handler, }, { MethodName: "CheckIdentity", Handler: _AgentService_CheckIdentity_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Session", Handler: _AgentService_Session_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "proto/agent/v1/agent.proto", }
AgentService_ServiceDesc is the grpc.ServiceDesc for AgentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_agent_v1_agent_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentServiceServer ¶
func RegisterAgentServiceServer(s grpc.ServiceRegistrar, srv AgentServiceServer)
Types ¶
type AgentInfo ¶ added in v0.2.0
type AgentInfo struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,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"`
// contains filtered or unexported fields
}
AgentInfo is what an agent reports about its own build and platform.
func (*AgentInfo) Descriptor
deprecated
added in
v0.2.0
func (*AgentInfo) GetVersion ¶ added in v0.2.0
func (*AgentInfo) ProtoMessage ¶ added in v0.2.0
func (*AgentInfo) ProtoMessage()
func (*AgentInfo) ProtoReflect ¶ added in v0.2.0
func (x *AgentInfo) ProtoReflect() protoreflect.Message
type AgentMessage ¶
type AgentMessage struct {
// Types that are valid to be assigned to Payload:
//
// *AgentMessage_Response
// *AgentMessage_Event
// *AgentMessage_ExecOutput
// *AgentMessage_ExecCredit
// *AgentMessage_BuildOutput
// *AgentMessage_BuildCredit
// *AgentMessage_Heartbeat
// *AgentMessage_GpuReport
// *AgentMessage_Hello
// *AgentMessage_HostReport
// *AgentMessage_Renewal
// *AgentMessage_Onboarding
Payload isAgentMessage_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
AgentMessage is one frame the agent sends up the Session stream: a reply to an outstanding AgentRequest, an unprompted streamed Docker event, or one frame of an in-flight exec's output or stdin flow control.
func (*AgentMessage) Descriptor
deprecated
func (*AgentMessage) Descriptor() ([]byte, []int)
Deprecated: Use AgentMessage.ProtoReflect.Descriptor instead.
func (*AgentMessage) GetBuildCredit ¶ added in v0.2.0
func (x *AgentMessage) GetBuildCredit() *BuildCredit
func (*AgentMessage) GetBuildOutput ¶ added in v0.2.0
func (x *AgentMessage) GetBuildOutput() *BuildOutput
func (*AgentMessage) GetEvent ¶
func (x *AgentMessage) GetEvent() *ProxiedEvent
func (*AgentMessage) GetExecCredit ¶ added in v0.2.0
func (x *AgentMessage) GetExecCredit() *ExecCredit
func (*AgentMessage) GetExecOutput ¶ added in v0.2.0
func (x *AgentMessage) GetExecOutput() *ExecOutput
func (*AgentMessage) GetGpuReport ¶ added in v0.2.0
func (x *AgentMessage) GetGpuReport() *GPUReport
func (*AgentMessage) GetHeartbeat ¶ added in v0.2.0
func (x *AgentMessage) GetHeartbeat() *Heartbeat
func (*AgentMessage) GetHello ¶ added in v0.2.0
func (x *AgentMessage) GetHello() *AgentInfo
func (*AgentMessage) GetHostReport ¶ added in v0.2.2
func (x *AgentMessage) GetHostReport() *HostReport
func (*AgentMessage) GetOnboarding ¶
func (x *AgentMessage) GetOnboarding() *OnboardingReport
func (*AgentMessage) GetPayload ¶
func (x *AgentMessage) GetPayload() isAgentMessage_Payload
func (*AgentMessage) GetRenewal ¶
func (x *AgentMessage) GetRenewal() *RenewalReport
func (*AgentMessage) GetResponse ¶
func (x *AgentMessage) GetResponse() *AgentResponse
func (*AgentMessage) ProtoMessage ¶
func (*AgentMessage) ProtoMessage()
func (*AgentMessage) ProtoReflect ¶
func (x *AgentMessage) ProtoReflect() protoreflect.Message
func (*AgentMessage) Reset ¶
func (x *AgentMessage) Reset()
func (*AgentMessage) String ¶
func (x *AgentMessage) String() string
type AgentMessage_BuildCredit ¶ added in v0.2.0
type AgentMessage_BuildCredit struct {
// BuildCredit here refunds the control plane's build-context window:
// the agent has consumed that many BuildInput frames.
BuildCredit *BuildCredit `protobuf:"bytes,6,opt,name=build_credit,json=buildCredit,proto3,oneof"`
}
type AgentMessage_BuildOutput ¶ added in v0.2.0
type AgentMessage_BuildOutput struct {
BuildOutput *BuildOutput `protobuf:"bytes,5,opt,name=build_output,json=buildOutput,proto3,oneof"`
}
type AgentMessage_Event ¶
type AgentMessage_Event struct {
Event *ProxiedEvent `protobuf:"bytes,2,opt,name=event,proto3,oneof"`
}
type AgentMessage_ExecCredit ¶ added in v0.2.0
type AgentMessage_ExecCredit struct {
// ExecCredit here refunds the control plane's stdin window: the
// agent has consumed that many ExecInput frames.
ExecCredit *ExecCredit `protobuf:"bytes,4,opt,name=exec_credit,json=execCredit,proto3,oneof"`
}
type AgentMessage_ExecOutput ¶ added in v0.2.0
type AgentMessage_ExecOutput struct {
ExecOutput *ExecOutput `protobuf:"bytes,3,opt,name=exec_output,json=execOutput,proto3,oneof"`
}
type AgentMessage_GpuReport ¶ added in v0.2.0
type AgentMessage_GpuReport struct {
GpuReport *GPUReport `protobuf:"bytes,8,opt,name=gpu_report,json=gpuReport,proto3,oneof"`
}
type AgentMessage_Heartbeat ¶ added in v0.2.0
type AgentMessage_Heartbeat struct {
// Heartbeat is an unprompted liveness signal the agent sends up this
// stream at a fixed interval, on its own initiative, independent of
// any AgentRequest/AgentResponse traffic. This is deliberately a real
// application-level message, not inferred from the stream merely
// staying open: internal/agent.Server only refreshes a node's
// last_seen_at when this frame actually arrives, so a frozen agent
// process (hung, deadlocked, or stopped without exiting) whose TCP/TLS
// connection is still technically established stops advancing
// last_seen_at the moment it stops actually running, rather than
// looking healthy for as long as the transport happens to stay up.
Heartbeat *Heartbeat `protobuf:"bytes,7,opt,name=heartbeat,proto3,oneof"`
}
type AgentMessage_Hello ¶ added in v0.2.0
type AgentMessage_Hello struct {
// Hello is sent once, first, on every Session. Control planes that
// predate it ignore the frame.
Hello *AgentInfo `protobuf:"bytes,9,opt,name=hello,proto3,oneof"`
}
type AgentMessage_HostReport ¶ added in v0.2.2
type AgentMessage_HostReport struct {
// HostReport is the agent's host memory split, sent periodically.
// Control planes that predate it ignore the frame.
HostReport *HostReport `protobuf:"bytes,10,opt,name=host_report,json=hostReport,proto3,oneof"`
}
type AgentMessage_Onboarding ¶
type AgentMessage_Onboarding struct {
// OnboardingReport is the node's facts for the add-node preflight and
// the provider, region and zone it detected. Control planes that
// predate it ignore the frame.
Onboarding *OnboardingReport `protobuf:"bytes,12,opt,name=onboarding,proto3,oneof"`
}
type AgentMessage_Renewal ¶
type AgentMessage_Renewal struct {
// RenewalReport is the agent's certificate renewal state, sent at
// session start and after every renewal attempt.
Renewal *RenewalReport `protobuf:"bytes,11,opt,name=renewal,proto3,oneof"`
}
type AgentMessage_Response ¶
type AgentMessage_Response struct {
Response *AgentResponse `protobuf:"bytes,1,opt,name=response,proto3,oneof"`
}
type AgentRequest ¶
type AgentRequest struct {
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Types that are valid to be assigned to Op:
//
// *AgentRequest_InspectByName
// *AgentRequest_Create
// *AgentRequest_Start
// *AgentRequest_Stop
// *AgentRequest_Remove
// *AgentRequest_ListImages
// *AgentRequest_ListByPrefix
// *AgentRequest_EnsureVolume
// *AgentRequest_WatchEvents
// *AgentRequest_UpdateResources
// *AgentRequest_EnsureNetwork
// *AgentRequest_RemoveNetwork
// *AgentRequest_ListNetworksByPrefix
// *AgentRequest_Exec
// *AgentRequest_Build
// *AgentRequest_InspectExitState
// *AgentRequest_ApplyMesh
// *AgentRequest_RotateMeshKey
// *AgentRequest_NetworkConnect
// *AgentRequest_NetworkDisconnect
// *AgentRequest_Stats
// *AgentRequest_MeshStatus
Op isAgentRequest_Op `protobuf_oneof:"op"`
// contains filtered or unexported fields
}
AgentRequest is one control-plane-issued operation, tagged with request_id so out-of-order AgentResponse frames on the same stream still resolve to the right caller (internal/agent's multiplexer owns matching these).
func (*AgentRequest) Descriptor
deprecated
func (*AgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AgentRequest.ProtoReflect.Descriptor instead.
func (*AgentRequest) GetApplyMesh ¶ added in v0.2.0
func (x *AgentRequest) GetApplyMesh() *ApplyMeshRequest
func (*AgentRequest) GetBuild ¶ added in v0.2.0
func (x *AgentRequest) GetBuild() *BuildRequest
func (*AgentRequest) GetCreate ¶
func (x *AgentRequest) GetCreate() *CreateRequest
func (*AgentRequest) GetEnsureNetwork ¶ added in v0.2.0
func (x *AgentRequest) GetEnsureNetwork() *EnsureNetworkRequest
func (*AgentRequest) GetEnsureVolume ¶
func (x *AgentRequest) GetEnsureVolume() *EnsureVolumeRequest
func (*AgentRequest) GetExec ¶ added in v0.2.0
func (x *AgentRequest) GetExec() *ExecRequest
func (*AgentRequest) GetInspectByName ¶
func (x *AgentRequest) GetInspectByName() *InspectByNameRequest
func (*AgentRequest) GetInspectExitState ¶ added in v0.2.0
func (x *AgentRequest) GetInspectExitState() *InspectExitStateRequest
func (*AgentRequest) GetListByPrefix ¶
func (x *AgentRequest) GetListByPrefix() *ListByPrefixRequest
func (*AgentRequest) GetListImages ¶
func (x *AgentRequest) GetListImages() *ListImagesRequest
func (*AgentRequest) GetListNetworksByPrefix ¶ added in v0.2.0
func (x *AgentRequest) GetListNetworksByPrefix() *ListNetworksByPrefixRequest
func (*AgentRequest) GetMeshStatus ¶ added in v0.2.0
func (x *AgentRequest) GetMeshStatus() *MeshStatusRequest
func (*AgentRequest) GetNetworkConnect ¶ added in v0.2.0
func (x *AgentRequest) GetNetworkConnect() *NetworkConnectRequest
func (*AgentRequest) GetNetworkDisconnect ¶ added in v0.2.0
func (x *AgentRequest) GetNetworkDisconnect() *NetworkDisconnectRequest
func (*AgentRequest) GetOp ¶
func (x *AgentRequest) GetOp() isAgentRequest_Op
func (*AgentRequest) GetRemove ¶
func (x *AgentRequest) GetRemove() *RemoveRequest
func (*AgentRequest) GetRemoveNetwork ¶ added in v0.2.0
func (x *AgentRequest) GetRemoveNetwork() *RemoveNetworkRequest
func (*AgentRequest) GetRequestId ¶
func (x *AgentRequest) GetRequestId() string
func (*AgentRequest) GetRotateMeshKey ¶ added in v0.2.0
func (x *AgentRequest) GetRotateMeshKey() *RotateMeshKeyRequest
func (*AgentRequest) GetStart ¶
func (x *AgentRequest) GetStart() *StartRequest
func (*AgentRequest) GetStats ¶ added in v0.2.0
func (x *AgentRequest) GetStats() *StatsRequest
func (*AgentRequest) GetStop ¶
func (x *AgentRequest) GetStop() *StopRequest
func (*AgentRequest) GetUpdateResources ¶
func (x *AgentRequest) GetUpdateResources() *UpdateResourcesRequest
func (*AgentRequest) GetWatchEvents ¶
func (x *AgentRequest) GetWatchEvents() *WatchEventsRequest
func (*AgentRequest) ProtoMessage ¶
func (*AgentRequest) ProtoMessage()
func (*AgentRequest) ProtoReflect ¶
func (x *AgentRequest) ProtoReflect() protoreflect.Message
func (*AgentRequest) Reset ¶
func (x *AgentRequest) Reset()
func (*AgentRequest) String ¶
func (x *AgentRequest) String() string
type AgentRequest_ApplyMesh ¶ added in v0.2.0
type AgentRequest_ApplyMesh struct {
// ApplyMesh and RotateMeshKey are dispatched directly by the agent's
// own serveSession loop (internal/agent/client.go), not through
// Execute: see internal/network.ConfigSink's own doc comment for why
// this op exists (the gRPC arm that doc comment says is "deliberately
// not in this change" landing here, as its own reviewed diff against
// this wire contract) and MeshApplier for the agent-side contract it
// is dispatched against. Both carry this node's own mesh identity
// only: the private key behind that identity never crosses this wire
// in either direction (DeviceConfig.private_key is always unset on
// the way down, and there is no field for one on the way back).
ApplyMesh *ApplyMeshRequest `protobuf:"bytes,18,opt,name=apply_mesh,json=applyMesh,proto3,oneof"`
}
type AgentRequest_Build ¶ added in v0.2.0
type AgentRequest_Build struct {
Build *BuildRequest `protobuf:"bytes,16,opt,name=build,proto3,oneof"`
}
type AgentRequest_Create ¶
type AgentRequest_Create struct {
Create *CreateRequest `protobuf:"bytes,3,opt,name=create,proto3,oneof"`
}
type AgentRequest_EnsureNetwork ¶ added in v0.2.0
type AgentRequest_EnsureNetwork struct {
EnsureNetwork *EnsureNetworkRequest `protobuf:"bytes,12,opt,name=ensure_network,json=ensureNetwork,proto3,oneof"`
}
type AgentRequest_EnsureVolume ¶
type AgentRequest_EnsureVolume struct {
EnsureVolume *EnsureVolumeRequest `protobuf:"bytes,9,opt,name=ensure_volume,json=ensureVolume,proto3,oneof"`
}
type AgentRequest_Exec ¶ added in v0.2.0
type AgentRequest_Exec struct {
Exec *ExecRequest `protobuf:"bytes,15,opt,name=exec,proto3,oneof"`
}
type AgentRequest_InspectByName ¶
type AgentRequest_InspectByName struct {
InspectByName *InspectByNameRequest `protobuf:"bytes,2,opt,name=inspect_by_name,json=inspectByName,proto3,oneof"`
}
type AgentRequest_InspectExitState ¶ added in v0.2.0
type AgentRequest_InspectExitState struct {
InspectExitState *InspectExitStateRequest `protobuf:"bytes,17,opt,name=inspect_exit_state,json=inspectExitState,proto3,oneof"`
}
type AgentRequest_ListByPrefix ¶
type AgentRequest_ListByPrefix struct {
ListByPrefix *ListByPrefixRequest `protobuf:"bytes,8,opt,name=list_by_prefix,json=listByPrefix,proto3,oneof"`
}
type AgentRequest_ListImages ¶
type AgentRequest_ListImages struct {
ListImages *ListImagesRequest `protobuf:"bytes,7,opt,name=list_images,json=listImages,proto3,oneof"`
}
type AgentRequest_ListNetworksByPrefix ¶ added in v0.2.0
type AgentRequest_ListNetworksByPrefix struct {
ListNetworksByPrefix *ListNetworksByPrefixRequest `protobuf:"bytes,14,opt,name=list_networks_by_prefix,json=listNetworksByPrefix,proto3,oneof"`
}
type AgentRequest_MeshStatus ¶ added in v0.2.0
type AgentRequest_MeshStatus struct {
// MeshStatus asks for the node's own WireGuard view of its peers, for
// node-pair connectivity diagnostics.
MeshStatus *MeshStatusRequest `protobuf:"bytes,23,opt,name=mesh_status,json=meshStatus,proto3,oneof"`
}
type AgentRequest_NetworkConnect ¶ added in v0.2.0
type AgentRequest_NetworkConnect struct {
NetworkConnect *NetworkConnectRequest `protobuf:"bytes,20,opt,name=network_connect,json=networkConnect,proto3,oneof"`
}
type AgentRequest_NetworkDisconnect ¶ added in v0.2.0
type AgentRequest_NetworkDisconnect struct {
NetworkDisconnect *NetworkDisconnectRequest `protobuf:"bytes,21,opt,name=network_disconnect,json=networkDisconnect,proto3,oneof"`
}
type AgentRequest_Remove ¶
type AgentRequest_Remove struct {
Remove *RemoveRequest `protobuf:"bytes,6,opt,name=remove,proto3,oneof"`
}
type AgentRequest_RemoveNetwork ¶ added in v0.2.0
type AgentRequest_RemoveNetwork struct {
RemoveNetwork *RemoveNetworkRequest `protobuf:"bytes,13,opt,name=remove_network,json=removeNetwork,proto3,oneof"`
}
type AgentRequest_RotateMeshKey ¶ added in v0.2.0
type AgentRequest_RotateMeshKey struct {
RotateMeshKey *RotateMeshKeyRequest `protobuf:"bytes,19,opt,name=rotate_mesh_key,json=rotateMeshKey,proto3,oneof"`
}
type AgentRequest_Start ¶
type AgentRequest_Start struct {
Start *StartRequest `protobuf:"bytes,4,opt,name=start,proto3,oneof"`
}
type AgentRequest_Stats ¶ added in v0.2.0
type AgentRequest_Stats struct {
// Stats asks for one point-in-time resource-usage snapshot
// (internal/docker.Client.Stats), the remote-node half of ADR 008's
// federated query: the control plane polls this on an interval per
// placed container, the same way it already polls its own local
// Docker socket, instead of the agent keeping its own store.
Stats *StatsRequest `protobuf:"bytes,22,opt,name=stats,proto3,oneof"`
}
type AgentRequest_Stop ¶
type AgentRequest_Stop struct {
Stop *StopRequest `protobuf:"bytes,5,opt,name=stop,proto3,oneof"`
}
type AgentRequest_UpdateResources ¶
type AgentRequest_UpdateResources struct {
UpdateResources *UpdateResourcesRequest `protobuf:"bytes,11,opt,name=update_resources,json=updateResources,proto3,oneof"`
}
type AgentRequest_WatchEvents ¶
type AgentRequest_WatchEvents struct {
WatchEvents *WatchEventsRequest `protobuf:"bytes,10,opt,name=watch_events,json=watchEvents,proto3,oneof"`
}
type AgentResponse ¶
type AgentResponse struct {
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Error is set (and every field below unset) when the underlying
// internal/docker.Runtime call itself returned an error: the
// multiplexer surfaces this as a real Go error to the caller, never
// silently treated as a zero-value success.
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// Types that are valid to be assigned to Result:
//
// *AgentResponse_InspectByName
// *AgentResponse_Create
// *AgentResponse_ListImages
// *AgentResponse_ListByPrefix
// *AgentResponse_Empty
// *AgentResponse_EnsureNetwork
// *AgentResponse_ListNetworksByPrefix
// *AgentResponse_InspectExitState
// *AgentResponse_ApplyMesh
// *AgentResponse_RotateMeshKey
// *AgentResponse_Stats
// *AgentResponse_MeshStatus
// *AgentResponse_ArchiveStat
Result isAgentResponse_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
AgentResponse is the agent's answer to exactly one AgentRequest, carrying the same request_id.
func (*AgentResponse) Descriptor
deprecated
func (*AgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AgentResponse.ProtoReflect.Descriptor instead.
func (*AgentResponse) GetApplyMesh ¶ added in v0.2.0
func (x *AgentResponse) GetApplyMesh() *ApplyMeshResponse
func (*AgentResponse) GetArchiveStat ¶
func (x *AgentResponse) GetArchiveStat() *ArchiveStat
func (*AgentResponse) GetCreate ¶
func (x *AgentResponse) GetCreate() *CreateResponse
func (*AgentResponse) GetEmpty ¶
func (x *AgentResponse) GetEmpty() *Empty
func (*AgentResponse) GetEnsureNetwork ¶ added in v0.2.0
func (x *AgentResponse) GetEnsureNetwork() *EnsureNetworkResponse
func (*AgentResponse) GetError ¶
func (x *AgentResponse) GetError() string
func (*AgentResponse) GetInspectByName ¶
func (x *AgentResponse) GetInspectByName() *InspectByNameResponse
func (*AgentResponse) GetInspectExitState ¶ added in v0.2.0
func (x *AgentResponse) GetInspectExitState() *InspectExitStateResponse
func (*AgentResponse) GetListByPrefix ¶
func (x *AgentResponse) GetListByPrefix() *ListByPrefixResponse
func (*AgentResponse) GetListImages ¶
func (x *AgentResponse) GetListImages() *ListImagesResponse
func (*AgentResponse) GetListNetworksByPrefix ¶ added in v0.2.0
func (x *AgentResponse) GetListNetworksByPrefix() *ListNetworksByPrefixResponse
func (*AgentResponse) GetMeshStatus ¶ added in v0.2.0
func (x *AgentResponse) GetMeshStatus() *MeshStatusResponse
func (*AgentResponse) GetRequestId ¶
func (x *AgentResponse) GetRequestId() string
func (*AgentResponse) GetResult ¶
func (x *AgentResponse) GetResult() isAgentResponse_Result
func (*AgentResponse) GetRotateMeshKey ¶ added in v0.2.0
func (x *AgentResponse) GetRotateMeshKey() *RotateMeshKeyResponse
func (*AgentResponse) GetStats ¶ added in v0.2.0
func (x *AgentResponse) GetStats() *StatsResponse
func (*AgentResponse) ProtoMessage ¶
func (*AgentResponse) ProtoMessage()
func (*AgentResponse) ProtoReflect ¶
func (x *AgentResponse) ProtoReflect() protoreflect.Message
func (*AgentResponse) Reset ¶
func (x *AgentResponse) Reset()
func (*AgentResponse) String ¶
func (x *AgentResponse) String() string
type AgentResponse_ApplyMesh ¶ added in v0.2.0
type AgentResponse_ApplyMesh struct {
ApplyMesh *ApplyMeshResponse `protobuf:"bytes,11,opt,name=apply_mesh,json=applyMesh,proto3,oneof"`
}
type AgentResponse_ArchiveStat ¶
type AgentResponse_ArchiveStat struct {
// ArchiveStat acknowledges a copy-out ExecRequest with the path stat.
ArchiveStat *ArchiveStat `protobuf:"bytes,15,opt,name=archive_stat,json=archiveStat,proto3,oneof"`
}
type AgentResponse_Create ¶
type AgentResponse_Create struct {
Create *CreateResponse `protobuf:"bytes,4,opt,name=create,proto3,oneof"`
}
type AgentResponse_Empty ¶
type AgentResponse_Empty struct {
// Start, Stop, Remove, EnsureVolume, RemoveNetwork, and the
// WatchEvents acknowledgment all return nothing but success/Error
// above, so none of them needs its own response message.
Empty *Empty `protobuf:"bytes,7,opt,name=empty,proto3,oneof"`
}
type AgentResponse_EnsureNetwork ¶ added in v0.2.0
type AgentResponse_EnsureNetwork struct {
EnsureNetwork *EnsureNetworkResponse `protobuf:"bytes,8,opt,name=ensure_network,json=ensureNetwork,proto3,oneof"`
}
type AgentResponse_InspectByName ¶
type AgentResponse_InspectByName struct {
InspectByName *InspectByNameResponse `protobuf:"bytes,3,opt,name=inspect_by_name,json=inspectByName,proto3,oneof"`
}
type AgentResponse_InspectExitState ¶ added in v0.2.0
type AgentResponse_InspectExitState struct {
InspectExitState *InspectExitStateResponse `protobuf:"bytes,10,opt,name=inspect_exit_state,json=inspectExitState,proto3,oneof"`
}
type AgentResponse_ListByPrefix ¶
type AgentResponse_ListByPrefix struct {
ListByPrefix *ListByPrefixResponse `protobuf:"bytes,6,opt,name=list_by_prefix,json=listByPrefix,proto3,oneof"`
}
type AgentResponse_ListImages ¶
type AgentResponse_ListImages struct {
ListImages *ListImagesResponse `protobuf:"bytes,5,opt,name=list_images,json=listImages,proto3,oneof"`
}
type AgentResponse_ListNetworksByPrefix ¶ added in v0.2.0
type AgentResponse_ListNetworksByPrefix struct {
ListNetworksByPrefix *ListNetworksByPrefixResponse `protobuf:"bytes,9,opt,name=list_networks_by_prefix,json=listNetworksByPrefix,proto3,oneof"`
}
type AgentResponse_MeshStatus ¶ added in v0.2.0
type AgentResponse_MeshStatus struct {
MeshStatus *MeshStatusResponse `protobuf:"bytes,14,opt,name=mesh_status,json=meshStatus,proto3,oneof"`
}
type AgentResponse_RotateMeshKey ¶ added in v0.2.0
type AgentResponse_RotateMeshKey struct {
RotateMeshKey *RotateMeshKeyResponse `protobuf:"bytes,12,opt,name=rotate_mesh_key,json=rotateMeshKey,proto3,oneof"`
}
type AgentResponse_Stats ¶ added in v0.2.0
type AgentResponse_Stats struct {
Stats *StatsResponse `protobuf:"bytes,13,opt,name=stats,proto3,oneof"`
}
type AgentServiceClient ¶
type AgentServiceClient interface {
// Enroll exchanges a one-time join token (internal/store.NodeJoinToken)
// for a signed client certificate, over a connection
// that does not yet present a client cert (the token itself is the
// credential for this one call). Called once per node, before Session
// is ever called.
Enroll(ctx context.Context, in *EnrollRequest, opts ...grpc.CallOption) (*EnrollResponse, error)
// Session is the agent's one persistent connection, opened only after
// Enroll (using the certificate Enroll returned for mTLS). The agent
// never initiates a logical request on this stream, only responds to
// AgentRequest messages arriving from the control plane, plus sending
// ProxiedEvent messages unprompted (the streaming Docker-event
// relay ADR 003 calls out: "the agent streams Docker events up to
// the control plane rather than the control plane polling down").
Session(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[AgentMessage, ControlMessage], error)
// Renew issues a fresh certificate for a CSR, authenticated by the
// caller's current mTLS certificate (or its previous one inside the
// overlap window). See ADR 021.
Renew(ctx context.Context, in *RenewRequest, opts ...grpc.CallOption) (*RenewResponse, error)
// Reenroll exchanges a one-time re-enrollment token bound to an existing
// node for a new certificate, keeping the node's identity and history.
// Like Enroll, it is called without a client certificate.
Reenroll(ctx context.Context, in *ReenrollRequest, opts ...grpc.CallOption) (*ReenrollResponse, error)
// CheckIdentity confirms the presented client certificate is accepted
// for its node, without opening a Session. The agent uses it to test a
// renewed certificate before discarding the old one.
CheckIdentity(ctx context.Context, in *CheckIdentityRequest, opts ...grpc.CallOption) (*CheckIdentityResponse, error)
}
AgentServiceClient is the client API for AgentService 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.
func NewAgentServiceClient ¶
func NewAgentServiceClient(cc grpc.ClientConnInterface) AgentServiceClient
type AgentServiceServer ¶
type AgentServiceServer interface {
// Enroll exchanges a one-time join token (internal/store.NodeJoinToken)
// for a signed client certificate, over a connection
// that does not yet present a client cert (the token itself is the
// credential for this one call). Called once per node, before Session
// is ever called.
Enroll(context.Context, *EnrollRequest) (*EnrollResponse, error)
// Session is the agent's one persistent connection, opened only after
// Enroll (using the certificate Enroll returned for mTLS). The agent
// never initiates a logical request on this stream, only responds to
// AgentRequest messages arriving from the control plane, plus sending
// ProxiedEvent messages unprompted (the streaming Docker-event
// relay ADR 003 calls out: "the agent streams Docker events up to
// the control plane rather than the control plane polling down").
Session(grpc.BidiStreamingServer[AgentMessage, ControlMessage]) error
// Renew issues a fresh certificate for a CSR, authenticated by the
// caller's current mTLS certificate (or its previous one inside the
// overlap window). See ADR 021.
Renew(context.Context, *RenewRequest) (*RenewResponse, error)
// Reenroll exchanges a one-time re-enrollment token bound to an existing
// node for a new certificate, keeping the node's identity and history.
// Like Enroll, it is called without a client certificate.
Reenroll(context.Context, *ReenrollRequest) (*ReenrollResponse, error)
// CheckIdentity confirms the presented client certificate is accepted
// for its node, without opening a Session. The agent uses it to test a
// renewed certificate before discarding the old one.
CheckIdentity(context.Context, *CheckIdentityRequest) (*CheckIdentityResponse, error)
// contains filtered or unexported methods
}
AgentServiceServer is the server API for AgentService service. All implementations must embed UnimplementedAgentServiceServer for forward compatibility.
type AgentService_SessionClient ¶
type AgentService_SessionClient = grpc.BidiStreamingClient[AgentMessage, ControlMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AgentService_SessionServer ¶
type AgentService_SessionServer = grpc.BidiStreamingServer[AgentMessage, ControlMessage]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ApplyMeshRequest ¶ added in v0.2.0
type ApplyMeshRequest struct {
Config *DeviceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// contains filtered or unexported fields
}
ApplyMeshRequest asks the receiving node to converge its own WireGuard device on config (config.node_id names the node this is addressed to, the same self-addressing InspectByNameRequest's own name field establishes for a different resource). The agent fills in its own private key from its local key file before calling network.Mesh.Apply, per DeviceConfig's own doc comment above.
func (*ApplyMeshRequest) Descriptor
deprecated
added in
v0.2.0
func (*ApplyMeshRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyMeshRequest.ProtoReflect.Descriptor instead.
func (*ApplyMeshRequest) GetConfig ¶ added in v0.2.0
func (x *ApplyMeshRequest) GetConfig() *DeviceConfig
func (*ApplyMeshRequest) ProtoMessage ¶ added in v0.2.0
func (*ApplyMeshRequest) ProtoMessage()
func (*ApplyMeshRequest) ProtoReflect ¶ added in v0.2.0
func (x *ApplyMeshRequest) ProtoReflect() protoreflect.Message
func (*ApplyMeshRequest) Reset ¶ added in v0.2.0
func (x *ApplyMeshRequest) Reset()
func (*ApplyMeshRequest) String ¶ added in v0.2.0
func (x *ApplyMeshRequest) String() string
type ApplyMeshResponse ¶ added in v0.2.0
type ApplyMeshResponse struct {
Identity *NodeIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
// contains filtered or unexported fields
}
func (*ApplyMeshResponse) Descriptor
deprecated
added in
v0.2.0
func (*ApplyMeshResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyMeshResponse.ProtoReflect.Descriptor instead.
func (*ApplyMeshResponse) GetIdentity ¶ added in v0.2.0
func (x *ApplyMeshResponse) GetIdentity() *NodeIdentity
func (*ApplyMeshResponse) ProtoMessage ¶ added in v0.2.0
func (*ApplyMeshResponse) ProtoMessage()
func (*ApplyMeshResponse) ProtoReflect ¶ added in v0.2.0
func (x *ApplyMeshResponse) ProtoReflect() protoreflect.Message
func (*ApplyMeshResponse) Reset ¶ added in v0.2.0
func (x *ApplyMeshResponse) Reset()
func (*ApplyMeshResponse) String ¶ added in v0.2.0
func (x *ApplyMeshResponse) String() string
type ArchiveOp ¶
type ArchiveOp struct {
CopyIn bool `protobuf:"varint,1,opt,name=copy_in,json=copyIn,proto3" json:"copy_in,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
MaxBytes int64 `protobuf:"varint,3,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
// contains filtered or unexported fields
}
ArchiveOp describes a tar copy carried on an exec stream. copy_in sets the direction; path is the container path to read, or the directory to extract into. max_bytes caps the tar stream (0 means no cap).
func (*ArchiveOp) Descriptor
deprecated
func (*ArchiveOp) GetMaxBytes ¶
func (*ArchiveOp) ProtoMessage ¶
func (*ArchiveOp) ProtoMessage()
func (*ArchiveOp) ProtoReflect ¶
func (x *ArchiveOp) ProtoReflect() protoreflect.Message
type ArchiveStat ¶
type ArchiveStat struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Mode uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"`
LinkTarget string `protobuf:"bytes,4,opt,name=link_target,json=linkTarget,proto3" json:"link_target,omitempty"`
// contains filtered or unexported fields
}
ArchiveStat is the path stat Docker returns beside a copy-out stream.
func (*ArchiveStat) Descriptor
deprecated
func (*ArchiveStat) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveStat.ProtoReflect.Descriptor instead.
func (*ArchiveStat) GetLinkTarget ¶
func (x *ArchiveStat) GetLinkTarget() string
func (*ArchiveStat) GetMode ¶
func (x *ArchiveStat) GetMode() uint32
func (*ArchiveStat) GetName ¶
func (x *ArchiveStat) GetName() string
func (*ArchiveStat) GetSize ¶
func (x *ArchiveStat) GetSize() int64
func (*ArchiveStat) ProtoMessage ¶
func (*ArchiveStat) ProtoMessage()
func (*ArchiveStat) ProtoReflect ¶
func (x *ArchiveStat) ProtoReflect() protoreflect.Message
func (*ArchiveStat) Reset ¶
func (x *ArchiveStat) Reset()
func (*ArchiveStat) String ¶
func (x *ArchiveStat) String() string
type BuildCache ¶ added in v0.2.0
type BuildCache struct {
RegistryRef string `protobuf:"bytes,1,opt,name=registry_ref,json=registryRef,proto3" json:"registry_ref,omitempty"`
RegistryInsecure bool `protobuf:"varint,2,opt,name=registry_insecure,json=registryInsecure,proto3" json:"registry_insecure,omitempty"`
// contains filtered or unexported fields
}
BuildCache carries only internal/build.CacheConfig's registry backend. Its local-directory backend is deliberately not sent: that path names a directory on the control plane's own disk, which this node does not have, while a registry ref is shared by construction.
func (*BuildCache) Descriptor
deprecated
added in
v0.2.0
func (*BuildCache) Descriptor() ([]byte, []int)
Deprecated: Use BuildCache.ProtoReflect.Descriptor instead.
func (*BuildCache) GetRegistryInsecure ¶ added in v0.2.0
func (x *BuildCache) GetRegistryInsecure() bool
func (*BuildCache) GetRegistryRef ¶ added in v0.2.0
func (x *BuildCache) GetRegistryRef() string
func (*BuildCache) ProtoMessage ¶ added in v0.2.0
func (*BuildCache) ProtoMessage()
func (*BuildCache) ProtoReflect ¶ added in v0.2.0
func (x *BuildCache) ProtoReflect() protoreflect.Message
func (*BuildCache) Reset ¶ added in v0.2.0
func (x *BuildCache) Reset()
func (*BuildCache) String ¶ added in v0.2.0
func (x *BuildCache) String() string
type BuildCancel ¶ added in v0.2.0
type BuildCancel struct {
BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
// contains filtered or unexported fields
}
BuildCancel ends an in-flight build early, when the control plane's caller gave up before it finished.
func (*BuildCancel) Descriptor
deprecated
added in
v0.2.0
func (*BuildCancel) Descriptor() ([]byte, []int)
Deprecated: Use BuildCancel.ProtoReflect.Descriptor instead.
func (*BuildCancel) GetBuildId ¶ added in v0.2.0
func (x *BuildCancel) GetBuildId() string
func (*BuildCancel) ProtoMessage ¶ added in v0.2.0
func (*BuildCancel) ProtoMessage()
func (*BuildCancel) ProtoReflect ¶ added in v0.2.0
func (x *BuildCancel) ProtoReflect() protoreflect.Message
func (*BuildCancel) Reset ¶ added in v0.2.0
func (x *BuildCancel) Reset()
func (*BuildCancel) String ¶ added in v0.2.0
func (x *BuildCancel) String() string
type BuildCredit ¶ added in v0.2.0
type BuildCredit struct {
BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
Frames uint32 `protobuf:"varint,2,opt,name=frames,proto3" json:"frames,omitempty"`
// contains filtered or unexported fields
}
BuildCredit refunds flow-control window for one build, in frames, the same windowing ExecCredit documents for exec.
func (*BuildCredit) Descriptor
deprecated
added in
v0.2.0
func (*BuildCredit) Descriptor() ([]byte, []int)
Deprecated: Use BuildCredit.ProtoReflect.Descriptor instead.
func (*BuildCredit) GetBuildId ¶ added in v0.2.0
func (x *BuildCredit) GetBuildId() string
func (*BuildCredit) GetFrames ¶ added in v0.2.0
func (x *BuildCredit) GetFrames() uint32
func (*BuildCredit) ProtoMessage ¶ added in v0.2.0
func (*BuildCredit) ProtoMessage()
func (*BuildCredit) ProtoReflect ¶ added in v0.2.0
func (x *BuildCredit) ProtoReflect() protoreflect.Message
func (*BuildCredit) Reset ¶ added in v0.2.0
func (x *BuildCredit) Reset()
func (*BuildCredit) String ¶ added in v0.2.0
func (x *BuildCredit) String() string
type BuildDone ¶ added in v0.2.0
type BuildDone struct {
DurationMs int64 `protobuf:"varint,1,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
ExporterResponse map[string]string `` /* 183-byte string literal not displayed */
// contains filtered or unexported fields
}
BuildDone carries what internal/build.Result holds beyond the tag the control plane already knows.
func (*BuildDone) Descriptor
deprecated
added in
v0.2.0
func (*BuildDone) GetDurationMs ¶ added in v0.2.0
func (*BuildDone) GetExporterResponse ¶ added in v0.2.0
func (*BuildDone) ProtoMessage ¶ added in v0.2.0
func (*BuildDone) ProtoMessage()
func (*BuildDone) ProtoReflect ¶ added in v0.2.0
func (x *BuildDone) ProtoReflect() protoreflect.Message
type BuildFailure ¶ added in v0.2.0
type BuildFailure struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
UnsupportedProvider bool `protobuf:"varint,2,opt,name=unsupported_provider,json=unsupportedProvider,proto3" json:"unsupported_provider,omitempty"`
Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
// contains filtered or unexported fields
}
BuildFailure is the error that ended a build. unsupported_provider is set when the failure was internal/build.UnsupportedProviderError, so the control plane can rebuild that typed error rather than a flat string: internal/deploy branches on it with errors.As.
func (*BuildFailure) Descriptor
deprecated
added in
v0.2.0
func (*BuildFailure) Descriptor() ([]byte, []int)
Deprecated: Use BuildFailure.ProtoReflect.Descriptor instead.
func (*BuildFailure) GetMessage ¶ added in v0.2.0
func (x *BuildFailure) GetMessage() string
func (*BuildFailure) GetProvider ¶ added in v0.2.0
func (x *BuildFailure) GetProvider() string
func (*BuildFailure) GetUnsupportedProvider ¶ added in v0.2.0
func (x *BuildFailure) GetUnsupportedProvider() bool
func (*BuildFailure) ProtoMessage ¶ added in v0.2.0
func (*BuildFailure) ProtoMessage()
func (*BuildFailure) ProtoReflect ¶ added in v0.2.0
func (x *BuildFailure) ProtoReflect() protoreflect.Message
func (*BuildFailure) Reset ¶ added in v0.2.0
func (x *BuildFailure) Reset()
func (*BuildFailure) String ¶ added in v0.2.0
func (x *BuildFailure) String() string
type BuildInput ¶ added in v0.2.0
type BuildInput struct {
BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"`
Eof bool `protobuf:"varint,3,opt,name=eof,proto3" json:"eof,omitempty"`
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
BuildInput is one build-context frame for the in-flight build whose request_id is build_id, carrying a tar stream of the context directory. Exactly one of chunk, eof, or error is meaningful per frame, the same contract ExecInput follows.
func (*BuildInput) Descriptor
deprecated
added in
v0.2.0
func (*BuildInput) Descriptor() ([]byte, []int)
Deprecated: Use BuildInput.ProtoReflect.Descriptor instead.
func (*BuildInput) GetBuildId ¶ added in v0.2.0
func (x *BuildInput) GetBuildId() string
func (*BuildInput) GetChunk ¶ added in v0.2.0
func (x *BuildInput) GetChunk() []byte
func (*BuildInput) GetEof ¶ added in v0.2.0
func (x *BuildInput) GetEof() bool
func (*BuildInput) GetError ¶ added in v0.2.0
func (x *BuildInput) GetError() string
func (*BuildInput) ProtoMessage ¶ added in v0.2.0
func (*BuildInput) ProtoMessage()
func (*BuildInput) ProtoReflect ¶ added in v0.2.0
func (x *BuildInput) ProtoReflect() protoreflect.Message
func (*BuildInput) Reset ¶ added in v0.2.0
func (x *BuildInput) Reset()
func (*BuildInput) String ¶ added in v0.2.0
func (x *BuildInput) String() string
type BuildKind ¶ added in v0.2.0
type BuildKind int32
func (BuildKind) Descriptor ¶ added in v0.2.0
func (BuildKind) Descriptor() protoreflect.EnumDescriptor
func (BuildKind) EnumDescriptor
deprecated
added in
v0.2.0
func (BuildKind) Number ¶ added in v0.2.0
func (x BuildKind) Number() protoreflect.EnumNumber
func (BuildKind) Type ¶ added in v0.2.0
func (BuildKind) Type() protoreflect.EnumType
type BuildOutput ¶ added in v0.2.0
type BuildOutput struct {
BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
// Types that are valid to be assigned to Frame:
//
// *BuildOutput_Progress
// *BuildOutput_ImageChunk
// *BuildOutput_Done
// *BuildOutput_Failure
Frame isBuildOutput_Frame `protobuf_oneof:"frame"`
// contains filtered or unexported fields
}
BuildOutput is one frame of an in-flight build: a progress update, a chunk of the resulting image tar, or that stream's terminal frame. Exactly one terminal frame (done or failure) is ever sent per build.
func (*BuildOutput) Descriptor
deprecated
added in
v0.2.0
func (*BuildOutput) Descriptor() ([]byte, []int)
Deprecated: Use BuildOutput.ProtoReflect.Descriptor instead.
func (*BuildOutput) GetBuildId ¶ added in v0.2.0
func (x *BuildOutput) GetBuildId() string
func (*BuildOutput) GetDone ¶ added in v0.2.0
func (x *BuildOutput) GetDone() *BuildDone
func (*BuildOutput) GetFailure ¶ added in v0.2.0
func (x *BuildOutput) GetFailure() *BuildFailure
func (*BuildOutput) GetFrame ¶ added in v0.2.0
func (x *BuildOutput) GetFrame() isBuildOutput_Frame
func (*BuildOutput) GetImageChunk ¶ added in v0.2.0
func (x *BuildOutput) GetImageChunk() []byte
func (*BuildOutput) GetProgress ¶ added in v0.2.0
func (x *BuildOutput) GetProgress() *BuildProgress
func (*BuildOutput) ProtoMessage ¶ added in v0.2.0
func (*BuildOutput) ProtoMessage()
func (*BuildOutput) ProtoReflect ¶ added in v0.2.0
func (x *BuildOutput) ProtoReflect() protoreflect.Message
func (*BuildOutput) Reset ¶ added in v0.2.0
func (x *BuildOutput) Reset()
func (*BuildOutput) String ¶ added in v0.2.0
func (x *BuildOutput) String() string
type BuildOutput_Done ¶ added in v0.2.0
type BuildOutput_Done struct {
Done *BuildDone `protobuf:"bytes,4,opt,name=done,proto3,oneof"`
}
type BuildOutput_Failure ¶ added in v0.2.0
type BuildOutput_Failure struct {
Failure *BuildFailure `protobuf:"bytes,5,opt,name=failure,proto3,oneof"`
}
type BuildOutput_ImageChunk ¶ added in v0.2.0
type BuildOutput_ImageChunk struct {
ImageChunk []byte `protobuf:"bytes,3,opt,name=image_chunk,json=imageChunk,proto3,oneof"`
}
type BuildOutput_Progress ¶ added in v0.2.0
type BuildOutput_Progress struct {
Progress *BuildProgress `protobuf:"bytes,2,opt,name=progress,proto3,oneof"`
}
type BuildProgress ¶ added in v0.2.0
type BuildProgress struct {
Step string `protobuf:"bytes,1,opt,name=step,proto3" json:"step,omitempty"`
Cached bool `protobuf:"varint,2,opt,name=cached,proto3" json:"cached,omitempty"`
Completed bool `protobuf:"varint,3,opt,name=completed,proto3" json:"completed,omitempty"`
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
Log string `protobuf:"bytes,5,opt,name=log,proto3" json:"log,omitempty"`
Stream string `protobuf:"bytes,6,opt,name=stream,proto3" json:"stream,omitempty"`
// contains filtered or unexported fields
}
BuildProgress mirrors internal/build.ProgressEvent field for field, so a remote build's log lines reach the control plane's existing SSE stream in the same shape a local build's do.
func (*BuildProgress) Descriptor
deprecated
added in
v0.2.0
func (*BuildProgress) Descriptor() ([]byte, []int)
Deprecated: Use BuildProgress.ProtoReflect.Descriptor instead.
func (*BuildProgress) GetCached ¶ added in v0.2.0
func (x *BuildProgress) GetCached() bool
func (*BuildProgress) GetCompleted ¶ added in v0.2.0
func (x *BuildProgress) GetCompleted() bool
func (*BuildProgress) GetError ¶ added in v0.2.0
func (x *BuildProgress) GetError() string
func (*BuildProgress) GetLog ¶ added in v0.2.0
func (x *BuildProgress) GetLog() string
func (*BuildProgress) GetStep ¶ added in v0.2.0
func (x *BuildProgress) GetStep() string
func (*BuildProgress) GetStream ¶ added in v0.2.0
func (x *BuildProgress) GetStream() string
func (*BuildProgress) ProtoMessage ¶ added in v0.2.0
func (*BuildProgress) ProtoMessage()
func (*BuildProgress) ProtoReflect ¶ added in v0.2.0
func (x *BuildProgress) ProtoReflect() protoreflect.Message
func (*BuildProgress) Reset ¶ added in v0.2.0
func (x *BuildProgress) Reset()
func (*BuildProgress) String ¶ added in v0.2.0
func (x *BuildProgress) String() string
type BuildRequest ¶ added in v0.2.0
type BuildRequest struct {
Kind BuildKind `protobuf:"varint,1,opt,name=kind,proto3,enum=levelrail.agent.v1.BuildKind" json:"kind,omitempty"`
// Tag is the image reference the built image is exported under.
Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
// DockerfilePath is relative to the build context root, since the
// control plane's own absolute paths mean nothing on this node. Empty
// means the context root's own Dockerfile.
DockerfilePath string `protobuf:"bytes,3,opt,name=dockerfile_path,json=dockerfilePath,proto3" json:"dockerfile_path,omitempty"`
Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
BuildArgs map[string]string `` /* 162-byte string literal not displayed */
NoCache bool `protobuf:"varint,6,opt,name=no_cache,json=noCache,proto3" json:"no_cache,omitempty"`
Cache *BuildCache `protobuf:"bytes,7,opt,name=cache,proto3" json:"cache,omitempty"`
// contains filtered or unexported fields
}
BuildRequest dispatches one image build to this node's own BuildKit instance, so build CPU lands on a dedicated build node instead of the control plane. The control plane streams the build context up as BuildInput frames tagged with this request's request_id, the agent streams progress and the resulting docker-save image tar back as BuildOutput frames under the same ID, and the AgentResponse for this request is only the acknowledgment that the agent accepted the build.
func (*BuildRequest) Descriptor
deprecated
added in
v0.2.0
func (*BuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead.
func (*BuildRequest) GetBuildArgs ¶ added in v0.2.0
func (x *BuildRequest) GetBuildArgs() map[string]string
func (*BuildRequest) GetCache ¶ added in v0.2.0
func (x *BuildRequest) GetCache() *BuildCache
func (*BuildRequest) GetDockerfilePath ¶ added in v0.2.0
func (x *BuildRequest) GetDockerfilePath() string
func (*BuildRequest) GetKind ¶ added in v0.2.0
func (x *BuildRequest) GetKind() BuildKind
func (*BuildRequest) GetNoCache ¶ added in v0.2.0
func (x *BuildRequest) GetNoCache() bool
func (*BuildRequest) GetTag ¶ added in v0.2.0
func (x *BuildRequest) GetTag() string
func (*BuildRequest) GetTarget ¶ added in v0.2.0
func (x *BuildRequest) GetTarget() string
func (*BuildRequest) ProtoMessage ¶ added in v0.2.0
func (*BuildRequest) ProtoMessage()
func (*BuildRequest) ProtoReflect ¶ added in v0.2.0
func (x *BuildRequest) ProtoReflect() protoreflect.Message
func (*BuildRequest) Reset ¶ added in v0.2.0
func (x *BuildRequest) Reset()
func (*BuildRequest) String ¶ added in v0.2.0
func (x *BuildRequest) String() string
type CPUStatsRaw ¶ added in v0.2.0
type CPUStatsRaw struct {
TotalUsageNanos uint64 `protobuf:"varint,1,opt,name=total_usage_nanos,json=totalUsageNanos,proto3" json:"total_usage_nanos,omitempty"`
SystemUsageNanos uint64 `protobuf:"varint,2,opt,name=system_usage_nanos,json=systemUsageNanos,proto3" json:"system_usage_nanos,omitempty"`
OnlineCpus uint32 `protobuf:"varint,3,opt,name=online_cpus,json=onlineCpus,proto3" json:"online_cpus,omitempty"`
// contains filtered or unexported fields
}
CPUStatsRaw mirrors internal/docker.CPUStatsRaw: the raw counters the control plane's own Collector diffs against its previous sample to compute cpu_percent, rather than trusting this one-shot response's own (sometimes-empty, see docker.ContainerStats' own doc comment) pre-computed CPUPercent.
func (*CPUStatsRaw) Descriptor
deprecated
added in
v0.2.0
func (*CPUStatsRaw) Descriptor() ([]byte, []int)
Deprecated: Use CPUStatsRaw.ProtoReflect.Descriptor instead.
func (*CPUStatsRaw) GetOnlineCpus ¶ added in v0.2.0
func (x *CPUStatsRaw) GetOnlineCpus() uint32
func (*CPUStatsRaw) GetSystemUsageNanos ¶ added in v0.2.0
func (x *CPUStatsRaw) GetSystemUsageNanos() uint64
func (*CPUStatsRaw) GetTotalUsageNanos ¶ added in v0.2.0
func (x *CPUStatsRaw) GetTotalUsageNanos() uint64
func (*CPUStatsRaw) ProtoMessage ¶ added in v0.2.0
func (*CPUStatsRaw) ProtoMessage()
func (*CPUStatsRaw) ProtoReflect ¶ added in v0.2.0
func (x *CPUStatsRaw) ProtoReflect() protoreflect.Message
func (*CPUStatsRaw) Reset ¶ added in v0.2.0
func (x *CPUStatsRaw) Reset()
func (*CPUStatsRaw) String ¶ added in v0.2.0
func (x *CPUStatsRaw) String() string
type CheckIdentityRequest ¶ added in v0.2.0
type CheckIdentityRequest struct {
// contains filtered or unexported fields
}
func (*CheckIdentityRequest) Descriptor
deprecated
added in
v0.2.0
func (*CheckIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckIdentityRequest.ProtoReflect.Descriptor instead.
func (*CheckIdentityRequest) ProtoMessage ¶ added in v0.2.0
func (*CheckIdentityRequest) ProtoMessage()
func (*CheckIdentityRequest) ProtoReflect ¶ added in v0.2.0
func (x *CheckIdentityRequest) ProtoReflect() protoreflect.Message
func (*CheckIdentityRequest) Reset ¶ added in v0.2.0
func (x *CheckIdentityRequest) Reset()
func (*CheckIdentityRequest) String ¶ added in v0.2.0
func (x *CheckIdentityRequest) String() string
type CheckIdentityResponse ¶ added in v0.2.0
type CheckIdentityResponse struct {
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// current is false when the presented certificate is the previous one,
// still accepted inside the overlap window.
Current bool `protobuf:"varint,2,opt,name=current,proto3" json:"current,omitempty"`
// contains filtered or unexported fields
}
func (*CheckIdentityResponse) Descriptor
deprecated
added in
v0.2.0
func (*CheckIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckIdentityResponse.ProtoReflect.Descriptor instead.
func (*CheckIdentityResponse) GetCurrent ¶ added in v0.2.0
func (x *CheckIdentityResponse) GetCurrent() bool
func (*CheckIdentityResponse) GetNodeId ¶ added in v0.2.0
func (x *CheckIdentityResponse) GetNodeId() string
func (*CheckIdentityResponse) ProtoMessage ¶ added in v0.2.0
func (*CheckIdentityResponse) ProtoMessage()
func (*CheckIdentityResponse) ProtoReflect ¶ added in v0.2.0
func (x *CheckIdentityResponse) ProtoReflect() protoreflect.Message
func (*CheckIdentityResponse) Reset ¶ added in v0.2.0
func (x *CheckIdentityResponse) Reset()
func (*CheckIdentityResponse) String ¶ added in v0.2.0
func (x *CheckIdentityResponse) String() string
type ContainerSpec ¶
type ContainerSpec struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
Ports []*PortBinding `protobuf:"bytes,3,rep,name=ports,proto3" json:"ports,omitempty"`
Env map[string]string `` /* 133-byte string literal not displayed */
Resources *Resources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"` // unset means internal/docker.ContainerSpec.Resources == nil
Volumes []*VolumeMount `protobuf:"bytes,6,rep,name=volumes,proto3" json:"volumes,omitempty"`
// DNS mirrors internal/docker.ContainerSpec.DNS. Empty means Docker's
// own embedded resolver, unchanged from before this field existed.
Dns []string `protobuf:"bytes,7,rep,name=dns,proto3" json:"dns,omitempty"`
// CapAdd mirrors internal/docker.ContainerSpec.CapAdd. Empty means no
// added capabilities, unchanged from before this field existed.
CapAdd []string `protobuf:"bytes,8,rep,name=cap_add,json=capAdd,proto3" json:"cap_add,omitempty"`
// NetworkMode mirrors internal/docker.ContainerSpec.NetworkMode. Empty
// means Docker's own default networking behavior (the Network field
// above, or the default bridge network), unchanged from before this
// field existed.
NetworkMode string `protobuf:"bytes,9,opt,name=network_mode,json=networkMode,proto3" json:"network_mode,omitempty"`
// Gpu mirrors internal/docker.ContainerSpec.GPU. Unset means no GPU
// device request.
Gpu *GPURequest `protobuf:"bytes,10,opt,name=gpu,proto3" json:"gpu,omitempty"`
// Command mirrors internal/docker.ContainerSpec.Command. Empty means the
// image's own default command.
Command []string `protobuf:"bytes,11,rep,name=command,proto3" json:"command,omitempty"`
// shm_size_bytes mirrors internal/docker.ContainerSpec.ShmSizeBytes. Zero
// means Docker's default /dev/shm.
ShmSizeBytes int64 `protobuf:"varint,12,opt,name=shm_size_bytes,json=shmSizeBytes,proto3" json:"shm_size_bytes,omitempty"`
// extra_hosts mirrors internal/docker.ContainerSpec.ExtraHosts ("name:ip").
ExtraHosts []string `protobuf:"bytes,13,rep,name=extra_hosts,json=extraHosts,proto3" json:"extra_hosts,omitempty"`
// labels, network and entrypoint mirror the same internal/docker.ContainerSpec
// fields; without them a worker's app never joins its app network.
Labels map[string]string `` /* 140-byte string literal not displayed */
NetworkName string `protobuf:"bytes,15,opt,name=network_name,json=networkName,proto3" json:"network_name,omitempty"`
NetworkAlias string `protobuf:"bytes,16,opt,name=network_alias,json=networkAlias,proto3" json:"network_alias,omitempty"`
Entrypoint []string `protobuf:"bytes,17,rep,name=entrypoint,proto3" json:"entrypoint,omitempty"`
// contains filtered or unexported fields
}
func (*ContainerSpec) Descriptor
deprecated
func (*ContainerSpec) Descriptor() ([]byte, []int)
Deprecated: Use ContainerSpec.ProtoReflect.Descriptor instead.
func (*ContainerSpec) GetCapAdd ¶ added in v0.2.0
func (x *ContainerSpec) GetCapAdd() []string
func (*ContainerSpec) GetCommand ¶ added in v0.2.0
func (x *ContainerSpec) GetCommand() []string
func (*ContainerSpec) GetDns ¶
func (x *ContainerSpec) GetDns() []string
func (*ContainerSpec) GetEntrypoint ¶ added in v0.2.0
func (x *ContainerSpec) GetEntrypoint() []string
func (*ContainerSpec) GetEnv ¶
func (x *ContainerSpec) GetEnv() map[string]string
func (*ContainerSpec) GetExtraHosts ¶ added in v0.2.0
func (x *ContainerSpec) GetExtraHosts() []string
func (*ContainerSpec) GetGpu ¶ added in v0.2.0
func (x *ContainerSpec) GetGpu() *GPURequest
func (*ContainerSpec) GetImage ¶
func (x *ContainerSpec) GetImage() string
func (*ContainerSpec) GetLabels ¶ added in v0.2.0
func (x *ContainerSpec) GetLabels() map[string]string
func (*ContainerSpec) GetName ¶
func (x *ContainerSpec) GetName() string
func (*ContainerSpec) GetNetworkAlias ¶ added in v0.2.0
func (x *ContainerSpec) GetNetworkAlias() string
func (*ContainerSpec) GetNetworkMode ¶ added in v0.2.0
func (x *ContainerSpec) GetNetworkMode() string
func (*ContainerSpec) GetNetworkName ¶ added in v0.2.0
func (x *ContainerSpec) GetNetworkName() string
func (*ContainerSpec) GetPorts ¶
func (x *ContainerSpec) GetPorts() []*PortBinding
func (*ContainerSpec) GetResources ¶
func (x *ContainerSpec) GetResources() *Resources
func (*ContainerSpec) GetShmSizeBytes ¶ added in v0.2.0
func (x *ContainerSpec) GetShmSizeBytes() int64
func (*ContainerSpec) GetVolumes ¶
func (x *ContainerSpec) GetVolumes() []*VolumeMount
func (*ContainerSpec) ProtoMessage ¶
func (*ContainerSpec) ProtoMessage()
func (*ContainerSpec) ProtoReflect ¶
func (x *ContainerSpec) ProtoReflect() protoreflect.Message
func (*ContainerSpec) Reset ¶
func (x *ContainerSpec) Reset()
func (*ContainerSpec) String ¶
func (x *ContainerSpec) String() string
type ContainerState ¶
type ContainerState struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
Running bool `protobuf:"varint,4,opt,name=running,proto3" json:"running,omitempty"`
Ports []*PortBinding `protobuf:"bytes,5,rep,name=ports,proto3" json:"ports,omitempty"`
// contains filtered or unexported fields
}
func (*ContainerState) Descriptor
deprecated
func (*ContainerState) Descriptor() ([]byte, []int)
Deprecated: Use ContainerState.ProtoReflect.Descriptor instead.
func (*ContainerState) GetId ¶
func (x *ContainerState) GetId() string
func (*ContainerState) GetImage ¶
func (x *ContainerState) GetImage() string
func (*ContainerState) GetName ¶
func (x *ContainerState) GetName() string
func (*ContainerState) GetPorts ¶
func (x *ContainerState) GetPorts() []*PortBinding
func (*ContainerState) GetRunning ¶
func (x *ContainerState) GetRunning() bool
func (*ContainerState) ProtoMessage ¶
func (*ContainerState) ProtoMessage()
func (*ContainerState) ProtoReflect ¶
func (x *ContainerState) ProtoReflect() protoreflect.Message
func (*ContainerState) Reset ¶
func (x *ContainerState) Reset()
func (*ContainerState) String ¶
func (x *ContainerState) String() string
type ContainerStats ¶ added in v0.2.0
type ContainerStats struct {
CpuPercent float64 `protobuf:"fixed64,1,opt,name=cpu_percent,json=cpuPercent,proto3" json:"cpu_percent,omitempty"`
CpuRaw *CPUStatsRaw `protobuf:"bytes,2,opt,name=cpu_raw,json=cpuRaw,proto3" json:"cpu_raw,omitempty"`
MemoryUsageBytes uint64 `protobuf:"varint,3,opt,name=memory_usage_bytes,json=memoryUsageBytes,proto3" json:"memory_usage_bytes,omitempty"`
MemoryLimitBytes uint64 `protobuf:"varint,4,opt,name=memory_limit_bytes,json=memoryLimitBytes,proto3" json:"memory_limit_bytes,omitempty"`
NetworkRxBytes uint64 `protobuf:"varint,5,opt,name=network_rx_bytes,json=networkRxBytes,proto3" json:"network_rx_bytes,omitempty"`
NetworkTxBytes uint64 `protobuf:"varint,6,opt,name=network_tx_bytes,json=networkTxBytes,proto3" json:"network_tx_bytes,omitempty"`
DiskReadBytes uint64 `protobuf:"varint,7,opt,name=disk_read_bytes,json=diskReadBytes,proto3" json:"disk_read_bytes,omitempty"`
DiskWriteBytes uint64 `protobuf:"varint,8,opt,name=disk_write_bytes,json=diskWriteBytes,proto3" json:"disk_write_bytes,omitempty"`
// contains filtered or unexported fields
}
ContainerStats mirrors internal/docker.ContainerStats field for field.
func (*ContainerStats) Descriptor
deprecated
added in
v0.2.0
func (*ContainerStats) Descriptor() ([]byte, []int)
Deprecated: Use ContainerStats.ProtoReflect.Descriptor instead.
func (*ContainerStats) GetCpuPercent ¶ added in v0.2.0
func (x *ContainerStats) GetCpuPercent() float64
func (*ContainerStats) GetCpuRaw ¶ added in v0.2.0
func (x *ContainerStats) GetCpuRaw() *CPUStatsRaw
func (*ContainerStats) GetDiskReadBytes ¶ added in v0.2.0
func (x *ContainerStats) GetDiskReadBytes() uint64
func (*ContainerStats) GetDiskWriteBytes ¶ added in v0.2.0
func (x *ContainerStats) GetDiskWriteBytes() uint64
func (*ContainerStats) GetMemoryLimitBytes ¶ added in v0.2.0
func (x *ContainerStats) GetMemoryLimitBytes() uint64
func (*ContainerStats) GetMemoryUsageBytes ¶ added in v0.2.0
func (x *ContainerStats) GetMemoryUsageBytes() uint64
func (*ContainerStats) GetNetworkRxBytes ¶ added in v0.2.0
func (x *ContainerStats) GetNetworkRxBytes() uint64
func (*ContainerStats) GetNetworkTxBytes ¶ added in v0.2.0
func (x *ContainerStats) GetNetworkTxBytes() uint64
func (*ContainerStats) ProtoMessage ¶ added in v0.2.0
func (*ContainerStats) ProtoMessage()
func (*ContainerStats) ProtoReflect ¶ added in v0.2.0
func (x *ContainerStats) ProtoReflect() protoreflect.Message
func (*ContainerStats) Reset ¶ added in v0.2.0
func (x *ContainerStats) Reset()
func (*ContainerStats) String ¶ added in v0.2.0
func (x *ContainerStats) String() string
type ControlMessage ¶
type ControlMessage struct {
// Types that are valid to be assigned to Payload:
//
// *ControlMessage_Request
// *ControlMessage_ExecInput
// *ControlMessage_ExecCancel
// *ControlMessage_ExecCredit
// *ControlMessage_BuildInput
// *ControlMessage_BuildCancel
// *ControlMessage_BuildCredit
// *ControlMessage_ExecResize
// *ControlMessage_GoAway
// *ControlMessage_RenewNow
Payload isControlMessage_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
ControlMessage is one frame the control plane sends down the Session stream: a request, or one frame of an in-flight exec's stdin, cancellation, or output flow control.
func (*ControlMessage) Descriptor
deprecated
func (*ControlMessage) Descriptor() ([]byte, []int)
Deprecated: Use ControlMessage.ProtoReflect.Descriptor instead.
func (*ControlMessage) GetBuildCancel ¶ added in v0.2.0
func (x *ControlMessage) GetBuildCancel() *BuildCancel
func (*ControlMessage) GetBuildCredit ¶ added in v0.2.0
func (x *ControlMessage) GetBuildCredit() *BuildCredit
func (*ControlMessage) GetBuildInput ¶ added in v0.2.0
func (x *ControlMessage) GetBuildInput() *BuildInput
func (*ControlMessage) GetExecCancel ¶ added in v0.2.0
func (x *ControlMessage) GetExecCancel() *ExecCancel
func (*ControlMessage) GetExecCredit ¶ added in v0.2.0
func (x *ControlMessage) GetExecCredit() *ExecCredit
func (*ControlMessage) GetExecInput ¶ added in v0.2.0
func (x *ControlMessage) GetExecInput() *ExecInput
func (*ControlMessage) GetExecResize ¶ added in v0.2.0
func (x *ControlMessage) GetExecResize() *ExecResize
func (*ControlMessage) GetGoAway ¶ added in v0.2.0
func (x *ControlMessage) GetGoAway() *GoAway
func (*ControlMessage) GetPayload ¶ added in v0.2.0
func (x *ControlMessage) GetPayload() isControlMessage_Payload
func (*ControlMessage) GetRenewNow ¶
func (x *ControlMessage) GetRenewNow() *RenewNow
func (*ControlMessage) GetRequest ¶
func (x *ControlMessage) GetRequest() *AgentRequest
func (*ControlMessage) ProtoMessage ¶
func (*ControlMessage) ProtoMessage()
func (*ControlMessage) ProtoReflect ¶
func (x *ControlMessage) ProtoReflect() protoreflect.Message
func (*ControlMessage) Reset ¶
func (x *ControlMessage) Reset()
func (*ControlMessage) String ¶
func (x *ControlMessage) String() string
type ControlMessage_BuildCancel ¶ added in v0.2.0
type ControlMessage_BuildCancel struct {
BuildCancel *BuildCancel `protobuf:"bytes,6,opt,name=build_cancel,json=buildCancel,proto3,oneof"`
}
type ControlMessage_BuildCredit ¶ added in v0.2.0
type ControlMessage_BuildCredit struct {
// BuildCredit here refunds the agent's output window: the control
// plane has consumed that many BuildOutput frames.
BuildCredit *BuildCredit `protobuf:"bytes,7,opt,name=build_credit,json=buildCredit,proto3,oneof"`
}
type ControlMessage_BuildInput ¶ added in v0.2.0
type ControlMessage_BuildInput struct {
BuildInput *BuildInput `protobuf:"bytes,5,opt,name=build_input,json=buildInput,proto3,oneof"`
}
type ControlMessage_ExecCancel ¶ added in v0.2.0
type ControlMessage_ExecCancel struct {
ExecCancel *ExecCancel `protobuf:"bytes,3,opt,name=exec_cancel,json=execCancel,proto3,oneof"`
}
type ControlMessage_ExecCredit ¶ added in v0.2.0
type ControlMessage_ExecCredit struct {
// ExecCredit here refunds the agent's output window: the control
// plane has consumed that many ExecOutput frames.
ExecCredit *ExecCredit `protobuf:"bytes,4,opt,name=exec_credit,json=execCredit,proto3,oneof"`
}
type ControlMessage_ExecInput ¶ added in v0.2.0
type ControlMessage_ExecInput struct {
ExecInput *ExecInput `protobuf:"bytes,2,opt,name=exec_input,json=execInput,proto3,oneof"`
}
type ControlMessage_ExecResize ¶ added in v0.2.0
type ControlMessage_ExecResize struct {
ExecResize *ExecResize `protobuf:"bytes,8,opt,name=exec_resize,json=execResize,proto3,oneof"`
}
type ControlMessage_GoAway ¶ added in v0.2.0
type ControlMessage_GoAway struct {
// GoAway tells the agent the control plane is shutting down this
// process and will not answer further requests on this stream: the
// agent should close its end now rather than wait to be cut off by
// the control plane's own bounded GracefulStop timeout.
GoAway *GoAway `protobuf:"bytes,9,opt,name=go_away,json=goAway,proto3,oneof"`
}
type ControlMessage_RenewNow ¶
type ControlMessage_RenewNow struct {
RenewNow *RenewNow `protobuf:"bytes,10,opt,name=renew_now,json=renewNow,proto3,oneof"`
}
type ControlMessage_Request ¶ added in v0.2.0
type ControlMessage_Request struct {
Request *AgentRequest `protobuf:"bytes,1,opt,name=request,proto3,oneof"`
}
type CreateRequest ¶
type CreateRequest struct {
Spec *ContainerSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetSpec ¶
func (x *CreateRequest) GetSpec() *ContainerSpec
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetId ¶
func (x *CreateResponse) GetId() string
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type DeviceConfig ¶ added in v0.2.0
type DeviceConfig struct {
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// Address is netip.Prefix.String() (e.g. "10.181.0.3/16"), the node's
// own mesh address with the mesh CIDR's prefix length. Empty means no
// address assigned yet (network.DeviceConfig.Address's own "invalid
// until assigned" state).
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
ListenPort int32 `protobuf:"varint,3,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"`
Peers []*PeerConfig `protobuf:"bytes,4,rep,name=peers,proto3" json:"peers,omitempty"`
// contains filtered or unexported fields
}
DeviceConfig mirrors internal/network.DeviceConfig: the complete desired WireGuard state for exactly one node. PrivateKey is deliberately absent from this message, not merely zero-valued: DeviceConfig's own Go doc comment establishes that a private key must never be logged, serialized to the control plane, or included in any status response, and the wire-contract enforcement of that rule is having no field for one to occupy, the same reasoning that field's own comment gives for why the control plane can never populate it in the first place. The receiving node fills its own private key in locally, from its own key file, immediately before applying this to its device (see MeshApplier).
func (*DeviceConfig) Descriptor
deprecated
added in
v0.2.0
func (*DeviceConfig) Descriptor() ([]byte, []int)
Deprecated: Use DeviceConfig.ProtoReflect.Descriptor instead.
func (*DeviceConfig) GetAddress ¶ added in v0.2.0
func (x *DeviceConfig) GetAddress() string
func (*DeviceConfig) GetListenPort ¶ added in v0.2.0
func (x *DeviceConfig) GetListenPort() int32
func (*DeviceConfig) GetNodeId ¶ added in v0.2.0
func (x *DeviceConfig) GetNodeId() string
func (*DeviceConfig) GetPeers ¶ added in v0.2.0
func (x *DeviceConfig) GetPeers() []*PeerConfig
func (*DeviceConfig) ProtoMessage ¶ added in v0.2.0
func (*DeviceConfig) ProtoMessage()
func (*DeviceConfig) ProtoReflect ¶ added in v0.2.0
func (x *DeviceConfig) ProtoReflect() protoreflect.Message
func (*DeviceConfig) Reset ¶ added in v0.2.0
func (x *DeviceConfig) Reset()
func (*DeviceConfig) String ¶ added in v0.2.0
func (x *DeviceConfig) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EnrollRequest ¶
type EnrollRequest struct {
JoinToken string `protobuf:"bytes,1,opt,name=join_token,json=joinToken,proto3" json:"join_token,omitempty"`
// NodeName is what the enrolling node wants to be called
// (store.Node.Name); the control plane still enforces uniqueness
// (store.ErrNodeNameTaken) the same way it would for any other
// SaveNode caller.
NodeName string `protobuf:"bytes,2,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
// csr_der is a PKCS#10 request for the agent's own key (required). The
// control plane signs it and never sees the private key.
CsrDer []byte `protobuf:"bytes,3,opt,name=csr_der,json=csrDer,proto3" json:"csr_der,omitempty"`
Agent *AgentInfo `protobuf:"bytes,4,opt,name=agent,proto3" json:"agent,omitempty"`
// ca_pin_state is what the agent checked before sending this request:
// "pinned" (the control plane CA matched the operator's fingerprint) or
// "unpinned" (trust on first use). A mismatch never gets this far.
CaPinState string `protobuf:"bytes,5,opt,name=ca_pin_state,json=caPinState,proto3" json:"ca_pin_state,omitempty"`
// contains filtered or unexported fields
}
func (*EnrollRequest) Descriptor
deprecated
func (*EnrollRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnrollRequest.ProtoReflect.Descriptor instead.
func (*EnrollRequest) GetAgent ¶ added in v0.2.0
func (x *EnrollRequest) GetAgent() *AgentInfo
func (*EnrollRequest) GetCaPinState ¶
func (x *EnrollRequest) GetCaPinState() string
func (*EnrollRequest) GetCsrDer ¶ added in v0.2.0
func (x *EnrollRequest) GetCsrDer() []byte
func (*EnrollRequest) GetJoinToken ¶
func (x *EnrollRequest) GetJoinToken() string
func (*EnrollRequest) GetNodeName ¶
func (x *EnrollRequest) GetNodeName() string
func (*EnrollRequest) ProtoMessage ¶
func (*EnrollRequest) ProtoMessage()
func (*EnrollRequest) ProtoReflect ¶
func (x *EnrollRequest) ProtoReflect() protoreflect.Message
func (*EnrollRequest) Reset ¶
func (x *EnrollRequest) Reset()
func (*EnrollRequest) String ¶
func (x *EnrollRequest) String() string
type EnrollResponse ¶
type EnrollResponse struct {
// NodeID is the store.Node.ID the control plane assigned; the agent
// persists this alongside its certificate so subsequent Session
// reconnects can identify themselves before the mTLS handshake even
// completes (the cert's own CommonName already encodes it too, this
// is the same value spelled out for the agent's own local bookkeeping).
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
ClientCertPem []byte `protobuf:"bytes,2,opt,name=client_cert_pem,json=clientCertPem,proto3" json:"client_cert_pem,omitempty"`
// CACertPEM is the control plane's own CA certificate, so the agent
// can verify the control plane's TLS server certificate on every
// future connection without trusting the system root store (this is
// a private, self-issued PKI for exactly this one relationship, not a
// publicly-trusted certificate).
CaCertPem []byte `protobuf:"bytes,4,opt,name=ca_cert_pem,json=caCertPem,proto3" json:"ca_cert_pem,omitempty"`
// not_after is the issued certificate's expiry.
NotAfter *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`
// contains filtered or unexported fields
}
func (*EnrollResponse) Descriptor
deprecated
func (*EnrollResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnrollResponse.ProtoReflect.Descriptor instead.
func (*EnrollResponse) GetCaCertPem ¶
func (x *EnrollResponse) GetCaCertPem() []byte
func (*EnrollResponse) GetClientCertPem ¶
func (x *EnrollResponse) GetClientCertPem() []byte
func (*EnrollResponse) GetNodeId ¶
func (x *EnrollResponse) GetNodeId() string
func (*EnrollResponse) GetNotAfter ¶ added in v0.2.0
func (x *EnrollResponse) GetNotAfter() *timestamppb.Timestamp
func (*EnrollResponse) ProtoMessage ¶
func (*EnrollResponse) ProtoMessage()
func (*EnrollResponse) ProtoReflect ¶
func (x *EnrollResponse) ProtoReflect() protoreflect.Message
func (*EnrollResponse) Reset ¶
func (x *EnrollResponse) Reset()
func (*EnrollResponse) String ¶
func (x *EnrollResponse) String() string
type EnsureNetworkRequest ¶ added in v0.2.0
type EnsureNetworkRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*EnsureNetworkRequest) Descriptor
deprecated
added in
v0.2.0
func (*EnsureNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnsureNetworkRequest.ProtoReflect.Descriptor instead.
func (*EnsureNetworkRequest) GetName ¶ added in v0.2.0
func (x *EnsureNetworkRequest) GetName() string
func (*EnsureNetworkRequest) ProtoMessage ¶ added in v0.2.0
func (*EnsureNetworkRequest) ProtoMessage()
func (*EnsureNetworkRequest) ProtoReflect ¶ added in v0.2.0
func (x *EnsureNetworkRequest) ProtoReflect() protoreflect.Message
func (*EnsureNetworkRequest) Reset ¶ added in v0.2.0
func (x *EnsureNetworkRequest) Reset()
func (*EnsureNetworkRequest) String ¶ added in v0.2.0
func (x *EnsureNetworkRequest) String() string
type EnsureNetworkResponse ¶ added in v0.2.0
type EnsureNetworkResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*EnsureNetworkResponse) Descriptor
deprecated
added in
v0.2.0
func (*EnsureNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use EnsureNetworkResponse.ProtoReflect.Descriptor instead.
func (*EnsureNetworkResponse) GetId ¶ added in v0.2.0
func (x *EnsureNetworkResponse) GetId() string
func (*EnsureNetworkResponse) ProtoMessage ¶ added in v0.2.0
func (*EnsureNetworkResponse) ProtoMessage()
func (*EnsureNetworkResponse) ProtoReflect ¶ added in v0.2.0
func (x *EnsureNetworkResponse) ProtoReflect() protoreflect.Message
func (*EnsureNetworkResponse) Reset ¶ added in v0.2.0
func (x *EnsureNetworkResponse) Reset()
func (*EnsureNetworkResponse) String ¶ added in v0.2.0
func (x *EnsureNetworkResponse) String() string
type EnsureVolumeRequest ¶
type EnsureVolumeRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*EnsureVolumeRequest) Descriptor
deprecated
func (*EnsureVolumeRequest) Descriptor() ([]byte, []int)
Deprecated: Use EnsureVolumeRequest.ProtoReflect.Descriptor instead.
func (*EnsureVolumeRequest) GetName ¶
func (x *EnsureVolumeRequest) GetName() string
func (*EnsureVolumeRequest) ProtoMessage ¶
func (*EnsureVolumeRequest) ProtoMessage()
func (*EnsureVolumeRequest) ProtoReflect ¶
func (x *EnsureVolumeRequest) ProtoReflect() protoreflect.Message
func (*EnsureVolumeRequest) Reset ¶
func (x *EnsureVolumeRequest) Reset()
func (*EnsureVolumeRequest) String ¶
func (x *EnsureVolumeRequest) String() string
type ExecCancel ¶ added in v0.2.0
type ExecCancel struct {
ExecId string `protobuf:"bytes,1,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
// contains filtered or unexported fields
}
ExecCancel ends an in-flight exec early, when the control plane's caller closed the stream before the command finished. The agent stops reading and closes its local exec, so the remote process does not outlive the caller that asked for it.
func (*ExecCancel) Descriptor
deprecated
added in
v0.2.0
func (*ExecCancel) Descriptor() ([]byte, []int)
Deprecated: Use ExecCancel.ProtoReflect.Descriptor instead.
func (*ExecCancel) GetExecId ¶ added in v0.2.0
func (x *ExecCancel) GetExecId() string
func (*ExecCancel) ProtoMessage ¶ added in v0.2.0
func (*ExecCancel) ProtoMessage()
func (*ExecCancel) ProtoReflect ¶ added in v0.2.0
func (x *ExecCancel) ProtoReflect() protoreflect.Message
func (*ExecCancel) Reset ¶ added in v0.2.0
func (x *ExecCancel) Reset()
func (*ExecCancel) String ¶ added in v0.2.0
func (x *ExecCancel) String() string
type ExecCredit ¶ added in v0.2.0
type ExecCredit struct {
ExecId string `protobuf:"bytes,1,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
Frames uint32 `protobuf:"varint,2,opt,name=frames,proto3" json:"frames,omitempty"`
// contains filtered or unexported fields
}
ExecCredit refunds flow-control window for one exec, in frames. Both exec directions are windowed: a sender may have at most a fixed number of unacknowledged data frames outstanding, and the receiver credits frames back as it consumes them. Without this, one slow exec consumer would either stall every other logical call sharing the Session stream or force unbounded buffering of a multi-gigabyte dump.
func (*ExecCredit) Descriptor
deprecated
added in
v0.2.0
func (*ExecCredit) Descriptor() ([]byte, []int)
Deprecated: Use ExecCredit.ProtoReflect.Descriptor instead.
func (*ExecCredit) GetExecId ¶ added in v0.2.0
func (x *ExecCredit) GetExecId() string
func (*ExecCredit) GetFrames ¶ added in v0.2.0
func (x *ExecCredit) GetFrames() uint32
func (*ExecCredit) ProtoMessage ¶ added in v0.2.0
func (*ExecCredit) ProtoMessage()
func (*ExecCredit) ProtoReflect ¶ added in v0.2.0
func (x *ExecCredit) ProtoReflect() protoreflect.Message
func (*ExecCredit) Reset ¶ added in v0.2.0
func (x *ExecCredit) Reset()
func (*ExecCredit) String ¶ added in v0.2.0
func (x *ExecCredit) String() string
type ExecExit ¶ added in v0.2.0
type ExecExit struct {
Cmd []string `protobuf:"bytes,1,rep,name=cmd,proto3" json:"cmd,omitempty"`
Container string `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"`
ExitCode int32 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
Stderr string `protobuf:"bytes,4,opt,name=stderr,proto3" json:"stderr,omitempty"`
// contains filtered or unexported fields
}
func (*ExecExit) Descriptor
deprecated
added in
v0.2.0
func (*ExecExit) GetContainer ¶ added in v0.2.0
func (*ExecExit) GetExitCode ¶ added in v0.2.0
func (*ExecExit) ProtoMessage ¶ added in v0.2.0
func (*ExecExit) ProtoMessage()
func (*ExecExit) ProtoReflect ¶ added in v0.2.0
func (x *ExecExit) ProtoReflect() protoreflect.Message
type ExecFailure ¶ added in v0.2.0
type ExecFailure struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Exit is set when the failure was the command's own non-zero exit
// (internal/docker.ExecExitError), so the control plane can rebuild
// that typed error rather than a flat string: internal/api's exec
// endpoint branches on it with errors.As to report a real exit code.
Exit *ExecExit `protobuf:"bytes,2,opt,name=exit,proto3" json:"exit,omitempty"`
// contains filtered or unexported fields
}
ExecFailure is the error that ended an exec's output stream, mirroring the trailing error docker.Runtime.Exec's own io.ReadCloser returns.
func (*ExecFailure) Descriptor
deprecated
added in
v0.2.0
func (*ExecFailure) Descriptor() ([]byte, []int)
Deprecated: Use ExecFailure.ProtoReflect.Descriptor instead.
func (*ExecFailure) GetExit ¶ added in v0.2.0
func (x *ExecFailure) GetExit() *ExecExit
func (*ExecFailure) GetMessage ¶ added in v0.2.0
func (x *ExecFailure) GetMessage() string
func (*ExecFailure) ProtoMessage ¶ added in v0.2.0
func (*ExecFailure) ProtoMessage()
func (*ExecFailure) ProtoReflect ¶ added in v0.2.0
func (x *ExecFailure) ProtoReflect() protoreflect.Message
func (*ExecFailure) Reset ¶ added in v0.2.0
func (x *ExecFailure) Reset()
func (*ExecFailure) String ¶ added in v0.2.0
func (x *ExecFailure) String() string
type ExecInput ¶ added in v0.2.0
type ExecInput struct {
ExecId string `protobuf:"bytes,1,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"`
Eof bool `protobuf:"varint,3,opt,name=eof,proto3" json:"eof,omitempty"`
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
ExecInput is one stdin frame for the in-flight exec whose request_id is exec_id. Exactly one of chunk, eof, or error is meaningful per frame: eof ends stdin the way closing a pipe's write half does, error carries a failure reading the control plane's own source reader so the exec fails loudly instead of seeing a silently truncated stdin.
func (*ExecInput) Descriptor
deprecated
added in
v0.2.0
func (*ExecInput) ProtoMessage ¶ added in v0.2.0
func (*ExecInput) ProtoMessage()
func (*ExecInput) ProtoReflect ¶ added in v0.2.0
func (x *ExecInput) ProtoReflect() protoreflect.Message
type ExecOutput ¶ added in v0.2.0
type ExecOutput struct {
ExecId string `protobuf:"bytes,1,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"`
Eof bool `protobuf:"varint,3,opt,name=eof,proto3" json:"eof,omitempty"`
Failure *ExecFailure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"`
// contains filtered or unexported fields
}
ExecOutput is one stdout frame for an in-flight exec, or that stream's terminal frame. A data frame sets chunk; the terminal frame sets either eof (the command's output ended cleanly) or failure. Exactly one terminal frame is ever sent per exec.
func (*ExecOutput) Descriptor
deprecated
added in
v0.2.0
func (*ExecOutput) Descriptor() ([]byte, []int)
Deprecated: Use ExecOutput.ProtoReflect.Descriptor instead.
func (*ExecOutput) GetChunk ¶ added in v0.2.0
func (x *ExecOutput) GetChunk() []byte
func (*ExecOutput) GetEof ¶ added in v0.2.0
func (x *ExecOutput) GetEof() bool
func (*ExecOutput) GetExecId ¶ added in v0.2.0
func (x *ExecOutput) GetExecId() string
func (*ExecOutput) GetFailure ¶ added in v0.2.0
func (x *ExecOutput) GetFailure() *ExecFailure
func (*ExecOutput) ProtoMessage ¶ added in v0.2.0
func (*ExecOutput) ProtoMessage()
func (*ExecOutput) ProtoReflect ¶ added in v0.2.0
func (x *ExecOutput) ProtoReflect() protoreflect.Message
func (*ExecOutput) Reset ¶ added in v0.2.0
func (x *ExecOutput) Reset()
func (*ExecOutput) String ¶ added in v0.2.0
func (x *ExecOutput) String() string
type ExecRequest ¶ added in v0.2.0
type ExecRequest struct {
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
Cmd []string `protobuf:"bytes,2,rep,name=cmd,proto3" json:"cmd,omitempty"`
// AttachStdin selects docker.Runtime.ExecWithInput over Exec: the
// control plane then streams ExecInput frames for the same exec_id.
AttachStdin bool `protobuf:"varint,3,opt,name=attach_stdin,json=attachStdin,proto3" json:"attach_stdin,omitempty"`
// Tty selects docker.TTYRuntime.ExecTTY instead: the command runs on
// a real PTY, its output frames carry stdout and stderr already
// merged the way a terminal merges them, and the control plane may
// send ExecResize frames for the same exec_id. Implies attach_stdin.
Tty bool `protobuf:"varint,4,opt,name=tty,proto3" json:"tty,omitempty"`
// TtySize is the PTY's initial size, meaningful only when tty is set.
TtySize *ExecTTYSize `protobuf:"bytes,5,opt,name=tty_size,json=ttySize,proto3" json:"tty_size,omitempty"`
// Env is extra environment for the exec'd process, on top of whatever
// the container itself was created with. A terminal needs TERM here.
Env []string `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty"`
// Archive turns this exec into a tar copy through the container archive
// API (no command runs): copy-out streams ExecOutput frames, copy-in
// consumes ExecInput frames. Same windowing and cancel as any exec.
Archive *ArchiveOp `protobuf:"bytes,7,opt,name=archive,proto3" json:"archive,omitempty"`
// File turns this exec into an object operation inside the agent's
// confined storage directory (no command runs, no container involved).
File *FileOp `protobuf:"bytes,8,opt,name=file,proto3" json:"file,omitempty"`
// contains filtered or unexported fields
}
ExecRequest runs cmd inside an already-running container and streams its stdout back as ExecOutput frames tagged with this request's own request_id. The AgentResponse for this request is only an acknowledgment that the exec attached (or the error that stopped it from attaching); output arrives afterwards, frame by frame, exactly as docker.Runtime.Exec's returned io.ReadCloser produces it locally.
func (*ExecRequest) Descriptor
deprecated
added in
v0.2.0
func (*ExecRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
func (*ExecRequest) GetArchive ¶
func (x *ExecRequest) GetArchive() *ArchiveOp
func (*ExecRequest) GetAttachStdin ¶ added in v0.2.0
func (x *ExecRequest) GetAttachStdin() bool
func (*ExecRequest) GetCmd ¶ added in v0.2.0
func (x *ExecRequest) GetCmd() []string
func (*ExecRequest) GetContainerId ¶ added in v0.2.0
func (x *ExecRequest) GetContainerId() string
func (*ExecRequest) GetEnv ¶ added in v0.2.0
func (x *ExecRequest) GetEnv() []string
func (*ExecRequest) GetFile ¶
func (x *ExecRequest) GetFile() *FileOp
func (*ExecRequest) GetTty ¶ added in v0.2.0
func (x *ExecRequest) GetTty() bool
func (*ExecRequest) GetTtySize ¶ added in v0.2.0
func (x *ExecRequest) GetTtySize() *ExecTTYSize
func (*ExecRequest) ProtoMessage ¶ added in v0.2.0
func (*ExecRequest) ProtoMessage()
func (*ExecRequest) ProtoReflect ¶ added in v0.2.0
func (x *ExecRequest) ProtoReflect() protoreflect.Message
func (*ExecRequest) Reset ¶ added in v0.2.0
func (x *ExecRequest) Reset()
func (*ExecRequest) String ¶ added in v0.2.0
func (x *ExecRequest) String() string
type ExecResize ¶ added in v0.2.0
type ExecResize struct {
ExecId string `protobuf:"bytes,1,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
Rows uint32 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"`
Cols uint32 `protobuf:"varint,3,opt,name=cols,proto3" json:"cols,omitempty"`
// contains filtered or unexported fields
}
ExecResize tells the agent that a TTY exec's terminal changed size, so the process inside sees a SIGWINCH and redraws. Ignored for an exec that did not ask for a PTY.
func (*ExecResize) Descriptor
deprecated
added in
v0.2.0
func (*ExecResize) Descriptor() ([]byte, []int)
Deprecated: Use ExecResize.ProtoReflect.Descriptor instead.
func (*ExecResize) GetCols ¶ added in v0.2.0
func (x *ExecResize) GetCols() uint32
func (*ExecResize) GetExecId ¶ added in v0.2.0
func (x *ExecResize) GetExecId() string
func (*ExecResize) GetRows ¶ added in v0.2.0
func (x *ExecResize) GetRows() uint32
func (*ExecResize) ProtoMessage ¶ added in v0.2.0
func (*ExecResize) ProtoMessage()
func (*ExecResize) ProtoReflect ¶ added in v0.2.0
func (x *ExecResize) ProtoReflect() protoreflect.Message
func (*ExecResize) Reset ¶ added in v0.2.0
func (x *ExecResize) Reset()
func (*ExecResize) String ¶ added in v0.2.0
func (x *ExecResize) String() string
type ExecTTYSize ¶ added in v0.2.0
type ExecTTYSize struct {
Rows uint32 `protobuf:"varint,1,opt,name=rows,proto3" json:"rows,omitempty"`
Cols uint32 `protobuf:"varint,2,opt,name=cols,proto3" json:"cols,omitempty"`
// contains filtered or unexported fields
}
func (*ExecTTYSize) Descriptor
deprecated
added in
v0.2.0
func (*ExecTTYSize) Descriptor() ([]byte, []int)
Deprecated: Use ExecTTYSize.ProtoReflect.Descriptor instead.
func (*ExecTTYSize) GetCols ¶ added in v0.2.0
func (x *ExecTTYSize) GetCols() uint32
func (*ExecTTYSize) GetRows ¶ added in v0.2.0
func (x *ExecTTYSize) GetRows() uint32
func (*ExecTTYSize) ProtoMessage ¶ added in v0.2.0
func (*ExecTTYSize) ProtoMessage()
func (*ExecTTYSize) ProtoReflect ¶ added in v0.2.0
func (x *ExecTTYSize) ProtoReflect() protoreflect.Message
func (*ExecTTYSize) Reset ¶ added in v0.2.0
func (x *ExecTTYSize) Reset()
func (*ExecTTYSize) String ¶ added in v0.2.0
func (x *ExecTTYSize) String() string
type ExitState ¶ added in v0.2.0
type ExitState struct {
Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"`
OomKilled bool `protobuf:"varint,2,opt,name=oom_killed,json=oomKilled,proto3" json:"oom_killed,omitempty"`
ExitCode int32 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
// contains filtered or unexported fields
}
ExitState mirrors internal/docker.ExitState: the fields a real container inspect carries but the container-list summary behind InspectByName does not, so a remote node can tell "still starting" apart from "already exited or OOM-killed" the same way a local one can.
func (*ExitState) Descriptor
deprecated
added in
v0.2.0
func (*ExitState) GetExitCode ¶ added in v0.2.0
func (*ExitState) GetOomKilled ¶ added in v0.2.0
func (*ExitState) GetRunning ¶ added in v0.2.0
func (*ExitState) ProtoMessage ¶ added in v0.2.0
func (*ExitState) ProtoMessage()
func (*ExitState) ProtoReflect ¶ added in v0.2.0
func (x *ExitState) ProtoReflect() protoreflect.Message
type FileOp ¶
type FileOp struct {
Kind FileOp_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=levelrail.agent.v1.FileOp_Kind" json:"kind,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
MaxBytes int64 `protobuf:"varint,3,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
// contains filtered or unexported fields
}
FileOp is one object operation on a storage destination directory. The agent resolves path under its configured storage root and refuses anything that escapes it. PUT consumes ExecInput frames, GET and LIST stream ExecOutput frames (LIST emits one "<size>\t<path>" line per file).
func (*FileOp) Descriptor
deprecated
func (*FileOp) GetKind ¶
func (x *FileOp) GetKind() FileOp_Kind
func (*FileOp) GetMaxBytes ¶
func (*FileOp) ProtoMessage ¶
func (*FileOp) ProtoMessage()
func (*FileOp) ProtoReflect ¶
func (x *FileOp) ProtoReflect() protoreflect.Message
type FileOp_Kind ¶
type FileOp_Kind int32
const ( FileOp_KIND_UNSPECIFIED FileOp_Kind = 0 FileOp_KIND_PUT FileOp_Kind = 1 FileOp_KIND_GET FileOp_Kind = 2 FileOp_KIND_DELETE FileOp_Kind = 3 FileOp_KIND_LIST FileOp_Kind = 4 )
func (FileOp_Kind) Descriptor ¶
func (FileOp_Kind) Descriptor() protoreflect.EnumDescriptor
func (FileOp_Kind) Enum ¶
func (x FileOp_Kind) Enum() *FileOp_Kind
func (FileOp_Kind) EnumDescriptor
deprecated
func (FileOp_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileOp_Kind.Descriptor instead.
func (FileOp_Kind) Number ¶
func (x FileOp_Kind) Number() protoreflect.EnumNumber
func (FileOp_Kind) String ¶
func (x FileOp_Kind) String() string
func (FileOp_Kind) Type ¶
func (FileOp_Kind) Type() protoreflect.EnumType
type GPUDevice ¶ added in v0.2.0
type GPUDevice struct {
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
VramTotalMib int64 `protobuf:"varint,4,opt,name=vram_total_mib,json=vramTotalMib,proto3" json:"vram_total_mib,omitempty"`
VramUsedMib int64 `protobuf:"varint,5,opt,name=vram_used_mib,json=vramUsedMib,proto3" json:"vram_used_mib,omitempty"`
UtilizationPercent int32 `protobuf:"varint,6,opt,name=utilization_percent,json=utilizationPercent,proto3" json:"utilization_percent,omitempty"`
// contains filtered or unexported fields
}
func (*GPUDevice) Descriptor
deprecated
added in
v0.2.0
func (*GPUDevice) GetUtilizationPercent ¶ added in v0.2.0
func (*GPUDevice) GetVramTotalMib ¶ added in v0.2.0
func (*GPUDevice) GetVramUsedMib ¶ added in v0.2.0
func (*GPUDevice) ProtoMessage ¶ added in v0.2.0
func (*GPUDevice) ProtoMessage()
func (*GPUDevice) ProtoReflect ¶ added in v0.2.0
func (x *GPUDevice) ProtoReflect() protoreflect.Message
type GPUReport ¶ added in v0.2.0
type GPUReport struct {
Present bool `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"`
DriverVersion string `protobuf:"bytes,2,opt,name=driver_version,json=driverVersion,proto3" json:"driver_version,omitempty"`
Devices []*GPUDevice `protobuf:"bytes,3,rep,name=devices,proto3" json:"devices,omitempty"`
RuntimeInstalled bool `protobuf:"varint,4,opt,name=runtime_installed,json=runtimeInstalled,proto3" json:"runtime_installed,omitempty"`
// contains filtered or unexported fields
}
GPUReport is the agent's own NVIDIA detection result, sent on connect and periodically after. present=false with no devices is a valid report.
func (*GPUReport) Descriptor
deprecated
added in
v0.2.0
func (*GPUReport) GetDevices ¶ added in v0.2.0
func (*GPUReport) GetDriverVersion ¶ added in v0.2.0
func (*GPUReport) GetPresent ¶ added in v0.2.0
func (*GPUReport) GetRuntimeInstalled ¶ added in v0.2.0
func (*GPUReport) ProtoMessage ¶ added in v0.2.0
func (*GPUReport) ProtoMessage()
func (*GPUReport) ProtoReflect ¶ added in v0.2.0
func (x *GPUReport) ProtoReflect() protoreflect.Message
type GPURequest ¶ added in v0.2.0
type GPURequest struct {
// count -1 means every GPU on the node.
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
DeviceIds []string `protobuf:"bytes,2,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"`
// contains filtered or unexported fields
}
func (*GPURequest) Descriptor
deprecated
added in
v0.2.0
func (*GPURequest) Descriptor() ([]byte, []int)
Deprecated: Use GPURequest.ProtoReflect.Descriptor instead.
func (*GPURequest) GetCount ¶ added in v0.2.0
func (x *GPURequest) GetCount() int32
func (*GPURequest) GetDeviceIds ¶ added in v0.2.0
func (x *GPURequest) GetDeviceIds() []string
func (*GPURequest) ProtoMessage ¶ added in v0.2.0
func (*GPURequest) ProtoMessage()
func (*GPURequest) ProtoReflect ¶ added in v0.2.0
func (x *GPURequest) ProtoReflect() protoreflect.Message
func (*GPURequest) Reset ¶ added in v0.2.0
func (x *GPURequest) Reset()
func (*GPURequest) String ¶ added in v0.2.0
func (x *GPURequest) String() string
type GoAway ¶ added in v0.2.0
type GoAway struct {
// contains filtered or unexported fields
}
GoAway carries no data of its own, the same "presence is the message" shape Heartbeat already uses in the opposite direction.
func (*GoAway) Descriptor
deprecated
added in
v0.2.0
func (*GoAway) ProtoMessage ¶ added in v0.2.0
func (*GoAway) ProtoMessage()
func (*GoAway) ProtoReflect ¶ added in v0.2.0
func (x *GoAway) ProtoReflect() protoreflect.Message
type Heartbeat ¶ added in v0.2.0
type Heartbeat struct {
// contains filtered or unexported fields
}
Heartbeat carries no data of its own: the frame's mere arrival on the Session stream is the whole signal, the same "presence is the message" shape WatchEventsRequest's own watch_id establishes for a different unprompted, agent-initiated frame.
func (*Heartbeat) Descriptor
deprecated
added in
v0.2.0
func (*Heartbeat) ProtoMessage ¶ added in v0.2.0
func (*Heartbeat) ProtoMessage()
func (*Heartbeat) ProtoReflect ¶ added in v0.2.0
func (x *Heartbeat) ProtoReflect() protoreflect.Message
type HostReport ¶ added in v0.2.2
type HostReport struct {
MemoryTotalBytes uint64 `protobuf:"varint,1,opt,name=memory_total_bytes,json=memoryTotalBytes,proto3" json:"memory_total_bytes,omitempty"`
MemoryAvailableBytes uint64 `protobuf:"varint,2,opt,name=memory_available_bytes,json=memoryAvailableBytes,proto3" json:"memory_available_bytes,omitempty"`
// agent_rss_bytes is the agent process's resident set size.
AgentRssBytes uint64 `protobuf:"varint,3,opt,name=agent_rss_bytes,json=agentRssBytes,proto3" json:"agent_rss_bytes,omitempty"`
// other_containers_memory_bytes sums every unmanaged running container;
// other_containers lists only the largest few.
OtherContainersMemoryBytes uint64 `` /* 144-byte string literal not displayed */
OtherContainers []*UnmanagedContainer `protobuf:"bytes,5,rep,name=other_containers,json=otherContainers,proto3" json:"other_containers,omitempty"`
// cpu_cores, disk_total_bytes and disk_free_bytes are zero when unreadable.
CpuCores uint32 `protobuf:"varint,6,opt,name=cpu_cores,json=cpuCores,proto3" json:"cpu_cores,omitempty"`
DiskTotalBytes uint64 `protobuf:"varint,7,opt,name=disk_total_bytes,json=diskTotalBytes,proto3" json:"disk_total_bytes,omitempty"`
DiskFreeBytes uint64 `protobuf:"varint,8,opt,name=disk_free_bytes,json=diskFreeBytes,proto3" json:"disk_free_bytes,omitempty"`
// Inode and swap counts are zero when unreadable; no swap reads as total 0.
DiskInodesTotal uint64 `protobuf:"varint,9,opt,name=disk_inodes_total,json=diskInodesTotal,proto3" json:"disk_inodes_total,omitempty"`
DiskInodesFree uint64 `protobuf:"varint,10,opt,name=disk_inodes_free,json=diskInodesFree,proto3" json:"disk_inodes_free,omitempty"`
SwapTotalBytes uint64 `protobuf:"varint,11,opt,name=swap_total_bytes,json=swapTotalBytes,proto3" json:"swap_total_bytes,omitempty"`
SwapFreeBytes uint64 `protobuf:"varint,12,opt,name=swap_free_bytes,json=swapFreeBytes,proto3" json:"swap_free_bytes,omitempty"`
// contains filtered or unexported fields
}
HostReport is the agent's own host memory reading. A zero memory_total_bytes means the host total could not be read. Fields are additive only so old agents and old control planes keep interoperating.
func (*HostReport) Descriptor
deprecated
added in
v0.2.2
func (*HostReport) Descriptor() ([]byte, []int)
Deprecated: Use HostReport.ProtoReflect.Descriptor instead.
func (*HostReport) GetAgentRssBytes ¶ added in v0.2.2
func (x *HostReport) GetAgentRssBytes() uint64
func (*HostReport) GetCpuCores ¶
func (x *HostReport) GetCpuCores() uint32
func (*HostReport) GetDiskFreeBytes ¶
func (x *HostReport) GetDiskFreeBytes() uint64
func (*HostReport) GetDiskInodesFree ¶
func (x *HostReport) GetDiskInodesFree() uint64
func (*HostReport) GetDiskInodesTotal ¶
func (x *HostReport) GetDiskInodesTotal() uint64
func (*HostReport) GetDiskTotalBytes ¶
func (x *HostReport) GetDiskTotalBytes() uint64
func (*HostReport) GetMemoryAvailableBytes ¶ added in v0.2.2
func (x *HostReport) GetMemoryAvailableBytes() uint64
func (*HostReport) GetMemoryTotalBytes ¶ added in v0.2.2
func (x *HostReport) GetMemoryTotalBytes() uint64
func (*HostReport) GetOtherContainers ¶ added in v0.2.2
func (x *HostReport) GetOtherContainers() []*UnmanagedContainer
func (*HostReport) GetOtherContainersMemoryBytes ¶ added in v0.2.2
func (x *HostReport) GetOtherContainersMemoryBytes() uint64
func (*HostReport) GetSwapFreeBytes ¶
func (x *HostReport) GetSwapFreeBytes() uint64
func (*HostReport) GetSwapTotalBytes ¶
func (x *HostReport) GetSwapTotalBytes() uint64
func (*HostReport) ProtoMessage ¶ added in v0.2.2
func (*HostReport) ProtoMessage()
func (*HostReport) ProtoReflect ¶ added in v0.2.2
func (x *HostReport) ProtoReflect() protoreflect.Message
func (*HostReport) Reset ¶ added in v0.2.2
func (x *HostReport) Reset()
func (*HostReport) String ¶ added in v0.2.2
func (x *HostReport) String() string
type ImageInfo ¶
type ImageInfo struct {
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*ImageInfo) Descriptor
deprecated
func (*ImageInfo) GetCreatedAt ¶
func (x *ImageInfo) GetCreatedAt() *timestamppb.Timestamp
func (*ImageInfo) ProtoMessage ¶
func (*ImageInfo) ProtoMessage()
func (*ImageInfo) ProtoReflect ¶
func (x *ImageInfo) ProtoReflect() protoreflect.Message
type InspectByNameRequest ¶
type InspectByNameRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*InspectByNameRequest) Descriptor
deprecated
func (*InspectByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use InspectByNameRequest.ProtoReflect.Descriptor instead.
func (*InspectByNameRequest) GetName ¶
func (x *InspectByNameRequest) GetName() string
func (*InspectByNameRequest) ProtoMessage ¶
func (*InspectByNameRequest) ProtoMessage()
func (*InspectByNameRequest) ProtoReflect ¶
func (x *InspectByNameRequest) ProtoReflect() protoreflect.Message
func (*InspectByNameRequest) Reset ¶
func (x *InspectByNameRequest) Reset()
func (*InspectByNameRequest) String ¶
func (x *InspectByNameRequest) String() string
type InspectByNameResponse ¶
type InspectByNameResponse struct {
// Found is false when internal/docker.Runtime.InspectByName's own
// (nil, nil) "not found, not an error" contract applies: state below
// is then unset, not a zero-valued ContainerState pretending to be a
// real one.
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
State *ContainerState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
// contains filtered or unexported fields
}
func (*InspectByNameResponse) Descriptor
deprecated
func (*InspectByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use InspectByNameResponse.ProtoReflect.Descriptor instead.
func (*InspectByNameResponse) GetFound ¶
func (x *InspectByNameResponse) GetFound() bool
func (*InspectByNameResponse) GetState ¶
func (x *InspectByNameResponse) GetState() *ContainerState
func (*InspectByNameResponse) ProtoMessage ¶
func (*InspectByNameResponse) ProtoMessage()
func (*InspectByNameResponse) ProtoReflect ¶
func (x *InspectByNameResponse) ProtoReflect() protoreflect.Message
func (*InspectByNameResponse) Reset ¶
func (x *InspectByNameResponse) Reset()
func (*InspectByNameResponse) String ¶
func (x *InspectByNameResponse) String() string
type InspectExitStateRequest ¶ added in v0.2.0
type InspectExitStateRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*InspectExitStateRequest) Descriptor
deprecated
added in
v0.2.0
func (*InspectExitStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InspectExitStateRequest.ProtoReflect.Descriptor instead.
func (*InspectExitStateRequest) GetName ¶ added in v0.2.0
func (x *InspectExitStateRequest) GetName() string
func (*InspectExitStateRequest) ProtoMessage ¶ added in v0.2.0
func (*InspectExitStateRequest) ProtoMessage()
func (*InspectExitStateRequest) ProtoReflect ¶ added in v0.2.0
func (x *InspectExitStateRequest) ProtoReflect() protoreflect.Message
func (*InspectExitStateRequest) Reset ¶ added in v0.2.0
func (x *InspectExitStateRequest) Reset()
func (*InspectExitStateRequest) String ¶ added in v0.2.0
func (x *InspectExitStateRequest) String() string
type InspectExitStateResponse ¶ added in v0.2.0
type InspectExitStateResponse struct {
// Found mirrors InspectByNameResponse.found: false carries
// internal/docker.ExitStateInspector's own (nil, nil) "no such
// container, not an error" contract.
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
State *ExitState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
// contains filtered or unexported fields
}
func (*InspectExitStateResponse) Descriptor
deprecated
added in
v0.2.0
func (*InspectExitStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use InspectExitStateResponse.ProtoReflect.Descriptor instead.
func (*InspectExitStateResponse) GetFound ¶ added in v0.2.0
func (x *InspectExitStateResponse) GetFound() bool
func (*InspectExitStateResponse) GetState ¶ added in v0.2.0
func (x *InspectExitStateResponse) GetState() *ExitState
func (*InspectExitStateResponse) ProtoMessage ¶ added in v0.2.0
func (*InspectExitStateResponse) ProtoMessage()
func (*InspectExitStateResponse) ProtoReflect ¶ added in v0.2.0
func (x *InspectExitStateResponse) ProtoReflect() protoreflect.Message
func (*InspectExitStateResponse) Reset ¶ added in v0.2.0
func (x *InspectExitStateResponse) Reset()
func (*InspectExitStateResponse) String ¶ added in v0.2.0
func (x *InspectExitStateResponse) String() string
type ListByPrefixRequest ¶
type ListByPrefixRequest struct {
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
// contains filtered or unexported fields
}
func (*ListByPrefixRequest) Descriptor
deprecated
func (*ListByPrefixRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListByPrefixRequest.ProtoReflect.Descriptor instead.
func (*ListByPrefixRequest) GetPrefix ¶
func (x *ListByPrefixRequest) GetPrefix() string
func (*ListByPrefixRequest) ProtoMessage ¶
func (*ListByPrefixRequest) ProtoMessage()
func (*ListByPrefixRequest) ProtoReflect ¶
func (x *ListByPrefixRequest) ProtoReflect() protoreflect.Message
func (*ListByPrefixRequest) Reset ¶
func (x *ListByPrefixRequest) Reset()
func (*ListByPrefixRequest) String ¶
func (x *ListByPrefixRequest) String() string
type ListByPrefixResponse ¶
type ListByPrefixResponse struct {
Containers []*ContainerState `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
// contains filtered or unexported fields
}
func (*ListByPrefixResponse) Descriptor
deprecated
func (*ListByPrefixResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListByPrefixResponse.ProtoReflect.Descriptor instead.
func (*ListByPrefixResponse) GetContainers ¶
func (x *ListByPrefixResponse) GetContainers() []*ContainerState
func (*ListByPrefixResponse) ProtoMessage ¶
func (*ListByPrefixResponse) ProtoMessage()
func (*ListByPrefixResponse) ProtoReflect ¶
func (x *ListByPrefixResponse) ProtoReflect() protoreflect.Message
func (*ListByPrefixResponse) Reset ¶
func (x *ListByPrefixResponse) Reset()
func (*ListByPrefixResponse) String ¶
func (x *ListByPrefixResponse) String() string
type ListImagesRequest ¶
type ListImagesRequest struct {
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
// contains filtered or unexported fields
}
func (*ListImagesRequest) Descriptor
deprecated
func (*ListImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesRequest.ProtoReflect.Descriptor instead.
func (*ListImagesRequest) GetRepo ¶
func (x *ListImagesRequest) GetRepo() string
func (*ListImagesRequest) ProtoMessage ¶
func (*ListImagesRequest) ProtoMessage()
func (*ListImagesRequest) ProtoReflect ¶
func (x *ListImagesRequest) ProtoReflect() protoreflect.Message
func (*ListImagesRequest) Reset ¶
func (x *ListImagesRequest) Reset()
func (*ListImagesRequest) String ¶
func (x *ListImagesRequest) String() string
type ListImagesResponse ¶
type ListImagesResponse struct {
Images []*ImageInfo `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
// contains filtered or unexported fields
}
func (*ListImagesResponse) Descriptor
deprecated
func (*ListImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesResponse.ProtoReflect.Descriptor instead.
func (*ListImagesResponse) GetImages ¶
func (x *ListImagesResponse) GetImages() []*ImageInfo
func (*ListImagesResponse) ProtoMessage ¶
func (*ListImagesResponse) ProtoMessage()
func (*ListImagesResponse) ProtoReflect ¶
func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
func (*ListImagesResponse) Reset ¶
func (x *ListImagesResponse) Reset()
func (*ListImagesResponse) String ¶
func (x *ListImagesResponse) String() string
type ListNetworksByPrefixRequest ¶ added in v0.2.0
type ListNetworksByPrefixRequest struct {
Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
// contains filtered or unexported fields
}
func (*ListNetworksByPrefixRequest) Descriptor
deprecated
added in
v0.2.0
func (*ListNetworksByPrefixRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworksByPrefixRequest.ProtoReflect.Descriptor instead.
func (*ListNetworksByPrefixRequest) GetPrefix ¶ added in v0.2.0
func (x *ListNetworksByPrefixRequest) GetPrefix() string
func (*ListNetworksByPrefixRequest) ProtoMessage ¶ added in v0.2.0
func (*ListNetworksByPrefixRequest) ProtoMessage()
func (*ListNetworksByPrefixRequest) ProtoReflect ¶ added in v0.2.0
func (x *ListNetworksByPrefixRequest) ProtoReflect() protoreflect.Message
func (*ListNetworksByPrefixRequest) Reset ¶ added in v0.2.0
func (x *ListNetworksByPrefixRequest) Reset()
func (*ListNetworksByPrefixRequest) String ¶ added in v0.2.0
func (x *ListNetworksByPrefixRequest) String() string
type ListNetworksByPrefixResponse ¶ added in v0.2.0
type ListNetworksByPrefixResponse struct {
Networks []*NetworkInfo `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
// contains filtered or unexported fields
}
func (*ListNetworksByPrefixResponse) Descriptor
deprecated
added in
v0.2.0
func (*ListNetworksByPrefixResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworksByPrefixResponse.ProtoReflect.Descriptor instead.
func (*ListNetworksByPrefixResponse) GetNetworks ¶ added in v0.2.0
func (x *ListNetworksByPrefixResponse) GetNetworks() []*NetworkInfo
func (*ListNetworksByPrefixResponse) ProtoMessage ¶ added in v0.2.0
func (*ListNetworksByPrefixResponse) ProtoMessage()
func (*ListNetworksByPrefixResponse) ProtoReflect ¶ added in v0.2.0
func (x *ListNetworksByPrefixResponse) ProtoReflect() protoreflect.Message
func (*ListNetworksByPrefixResponse) Reset ¶ added in v0.2.0
func (x *ListNetworksByPrefixResponse) Reset()
func (*ListNetworksByPrefixResponse) String ¶ added in v0.2.0
func (x *ListNetworksByPrefixResponse) String() string
type MeshPeerStatus ¶ added in v0.2.0
type MeshPeerStatus struct {
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// last_handshake_unix_ms is 0 when no handshake ever completed.
LastHandshakeUnixMs int64 `protobuf:"varint,4,opt,name=last_handshake_unix_ms,json=lastHandshakeUnixMs,proto3" json:"last_handshake_unix_ms,omitempty"`
RxBytes int64 `protobuf:"varint,5,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
TxBytes int64 `protobuf:"varint,6,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
// contains filtered or unexported fields
}
MeshPeerStatus is one WireGuard peer as the reporting node sees it.
func (*MeshPeerStatus) Descriptor
deprecated
added in
v0.2.0
func (*MeshPeerStatus) Descriptor() ([]byte, []int)
Deprecated: Use MeshPeerStatus.ProtoReflect.Descriptor instead.
func (*MeshPeerStatus) GetEndpoint ¶ added in v0.2.0
func (x *MeshPeerStatus) GetEndpoint() string
func (*MeshPeerStatus) GetLastHandshakeUnixMs ¶ added in v0.2.0
func (x *MeshPeerStatus) GetLastHandshakeUnixMs() int64
func (*MeshPeerStatus) GetNodeId ¶ added in v0.2.0
func (x *MeshPeerStatus) GetNodeId() string
func (*MeshPeerStatus) GetPublicKey ¶ added in v0.2.0
func (x *MeshPeerStatus) GetPublicKey() string
func (*MeshPeerStatus) GetRxBytes ¶ added in v0.2.0
func (x *MeshPeerStatus) GetRxBytes() int64
func (*MeshPeerStatus) GetTxBytes ¶ added in v0.2.0
func (x *MeshPeerStatus) GetTxBytes() int64
func (*MeshPeerStatus) ProtoMessage ¶ added in v0.2.0
func (*MeshPeerStatus) ProtoMessage()
func (*MeshPeerStatus) ProtoReflect ¶ added in v0.2.0
func (x *MeshPeerStatus) ProtoReflect() protoreflect.Message
func (*MeshPeerStatus) Reset ¶ added in v0.2.0
func (x *MeshPeerStatus) Reset()
func (*MeshPeerStatus) String ¶ added in v0.2.0
func (x *MeshPeerStatus) String() string
type MeshStatusRequest ¶ added in v0.2.0
type MeshStatusRequest struct {
// contains filtered or unexported fields
}
func (*MeshStatusRequest) Descriptor
deprecated
added in
v0.2.0
func (*MeshStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use MeshStatusRequest.ProtoReflect.Descriptor instead.
func (*MeshStatusRequest) ProtoMessage ¶ added in v0.2.0
func (*MeshStatusRequest) ProtoMessage()
func (*MeshStatusRequest) ProtoReflect ¶ added in v0.2.0
func (x *MeshStatusRequest) ProtoReflect() protoreflect.Message
func (*MeshStatusRequest) Reset ¶ added in v0.2.0
func (x *MeshStatusRequest) Reset()
func (*MeshStatusRequest) String ¶ added in v0.2.0
func (x *MeshStatusRequest) String() string
type MeshStatusResponse ¶ added in v0.2.0
type MeshStatusResponse struct {
// address is the node's mesh prefix, empty when its device is down.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Peers []*MeshPeerStatus `protobuf:"bytes,2,rep,name=peers,proto3" json:"peers,omitempty"`
// contains filtered or unexported fields
}
func (*MeshStatusResponse) Descriptor
deprecated
added in
v0.2.0
func (*MeshStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use MeshStatusResponse.ProtoReflect.Descriptor instead.
func (*MeshStatusResponse) GetAddress ¶ added in v0.2.0
func (x *MeshStatusResponse) GetAddress() string
func (*MeshStatusResponse) GetPeers ¶ added in v0.2.0
func (x *MeshStatusResponse) GetPeers() []*MeshPeerStatus
func (*MeshStatusResponse) ProtoMessage ¶ added in v0.2.0
func (*MeshStatusResponse) ProtoMessage()
func (*MeshStatusResponse) ProtoReflect ¶ added in v0.2.0
func (x *MeshStatusResponse) ProtoReflect() protoreflect.Message
func (*MeshStatusResponse) Reset ¶ added in v0.2.0
func (x *MeshStatusResponse) Reset()
func (*MeshStatusResponse) String ¶ added in v0.2.0
func (x *MeshStatusResponse) String() string
type NetworkConnectRequest ¶ added in v0.2.0
type NetworkConnectRequest struct {
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
ContainerId string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkConnectRequest) Descriptor
deprecated
added in
v0.2.0
func (*NetworkConnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConnectRequest.ProtoReflect.Descriptor instead.
func (*NetworkConnectRequest) GetContainerId ¶ added in v0.2.0
func (x *NetworkConnectRequest) GetContainerId() string
func (*NetworkConnectRequest) GetNetwork ¶ added in v0.2.0
func (x *NetworkConnectRequest) GetNetwork() string
func (*NetworkConnectRequest) ProtoMessage ¶ added in v0.2.0
func (*NetworkConnectRequest) ProtoMessage()
func (*NetworkConnectRequest) ProtoReflect ¶ added in v0.2.0
func (x *NetworkConnectRequest) ProtoReflect() protoreflect.Message
func (*NetworkConnectRequest) Reset ¶ added in v0.2.0
func (x *NetworkConnectRequest) Reset()
func (*NetworkConnectRequest) String ¶ added in v0.2.0
func (x *NetworkConnectRequest) String() string
type NetworkDisconnectRequest ¶ added in v0.2.0
type NetworkDisconnectRequest struct {
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
ContainerId string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
func (*NetworkDisconnectRequest) Descriptor
deprecated
added in
v0.2.0
func (*NetworkDisconnectRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkDisconnectRequest.ProtoReflect.Descriptor instead.
func (*NetworkDisconnectRequest) GetContainerId ¶ added in v0.2.0
func (x *NetworkDisconnectRequest) GetContainerId() string
func (*NetworkDisconnectRequest) GetForce ¶ added in v0.2.0
func (x *NetworkDisconnectRequest) GetForce() bool
func (*NetworkDisconnectRequest) GetNetwork ¶ added in v0.2.0
func (x *NetworkDisconnectRequest) GetNetwork() string
func (*NetworkDisconnectRequest) ProtoMessage ¶ added in v0.2.0
func (*NetworkDisconnectRequest) ProtoMessage()
func (*NetworkDisconnectRequest) ProtoReflect ¶ added in v0.2.0
func (x *NetworkDisconnectRequest) ProtoReflect() protoreflect.Message
func (*NetworkDisconnectRequest) Reset ¶ added in v0.2.0
func (x *NetworkDisconnectRequest) Reset()
func (*NetworkDisconnectRequest) String ¶ added in v0.2.0
func (x *NetworkDisconnectRequest) String() string
type NetworkInfo ¶ added in v0.2.0
type NetworkInfo struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
NetworkInfo mirrors internal/docker.NetworkInfo.
func (*NetworkInfo) Descriptor
deprecated
added in
v0.2.0
func (*NetworkInfo) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.
func (*NetworkInfo) GetId ¶ added in v0.2.0
func (x *NetworkInfo) GetId() string
func (*NetworkInfo) GetName ¶ added in v0.2.0
func (x *NetworkInfo) GetName() string
func (*NetworkInfo) ProtoMessage ¶ added in v0.2.0
func (*NetworkInfo) ProtoMessage()
func (*NetworkInfo) ProtoReflect ¶ added in v0.2.0
func (x *NetworkInfo) ProtoReflect() protoreflect.Message
func (*NetworkInfo) Reset ¶ added in v0.2.0
func (x *NetworkInfo) Reset()
func (*NetworkInfo) String ¶ added in v0.2.0
func (x *NetworkInfo) String() string
type NodeIdentity ¶ added in v0.2.0
type NodeIdentity struct {
PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
ListenPort int32 `protobuf:"varint,2,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"`
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
NodeIdentity mirrors internal/network.NodeIdentity: what a node reports back about itself when it applies a mesh config, the half of its configuration only it can know.
func (*NodeIdentity) Descriptor
deprecated
added in
v0.2.0
func (*NodeIdentity) Descriptor() ([]byte, []int)
Deprecated: Use NodeIdentity.ProtoReflect.Descriptor instead.
func (*NodeIdentity) GetEndpoint ¶ added in v0.2.0
func (x *NodeIdentity) GetEndpoint() string
func (*NodeIdentity) GetListenPort ¶ added in v0.2.0
func (x *NodeIdentity) GetListenPort() int32
func (*NodeIdentity) GetPublicKey ¶ added in v0.2.0
func (x *NodeIdentity) GetPublicKey() string
func (*NodeIdentity) ProtoMessage ¶ added in v0.2.0
func (*NodeIdentity) ProtoMessage()
func (*NodeIdentity) ProtoReflect ¶ added in v0.2.0
func (x *NodeIdentity) ProtoReflect() protoreflect.Message
func (*NodeIdentity) Reset ¶ added in v0.2.0
func (x *NodeIdentity) Reset()
func (*NodeIdentity) String ¶ added in v0.2.0
func (x *NodeIdentity) String() string
type OnboardingReport ¶
type OnboardingReport struct {
// cloud_* is what cloud metadata (or the operator's APP_NODE_* env)
// reported; cloud_source is "metadata" or "env", empty when nothing was found.
CloudProvider string `protobuf:"bytes,1,opt,name=cloud_provider,json=cloudProvider,proto3" json:"cloud_provider,omitempty"`
CloudRegion string `protobuf:"bytes,2,opt,name=cloud_region,json=cloudRegion,proto3" json:"cloud_region,omitempty"`
CloudZone string `protobuf:"bytes,3,opt,name=cloud_zone,json=cloudZone,proto3" json:"cloud_zone,omitempty"`
CloudInstanceId string `protobuf:"bytes,4,opt,name=cloud_instance_id,json=cloudInstanceId,proto3" json:"cloud_instance_id,omitempty"`
CloudSource string `protobuf:"bytes,5,opt,name=cloud_source,json=cloudSource,proto3" json:"cloud_source,omitempty"`
Os string `protobuf:"bytes,6,opt,name=os,proto3" json:"os,omitempty"`
Arch string `protobuf:"bytes,7,opt,name=arch,proto3" json:"arch,omitempty"`
DockerOk bool `protobuf:"varint,8,opt,name=docker_ok,json=dockerOk,proto3" json:"docker_ok,omitempty"`
DockerError string `protobuf:"bytes,9,opt,name=docker_error,json=dockerError,proto3" json:"docker_error,omitempty"`
DockerVersion string `protobuf:"bytes,10,opt,name=docker_version,json=dockerVersion,proto3" json:"docker_version,omitempty"`
WireguardKernel bool `protobuf:"varint,11,opt,name=wireguard_kernel,json=wireguardKernel,proto3" json:"wireguard_kernel,omitempty"`
MeshEnabled bool `protobuf:"varint,12,opt,name=mesh_enabled,json=meshEnabled,proto3" json:"mesh_enabled,omitempty"`
MeshPort uint32 `protobuf:"varint,13,opt,name=mesh_port,json=meshPort,proto3" json:"mesh_port,omitempty"`
// mesh_port_bindable is only meaningful when mesh_enabled is false; a
// running mesh holds the port itself.
MeshPortBindable bool `protobuf:"varint,14,opt,name=mesh_port_bindable,json=meshPortBindable,proto3" json:"mesh_port_bindable,omitempty"`
DiskTotalBytes uint64 `protobuf:"varint,15,opt,name=disk_total_bytes,json=diskTotalBytes,proto3" json:"disk_total_bytes,omitempty"`
DiskFreeBytes uint64 `protobuf:"varint,16,opt,name=disk_free_bytes,json=diskFreeBytes,proto3" json:"disk_free_bytes,omitempty"`
// agent_unix_nano is the agent's wall clock when the report was built.
AgentUnixNano int64 `protobuf:"varint,17,opt,name=agent_unix_nano,json=agentUnixNano,proto3" json:"agent_unix_nano,omitempty"`
MetadataDisabled bool `protobuf:"varint,18,opt,name=metadata_disabled,json=metadataDisabled,proto3" json:"metadata_disabled,omitempty"`
// contains filtered or unexported fields
}
OnboardingReport carries raw facts only; the control plane judges them so thresholds and fix text live in one place. Fields are additive only.
func (*OnboardingReport) Descriptor
deprecated
func (*OnboardingReport) Descriptor() ([]byte, []int)
Deprecated: Use OnboardingReport.ProtoReflect.Descriptor instead.
func (*OnboardingReport) GetAgentUnixNano ¶
func (x *OnboardingReport) GetAgentUnixNano() int64
func (*OnboardingReport) GetArch ¶
func (x *OnboardingReport) GetArch() string
func (*OnboardingReport) GetCloudInstanceId ¶
func (x *OnboardingReport) GetCloudInstanceId() string
func (*OnboardingReport) GetCloudProvider ¶
func (x *OnboardingReport) GetCloudProvider() string
func (*OnboardingReport) GetCloudRegion ¶
func (x *OnboardingReport) GetCloudRegion() string
func (*OnboardingReport) GetCloudSource ¶
func (x *OnboardingReport) GetCloudSource() string
func (*OnboardingReport) GetCloudZone ¶
func (x *OnboardingReport) GetCloudZone() string
func (*OnboardingReport) GetDiskFreeBytes ¶
func (x *OnboardingReport) GetDiskFreeBytes() uint64
func (*OnboardingReport) GetDiskTotalBytes ¶
func (x *OnboardingReport) GetDiskTotalBytes() uint64
func (*OnboardingReport) GetDockerError ¶
func (x *OnboardingReport) GetDockerError() string
func (*OnboardingReport) GetDockerOk ¶
func (x *OnboardingReport) GetDockerOk() bool
func (*OnboardingReport) GetDockerVersion ¶
func (x *OnboardingReport) GetDockerVersion() string
func (*OnboardingReport) GetMeshEnabled ¶
func (x *OnboardingReport) GetMeshEnabled() bool
func (*OnboardingReport) GetMeshPort ¶
func (x *OnboardingReport) GetMeshPort() uint32
func (*OnboardingReport) GetMeshPortBindable ¶
func (x *OnboardingReport) GetMeshPortBindable() bool
func (*OnboardingReport) GetMetadataDisabled ¶
func (x *OnboardingReport) GetMetadataDisabled() bool
func (*OnboardingReport) GetOs ¶
func (x *OnboardingReport) GetOs() string
func (*OnboardingReport) GetWireguardKernel ¶
func (x *OnboardingReport) GetWireguardKernel() bool
func (*OnboardingReport) ProtoMessage ¶
func (*OnboardingReport) ProtoMessage()
func (*OnboardingReport) ProtoReflect ¶
func (x *OnboardingReport) ProtoReflect() protoreflect.Message
func (*OnboardingReport) Reset ¶
func (x *OnboardingReport) Reset()
func (*OnboardingReport) String ¶
func (x *OnboardingReport) String() string
type PeerConfig ¶ added in v0.2.0
type PeerConfig struct {
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
// PublicKey is network.Key.String()'s standard-base64 form, the same
// textual form the control plane already stores and ships elsewhere.
PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// AllowedIps is each prefix's netip.Prefix.String() form. Exactly one
// /32 per peer for a full mesh of single-address nodes; see
// network.PeerConfig.AllowedIPs's own doc comment for why never wider.
AllowedIps []string `protobuf:"bytes,4,rep,name=allowed_ips,json=allowedIps,proto3" json:"allowed_ips,omitempty"`
// PersistentKeepaliveMs is network.PeerConfig.PersistentKeepalive in
// milliseconds, the same unit StopRequest.timeout_ms already uses for a
// Go time.Duration crossing this wire. Zero means no keepalive, not
// "unset": network.PlanOptions.Keepalive's own doc comment distinguishes
// "did not set this" from "explicitly disabled" only on the control
// plane's side of that decision; by the time a PeerConfig reaches this
// message, the decision is already made and zero is unambiguous.
PersistentKeepaliveMs int64 `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
PeerConfig mirrors internal/network.PeerConfig: one other node, as seen from the node this DeviceConfig is addressed to.
func (*PeerConfig) Descriptor
deprecated
added in
v0.2.0
func (*PeerConfig) Descriptor() ([]byte, []int)
Deprecated: Use PeerConfig.ProtoReflect.Descriptor instead.
func (*PeerConfig) GetAllowedIps ¶ added in v0.2.0
func (x *PeerConfig) GetAllowedIps() []string
func (*PeerConfig) GetEndpoint ¶ added in v0.2.0
func (x *PeerConfig) GetEndpoint() string
func (*PeerConfig) GetNodeId ¶ added in v0.2.0
func (x *PeerConfig) GetNodeId() string
func (*PeerConfig) GetPersistentKeepaliveMs ¶ added in v0.2.0
func (x *PeerConfig) GetPersistentKeepaliveMs() int64
func (*PeerConfig) GetPublicKey ¶ added in v0.2.0
func (x *PeerConfig) GetPublicKey() string
func (*PeerConfig) ProtoMessage ¶ added in v0.2.0
func (*PeerConfig) ProtoMessage()
func (*PeerConfig) ProtoReflect ¶ added in v0.2.0
func (x *PeerConfig) ProtoReflect() protoreflect.Message
func (*PeerConfig) Reset ¶ added in v0.2.0
func (x *PeerConfig) Reset()
func (*PeerConfig) String ¶ added in v0.2.0
func (x *PeerConfig) String() string
type PortBinding ¶
type PortBinding struct {
ContainerPort int32 `protobuf:"varint,1,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
HostPort int32 `protobuf:"varint,2,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
// host_ip mirrors internal/docker.PortBinding.HostIP. Empty means Docker's
// default (all interfaces).
HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
// contains filtered or unexported fields
}
func (*PortBinding) Descriptor
deprecated
func (*PortBinding) Descriptor() ([]byte, []int)
Deprecated: Use PortBinding.ProtoReflect.Descriptor instead.
func (*PortBinding) GetContainerPort ¶
func (x *PortBinding) GetContainerPort() int32
func (*PortBinding) GetHostIp ¶ added in v0.2.0
func (x *PortBinding) GetHostIp() string
func (*PortBinding) GetHostPort ¶
func (x *PortBinding) GetHostPort() int32
func (*PortBinding) GetProtocol ¶
func (x *PortBinding) GetProtocol() string
func (*PortBinding) ProtoMessage ¶
func (*PortBinding) ProtoMessage()
func (*PortBinding) ProtoReflect ¶
func (x *PortBinding) ProtoReflect() protoreflect.Message
func (*PortBinding) Reset ¶
func (x *PortBinding) Reset()
func (*PortBinding) String ¶
func (x *PortBinding) String() string
type ProxiedEvent ¶
type ProxiedEvent struct {
WatchId string `protobuf:"bytes,1,opt,name=watch_id,json=watchId,proto3" json:"watch_id,omitempty"`
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // internal/docker.EventAction: "start" | "die" | "stop"
ContainerName string `protobuf:"bytes,3,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"`
Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
// contains filtered or unexported fields
}
ProxiedEvent mirrors internal/docker.Event, relayed unprompted as it happens on the agent's own local WatchEvents stream (ADR 003's event-push design), scoped to the one watch_events call currently active (a fresh watch_id per WatchEventsRequest, so a control plane that starts and stops watching doesn't get events crossed between watches).
func (*ProxiedEvent) Descriptor
deprecated
func (*ProxiedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ProxiedEvent.ProtoReflect.Descriptor instead.
func (*ProxiedEvent) GetAction ¶
func (x *ProxiedEvent) GetAction() string
func (*ProxiedEvent) GetContainerName ¶
func (x *ProxiedEvent) GetContainerName() string
func (*ProxiedEvent) GetTime ¶
func (x *ProxiedEvent) GetTime() *timestamppb.Timestamp
func (*ProxiedEvent) GetWatchId ¶
func (x *ProxiedEvent) GetWatchId() string
func (*ProxiedEvent) ProtoMessage ¶
func (*ProxiedEvent) ProtoMessage()
func (*ProxiedEvent) ProtoReflect ¶
func (x *ProxiedEvent) ProtoReflect() protoreflect.Message
func (*ProxiedEvent) Reset ¶
func (x *ProxiedEvent) Reset()
func (*ProxiedEvent) String ¶
func (x *ProxiedEvent) String() string
type ReenrollRequest ¶ added in v0.2.0
type ReenrollRequest struct {
ReenrollToken string `protobuf:"bytes,1,opt,name=reenroll_token,json=reenrollToken,proto3" json:"reenroll_token,omitempty"`
// node_id is optional; when set it must match the node the token is
// bound to.
NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
CsrDer []byte `protobuf:"bytes,3,opt,name=csr_der,json=csrDer,proto3" json:"csr_der,omitempty"`
Agent *AgentInfo `protobuf:"bytes,4,opt,name=agent,proto3" json:"agent,omitempty"`
CaPinState string `protobuf:"bytes,5,opt,name=ca_pin_state,json=caPinState,proto3" json:"ca_pin_state,omitempty"`
// contains filtered or unexported fields
}
func (*ReenrollRequest) Descriptor
deprecated
added in
v0.2.0
func (*ReenrollRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReenrollRequest.ProtoReflect.Descriptor instead.
func (*ReenrollRequest) GetAgent ¶ added in v0.2.0
func (x *ReenrollRequest) GetAgent() *AgentInfo
func (*ReenrollRequest) GetCaPinState ¶
func (x *ReenrollRequest) GetCaPinState() string
func (*ReenrollRequest) GetCsrDer ¶ added in v0.2.0
func (x *ReenrollRequest) GetCsrDer() []byte
func (*ReenrollRequest) GetNodeId ¶ added in v0.2.0
func (x *ReenrollRequest) GetNodeId() string
func (*ReenrollRequest) GetReenrollToken ¶ added in v0.2.0
func (x *ReenrollRequest) GetReenrollToken() string
func (*ReenrollRequest) ProtoMessage ¶ added in v0.2.0
func (*ReenrollRequest) ProtoMessage()
func (*ReenrollRequest) ProtoReflect ¶ added in v0.2.0
func (x *ReenrollRequest) ProtoReflect() protoreflect.Message
func (*ReenrollRequest) Reset ¶ added in v0.2.0
func (x *ReenrollRequest) Reset()
func (*ReenrollRequest) String ¶ added in v0.2.0
func (x *ReenrollRequest) String() string
type ReenrollResponse ¶ added in v0.2.0
type ReenrollResponse struct {
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
ClientCertPem []byte `protobuf:"bytes,2,opt,name=client_cert_pem,json=clientCertPem,proto3" json:"client_cert_pem,omitempty"`
CaCertPem []byte `protobuf:"bytes,3,opt,name=ca_cert_pem,json=caCertPem,proto3" json:"ca_cert_pem,omitempty"`
NotAfter *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`
// contains filtered or unexported fields
}
func (*ReenrollResponse) Descriptor
deprecated
added in
v0.2.0
func (*ReenrollResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReenrollResponse.ProtoReflect.Descriptor instead.
func (*ReenrollResponse) GetCaCertPem ¶ added in v0.2.0
func (x *ReenrollResponse) GetCaCertPem() []byte
func (*ReenrollResponse) GetClientCertPem ¶ added in v0.2.0
func (x *ReenrollResponse) GetClientCertPem() []byte
func (*ReenrollResponse) GetNodeId ¶ added in v0.2.0
func (x *ReenrollResponse) GetNodeId() string
func (*ReenrollResponse) GetNotAfter ¶ added in v0.2.0
func (x *ReenrollResponse) GetNotAfter() *timestamppb.Timestamp
func (*ReenrollResponse) ProtoMessage ¶ added in v0.2.0
func (*ReenrollResponse) ProtoMessage()
func (*ReenrollResponse) ProtoReflect ¶ added in v0.2.0
func (x *ReenrollResponse) ProtoReflect() protoreflect.Message
func (*ReenrollResponse) Reset ¶ added in v0.2.0
func (x *ReenrollResponse) Reset()
func (*ReenrollResponse) String ¶ added in v0.2.0
func (x *ReenrollResponse) String() string
type RemoveNetworkRequest ¶ added in v0.2.0
type RemoveNetworkRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveNetworkRequest) Descriptor
deprecated
added in
v0.2.0
func (*RemoveNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNetworkRequest.ProtoReflect.Descriptor instead.
func (*RemoveNetworkRequest) GetName ¶ added in v0.2.0
func (x *RemoveNetworkRequest) GetName() string
func (*RemoveNetworkRequest) ProtoMessage ¶ added in v0.2.0
func (*RemoveNetworkRequest) ProtoMessage()
func (*RemoveNetworkRequest) ProtoReflect ¶ added in v0.2.0
func (x *RemoveNetworkRequest) ProtoReflect() protoreflect.Message
func (*RemoveNetworkRequest) Reset ¶ added in v0.2.0
func (x *RemoveNetworkRequest) Reset()
func (*RemoveNetworkRequest) String ¶ added in v0.2.0
func (x *RemoveNetworkRequest) String() string
type RemoveRequest ¶
type RemoveRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveRequest) Descriptor
deprecated
func (*RemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequest) GetForce ¶
func (x *RemoveRequest) GetForce() bool
func (*RemoveRequest) GetId ¶
func (x *RemoveRequest) GetId() string
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) ProtoReflect ¶
func (x *RemoveRequest) ProtoReflect() protoreflect.Message
func (*RemoveRequest) Reset ¶
func (x *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (x *RemoveRequest) String() string
type RenewNow ¶
type RenewNow struct {
// contains filtered or unexported fields
}
RenewNow asks the agent to renew its certificate immediately.
func (*RenewNow) Descriptor
deprecated
func (*RenewNow) ProtoMessage ¶
func (*RenewNow) ProtoMessage()
func (*RenewNow) ProtoReflect ¶
func (x *RenewNow) ProtoReflect() protoreflect.Message
type RenewRequest ¶ added in v0.2.0
type RenewRequest struct {
CsrDer []byte `protobuf:"bytes,1,opt,name=csr_der,json=csrDer,proto3" json:"csr_der,omitempty"`
// contains filtered or unexported fields
}
func (*RenewRequest) Descriptor
deprecated
added in
v0.2.0
func (*RenewRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenewRequest.ProtoReflect.Descriptor instead.
func (*RenewRequest) GetCsrDer ¶ added in v0.2.0
func (x *RenewRequest) GetCsrDer() []byte
func (*RenewRequest) ProtoMessage ¶ added in v0.2.0
func (*RenewRequest) ProtoMessage()
func (*RenewRequest) ProtoReflect ¶ added in v0.2.0
func (x *RenewRequest) ProtoReflect() protoreflect.Message
func (*RenewRequest) Reset ¶ added in v0.2.0
func (x *RenewRequest) Reset()
func (*RenewRequest) String ¶ added in v0.2.0
func (x *RenewRequest) String() string
type RenewResponse ¶ added in v0.2.0
type RenewResponse struct {
ClientCertPem []byte `protobuf:"bytes,1,opt,name=client_cert_pem,json=clientCertPem,proto3" json:"client_cert_pem,omitempty"`
CaCertPem []byte `protobuf:"bytes,2,opt,name=ca_cert_pem,json=caCertPem,proto3" json:"ca_cert_pem,omitempty"`
NotAfter *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`
// contains filtered or unexported fields
}
func (*RenewResponse) Descriptor
deprecated
added in
v0.2.0
func (*RenewResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenewResponse.ProtoReflect.Descriptor instead.
func (*RenewResponse) GetCaCertPem ¶ added in v0.2.0
func (x *RenewResponse) GetCaCertPem() []byte
func (*RenewResponse) GetClientCertPem ¶ added in v0.2.0
func (x *RenewResponse) GetClientCertPem() []byte
func (*RenewResponse) GetNotAfter ¶ added in v0.2.0
func (x *RenewResponse) GetNotAfter() *timestamppb.Timestamp
func (*RenewResponse) ProtoMessage ¶ added in v0.2.0
func (*RenewResponse) ProtoMessage()
func (*RenewResponse) ProtoReflect ¶ added in v0.2.0
func (x *RenewResponse) ProtoReflect() protoreflect.Message
func (*RenewResponse) Reset ¶ added in v0.2.0
func (x *RenewResponse) Reset()
func (*RenewResponse) String ¶ added in v0.2.0
func (x *RenewResponse) String() string
type RenewalReport ¶
type RenewalReport struct {
NextRenewAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=next_renew_at,json=nextRenewAt,proto3" json:"next_renew_at,omitempty"`
LastError string `protobuf:"bytes,2,opt,name=last_error,json=lastError,proto3" json:"last_error,omitempty"`
LastFailedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_failed_at,json=lastFailedAt,proto3" json:"last_failed_at,omitempty"`
NextRetryAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=next_retry_at,json=nextRetryAt,proto3" json:"next_retry_at,omitempty"`
ConsecutiveFailures int32 `protobuf:"varint,5,opt,name=consecutive_failures,json=consecutiveFailures,proto3" json:"consecutive_failures,omitempty"`
// contains filtered or unexported fields
}
RenewalReport describes the agent's renewal schedule and last failure. Timestamps are unset when not applicable.
func (*RenewalReport) Descriptor
deprecated
func (*RenewalReport) Descriptor() ([]byte, []int)
Deprecated: Use RenewalReport.ProtoReflect.Descriptor instead.
func (*RenewalReport) GetConsecutiveFailures ¶
func (x *RenewalReport) GetConsecutiveFailures() int32
func (*RenewalReport) GetLastError ¶
func (x *RenewalReport) GetLastError() string
func (*RenewalReport) GetLastFailedAt ¶
func (x *RenewalReport) GetLastFailedAt() *timestamppb.Timestamp
func (*RenewalReport) GetNextRenewAt ¶
func (x *RenewalReport) GetNextRenewAt() *timestamppb.Timestamp
func (*RenewalReport) GetNextRetryAt ¶
func (x *RenewalReport) GetNextRetryAt() *timestamppb.Timestamp
func (*RenewalReport) ProtoMessage ¶
func (*RenewalReport) ProtoMessage()
func (*RenewalReport) ProtoReflect ¶
func (x *RenewalReport) ProtoReflect() protoreflect.Message
func (*RenewalReport) Reset ¶
func (x *RenewalReport) Reset()
func (*RenewalReport) String ¶
func (x *RenewalReport) String() string
type Resources ¶
type Resources struct {
MemoryBytes int64 `protobuf:"varint,1,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
NanoCpus int64 `protobuf:"varint,2,opt,name=nano_cpus,json=nanoCpus,proto3" json:"nano_cpus,omitempty"`
SwapMemoryBytes int64 `protobuf:"varint,3,opt,name=swap_memory_bytes,json=swapMemoryBytes,proto3" json:"swap_memory_bytes,omitempty"`
CpusetCpus string `protobuf:"bytes,4,opt,name=cpuset_cpus,json=cpusetCpus,proto3" json:"cpuset_cpus,omitempty"`
// contains filtered or unexported fields
}
func (*Resources) Descriptor
deprecated
func (*Resources) GetCpusetCpus ¶
func (*Resources) GetMemoryBytes ¶
func (*Resources) GetNanoCpus ¶
func (*Resources) GetSwapMemoryBytes ¶
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message
type RotateMeshKeyRequest ¶ added in v0.2.0
type RotateMeshKeyRequest struct {
// contains filtered or unexported fields
}
RotateMeshKeyRequest asks the receiving node to generate a fresh WireGuard keypair, make it that node's live identity immediately, and persist it. Carries no fields: unlike ApplyMeshRequest, this always means "rotate the node holding this Session stream's own key," never another node's, the same restriction network.LocalSink.RotateKey's own nodeID check already enforces one layer down.
func (*RotateMeshKeyRequest) Descriptor
deprecated
added in
v0.2.0
func (*RotateMeshKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RotateMeshKeyRequest.ProtoReflect.Descriptor instead.
func (*RotateMeshKeyRequest) ProtoMessage ¶ added in v0.2.0
func (*RotateMeshKeyRequest) ProtoMessage()
func (*RotateMeshKeyRequest) ProtoReflect ¶ added in v0.2.0
func (x *RotateMeshKeyRequest) ProtoReflect() protoreflect.Message
func (*RotateMeshKeyRequest) Reset ¶ added in v0.2.0
func (x *RotateMeshKeyRequest) Reset()
func (*RotateMeshKeyRequest) String ¶ added in v0.2.0
func (x *RotateMeshKeyRequest) String() string
type RotateMeshKeyResponse ¶ added in v0.2.0
type RotateMeshKeyResponse struct {
OldPublicKey string `protobuf:"bytes,1,opt,name=old_public_key,json=oldPublicKey,proto3" json:"old_public_key,omitempty"`
NewPublicKey string `protobuf:"bytes,2,opt,name=new_public_key,json=newPublicKey,proto3" json:"new_public_key,omitempty"`
// contains filtered or unexported fields
}
func (*RotateMeshKeyResponse) Descriptor
deprecated
added in
v0.2.0
func (*RotateMeshKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RotateMeshKeyResponse.ProtoReflect.Descriptor instead.
func (*RotateMeshKeyResponse) GetNewPublicKey ¶ added in v0.2.0
func (x *RotateMeshKeyResponse) GetNewPublicKey() string
func (*RotateMeshKeyResponse) GetOldPublicKey ¶ added in v0.2.0
func (x *RotateMeshKeyResponse) GetOldPublicKey() string
func (*RotateMeshKeyResponse) ProtoMessage ¶ added in v0.2.0
func (*RotateMeshKeyResponse) ProtoMessage()
func (*RotateMeshKeyResponse) ProtoReflect ¶ added in v0.2.0
func (x *RotateMeshKeyResponse) ProtoReflect() protoreflect.Message
func (*RotateMeshKeyResponse) Reset ¶ added in v0.2.0
func (x *RotateMeshKeyResponse) Reset()
func (*RotateMeshKeyResponse) String ¶ added in v0.2.0
func (x *RotateMeshKeyResponse) String() string
type StartRequest ¶
type StartRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*StartRequest) Descriptor
deprecated
func (*StartRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
func (*StartRequest) GetId ¶
func (x *StartRequest) GetId() string
func (*StartRequest) ProtoMessage ¶
func (*StartRequest) ProtoMessage()
func (*StartRequest) ProtoReflect ¶
func (x *StartRequest) ProtoReflect() protoreflect.Message
func (*StartRequest) Reset ¶
func (x *StartRequest) Reset()
func (*StartRequest) String ¶
func (x *StartRequest) String() string
type StatsRequest ¶ added in v0.2.0
type StatsRequest struct {
ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
// contains filtered or unexported fields
}
func (*StatsRequest) Descriptor
deprecated
added in
v0.2.0
func (*StatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatsRequest.ProtoReflect.Descriptor instead.
func (*StatsRequest) GetContainerId ¶ added in v0.2.0
func (x *StatsRequest) GetContainerId() string
func (*StatsRequest) ProtoMessage ¶ added in v0.2.0
func (*StatsRequest) ProtoMessage()
func (*StatsRequest) ProtoReflect ¶ added in v0.2.0
func (x *StatsRequest) ProtoReflect() protoreflect.Message
func (*StatsRequest) Reset ¶ added in v0.2.0
func (x *StatsRequest) Reset()
func (*StatsRequest) String ¶ added in v0.2.0
func (x *StatsRequest) String() string
type StatsResponse ¶ added in v0.2.0
type StatsResponse struct {
Stats *ContainerStats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
// contains filtered or unexported fields
}
func (*StatsResponse) Descriptor
deprecated
added in
v0.2.0
func (*StatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead.
func (*StatsResponse) GetStats ¶ added in v0.2.0
func (x *StatsResponse) GetStats() *ContainerStats
func (*StatsResponse) ProtoMessage ¶ added in v0.2.0
func (*StatsResponse) ProtoMessage()
func (*StatsResponse) ProtoReflect ¶ added in v0.2.0
func (x *StatsResponse) ProtoReflect() protoreflect.Message
func (*StatsResponse) Reset ¶ added in v0.2.0
func (x *StatsResponse) Reset()
func (*StatsResponse) String ¶ added in v0.2.0
func (x *StatsResponse) String() string
type StopRequest ¶
type StopRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
TimeoutMs int64 `protobuf:"varint,2,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"` // internal/docker.Runtime.Stop's time.Duration, in milliseconds; negative means wait indefinitely
// contains filtered or unexported fields
}
func (*StopRequest) Descriptor
deprecated
func (*StopRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
func (*StopRequest) GetId ¶
func (x *StopRequest) GetId() string
func (*StopRequest) GetTimeoutMs ¶
func (x *StopRequest) GetTimeoutMs() int64
func (*StopRequest) ProtoMessage ¶
func (*StopRequest) ProtoMessage()
func (*StopRequest) ProtoReflect ¶
func (x *StopRequest) ProtoReflect() protoreflect.Message
func (*StopRequest) Reset ¶
func (x *StopRequest) Reset()
func (*StopRequest) String ¶
func (x *StopRequest) String() string
type UnimplementedAgentServiceServer ¶
type UnimplementedAgentServiceServer struct{}
UnimplementedAgentServiceServer 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 (UnimplementedAgentServiceServer) CheckIdentity ¶ added in v0.2.0
func (UnimplementedAgentServiceServer) CheckIdentity(context.Context, *CheckIdentityRequest) (*CheckIdentityResponse, error)
func (UnimplementedAgentServiceServer) Enroll ¶
func (UnimplementedAgentServiceServer) Enroll(context.Context, *EnrollRequest) (*EnrollResponse, error)
func (UnimplementedAgentServiceServer) Reenroll ¶ added in v0.2.0
func (UnimplementedAgentServiceServer) Reenroll(context.Context, *ReenrollRequest) (*ReenrollResponse, error)
func (UnimplementedAgentServiceServer) Renew ¶ added in v0.2.0
func (UnimplementedAgentServiceServer) Renew(context.Context, *RenewRequest) (*RenewResponse, error)
func (UnimplementedAgentServiceServer) Session ¶
func (UnimplementedAgentServiceServer) Session(grpc.BidiStreamingServer[AgentMessage, ControlMessage]) error
type UnmanagedContainer ¶ added in v0.2.2
type UnmanagedContainer struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
MemoryBytes uint64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
// contains filtered or unexported fields
}
UnmanagedContainer is one running container the agent's node hosts that Levelrail does not manage.
func (*UnmanagedContainer) Descriptor
deprecated
added in
v0.2.2
func (*UnmanagedContainer) Descriptor() ([]byte, []int)
Deprecated: Use UnmanagedContainer.ProtoReflect.Descriptor instead.
func (*UnmanagedContainer) GetMemoryBytes ¶ added in v0.2.2
func (x *UnmanagedContainer) GetMemoryBytes() uint64
func (*UnmanagedContainer) GetName ¶ added in v0.2.2
func (x *UnmanagedContainer) GetName() string
func (*UnmanagedContainer) ProtoMessage ¶ added in v0.2.2
func (*UnmanagedContainer) ProtoMessage()
func (*UnmanagedContainer) ProtoReflect ¶ added in v0.2.2
func (x *UnmanagedContainer) ProtoReflect() protoreflect.Message
func (*UnmanagedContainer) Reset ¶ added in v0.2.2
func (x *UnmanagedContainer) Reset()
func (*UnmanagedContainer) String ¶ added in v0.2.2
func (x *UnmanagedContainer) String() string
type UnsafeAgentServiceServer ¶
type UnsafeAgentServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAgentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentServiceServer will result in compilation errors.
type UpdateResourcesRequest ¶
type UpdateResourcesRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Resources *Resources `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
// contains filtered or unexported fields
}
UpdateResourcesRequest applies new memory/CPU/swap/cpuset limits to an already-running container in place, via the Engine API's own ContainerUpdate call, without recreating it.
func (*UpdateResourcesRequest) Descriptor
deprecated
func (*UpdateResourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResourcesRequest.ProtoReflect.Descriptor instead.
func (*UpdateResourcesRequest) GetId ¶
func (x *UpdateResourcesRequest) GetId() string
func (*UpdateResourcesRequest) GetResources ¶
func (x *UpdateResourcesRequest) GetResources() *Resources
func (*UpdateResourcesRequest) ProtoMessage ¶
func (*UpdateResourcesRequest) ProtoMessage()
func (*UpdateResourcesRequest) ProtoReflect ¶
func (x *UpdateResourcesRequest) ProtoReflect() protoreflect.Message
func (*UpdateResourcesRequest) Reset ¶
func (x *UpdateResourcesRequest) Reset()
func (*UpdateResourcesRequest) String ¶
func (x *UpdateResourcesRequest) String() string
type VolumeMount ¶
type VolumeMount struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
ContainerPath string `protobuf:"bytes,2,opt,name=container_path,json=containerPath,proto3" json:"container_path,omitempty"`
// contains filtered or unexported fields
}
func (*VolumeMount) Descriptor
deprecated
func (*VolumeMount) Descriptor() ([]byte, []int)
Deprecated: Use VolumeMount.ProtoReflect.Descriptor instead.
func (*VolumeMount) GetContainerPath ¶
func (x *VolumeMount) GetContainerPath() string
func (*VolumeMount) GetName ¶
func (x *VolumeMount) GetName() string
func (*VolumeMount) ProtoMessage ¶
func (*VolumeMount) ProtoMessage()
func (*VolumeMount) ProtoReflect ¶
func (x *VolumeMount) ProtoReflect() protoreflect.Message
func (*VolumeMount) Reset ¶
func (x *VolumeMount) Reset()
func (*VolumeMount) String ¶
func (x *VolumeMount) String() string
type WatchEventsRequest ¶
type WatchEventsRequest struct {
WatchId string `protobuf:"bytes,1,opt,name=watch_id,json=watchId,proto3" json:"watch_id,omitempty"`
// contains filtered or unexported fields
}
WatchEventsRequest starts (or, sent a second time with the same watch_id, is meaningless and rejected: one watch per Session, matching internal/docker.Runtime.Events' own "until ctx is cancelled" single-stream contract) the agent's relay of its local Docker event stream as ProxiedEvent frames on the same physical Session stream. There is no corresponding "stop watching" request: the watch runs for the Session's own lifetime, ending only when the stream itself closes, the same lifetime Events(ctx) already ties to ctx cancellation.
func (*WatchEventsRequest) Descriptor
deprecated
func (*WatchEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use WatchEventsRequest.ProtoReflect.Descriptor instead.
func (*WatchEventsRequest) GetWatchId ¶
func (x *WatchEventsRequest) GetWatchId() string
func (*WatchEventsRequest) ProtoMessage ¶
func (*WatchEventsRequest) ProtoMessage()
func (*WatchEventsRequest) ProtoReflect ¶
func (x *WatchEventsRequest) ProtoReflect() protoreflect.Message
func (*WatchEventsRequest) Reset ¶
func (x *WatchEventsRequest) Reset()
func (*WatchEventsRequest) String ¶
func (x *WatchEventsRequest) String() string