proto
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- Variables
- func DRPCRegisterAgent(mux drpc.Mux, impl DRPCAgentServer) error
- func LabelsEqual(a, b []*Stats_Metric_Label) bool
- type AppHealth
- type BannerConfig
- func (*BannerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *BannerConfig) GetBackgroundColor() string
- func (x *BannerConfig) GetEnabled() bool
- func (x *BannerConfig) GetMessage() string
- func (*BannerConfig) ProtoMessage()
- func (x *BannerConfig) ProtoReflect() protoreflect.Message
- func (x *BannerConfig) Reset()
- func (x *BannerConfig) String() string
- type BatchCreateLogsRequest
- func (*BatchCreateLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateLogsRequest) GetLogSourceId() []byte
- func (x *BatchCreateLogsRequest) GetLogs() []*Log
- func (*BatchCreateLogsRequest) ProtoMessage()
- func (x *BatchCreateLogsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateLogsRequest) Reset()
- func (x *BatchCreateLogsRequest) String() string
- type BatchCreateLogsResponse
- func (*BatchCreateLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BatchCreateLogsResponse) GetLogLimitExceeded() bool
- func (*BatchCreateLogsResponse) ProtoMessage()
- func (x *BatchCreateLogsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateLogsResponse) Reset()
- func (x *BatchCreateLogsResponse) String() string
- type BatchUpdateAppHealthRequest
- func (*BatchUpdateAppHealthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateAppHealthRequest) GetUpdates() []*BatchUpdateAppHealthRequest_HealthUpdate
- func (*BatchUpdateAppHealthRequest) ProtoMessage()
- func (x *BatchUpdateAppHealthRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateAppHealthRequest) Reset()
- func (x *BatchUpdateAppHealthRequest) String() string
- type BatchUpdateAppHealthRequest_HealthUpdate
- func (*BatchUpdateAppHealthRequest_HealthUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateAppHealthRequest_HealthUpdate) GetHealth() AppHealth
- func (x *BatchUpdateAppHealthRequest_HealthUpdate) GetId() []byte
- func (*BatchUpdateAppHealthRequest_HealthUpdate) ProtoMessage()
- func (x *BatchUpdateAppHealthRequest_HealthUpdate) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateAppHealthRequest_HealthUpdate) Reset()
- func (x *BatchUpdateAppHealthRequest_HealthUpdate) String() string
- type BatchUpdateAppHealthResponse
- func (*BatchUpdateAppHealthResponse) Descriptor() ([]byte, []int)deprecated
- func (*BatchUpdateAppHealthResponse) ProtoMessage()
- func (x *BatchUpdateAppHealthResponse) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateAppHealthResponse) Reset()
- func (x *BatchUpdateAppHealthResponse) String() string
- type BatchUpdateMetadataRequest
- func (*BatchUpdateMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BatchUpdateMetadataRequest) GetMetadata() []*Metadata
- func (*BatchUpdateMetadataRequest) ProtoMessage()
- func (x *BatchUpdateMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateMetadataRequest) Reset()
- func (x *BatchUpdateMetadataRequest) String() string
- type BatchUpdateMetadataResponse
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetAction() Connection_Action
- func (x *Connection) GetId() []byte
- func (x *Connection) GetIp() string
- func (x *Connection) GetReason() string
- func (x *Connection) GetStatusCode() int32
- func (x *Connection) GetTimestamp() *timestamppb.Timestamp
- func (x *Connection) GetType() Connection_Type
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type Connection_Action
- func (Connection_Action) Descriptor() protoreflect.EnumDescriptor
- func (x Connection_Action) Enum() *Connection_Action
- func (Connection_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x Connection_Action) Number() protoreflect.EnumNumber
- func (x Connection_Action) String() string
- func (Connection_Action) Type() protoreflect.EnumType
- type Connection_Type
- func (Connection_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Connection_Type) Enum() *Connection_Type
- func (Connection_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Connection_Type) Number() protoreflect.EnumNumber
- func (x Connection_Type) String() string
- func (Connection_Type) Type() protoreflect.EnumType
- type DRPCAgentClient
- type DRPCAgentClient20
- type DRPCAgentClient21
- type DRPCAgentClient22
- type DRPCAgentClient23
- type DRPCAgentClient24
- type DRPCAgentClient25
- type DRPCAgentDescription
- type DRPCAgentServer
- type DRPCAgentUnimplementedServer
- func (s *DRPCAgentUnimplementedServer) BatchCreateLogs(context.Context, *BatchCreateLogsRequest) (*BatchCreateLogsResponse, error)
- func (s *DRPCAgentUnimplementedServer) BatchUpdateAppHealths(context.Context, *BatchUpdateAppHealthRequest) (*BatchUpdateAppHealthResponse, error)
- func (s *DRPCAgentUnimplementedServer) BatchUpdateMetadata(context.Context, *BatchUpdateMetadataRequest) (*BatchUpdateMetadataResponse, error)
- func (s *DRPCAgentUnimplementedServer) GetAnnouncementBanners(context.Context, *GetAnnouncementBannersRequest) (*GetAnnouncementBannersResponse, error)
- func (s *DRPCAgentUnimplementedServer) GetManifest(context.Context, *GetManifestRequest) (*Manifest, error)
- func (s *DRPCAgentUnimplementedServer) GetResourcesMonitoringConfiguration(context.Context, *GetResourcesMonitoringConfigurationRequest) (*GetResourcesMonitoringConfigurationResponse, error)
- func (s *DRPCAgentUnimplementedServer) GetServiceBanner(context.Context, *GetServiceBannerRequest) (*ServiceBanner, error)
- func (s *DRPCAgentUnimplementedServer) PushResourcesMonitoringUsage(context.Context, *PushResourcesMonitoringUsageRequest) (*PushResourcesMonitoringUsageResponse, error)
- func (s *DRPCAgentUnimplementedServer) ReportConnection(context.Context, *ReportConnectionRequest) (*emptypb.Empty, error)
- func (s *DRPCAgentUnimplementedServer) ScriptCompleted(context.Context, *WorkspaceAgentScriptCompletedRequest) (*WorkspaceAgentScriptCompletedResponse, error)
- func (s *DRPCAgentUnimplementedServer) UpdateLifecycle(context.Context, *UpdateLifecycleRequest) (*Lifecycle, error)
- func (s *DRPCAgentUnimplementedServer) UpdateStartup(context.Context, *UpdateStartupRequest) (*Startup, error)
- func (s *DRPCAgentUnimplementedServer) UpdateStats(context.Context, *UpdateStatsRequest) (*UpdateStatsResponse, error)
- type DRPCAgent_BatchCreateLogsStream
- type DRPCAgent_BatchUpdateAppHealthsStream
- type DRPCAgent_BatchUpdateMetadataStream
- type DRPCAgent_GetAnnouncementBannersStream
- type DRPCAgent_GetManifestStream
- type DRPCAgent_GetResourcesMonitoringConfigurationStream
- type DRPCAgent_GetServiceBannerStream
- type DRPCAgent_PushResourcesMonitoringUsageStream
- type DRPCAgent_ReportConnectionStream
- type DRPCAgent_ScriptCompletedStream
- type DRPCAgent_UpdateLifecycleStream
- type DRPCAgent_UpdateStartupStream
- type DRPCAgent_UpdateStatsStream
- type GetAnnouncementBannersRequest
- func (*GetAnnouncementBannersRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAnnouncementBannersRequest) ProtoMessage()
- func (x *GetAnnouncementBannersRequest) ProtoReflect() protoreflect.Message
- func (x *GetAnnouncementBannersRequest) Reset()
- func (x *GetAnnouncementBannersRequest) String() string
- type GetAnnouncementBannersResponse
- func (*GetAnnouncementBannersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAnnouncementBannersResponse) GetAnnouncementBanners() []*BannerConfig
- func (*GetAnnouncementBannersResponse) ProtoMessage()
- func (x *GetAnnouncementBannersResponse) ProtoReflect() protoreflect.Message
- func (x *GetAnnouncementBannersResponse) Reset()
- func (x *GetAnnouncementBannersResponse) String() string
- type GetManifestRequest
- type GetResourcesMonitoringConfigurationRequest
- func (*GetResourcesMonitoringConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetResourcesMonitoringConfigurationRequest) ProtoMessage()
- func (x *GetResourcesMonitoringConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourcesMonitoringConfigurationRequest) Reset()
- func (x *GetResourcesMonitoringConfigurationRequest) String() string
- type GetResourcesMonitoringConfigurationResponse
- func (*GetResourcesMonitoringConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourcesMonitoringConfigurationResponse) GetConfig() *GetResourcesMonitoringConfigurationResponse_Config
- func (x *GetResourcesMonitoringConfigurationResponse) GetMemory() *GetResourcesMonitoringConfigurationResponse_Memory
- func (x *GetResourcesMonitoringConfigurationResponse) GetVolumes() []*GetResourcesMonitoringConfigurationResponse_Volume
- func (*GetResourcesMonitoringConfigurationResponse) ProtoMessage()
- func (x *GetResourcesMonitoringConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *GetResourcesMonitoringConfigurationResponse) Reset()
- func (x *GetResourcesMonitoringConfigurationResponse) String() string
- type GetResourcesMonitoringConfigurationResponse_Config
- func (*GetResourcesMonitoringConfigurationResponse_Config) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourcesMonitoringConfigurationResponse_Config) GetCollectionIntervalSeconds() int32
- func (x *GetResourcesMonitoringConfigurationResponse_Config) GetNumDatapoints() int32
- func (*GetResourcesMonitoringConfigurationResponse_Config) ProtoMessage()
- func (x *GetResourcesMonitoringConfigurationResponse_Config) ProtoReflect() protoreflect.Message
- func (x *GetResourcesMonitoringConfigurationResponse_Config) Reset()
- func (x *GetResourcesMonitoringConfigurationResponse_Config) String() string
- type GetResourcesMonitoringConfigurationResponse_Memory
- func (*GetResourcesMonitoringConfigurationResponse_Memory) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourcesMonitoringConfigurationResponse_Memory) GetEnabled() bool
- func (*GetResourcesMonitoringConfigurationResponse_Memory) ProtoMessage()
- func (x *GetResourcesMonitoringConfigurationResponse_Memory) ProtoReflect() protoreflect.Message
- func (x *GetResourcesMonitoringConfigurationResponse_Memory) Reset()
- func (x *GetResourcesMonitoringConfigurationResponse_Memory) String() string
- type GetResourcesMonitoringConfigurationResponse_Volume
- func (*GetResourcesMonitoringConfigurationResponse_Volume) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourcesMonitoringConfigurationResponse_Volume) GetEnabled() bool
- func (x *GetResourcesMonitoringConfigurationResponse_Volume) GetPath() string
- func (*GetResourcesMonitoringConfigurationResponse_Volume) ProtoMessage()
- func (x *GetResourcesMonitoringConfigurationResponse_Volume) ProtoReflect() protoreflect.Message
- func (x *GetResourcesMonitoringConfigurationResponse_Volume) Reset()
- func (x *GetResourcesMonitoringConfigurationResponse_Volume) String() string
- type GetServiceBannerRequest
- type Lifecycle
- func (*Lifecycle) Descriptor() ([]byte, []int)deprecated
- func (x *Lifecycle) GetChangedAt() *timestamppb.Timestamp
- func (x *Lifecycle) GetState() Lifecycle_State
- func (*Lifecycle) ProtoMessage()
- func (x *Lifecycle) ProtoReflect() protoreflect.Message
- func (x *Lifecycle) Reset()
- func (x *Lifecycle) String() string
- type Lifecycle_State
- func (Lifecycle_State) Descriptor() protoreflect.EnumDescriptor
- func (x Lifecycle_State) Enum() *Lifecycle_State
- func (Lifecycle_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Lifecycle_State) Number() protoreflect.EnumNumber
- func (x Lifecycle_State) String() string
- func (Lifecycle_State) Type() protoreflect.EnumType
- type Log
- type Log_Level
- type Manifest
- func (*Manifest) Descriptor() ([]byte, []int)deprecated
- func (x *Manifest) GetAgentId() []byte
- func (x *Manifest) GetAgentName() string
- func (x *Manifest) GetApps() []*WorkspaceApp
- func (x *Manifest) GetDerpForceWebsockets() bool
- func (x *Manifest) GetDerpMap() *proto.DERPMap
- func (x *Manifest) GetDevcontainers() []*WorkspaceAgentDevcontainer
- func (x *Manifest) GetDirectory() string
- func (x *Manifest) GetDisableDirectConnections() bool
- func (x *Manifest) GetEnvironmentVariables() map[string]string
- func (x *Manifest) GetGitAuthConfigs() uint32
- func (x *Manifest) GetMetadata() []*WorkspaceAgentMetadata_Description
- func (x *Manifest) GetMotdPath() string
- func (x *Manifest) GetOwnerUsername() string
- func (x *Manifest) GetParentId() []byte
- func (x *Manifest) GetScripts() []*WorkspaceAgentScript
- func (x *Manifest) GetVsCodePortProxyUri() string
- func (x *Manifest) GetWorkspaceId() []byte
- func (x *Manifest) GetWorkspaceName() string
- func (*Manifest) ProtoMessage()
- func (x *Manifest) ProtoReflect() protoreflect.Message
- func (x *Manifest) Reset()
- func (x *Manifest) String() string
- type Metadata
- type PushResourcesMonitoringUsageRequest
- func (*PushResourcesMonitoringUsageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushResourcesMonitoringUsageRequest) GetDatapoints() []*PushResourcesMonitoringUsageRequest_Datapoint
- func (*PushResourcesMonitoringUsageRequest) ProtoMessage()
- func (x *PushResourcesMonitoringUsageRequest) ProtoReflect() protoreflect.Message
- func (x *PushResourcesMonitoringUsageRequest) Reset()
- func (x *PushResourcesMonitoringUsageRequest) String() string
- type PushResourcesMonitoringUsageRequest_Datapoint
- func (*PushResourcesMonitoringUsageRequest_Datapoint) Descriptor() ([]byte, []int)deprecated
- func (x *PushResourcesMonitoringUsageRequest_Datapoint) GetCollectedAt() *timestamppb.Timestamp
- func (x *PushResourcesMonitoringUsageRequest_Datapoint) GetMemory() *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage
- func (x *PushResourcesMonitoringUsageRequest_Datapoint) GetVolumes() []*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage
- func (*PushResourcesMonitoringUsageRequest_Datapoint) ProtoMessage()
- func (x *PushResourcesMonitoringUsageRequest_Datapoint) ProtoReflect() protoreflect.Message
- func (x *PushResourcesMonitoringUsageRequest_Datapoint) Reset()
- func (x *PushResourcesMonitoringUsageRequest_Datapoint) String() string
- type PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage
- func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) Descriptor() ([]byte, []int)deprecated
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) GetTotal() int64
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) GetUsed() int64
- func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) ProtoMessage()
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) ProtoReflect() protoreflect.Message
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) Reset()
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) String() string
- type PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage
- func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) Descriptor() ([]byte, []int)deprecated
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) GetTotal() int64
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) GetUsed() int64
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) GetVolume() string
- func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) ProtoMessage()
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) ProtoReflect() protoreflect.Message
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) Reset()
- func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) String() string
- type PushResourcesMonitoringUsageResponse
- func (*PushResourcesMonitoringUsageResponse) Descriptor() ([]byte, []int)deprecated
- func (*PushResourcesMonitoringUsageResponse) ProtoMessage()
- func (x *PushResourcesMonitoringUsageResponse) ProtoReflect() protoreflect.Message
- func (x *PushResourcesMonitoringUsageResponse) Reset()
- func (x *PushResourcesMonitoringUsageResponse) String() string
- type ReportConnectionRequest
- func (*ReportConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportConnectionRequest) GetConnection() *Connection
- func (*ReportConnectionRequest) ProtoMessage()
- func (x *ReportConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *ReportConnectionRequest) Reset()
- func (x *ReportConnectionRequest) String() string
- type ServiceBanner
- func (*ServiceBanner) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceBanner) GetBackgroundColor() string
- func (x *ServiceBanner) GetEnabled() bool
- func (x *ServiceBanner) GetMessage() string
- func (*ServiceBanner) ProtoMessage()
- func (x *ServiceBanner) ProtoReflect() protoreflect.Message
- func (x *ServiceBanner) Reset()
- func (x *ServiceBanner) String() string
- type Startup
- func (*Startup) Descriptor() ([]byte, []int)deprecated
- func (x *Startup) GetExpandedDirectory() string
- func (x *Startup) GetSubsystems() []Startup_Subsystem
- func (x *Startup) GetVersion() string
- func (*Startup) ProtoMessage()
- func (x *Startup) ProtoReflect() protoreflect.Message
- func (x *Startup) Reset()
- func (x *Startup) String() string
- type Startup_Subsystem
- func (Startup_Subsystem) Descriptor() protoreflect.EnumDescriptor
- func (x Startup_Subsystem) Enum() *Startup_Subsystem
- func (Startup_Subsystem) EnumDescriptor() ([]byte, []int)deprecated
- func (x Startup_Subsystem) Number() protoreflect.EnumNumber
- func (x Startup_Subsystem) String() string
- func (Startup_Subsystem) Type() protoreflect.EnumType
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)deprecated
- func (x *Stats) GetConnectionCount() int64
- func (x *Stats) GetConnectionMedianLatencyMs() float64
- func (x *Stats) GetConnectionsByProto() map[string]int64
- func (x *Stats) GetMetrics() []*Stats_Metric
- func (x *Stats) GetRxBytes() int64
- func (x *Stats) GetRxPackets() int64
- func (x *Stats) GetSessionCountJetbrains() int64
- func (x *Stats) GetSessionCountReconnectingPty() int64
- func (x *Stats) GetSessionCountSsh() int64
- func (x *Stats) GetSessionCountVscode() int64
- func (x *Stats) GetTxBytes() int64
- func (x *Stats) GetTxPackets() int64
- func (*Stats) ProtoMessage()
- func (x *Stats) ProtoReflect() protoreflect.Message
- func (x *Stats) Reset()
- func (x *Stats) String() string
- type Stats_Metric
- func (*Stats_Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Stats_Metric) GetLabels() []*Stats_Metric_Label
- func (x *Stats_Metric) GetName() string
- func (x *Stats_Metric) GetType() Stats_Metric_Type
- func (x *Stats_Metric) GetValue() float64
- func (*Stats_Metric) ProtoMessage()
- func (x *Stats_Metric) ProtoReflect() protoreflect.Message
- func (x *Stats_Metric) Reset()
- func (x *Stats_Metric) String() string
- type Stats_Metric_Label
- func (*Stats_Metric_Label) Descriptor() ([]byte, []int)deprecated
- func (x *Stats_Metric_Label) GetName() string
- func (x *Stats_Metric_Label) GetValue() string
- func (*Stats_Metric_Label) ProtoMessage()
- func (x *Stats_Metric_Label) ProtoReflect() protoreflect.Message
- func (x *Stats_Metric_Label) Reset()
- func (x *Stats_Metric_Label) String() string
- type Stats_Metric_Type
- func (Stats_Metric_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Stats_Metric_Type) Enum() *Stats_Metric_Type
- func (Stats_Metric_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Stats_Metric_Type) Number() protoreflect.EnumNumber
- func (x Stats_Metric_Type) String() string
- func (Stats_Metric_Type) Type() protoreflect.EnumType
- type Timing
- func (*Timing) Descriptor() ([]byte, []int)deprecated
- func (x *Timing) GetEnd() *timestamppb.Timestamp
- func (x *Timing) GetExitCode() int32
- func (x *Timing) GetScriptId() []byte
- func (x *Timing) GetStage() Timing_Stage
- func (x *Timing) GetStart() *timestamppb.Timestamp
- func (x *Timing) GetStatus() Timing_Status
- func (*Timing) ProtoMessage()
- func (x *Timing) ProtoReflect() protoreflect.Message
- func (x *Timing) Reset()
- func (x *Timing) String() string
- type Timing_Stage
- func (Timing_Stage) Descriptor() protoreflect.EnumDescriptor
- func (x Timing_Stage) Enum() *Timing_Stage
- func (Timing_Stage) EnumDescriptor() ([]byte, []int)deprecated
- func (x Timing_Stage) Number() protoreflect.EnumNumber
- func (x Timing_Stage) String() string
- func (Timing_Stage) Type() protoreflect.EnumType
- type Timing_Status
- func (Timing_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Timing_Status) Enum() *Timing_Status
- func (Timing_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Timing_Status) Number() protoreflect.EnumNumber
- func (x Timing_Status) String() string
- func (Timing_Status) Type() protoreflect.EnumType
- type UpdateLifecycleRequest
- func (*UpdateLifecycleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLifecycleRequest) GetLifecycle() *Lifecycle
- func (*UpdateLifecycleRequest) ProtoMessage()
- func (x *UpdateLifecycleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLifecycleRequest) Reset()
- func (x *UpdateLifecycleRequest) String() string
- type UpdateStartupRequest
- func (*UpdateStartupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStartupRequest) GetStartup() *Startup
- func (*UpdateStartupRequest) ProtoMessage()
- func (x *UpdateStartupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStartupRequest) Reset()
- func (x *UpdateStartupRequest) String() string
- type UpdateStatsRequest
- type UpdateStatsResponse
- func (*UpdateStatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStatsResponse) GetReportInterval() *durationpb.Duration
- func (*UpdateStatsResponse) ProtoMessage()
- func (x *UpdateStatsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateStatsResponse) Reset()
- func (x *UpdateStatsResponse) String() string
- type WorkspaceAgentDevcontainer
- func (*WorkspaceAgentDevcontainer) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceAgentDevcontainer) GetConfigPath() string
- func (x *WorkspaceAgentDevcontainer) GetId() []byte
- func (x *WorkspaceAgentDevcontainer) GetName() string
- func (x *WorkspaceAgentDevcontainer) GetWorkspaceFolder() string
- func (*WorkspaceAgentDevcontainer) ProtoMessage()
- func (x *WorkspaceAgentDevcontainer) ProtoReflect() protoreflect.Message
- func (x *WorkspaceAgentDevcontainer) Reset()
- func (x *WorkspaceAgentDevcontainer) String() string
- type WorkspaceAgentMetadata
- func (*WorkspaceAgentMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceAgentMetadata) GetDescription() *WorkspaceAgentMetadata_Description
- func (x *WorkspaceAgentMetadata) GetResult() *WorkspaceAgentMetadata_Result
- func (*WorkspaceAgentMetadata) ProtoMessage()
- func (x *WorkspaceAgentMetadata) ProtoReflect() protoreflect.Message
- func (x *WorkspaceAgentMetadata) Reset()
- func (x *WorkspaceAgentMetadata) String() string
- type WorkspaceAgentMetadata_Description
- func (*WorkspaceAgentMetadata_Description) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceAgentMetadata_Description) GetDisplayName() string
- func (x *WorkspaceAgentMetadata_Description) GetInterval() *durationpb.Duration
- func (x *WorkspaceAgentMetadata_Description) GetKey() string
- func (x *WorkspaceAgentMetadata_Description) GetScript() string
- func (x *WorkspaceAgentMetadata_Description) GetTimeout() *durationpb.Duration
- func (*WorkspaceAgentMetadata_Description) ProtoMessage()
- func (x *WorkspaceAgentMetadata_Description) ProtoReflect() protoreflect.Message
- func (x *WorkspaceAgentMetadata_Description) Reset()
- func (x *WorkspaceAgentMetadata_Description) String() string
- type WorkspaceAgentMetadata_Result
- func (*WorkspaceAgentMetadata_Result) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceAgentMetadata_Result) GetAge() int64
- func (x *WorkspaceAgentMetadata_Result) GetCollectedAt() *timestamppb.Timestamp
- func (x *WorkspaceAgentMetadata_Result) GetError() string
- func (x *WorkspaceAgentMetadata_Result) GetValue() string
- func (*WorkspaceAgentMetadata_Result) ProtoMessage()
- func (x *WorkspaceAgentMetadata_Result) ProtoReflect() protoreflect.Message
- func (x *WorkspaceAgentMetadata_Result) Reset()
- func (x *WorkspaceAgentMetadata_Result) String() string
- type WorkspaceAgentScript
- func (*WorkspaceAgentScript) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceAgentScript) GetCron() string
- func (x *WorkspaceAgentScript) GetDisplayName() string
- func (x *WorkspaceAgentScript) GetId() []byte
- func (x *WorkspaceAgentScript) GetLogPath() string
- func (x *WorkspaceAgentScript) GetLogSourceId() []byte
- func (x *WorkspaceAgentScript) GetRunOnStart() bool
- func (x *WorkspaceAgentScript) GetRunOnStop() bool
- func (x *WorkspaceAgentScript) GetScript() string
- func (x *WorkspaceAgentScript) GetStartBlocksLogin() bool
- func (x *WorkspaceAgentScript) GetTimeout() *durationpb.Duration
- func (*WorkspaceAgentScript) ProtoMessage()
- func (x *WorkspaceAgentScript) ProtoReflect() protoreflect.Message
- func (x *WorkspaceAgentScript) Reset()
- func (x *WorkspaceAgentScript) String() string
- type WorkspaceAgentScriptCompletedRequest
- func (*WorkspaceAgentScriptCompletedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceAgentScriptCompletedRequest) GetTiming() *Timing
- func (*WorkspaceAgentScriptCompletedRequest) ProtoMessage()
- func (x *WorkspaceAgentScriptCompletedRequest) ProtoReflect() protoreflect.Message
- func (x *WorkspaceAgentScriptCompletedRequest) Reset()
- func (x *WorkspaceAgentScriptCompletedRequest) String() string
- type WorkspaceAgentScriptCompletedResponse
- func (*WorkspaceAgentScriptCompletedResponse) Descriptor() ([]byte, []int)deprecated
- func (*WorkspaceAgentScriptCompletedResponse) ProtoMessage()
- func (x *WorkspaceAgentScriptCompletedResponse) ProtoReflect() protoreflect.Message
- func (x *WorkspaceAgentScriptCompletedResponse) Reset()
- func (x *WorkspaceAgentScriptCompletedResponse) String() string
- type WorkspaceApp
- func (*WorkspaceApp) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceApp) GetCommand() string
- func (x *WorkspaceApp) GetDisplayName() string
- func (x *WorkspaceApp) GetExternal() bool
- func (x *WorkspaceApp) GetHealth() WorkspaceApp_Health
- func (x *WorkspaceApp) GetHealthcheck() *WorkspaceApp_Healthcheck
- func (x *WorkspaceApp) GetHidden() bool
- func (x *WorkspaceApp) GetIcon() string
- func (x *WorkspaceApp) GetId() []byte
- func (x *WorkspaceApp) GetSharingLevel() WorkspaceApp_SharingLevel
- func (x *WorkspaceApp) GetSlug() string
- func (x *WorkspaceApp) GetSubdomain() bool
- func (x *WorkspaceApp) GetSubdomainName() string
- func (x *WorkspaceApp) GetUrl() string
- func (*WorkspaceApp) ProtoMessage()
- func (x *WorkspaceApp) ProtoReflect() protoreflect.Message
- func (x *WorkspaceApp) Reset()
- func (x *WorkspaceApp) String() string
- type WorkspaceApp_Health
- func (WorkspaceApp_Health) Descriptor() protoreflect.EnumDescriptor
- func (x WorkspaceApp_Health) Enum() *WorkspaceApp_Health
- func (WorkspaceApp_Health) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkspaceApp_Health) Number() protoreflect.EnumNumber
- func (x WorkspaceApp_Health) String() string
- func (WorkspaceApp_Health) Type() protoreflect.EnumType
- type WorkspaceApp_Healthcheck
- func (*WorkspaceApp_Healthcheck) Descriptor() ([]byte, []int)deprecated
- func (x *WorkspaceApp_Healthcheck) GetInterval() *durationpb.Duration
- func (x *WorkspaceApp_Healthcheck) GetThreshold() int32
- func (x *WorkspaceApp_Healthcheck) GetUrl() string
- func (*WorkspaceApp_Healthcheck) ProtoMessage()
- func (x *WorkspaceApp_Healthcheck) ProtoReflect() protoreflect.Message
- func (x *WorkspaceApp_Healthcheck) Reset()
- func (x *WorkspaceApp_Healthcheck) String() string
- type WorkspaceApp_SharingLevel
- func (WorkspaceApp_SharingLevel) Descriptor() protoreflect.EnumDescriptor
- func (x WorkspaceApp_SharingLevel) Enum() *WorkspaceApp_SharingLevel
- func (WorkspaceApp_SharingLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkspaceApp_SharingLevel) Number() protoreflect.EnumNumber
- func (x WorkspaceApp_SharingLevel) String() string
- func (WorkspaceApp_SharingLevel) Type() protoreflect.EnumType
Constants¶
This section is empty.
Variables¶
var (AppHealth_name = map[int32]string{0: "APP_HEALTH_UNSPECIFIED",1: "DISABLED",2: "INITIALIZING",3: "HEALTHY",4: "UNHEALTHY",}AppHealth_value = map[string]int32{"APP_HEALTH_UNSPECIFIED": 0,"DISABLED": 1,"INITIALIZING": 2,"HEALTHY": 3,"UNHEALTHY": 4,})
Enum value maps for AppHealth.
var (WorkspaceApp_SharingLevel_name = map[int32]string{0: "SHARING_LEVEL_UNSPECIFIED",1: "OWNER",2: "AUTHENTICATED",3: "PUBLIC",}WorkspaceApp_SharingLevel_value = map[string]int32{"SHARING_LEVEL_UNSPECIFIED": 0,"OWNER": 1,"AUTHENTICATED": 2,"PUBLIC": 3,})
Enum value maps for WorkspaceApp_SharingLevel.
var (WorkspaceApp_Health_name = map[int32]string{0: "HEALTH_UNSPECIFIED",1: "DISABLED",2: "INITIALIZING",3: "HEALTHY",4: "UNHEALTHY",}WorkspaceApp_Health_value = map[string]int32{"HEALTH_UNSPECIFIED": 0,"DISABLED": 1,"INITIALIZING": 2,"HEALTHY": 3,"UNHEALTHY": 4,})
Enum value maps for WorkspaceApp_Health.
var (Stats_Metric_Type_name = map[int32]string{0: "TYPE_UNSPECIFIED",1: "COUNTER",2: "GAUGE",}Stats_Metric_Type_value = map[string]int32{"TYPE_UNSPECIFIED": 0,"COUNTER": 1,"GAUGE": 2,})
Enum value maps for Stats_Metric_Type.
var (Lifecycle_State_name = map[int32]string{0: "STATE_UNSPECIFIED",1: "CREATED",2: "STARTING",3: "START_TIMEOUT",4: "START_ERROR",5: "READY",6: "SHUTTING_DOWN",7: "SHUTDOWN_TIMEOUT",8: "SHUTDOWN_ERROR",9: "OFF",}Lifecycle_State_value = map[string]int32{"STATE_UNSPECIFIED": 0,"CREATED": 1,"STARTING": 2,"START_TIMEOUT": 3,"START_ERROR": 4,"READY": 5,"SHUTTING_DOWN": 6,"SHUTDOWN_TIMEOUT": 7,"SHUTDOWN_ERROR": 8,"OFF": 9,})
Enum value maps for Lifecycle_State.
var (Startup_Subsystem_name = map[int32]string{0: "SUBSYSTEM_UNSPECIFIED",1: "ENVBOX",2: "ENVBUILDER",3: "EXECTRACE",}Startup_Subsystem_value = map[string]int32{"SUBSYSTEM_UNSPECIFIED": 0,"ENVBOX": 1,"ENVBUILDER": 2,"EXECTRACE": 3,})
Enum value maps for Startup_Subsystem.
var (Log_Level_name = map[int32]string{0: "LEVEL_UNSPECIFIED",1: "TRACE",2: "DEBUG",3: "INFO",4: "WARN",5: "ERROR",}Log_Level_value = map[string]int32{"LEVEL_UNSPECIFIED": 0,"TRACE": 1,"DEBUG": 2,"INFO": 3,"WARN": 4,"ERROR": 5,})
Enum value maps for Log_Level.
var (Timing_Stage_name = map[int32]string{0: "START",1: "STOP",2: "CRON",}Timing_Stage_value = map[string]int32{"START": 0,"STOP": 1,"CRON": 2,})
Enum value maps for Timing_Stage.
var (Timing_Status_name = map[int32]string{0: "OK",1: "EXIT_FAILURE",2: "TIMED_OUT",3: "PIPES_LEFT_OPEN",}Timing_Status_value = map[string]int32{"OK": 0,"EXIT_FAILURE": 1,"TIMED_OUT": 2,"PIPES_LEFT_OPEN": 3,})
Enum value maps for Timing_Status.
var (Connection_Action_name = map[int32]string{0: "ACTION_UNSPECIFIED",1: "CONNECT",2: "DISCONNECT",}Connection_Action_value = map[string]int32{"ACTION_UNSPECIFIED": 0,"CONNECT": 1,"DISCONNECT": 2,})
Enum value maps for Connection_Action.
var (Connection_Type_name = map[int32]string{0: "TYPE_UNSPECIFIED",1: "SSH",2: "VSCODE",3: "JETBRAINS",4: "RECONNECTING_PTY",}Connection_Type_value = map[string]int32{"TYPE_UNSPECIFIED": 0,"SSH": 1,"VSCODE": 2,"JETBRAINS": 3,"RECONNECTING_PTY": 4,})
Enum value maps for Connection_Type.
var CurrentVersion =proto.CurrentVersion
CurrentVersion is the current version of the agent API. It is tied to thetailnet API version to avoid confusion, since agents connect to the tailnetAPI over the same websocket.
var File_agent_proto_agent_protoprotoreflect.FileDescriptor
Functions¶
funcDRPCRegisterAgent¶
func DRPCRegisterAgent(muxdrpc.Mux, implDRPCAgentServer)error
funcLabelsEqual¶added inv2.7.0
func LabelsEqual(a, b []*Stats_Metric_Label)bool
Types¶
typeAppHealth¶
type AppHealthint32
func (AppHealth)Descriptor¶
func (AppHealth) Descriptor()protoreflect.EnumDescriptor
func (AppHealth)EnumDescriptordeprecated
func (AppHealth)Number¶
func (xAppHealth) Number()protoreflect.EnumNumber
func (AppHealth)Type¶
func (AppHealth) Type()protoreflect.EnumType
typeBannerConfig¶added inv2.12.0
type BannerConfig struct {Enabledbool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`Messagestring `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`BackgroundColorstring `protobuf:"bytes,3,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`// contains filtered or unexported fields}
func (*BannerConfig)Descriptordeprecatedadded inv2.12.0
func (*BannerConfig) Descriptor() ([]byte, []int)
Deprecated: Use BannerConfig.ProtoReflect.Descriptor instead.
func (*BannerConfig)GetBackgroundColor¶added inv2.12.0
func (x *BannerConfig) GetBackgroundColor()string
func (*BannerConfig)GetEnabled¶added inv2.12.0
func (x *BannerConfig) GetEnabled()bool
func (*BannerConfig)GetMessage¶added inv2.12.0
func (x *BannerConfig) GetMessage()string
func (*BannerConfig)ProtoMessage¶added inv2.12.0
func (*BannerConfig) ProtoMessage()
func (*BannerConfig)ProtoReflect¶added inv2.12.0
func (x *BannerConfig) ProtoReflect()protoreflect.Message
func (*BannerConfig)Reset¶added inv2.12.0
func (x *BannerConfig) Reset()
func (*BannerConfig)String¶added inv2.12.0
func (x *BannerConfig) String()string
typeBatchCreateLogsRequest¶
type BatchCreateLogsRequest struct {LogSourceId []byte `protobuf:"bytes,1,opt,name=log_source_id,json=logSourceId,proto3" json:"log_source_id,omitempty"`Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"`// contains filtered or unexported fields}
func (*BatchCreateLogsRequest)Descriptordeprecated
func (*BatchCreateLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateLogsRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateLogsRequest)GetLogSourceId¶added inv2.6.0
func (x *BatchCreateLogsRequest) GetLogSourceId() []byte
func (*BatchCreateLogsRequest)GetLogs¶
func (x *BatchCreateLogsRequest) GetLogs() []*Log
func (*BatchCreateLogsRequest)ProtoMessage¶
func (*BatchCreateLogsRequest) ProtoMessage()
func (*BatchCreateLogsRequest)ProtoReflect¶
func (x *BatchCreateLogsRequest) ProtoReflect()protoreflect.Message
func (*BatchCreateLogsRequest)Reset¶
func (x *BatchCreateLogsRequest) Reset()
func (*BatchCreateLogsRequest)String¶
func (x *BatchCreateLogsRequest) String()string
typeBatchCreateLogsResponse¶
type BatchCreateLogsResponse struct {LogLimitExceededbool `protobuf:"varint,1,opt,name=log_limit_exceeded,json=logLimitExceeded,proto3" json:"log_limit_exceeded,omitempty"`// contains filtered or unexported fields}
func (*BatchCreateLogsResponse)Descriptordeprecated
func (*BatchCreateLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateLogsResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateLogsResponse)GetLogLimitExceeded¶added inv2.9.0
func (x *BatchCreateLogsResponse) GetLogLimitExceeded()bool
func (*BatchCreateLogsResponse)ProtoMessage¶
func (*BatchCreateLogsResponse) ProtoMessage()
func (*BatchCreateLogsResponse)ProtoReflect¶
func (x *BatchCreateLogsResponse) ProtoReflect()protoreflect.Message
func (*BatchCreateLogsResponse)Reset¶
func (x *BatchCreateLogsResponse) Reset()
func (*BatchCreateLogsResponse)String¶
func (x *BatchCreateLogsResponse) String()string
typeBatchUpdateAppHealthRequest¶
type BatchUpdateAppHealthRequest struct {Updates []*BatchUpdateAppHealthRequest_HealthUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`// contains filtered or unexported fields}
func (*BatchUpdateAppHealthRequest)Descriptordeprecated
func (*BatchUpdateAppHealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateAppHealthRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateAppHealthRequest)GetUpdates¶
func (x *BatchUpdateAppHealthRequest) GetUpdates() []*BatchUpdateAppHealthRequest_HealthUpdate
func (*BatchUpdateAppHealthRequest)ProtoMessage¶
func (*BatchUpdateAppHealthRequest) ProtoMessage()
func (*BatchUpdateAppHealthRequest)ProtoReflect¶
func (x *BatchUpdateAppHealthRequest) ProtoReflect()protoreflect.Message
func (*BatchUpdateAppHealthRequest)Reset¶
func (x *BatchUpdateAppHealthRequest) Reset()
func (*BatchUpdateAppHealthRequest)String¶
func (x *BatchUpdateAppHealthRequest) String()string
typeBatchUpdateAppHealthRequest_HealthUpdate¶
type BatchUpdateAppHealthRequest_HealthUpdate struct {Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`HealthAppHealth `protobuf:"varint,2,opt,name=health,proto3,enum=coder.agent.v2.AppHealth" json:"health,omitempty"`// contains filtered or unexported fields}
func (*BatchUpdateAppHealthRequest_HealthUpdate)Descriptordeprecated
func (*BatchUpdateAppHealthRequest_HealthUpdate) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateAppHealthRequest_HealthUpdate.ProtoReflect.Descriptor instead.
func (*BatchUpdateAppHealthRequest_HealthUpdate)GetHealth¶
func (x *BatchUpdateAppHealthRequest_HealthUpdate) GetHealth()AppHealth
func (*BatchUpdateAppHealthRequest_HealthUpdate)GetId¶added inv2.6.0
func (x *BatchUpdateAppHealthRequest_HealthUpdate) GetId() []byte
func (*BatchUpdateAppHealthRequest_HealthUpdate)ProtoMessage¶
func (*BatchUpdateAppHealthRequest_HealthUpdate) ProtoMessage()
func (*BatchUpdateAppHealthRequest_HealthUpdate)ProtoReflect¶
func (x *BatchUpdateAppHealthRequest_HealthUpdate) ProtoReflect()protoreflect.Message
func (*BatchUpdateAppHealthRequest_HealthUpdate)Reset¶
func (x *BatchUpdateAppHealthRequest_HealthUpdate) Reset()
func (*BatchUpdateAppHealthRequest_HealthUpdate)String¶
func (x *BatchUpdateAppHealthRequest_HealthUpdate) String()string
typeBatchUpdateAppHealthResponse¶
type BatchUpdateAppHealthResponse struct {// contains filtered or unexported fields}
func (*BatchUpdateAppHealthResponse)Descriptordeprecated
func (*BatchUpdateAppHealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateAppHealthResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateAppHealthResponse)ProtoMessage¶
func (*BatchUpdateAppHealthResponse) ProtoMessage()
func (*BatchUpdateAppHealthResponse)ProtoReflect¶
func (x *BatchUpdateAppHealthResponse) ProtoReflect()protoreflect.Message
func (*BatchUpdateAppHealthResponse)Reset¶
func (x *BatchUpdateAppHealthResponse) Reset()
func (*BatchUpdateAppHealthResponse)String¶
func (x *BatchUpdateAppHealthResponse) String()string
typeBatchUpdateMetadataRequest¶
type BatchUpdateMetadataRequest struct {Metadata []*Metadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"`// contains filtered or unexported fields}
func (*BatchUpdateMetadataRequest)Descriptordeprecated
func (*BatchUpdateMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateMetadataRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateMetadataRequest)GetMetadata¶
func (x *BatchUpdateMetadataRequest) GetMetadata() []*Metadata
func (*BatchUpdateMetadataRequest)ProtoMessage¶
func (*BatchUpdateMetadataRequest) ProtoMessage()
func (*BatchUpdateMetadataRequest)ProtoReflect¶
func (x *BatchUpdateMetadataRequest) ProtoReflect()protoreflect.Message
func (*BatchUpdateMetadataRequest)Reset¶
func (x *BatchUpdateMetadataRequest) Reset()
func (*BatchUpdateMetadataRequest)String¶
func (x *BatchUpdateMetadataRequest) String()string
typeBatchUpdateMetadataResponse¶
type BatchUpdateMetadataResponse struct {// contains filtered or unexported fields}
func (*BatchUpdateMetadataResponse)Descriptordeprecated
func (*BatchUpdateMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateMetadataResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateMetadataResponse)ProtoMessage¶
func (*BatchUpdateMetadataResponse) ProtoMessage()
func (*BatchUpdateMetadataResponse)ProtoReflect¶
func (x *BatchUpdateMetadataResponse) ProtoReflect()protoreflect.Message
func (*BatchUpdateMetadataResponse)Reset¶
func (x *BatchUpdateMetadataResponse) Reset()
func (*BatchUpdateMetadataResponse)String¶
func (x *BatchUpdateMetadataResponse) String()string
typeConnection¶added inv2.20.0
type Connection struct {Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`ActionConnection_Action `protobuf:"varint,2,opt,name=action,proto3,enum=coder.agent.v2.Connection_Action" json:"action,omitempty"`TypeConnection_Type `protobuf:"varint,3,opt,name=type,proto3,enum=coder.agent.v2.Connection_Type" json:"type,omitempty"`Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`Ipstring `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`StatusCodeint32 `protobuf:"varint,6,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`Reason *string `protobuf:"bytes,7,opt,name=reason,proto3,oneof" json:"reason,omitempty"`// contains filtered or unexported fields}
func (*Connection)Descriptordeprecatedadded inv2.20.0
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection)GetAction¶added inv2.20.0
func (x *Connection) GetAction()Connection_Action
func (*Connection)GetId¶added inv2.20.0
func (x *Connection) GetId() []byte
func (*Connection)GetIp¶added inv2.20.0
func (x *Connection) GetIp()string
func (*Connection)GetReason¶added inv2.20.0
func (x *Connection) GetReason()string
func (*Connection)GetStatusCode¶added inv2.20.0
func (x *Connection) GetStatusCode()int32
func (*Connection)GetTimestamp¶added inv2.20.0
func (x *Connection) GetTimestamp() *timestamppb.Timestamp
func (*Connection)GetType¶added inv2.20.0
func (x *Connection) GetType()Connection_Type
func (*Connection)ProtoMessage¶added inv2.20.0
func (*Connection) ProtoMessage()
func (*Connection)ProtoReflect¶added inv2.20.0
func (x *Connection) ProtoReflect()protoreflect.Message
func (*Connection)Reset¶added inv2.20.0
func (x *Connection) Reset()
func (*Connection)String¶added inv2.20.0
func (x *Connection) String()string
typeConnection_Action¶added inv2.20.0
type Connection_Actionint32
const (Connection_ACTION_UNSPECIFIEDConnection_Action = 0Connection_CONNECTConnection_Action = 1Connection_DISCONNECTConnection_Action = 2)
func (Connection_Action)Descriptor¶added inv2.20.0
func (Connection_Action) Descriptor()protoreflect.EnumDescriptor
func (Connection_Action)Enum¶added inv2.20.0
func (xConnection_Action) Enum() *Connection_Action
func (Connection_Action)EnumDescriptordeprecatedadded inv2.20.0
func (Connection_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use Connection_Action.Descriptor instead.
func (Connection_Action)Number¶added inv2.20.0
func (xConnection_Action) Number()protoreflect.EnumNumber
func (Connection_Action)String¶added inv2.20.0
func (xConnection_Action) String()string
func (Connection_Action)Type¶added inv2.20.0
func (Connection_Action) Type()protoreflect.EnumType
typeConnection_Type¶added inv2.20.0
type Connection_Typeint32
const (Connection_TYPE_UNSPECIFIEDConnection_Type = 0Connection_SSHConnection_Type = 1Connection_VSCODEConnection_Type = 2Connection_JETBRAINSConnection_Type = 3Connection_RECONNECTING_PTYConnection_Type = 4)
func (Connection_Type)Descriptor¶added inv2.20.0
func (Connection_Type) Descriptor()protoreflect.EnumDescriptor
func (Connection_Type)Enum¶added inv2.20.0
func (xConnection_Type) Enum() *Connection_Type
func (Connection_Type)EnumDescriptordeprecatedadded inv2.20.0
func (Connection_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Connection_Type.Descriptor instead.
func (Connection_Type)Number¶added inv2.20.0
func (xConnection_Type) Number()protoreflect.EnumNumber
func (Connection_Type)String¶added inv2.20.0
func (xConnection_Type) String()string
func (Connection_Type)Type¶added inv2.20.0
func (Connection_Type) Type()protoreflect.EnumType
typeDRPCAgentClient¶
type DRPCAgentClient interface {DRPCConn()drpc.ConnGetManifest(ctxcontext.Context, in *GetManifestRequest) (*Manifest,error)GetServiceBanner(ctxcontext.Context, in *GetServiceBannerRequest) (*ServiceBanner,error)UpdateStats(ctxcontext.Context, in *UpdateStatsRequest) (*UpdateStatsResponse,error)UpdateLifecycle(ctxcontext.Context, in *UpdateLifecycleRequest) (*Lifecycle,error)BatchUpdateAppHealths(ctxcontext.Context, in *BatchUpdateAppHealthRequest) (*BatchUpdateAppHealthResponse,error)UpdateStartup(ctxcontext.Context, in *UpdateStartupRequest) (*Startup,error)BatchUpdateMetadata(ctxcontext.Context, in *BatchUpdateMetadataRequest) (*BatchUpdateMetadataResponse,error)BatchCreateLogs(ctxcontext.Context, in *BatchCreateLogsRequest) (*BatchCreateLogsResponse,error)GetAnnouncementBanners(ctxcontext.Context, in *GetAnnouncementBannersRequest) (*GetAnnouncementBannersResponse,error)ScriptCompleted(ctxcontext.Context, in *WorkspaceAgentScriptCompletedRequest) (*WorkspaceAgentScriptCompletedResponse,error)GetResourcesMonitoringConfiguration(ctxcontext.Context, in *GetResourcesMonitoringConfigurationRequest) (*GetResourcesMonitoringConfigurationResponse,error)PushResourcesMonitoringUsage(ctxcontext.Context, in *PushResourcesMonitoringUsageRequest) (*PushResourcesMonitoringUsageResponse,error)ReportConnection(ctxcontext.Context, in *ReportConnectionRequest) (*emptypb.Empty,error)}
funcNewDRPCAgentClient¶
func NewDRPCAgentClient(ccdrpc.Conn)DRPCAgentClient
typeDRPCAgentClient20¶added inv2.14.0
type DRPCAgentClient20 interface {DRPCConn()drpc.ConnGetManifest(ctxcontext.Context, in *GetManifestRequest) (*Manifest,error)GetServiceBanner(ctxcontext.Context, in *GetServiceBannerRequest) (*ServiceBanner,error)UpdateStats(ctxcontext.Context, in *UpdateStatsRequest) (*UpdateStatsResponse,error)UpdateLifecycle(ctxcontext.Context, in *UpdateLifecycleRequest) (*Lifecycle,error)BatchUpdateAppHealths(ctxcontext.Context, in *BatchUpdateAppHealthRequest) (*BatchUpdateAppHealthResponse,error)UpdateStartup(ctxcontext.Context, in *UpdateStartupRequest) (*Startup,error)BatchUpdateMetadata(ctxcontext.Context, in *BatchUpdateMetadataRequest) (*BatchUpdateMetadataResponse,error)BatchCreateLogs(ctxcontext.Context, in *BatchCreateLogsRequest) (*BatchCreateLogsResponse,error)}
DRPCAgentClient20 is the Agent API at v2.0. Notably, it is missing GetAnnouncementBanners, butis useful when you want to be maximally compatible with Coderd Release Versions from 2.9+
typeDRPCAgentClient21¶added inv2.14.0
type DRPCAgentClient21 interface {DRPCAgentClient20GetAnnouncementBanners(ctxcontext.Context, in *GetAnnouncementBannersRequest) (*GetAnnouncementBannersResponse,error)}
DRPCAgentClient21 is the Agent API at v2.1. It is useful if you want to be maximally compatiblewith Coderd Release Versions from 2.12+
typeDRPCAgentClient22¶added inv2.18.0
type DRPCAgentClient22 interface {DRPCAgentClient21}
DRPCAgentClient22 is the Agent API at v2.2. It is identical to 2.1, since the change was made onthe Tailnet API, which uses the same version number. Compatible with Coder v2.13+
typeDRPCAgentClient23¶added inv2.18.0
type DRPCAgentClient23 interface {DRPCAgentClient22ScriptCompleted(ctxcontext.Context, in *WorkspaceAgentScriptCompletedRequest) (*WorkspaceAgentScriptCompletedResponse,error)}
DRPCAgentClient23 is the Agent API at v2.3. It adds the ScriptCompleted RPC. Compatible withCoder v2.18+
typeDRPCAgentClient24¶added inv2.20.0
type DRPCAgentClient24 interface {DRPCAgentClient23GetResourcesMonitoringConfiguration(ctxcontext.Context, in *GetResourcesMonitoringConfigurationRequest) (*GetResourcesMonitoringConfigurationResponse,error)PushResourcesMonitoringUsage(ctxcontext.Context, in *PushResourcesMonitoringUsageRequest) (*PushResourcesMonitoringUsageResponse,error)ReportConnection(ctxcontext.Context, in *ReportConnectionRequest) (*emptypb.Empty,error)}
DRPCAgentClient24 is the Agent API at v2.4. It adds the GetResourcesMonitoringConfiguration,PushResourcesMonitoringUsage and ReportConnection RPCs. Compatible with Coder v2.19+
typeDRPCAgentClient25¶added inv2.23.0
type DRPCAgentClient25 interface {DRPCAgentClient24}
DRPCAgentClient25 is the Agent API at v2.5.
typeDRPCAgentDescription¶
type DRPCAgentDescription struct{}
func (DRPCAgentDescription)NumMethods¶
func (DRPCAgentDescription) NumMethods()int
typeDRPCAgentServer¶
type DRPCAgentServer interface {GetManifest(context.Context, *GetManifestRequest) (*Manifest,error)GetServiceBanner(context.Context, *GetServiceBannerRequest) (*ServiceBanner,error)UpdateStats(context.Context, *UpdateStatsRequest) (*UpdateStatsResponse,error)UpdateLifecycle(context.Context, *UpdateLifecycleRequest) (*Lifecycle,error)BatchUpdateAppHealths(context.Context, *BatchUpdateAppHealthRequest) (*BatchUpdateAppHealthResponse,error)UpdateStartup(context.Context, *UpdateStartupRequest) (*Startup,error)BatchUpdateMetadata(context.Context, *BatchUpdateMetadataRequest) (*BatchUpdateMetadataResponse,error)BatchCreateLogs(context.Context, *BatchCreateLogsRequest) (*BatchCreateLogsResponse,error)GetAnnouncementBanners(context.Context, *GetAnnouncementBannersRequest) (*GetAnnouncementBannersResponse,error)ScriptCompleted(context.Context, *WorkspaceAgentScriptCompletedRequest) (*WorkspaceAgentScriptCompletedResponse,error)GetResourcesMonitoringConfiguration(context.Context, *GetResourcesMonitoringConfigurationRequest) (*GetResourcesMonitoringConfigurationResponse,error)PushResourcesMonitoringUsage(context.Context, *PushResourcesMonitoringUsageRequest) (*PushResourcesMonitoringUsageResponse,error)ReportConnection(context.Context, *ReportConnectionRequest) (*emptypb.Empty,error)}
typeDRPCAgentUnimplementedServer¶
type DRPCAgentUnimplementedServer struct{}
func (*DRPCAgentUnimplementedServer)BatchCreateLogs¶
func (s *DRPCAgentUnimplementedServer) BatchCreateLogs(context.Context, *BatchCreateLogsRequest) (*BatchCreateLogsResponse,error)
func (*DRPCAgentUnimplementedServer)BatchUpdateAppHealths¶
func (s *DRPCAgentUnimplementedServer) BatchUpdateAppHealths(context.Context, *BatchUpdateAppHealthRequest) (*BatchUpdateAppHealthResponse,error)
func (*DRPCAgentUnimplementedServer)BatchUpdateMetadata¶
func (s *DRPCAgentUnimplementedServer) BatchUpdateMetadata(context.Context, *BatchUpdateMetadataRequest) (*BatchUpdateMetadataResponse,error)
func (*DRPCAgentUnimplementedServer)GetAnnouncementBanners¶added inv2.12.0
func (s *DRPCAgentUnimplementedServer) GetAnnouncementBanners(context.Context, *GetAnnouncementBannersRequest) (*GetAnnouncementBannersResponse,error)
func (*DRPCAgentUnimplementedServer)GetManifest¶
func (s *DRPCAgentUnimplementedServer) GetManifest(context.Context, *GetManifestRequest) (*Manifest,error)
func (*DRPCAgentUnimplementedServer)GetResourcesMonitoringConfiguration¶added inv2.20.0
func (s *DRPCAgentUnimplementedServer) GetResourcesMonitoringConfiguration(context.Context, *GetResourcesMonitoringConfigurationRequest) (*GetResourcesMonitoringConfigurationResponse,error)
func (*DRPCAgentUnimplementedServer)GetServiceBanner¶
func (s *DRPCAgentUnimplementedServer) GetServiceBanner(context.Context, *GetServiceBannerRequest) (*ServiceBanner,error)
func (*DRPCAgentUnimplementedServer)PushResourcesMonitoringUsage¶added inv2.20.0
func (s *DRPCAgentUnimplementedServer) PushResourcesMonitoringUsage(context.Context, *PushResourcesMonitoringUsageRequest) (*PushResourcesMonitoringUsageResponse,error)
func (*DRPCAgentUnimplementedServer)ReportConnection¶added inv2.20.0
func (s *DRPCAgentUnimplementedServer) ReportConnection(context.Context, *ReportConnectionRequest) (*emptypb.Empty,error)
func (*DRPCAgentUnimplementedServer)ScriptCompleted¶added inv2.16.0
func (s *DRPCAgentUnimplementedServer) ScriptCompleted(context.Context, *WorkspaceAgentScriptCompletedRequest) (*WorkspaceAgentScriptCompletedResponse,error)
func (*DRPCAgentUnimplementedServer)UpdateLifecycle¶
func (s *DRPCAgentUnimplementedServer) UpdateLifecycle(context.Context, *UpdateLifecycleRequest) (*Lifecycle,error)
func (*DRPCAgentUnimplementedServer)UpdateStartup¶
func (s *DRPCAgentUnimplementedServer) UpdateStartup(context.Context, *UpdateStartupRequest) (*Startup,error)
func (*DRPCAgentUnimplementedServer)UpdateStats¶
func (s *DRPCAgentUnimplementedServer) UpdateStats(context.Context, *UpdateStatsRequest) (*UpdateStatsResponse,error)
typeDRPCAgent_BatchCreateLogsStream¶
type DRPCAgent_BatchCreateLogsStream interface {drpc.StreamSendAndClose(*BatchCreateLogsResponse)error}
typeDRPCAgent_BatchUpdateAppHealthsStream¶
type DRPCAgent_BatchUpdateAppHealthsStream interface {drpc.StreamSendAndClose(*BatchUpdateAppHealthResponse)error}
typeDRPCAgent_BatchUpdateMetadataStream¶
type DRPCAgent_BatchUpdateMetadataStream interface {drpc.StreamSendAndClose(*BatchUpdateMetadataResponse)error}
typeDRPCAgent_GetAnnouncementBannersStream¶added inv2.12.0
type DRPCAgent_GetAnnouncementBannersStream interface {drpc.StreamSendAndClose(*GetAnnouncementBannersResponse)error}
typeDRPCAgent_GetResourcesMonitoringConfigurationStream¶added inv2.20.0
type DRPCAgent_GetResourcesMonitoringConfigurationStream interface {drpc.StreamSendAndClose(*GetResourcesMonitoringConfigurationResponse)error}
typeDRPCAgent_GetServiceBannerStream¶
type DRPCAgent_GetServiceBannerStream interface {drpc.StreamSendAndClose(*ServiceBanner)error}
typeDRPCAgent_PushResourcesMonitoringUsageStream¶added inv2.20.0
type DRPCAgent_PushResourcesMonitoringUsageStream interface {drpc.StreamSendAndClose(*PushResourcesMonitoringUsageResponse)error}
typeDRPCAgent_ReportConnectionStream¶added inv2.20.0
typeDRPCAgent_ScriptCompletedStream¶added inv2.16.0
type DRPCAgent_ScriptCompletedStream interface {drpc.StreamSendAndClose(*WorkspaceAgentScriptCompletedResponse)error}
typeDRPCAgent_UpdateStatsStream¶
type DRPCAgent_UpdateStatsStream interface {drpc.StreamSendAndClose(*UpdateStatsResponse)error}
typeGetAnnouncementBannersRequest¶added inv2.12.0
type GetAnnouncementBannersRequest struct {// contains filtered or unexported fields}
func (*GetAnnouncementBannersRequest)Descriptordeprecatedadded inv2.12.0
func (*GetAnnouncementBannersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnnouncementBannersRequest.ProtoReflect.Descriptor instead.
func (*GetAnnouncementBannersRequest)ProtoMessage¶added inv2.12.0
func (*GetAnnouncementBannersRequest) ProtoMessage()
func (*GetAnnouncementBannersRequest)ProtoReflect¶added inv2.12.0
func (x *GetAnnouncementBannersRequest) ProtoReflect()protoreflect.Message
func (*GetAnnouncementBannersRequest)Reset¶added inv2.12.0
func (x *GetAnnouncementBannersRequest) Reset()
func (*GetAnnouncementBannersRequest)String¶added inv2.12.0
func (x *GetAnnouncementBannersRequest) String()string
typeGetAnnouncementBannersResponse¶added inv2.12.0
type GetAnnouncementBannersResponse struct {AnnouncementBanners []*BannerConfig `protobuf:"bytes,1,rep,name=announcement_banners,json=announcementBanners,proto3" json:"announcement_banners,omitempty"`// contains filtered or unexported fields}
func (*GetAnnouncementBannersResponse)Descriptordeprecatedadded inv2.12.0
func (*GetAnnouncementBannersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAnnouncementBannersResponse.ProtoReflect.Descriptor instead.
func (*GetAnnouncementBannersResponse)GetAnnouncementBanners¶added inv2.12.0
func (x *GetAnnouncementBannersResponse) GetAnnouncementBanners() []*BannerConfig
func (*GetAnnouncementBannersResponse)ProtoMessage¶added inv2.12.0
func (*GetAnnouncementBannersResponse) ProtoMessage()
func (*GetAnnouncementBannersResponse)ProtoReflect¶added inv2.12.0
func (x *GetAnnouncementBannersResponse) ProtoReflect()protoreflect.Message
func (*GetAnnouncementBannersResponse)Reset¶added inv2.12.0
func (x *GetAnnouncementBannersResponse) Reset()
func (*GetAnnouncementBannersResponse)String¶added inv2.12.0
func (x *GetAnnouncementBannersResponse) String()string
typeGetManifestRequest¶
type GetManifestRequest struct {// contains filtered or unexported fields}
func (*GetManifestRequest)Descriptordeprecated
func (*GetManifestRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetManifestRequest.ProtoReflect.Descriptor instead.
func (*GetManifestRequest)ProtoMessage¶
func (*GetManifestRequest) ProtoMessage()
func (*GetManifestRequest)ProtoReflect¶
func (x *GetManifestRequest) ProtoReflect()protoreflect.Message
func (*GetManifestRequest)Reset¶
func (x *GetManifestRequest) Reset()
func (*GetManifestRequest)String¶
func (x *GetManifestRequest) String()string
typeGetResourcesMonitoringConfigurationRequest¶added inv2.20.0
type GetResourcesMonitoringConfigurationRequest struct {// contains filtered or unexported fields}
func (*GetResourcesMonitoringConfigurationRequest)Descriptordeprecatedadded inv2.20.0
func (*GetResourcesMonitoringConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResourcesMonitoringConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetResourcesMonitoringConfigurationRequest)ProtoMessage¶added inv2.20.0
func (*GetResourcesMonitoringConfigurationRequest) ProtoMessage()
func (*GetResourcesMonitoringConfigurationRequest)ProtoReflect¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationRequest) ProtoReflect()protoreflect.Message
func (*GetResourcesMonitoringConfigurationRequest)Reset¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationRequest) Reset()
func (*GetResourcesMonitoringConfigurationRequest)String¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationRequest) String()string
typeGetResourcesMonitoringConfigurationResponse¶added inv2.20.0
type GetResourcesMonitoringConfigurationResponse struct {Config *GetResourcesMonitoringConfigurationResponse_Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`Memory *GetResourcesMonitoringConfigurationResponse_Memory `protobuf:"bytes,2,opt,name=memory,proto3,oneof" json:"memory,omitempty"`Volumes []*GetResourcesMonitoringConfigurationResponse_Volume `protobuf:"bytes,3,rep,name=volumes,proto3" json:"volumes,omitempty"`// contains filtered or unexported fields}
func (*GetResourcesMonitoringConfigurationResponse)Descriptordeprecatedadded inv2.20.0
func (*GetResourcesMonitoringConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResourcesMonitoringConfigurationResponse.ProtoReflect.Descriptor instead.
func (*GetResourcesMonitoringConfigurationResponse)GetConfig¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse) GetConfig() *GetResourcesMonitoringConfigurationResponse_Config
func (*GetResourcesMonitoringConfigurationResponse)GetMemory¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse) GetMemory() *GetResourcesMonitoringConfigurationResponse_Memory
func (*GetResourcesMonitoringConfigurationResponse)GetVolumes¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse) GetVolumes() []*GetResourcesMonitoringConfigurationResponse_Volume
func (*GetResourcesMonitoringConfigurationResponse)ProtoMessage¶added inv2.20.0
func (*GetResourcesMonitoringConfigurationResponse) ProtoMessage()
func (*GetResourcesMonitoringConfigurationResponse)ProtoReflect¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse) ProtoReflect()protoreflect.Message
func (*GetResourcesMonitoringConfigurationResponse)Reset¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse) Reset()
func (*GetResourcesMonitoringConfigurationResponse)String¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse) String()string
typeGetResourcesMonitoringConfigurationResponse_Config¶added inv2.20.0
type GetResourcesMonitoringConfigurationResponse_Config struct {NumDatapointsint32 `protobuf:"varint,1,opt,name=num_datapoints,json=numDatapoints,proto3" json:"num_datapoints,omitempty"`CollectionIntervalSecondsint32 ``/* 139-byte string literal not displayed */// contains filtered or unexported fields}
func (*GetResourcesMonitoringConfigurationResponse_Config)Descriptordeprecatedadded inv2.20.0
func (*GetResourcesMonitoringConfigurationResponse_Config) Descriptor() ([]byte, []int)
Deprecated: Use GetResourcesMonitoringConfigurationResponse_Config.ProtoReflect.Descriptor instead.
func (*GetResourcesMonitoringConfigurationResponse_Config)GetCollectionIntervalSeconds¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Config) GetCollectionIntervalSeconds()int32
func (*GetResourcesMonitoringConfigurationResponse_Config)GetNumDatapoints¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Config) GetNumDatapoints()int32
func (*GetResourcesMonitoringConfigurationResponse_Config)ProtoMessage¶added inv2.20.0
func (*GetResourcesMonitoringConfigurationResponse_Config) ProtoMessage()
func (*GetResourcesMonitoringConfigurationResponse_Config)ProtoReflect¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Config) ProtoReflect()protoreflect.Message
func (*GetResourcesMonitoringConfigurationResponse_Config)Reset¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Config) Reset()
func (*GetResourcesMonitoringConfigurationResponse_Config)String¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Config) String()string
typeGetResourcesMonitoringConfigurationResponse_Memory¶added inv2.20.0
type GetResourcesMonitoringConfigurationResponse_Memory struct {Enabledbool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`// contains filtered or unexported fields}
func (*GetResourcesMonitoringConfigurationResponse_Memory)Descriptordeprecatedadded inv2.20.0
func (*GetResourcesMonitoringConfigurationResponse_Memory) Descriptor() ([]byte, []int)
Deprecated: Use GetResourcesMonitoringConfigurationResponse_Memory.ProtoReflect.Descriptor instead.
func (*GetResourcesMonitoringConfigurationResponse_Memory)GetEnabled¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Memory) GetEnabled()bool
func (*GetResourcesMonitoringConfigurationResponse_Memory)ProtoMessage¶added inv2.20.0
func (*GetResourcesMonitoringConfigurationResponse_Memory) ProtoMessage()
func (*GetResourcesMonitoringConfigurationResponse_Memory)ProtoReflect¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Memory) ProtoReflect()protoreflect.Message
func (*GetResourcesMonitoringConfigurationResponse_Memory)Reset¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Memory) Reset()
func (*GetResourcesMonitoringConfigurationResponse_Memory)String¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Memory) String()string
typeGetResourcesMonitoringConfigurationResponse_Volume¶added inv2.20.0
type GetResourcesMonitoringConfigurationResponse_Volume struct {Enabledbool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`Pathstring `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`// contains filtered or unexported fields}
func (*GetResourcesMonitoringConfigurationResponse_Volume)Descriptordeprecatedadded inv2.20.0
func (*GetResourcesMonitoringConfigurationResponse_Volume) Descriptor() ([]byte, []int)
Deprecated: Use GetResourcesMonitoringConfigurationResponse_Volume.ProtoReflect.Descriptor instead.
func (*GetResourcesMonitoringConfigurationResponse_Volume)GetEnabled¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Volume) GetEnabled()bool
func (*GetResourcesMonitoringConfigurationResponse_Volume)GetPath¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Volume) GetPath()string
func (*GetResourcesMonitoringConfigurationResponse_Volume)ProtoMessage¶added inv2.20.0
func (*GetResourcesMonitoringConfigurationResponse_Volume) ProtoMessage()
func (*GetResourcesMonitoringConfigurationResponse_Volume)ProtoReflect¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Volume) ProtoReflect()protoreflect.Message
func (*GetResourcesMonitoringConfigurationResponse_Volume)Reset¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Volume) Reset()
func (*GetResourcesMonitoringConfigurationResponse_Volume)String¶added inv2.20.0
func (x *GetResourcesMonitoringConfigurationResponse_Volume) String()string
typeGetServiceBannerRequest¶
type GetServiceBannerRequest struct {// contains filtered or unexported fields}
func (*GetServiceBannerRequest)Descriptordeprecated
func (*GetServiceBannerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceBannerRequest.ProtoReflect.Descriptor instead.
func (*GetServiceBannerRequest)ProtoMessage¶
func (*GetServiceBannerRequest) ProtoMessage()
func (*GetServiceBannerRequest)ProtoReflect¶
func (x *GetServiceBannerRequest) ProtoReflect()protoreflect.Message
func (*GetServiceBannerRequest)Reset¶
func (x *GetServiceBannerRequest) Reset()
func (*GetServiceBannerRequest)String¶
func (x *GetServiceBannerRequest) String()string
typeLifecycle¶
type Lifecycle struct {StateLifecycle_State `protobuf:"varint,1,opt,name=state,proto3,enum=coder.agent.v2.Lifecycle_State" json:"state,omitempty"`ChangedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=changed_at,json=changedAt,proto3" json:"changed_at,omitempty"`// contains filtered or unexported fields}
func (*Lifecycle)Descriptordeprecated
func (*Lifecycle)GetChangedAt¶added inv2.6.0
func (x *Lifecycle) GetChangedAt() *timestamppb.Timestamp
func (*Lifecycle)GetState¶
func (x *Lifecycle) GetState()Lifecycle_State
func (*Lifecycle)ProtoMessage¶
func (*Lifecycle) ProtoMessage()
func (*Lifecycle)ProtoReflect¶
func (x *Lifecycle) ProtoReflect()protoreflect.Message
typeLifecycle_State¶
type Lifecycle_Stateint32
const (Lifecycle_STATE_UNSPECIFIEDLifecycle_State = 0Lifecycle_CREATEDLifecycle_State = 1Lifecycle_STARTINGLifecycle_State = 2Lifecycle_START_TIMEOUTLifecycle_State = 3Lifecycle_START_ERRORLifecycle_State = 4Lifecycle_READYLifecycle_State = 5Lifecycle_SHUTTING_DOWNLifecycle_State = 6Lifecycle_SHUTDOWN_TIMEOUTLifecycle_State = 7Lifecycle_SHUTDOWN_ERRORLifecycle_State = 8Lifecycle_OFFLifecycle_State = 9)
func (Lifecycle_State)Descriptor¶
func (Lifecycle_State) Descriptor()protoreflect.EnumDescriptor
func (Lifecycle_State)Enum¶
func (xLifecycle_State) Enum() *Lifecycle_State
func (Lifecycle_State)EnumDescriptordeprecated
func (Lifecycle_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Lifecycle_State.Descriptor instead.
func (Lifecycle_State)Number¶
func (xLifecycle_State) Number()protoreflect.EnumNumber
func (Lifecycle_State)String¶
func (xLifecycle_State) String()string
func (Lifecycle_State)Type¶
func (Lifecycle_State) Type()protoreflect.EnumType
typeLog¶
type Log struct {CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`Outputstring `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`LevelLog_Level `protobuf:"varint,3,opt,name=level,proto3,enum=coder.agent.v2.Log_Level" json:"level,omitempty"`// contains filtered or unexported fields}
func (*Log)Descriptordeprecated
func (*Log)GetCreatedAt¶
func (x *Log) GetCreatedAt() *timestamppb.Timestamp
func (*Log)ProtoMessage¶
func (*Log) ProtoMessage()
func (*Log)ProtoReflect¶
func (x *Log) ProtoReflect()protoreflect.Message
typeLog_Level¶
type Log_Levelint32
func (Log_Level)Descriptor¶
func (Log_Level) Descriptor()protoreflect.EnumDescriptor
func (Log_Level)EnumDescriptordeprecated
func (Log_Level)Number¶
func (xLog_Level) Number()protoreflect.EnumNumber
func (Log_Level)Type¶
func (Log_Level) Type()protoreflect.EnumType
typeManifest¶
type Manifest struct {AgentId []byte `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`AgentNamestring `protobuf:"bytes,15,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`OwnerUsernamestring `protobuf:"bytes,13,opt,name=owner_username,json=ownerUsername,proto3" json:"owner_username,omitempty"`WorkspaceId []byte `protobuf:"bytes,14,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`WorkspaceNamestring `protobuf:"bytes,16,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`GitAuthConfigsuint32 `protobuf:"varint,2,opt,name=git_auth_configs,json=gitAuthConfigs,proto3" json:"git_auth_configs,omitempty"`EnvironmentVariables map[string]string ``/* 209-byte string literal not displayed */Directorystring `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"`VsCodePortProxyUristring `protobuf:"bytes,5,opt,name=vs_code_port_proxy_uri,json=vsCodePortProxyUri,proto3" json:"vs_code_port_proxy_uri,omitempty"`MotdPathstring `protobuf:"bytes,6,opt,name=motd_path,json=motdPath,proto3" json:"motd_path,omitempty"`DisableDirectConnectionsbool ``/* 136-byte string literal not displayed */DerpForceWebsocketsbool `protobuf:"varint,8,opt,name=derp_force_websockets,json=derpForceWebsockets,proto3" json:"derp_force_websockets,omitempty"`ParentId []byte `protobuf:"bytes,18,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`DerpMap *proto.DERPMap `protobuf:"bytes,9,opt,name=derp_map,json=derpMap,proto3" json:"derp_map,omitempty"`Scripts []*WorkspaceAgentScript `protobuf:"bytes,10,rep,name=scripts,proto3" json:"scripts,omitempty"`Apps []*WorkspaceApp `protobuf:"bytes,11,rep,name=apps,proto3" json:"apps,omitempty"`Metadata []*WorkspaceAgentMetadata_Description `protobuf:"bytes,12,rep,name=metadata,proto3" json:"metadata,omitempty"`Devcontainers []*WorkspaceAgentDevcontainer `protobuf:"bytes,17,rep,name=devcontainers,proto3" json:"devcontainers,omitempty"`// contains filtered or unexported fields}
func (*Manifest)Descriptordeprecated
func (*Manifest)GetAgentId¶added inv2.6.0
func (*Manifest)GetAgentName¶added inv2.7.0
func (*Manifest)GetApps¶
func (x *Manifest) GetApps() []*WorkspaceApp
func (*Manifest)GetDerpForceWebsockets¶added inv2.6.0
func (*Manifest)GetDerpMap¶
func (*Manifest)GetDevcontainers¶added inv2.21.0
func (x *Manifest) GetDevcontainers() []*WorkspaceAgentDevcontainer
func (*Manifest)GetDirectory¶added inv2.6.0
func (*Manifest)GetDisableDirectConnections¶added inv2.6.0
func (*Manifest)GetEnvironmentVariables¶added inv2.6.0
func (*Manifest)GetGitAuthConfigs¶
func (*Manifest)GetMetadata¶added inv2.6.0
func (x *Manifest) GetMetadata() []*WorkspaceAgentMetadata_Description
func (*Manifest)GetMotdPath¶added inv2.6.0
func (*Manifest)GetOwnerUsername¶added inv2.6.0
func (*Manifest)GetParentId¶added inv2.23.0
func (*Manifest)GetScripts¶added inv2.6.0
func (x *Manifest) GetScripts() []*WorkspaceAgentScript
func (*Manifest)GetVsCodePortProxyUri¶
func (*Manifest)GetWorkspaceId¶added inv2.6.0
func (*Manifest)GetWorkspaceName¶added inv2.7.0
func (*Manifest)ProtoMessage¶
func (*Manifest) ProtoMessage()
func (*Manifest)ProtoReflect¶
func (x *Manifest) ProtoReflect()protoreflect.Message
typeMetadata¶
type Metadata struct {Keystring `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`Result *WorkspaceAgentMetadata_Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`// contains filtered or unexported fields}
func (*Metadata)Descriptordeprecated
func (*Metadata)GetResult¶added inv2.6.0
func (x *Metadata) GetResult() *WorkspaceAgentMetadata_Result
func (*Metadata)ProtoMessage¶
func (*Metadata) ProtoMessage()
func (*Metadata)ProtoReflect¶
func (x *Metadata) ProtoReflect()protoreflect.Message
typePushResourcesMonitoringUsageRequest¶added inv2.20.0
type PushResourcesMonitoringUsageRequest struct {Datapoints []*PushResourcesMonitoringUsageRequest_Datapoint `protobuf:"bytes,1,rep,name=datapoints,proto3" json:"datapoints,omitempty"`// contains filtered or unexported fields}
func (*PushResourcesMonitoringUsageRequest)Descriptordeprecatedadded inv2.20.0
func (*PushResourcesMonitoringUsageRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushResourcesMonitoringUsageRequest.ProtoReflect.Descriptor instead.
func (*PushResourcesMonitoringUsageRequest)GetDatapoints¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest) GetDatapoints() []*PushResourcesMonitoringUsageRequest_Datapoint
func (*PushResourcesMonitoringUsageRequest)ProtoMessage¶added inv2.20.0
func (*PushResourcesMonitoringUsageRequest) ProtoMessage()
func (*PushResourcesMonitoringUsageRequest)ProtoReflect¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest) ProtoReflect()protoreflect.Message
func (*PushResourcesMonitoringUsageRequest)Reset¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest) Reset()
func (*PushResourcesMonitoringUsageRequest)String¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest) String()string
typePushResourcesMonitoringUsageRequest_Datapoint¶added inv2.20.0
type PushResourcesMonitoringUsageRequest_Datapoint struct {CollectedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=collected_at,json=collectedAt,proto3" json:"collected_at,omitempty"`Memory *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage `protobuf:"bytes,2,opt,name=memory,proto3,oneof" json:"memory,omitempty"`Volumes []*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage `protobuf:"bytes,3,rep,name=volumes,proto3" json:"volumes,omitempty"`// contains filtered or unexported fields}
func (*PushResourcesMonitoringUsageRequest_Datapoint)Descriptordeprecatedadded inv2.20.0
func (*PushResourcesMonitoringUsageRequest_Datapoint) Descriptor() ([]byte, []int)
Deprecated: Use PushResourcesMonitoringUsageRequest_Datapoint.ProtoReflect.Descriptor instead.
func (*PushResourcesMonitoringUsageRequest_Datapoint)GetCollectedAt¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint) GetCollectedAt() *timestamppb.Timestamp
func (*PushResourcesMonitoringUsageRequest_Datapoint)GetVolumes¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint) GetVolumes() []*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage
func (*PushResourcesMonitoringUsageRequest_Datapoint)ProtoMessage¶added inv2.20.0
func (*PushResourcesMonitoringUsageRequest_Datapoint) ProtoMessage()
func (*PushResourcesMonitoringUsageRequest_Datapoint)ProtoReflect¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint) ProtoReflect()protoreflect.Message
func (*PushResourcesMonitoringUsageRequest_Datapoint)Reset¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint) Reset()
func (*PushResourcesMonitoringUsageRequest_Datapoint)String¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint) String()string
typePushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage¶added inv2.20.0
type PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage struct {Usedint64 `protobuf:"varint,1,opt,name=used,proto3" json:"used,omitempty"`Totalint64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`// contains filtered or unexported fields}
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage)Descriptordeprecatedadded inv2.20.0
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) Descriptor() ([]byte, []int)
Deprecated: Use PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage.ProtoReflect.Descriptor instead.
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage)GetTotal¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) GetTotal()int64
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage)GetUsed¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) GetUsed()int64
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage)ProtoMessage¶added inv2.20.0
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) ProtoMessage()
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage)ProtoReflect¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) ProtoReflect()protoreflect.Message
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage)Reset¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) Reset()
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage)String¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) String()string
typePushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage¶added inv2.20.0
type PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage struct {Volumestring `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`Usedint64 `protobuf:"varint,2,opt,name=used,proto3" json:"used,omitempty"`Totalint64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`// contains filtered or unexported fields}
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage)Descriptordeprecatedadded inv2.20.0
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) Descriptor() ([]byte, []int)
Deprecated: Use PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage.ProtoReflect.Descriptor instead.
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage)GetTotal¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) GetTotal()int64
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage)GetUsed¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) GetUsed()int64
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage)GetVolume¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) GetVolume()string
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage)ProtoMessage¶added inv2.20.0
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) ProtoMessage()
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage)ProtoReflect¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) ProtoReflect()protoreflect.Message
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage)Reset¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) Reset()
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage)String¶added inv2.20.0
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) String()string
typePushResourcesMonitoringUsageResponse¶added inv2.20.0
type PushResourcesMonitoringUsageResponse struct {// contains filtered or unexported fields}
func (*PushResourcesMonitoringUsageResponse)Descriptordeprecatedadded inv2.20.0
func (*PushResourcesMonitoringUsageResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushResourcesMonitoringUsageResponse.ProtoReflect.Descriptor instead.
func (*PushResourcesMonitoringUsageResponse)ProtoMessage¶added inv2.20.0
func (*PushResourcesMonitoringUsageResponse) ProtoMessage()
func (*PushResourcesMonitoringUsageResponse)ProtoReflect¶added inv2.20.0
func (x *PushResourcesMonitoringUsageResponse) ProtoReflect()protoreflect.Message
func (*PushResourcesMonitoringUsageResponse)Reset¶added inv2.20.0
func (x *PushResourcesMonitoringUsageResponse) Reset()
func (*PushResourcesMonitoringUsageResponse)String¶added inv2.20.0
func (x *PushResourcesMonitoringUsageResponse) String()string
typeReportConnectionRequest¶added inv2.20.0
type ReportConnectionRequest struct {Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`// contains filtered or unexported fields}
func (*ReportConnectionRequest)Descriptordeprecatedadded inv2.20.0
func (*ReportConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportConnectionRequest.ProtoReflect.Descriptor instead.
func (*ReportConnectionRequest)GetConnection¶added inv2.20.0
func (x *ReportConnectionRequest) GetConnection() *Connection
func (*ReportConnectionRequest)ProtoMessage¶added inv2.20.0
func (*ReportConnectionRequest) ProtoMessage()
func (*ReportConnectionRequest)ProtoReflect¶added inv2.20.0
func (x *ReportConnectionRequest) ProtoReflect()protoreflect.Message
func (*ReportConnectionRequest)Reset¶added inv2.20.0
func (x *ReportConnectionRequest) Reset()
func (*ReportConnectionRequest)String¶added inv2.20.0
func (x *ReportConnectionRequest) String()string
typeServiceBanner¶
type ServiceBanner struct {Enabledbool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`Messagestring `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`BackgroundColorstring `protobuf:"bytes,3,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`// contains filtered or unexported fields}
func (*ServiceBanner)Descriptordeprecated
func (*ServiceBanner) Descriptor() ([]byte, []int)
Deprecated: Use ServiceBanner.ProtoReflect.Descriptor instead.
func (*ServiceBanner)GetBackgroundColor¶
func (x *ServiceBanner) GetBackgroundColor()string
func (*ServiceBanner)GetEnabled¶
func (x *ServiceBanner) GetEnabled()bool
func (*ServiceBanner)GetMessage¶
func (x *ServiceBanner) GetMessage()string
func (*ServiceBanner)ProtoMessage¶
func (*ServiceBanner) ProtoMessage()
func (*ServiceBanner)ProtoReflect¶
func (x *ServiceBanner) ProtoReflect()protoreflect.Message
func (*ServiceBanner)Reset¶
func (x *ServiceBanner) Reset()
func (*ServiceBanner)String¶
func (x *ServiceBanner) String()string
typeStartup¶
type Startup struct {Versionstring `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`ExpandedDirectorystring `protobuf:"bytes,2,opt,name=expanded_directory,json=expandedDirectory,proto3" json:"expanded_directory,omitempty"`Subsystems []Startup_Subsystem `protobuf:"varint,3,rep,packed,name=subsystems,proto3,enum=coder.agent.v2.Startup_Subsystem" json:"subsystems,omitempty"`// contains filtered or unexported fields}
func (*Startup)Descriptordeprecated
func (*Startup)GetExpandedDirectory¶
func (*Startup)GetSubsystems¶
func (x *Startup) GetSubsystems() []Startup_Subsystem
func (*Startup)GetVersion¶
func (*Startup)ProtoMessage¶
func (*Startup) ProtoMessage()
func (*Startup)ProtoReflect¶
func (x *Startup) ProtoReflect()protoreflect.Message
typeStartup_Subsystem¶added inv2.6.0
type Startup_Subsystemint32
const (Startup_SUBSYSTEM_UNSPECIFIEDStartup_Subsystem = 0Startup_ENVBOXStartup_Subsystem = 1Startup_ENVBUILDERStartup_Subsystem = 2Startup_EXECTRACEStartup_Subsystem = 3)
func (Startup_Subsystem)Descriptor¶added inv2.6.0
func (Startup_Subsystem) Descriptor()protoreflect.EnumDescriptor
func (Startup_Subsystem)Enum¶added inv2.6.0
func (xStartup_Subsystem) Enum() *Startup_Subsystem
func (Startup_Subsystem)EnumDescriptordeprecatedadded inv2.6.0
func (Startup_Subsystem) EnumDescriptor() ([]byte, []int)
Deprecated: Use Startup_Subsystem.Descriptor instead.
func (Startup_Subsystem)Number¶added inv2.6.0
func (xStartup_Subsystem) Number()protoreflect.EnumNumber
func (Startup_Subsystem)String¶added inv2.6.0
func (xStartup_Subsystem) String()string
func (Startup_Subsystem)Type¶added inv2.6.0
func (Startup_Subsystem) Type()protoreflect.EnumType
typeStats¶
type Stats struct {// ConnectionsByProto is a count of connections by protocol.ConnectionsByProto map[string]int64 ``/* 206-byte string literal not displayed */// ConnectionCount is the number of connections received by an agent.ConnectionCountint64 `protobuf:"varint,2,opt,name=connection_count,json=connectionCount,proto3" json:"connection_count,omitempty"`// ConnectionMedianLatencyMS is the median latency of all connections in milliseconds.ConnectionMedianLatencyMsfloat64 ``/* 142-byte string literal not displayed */// RxPackets is the number of received packets.RxPacketsint64 `protobuf:"varint,4,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`// RxBytes is the number of received bytes.RxBytesint64 `protobuf:"varint,5,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`// TxPackets is the number of transmitted bytes.TxPacketsint64 `protobuf:"varint,6,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`// TxBytes is the number of transmitted bytes.TxBytesint64 `protobuf:"varint,7,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`// SessionCountVSCode is the number of connections received by an agent// that are from our VS Code extension.SessionCountVscodeint64 `protobuf:"varint,8,opt,name=session_count_vscode,json=sessionCountVscode,proto3" json:"session_count_vscode,omitempty"`// SessionCountJetBrains is the number of connections received by an agent// that are from our JetBrains extension.SessionCountJetbrainsint64 ``/* 127-byte string literal not displayed */// SessionCountReconnectingPTY is the number of connections received by an agent// that are from the reconnecting web terminal.SessionCountReconnectingPtyint64 ``/* 148-byte string literal not displayed */// SessionCountSSH is the number of connections received by an agent// that are normal, non-tagged SSH sessions.SessionCountSshint64 `protobuf:"varint,11,opt,name=session_count_ssh,json=sessionCountSsh,proto3" json:"session_count_ssh,omitempty"`Metrics []*Stats_Metric `protobuf:"bytes,12,rep,name=metrics,proto3" json:"metrics,omitempty"`// contains filtered or unexported fields}
func (*Stats)Descriptordeprecated
func (*Stats)GetConnectionCount¶
func (*Stats)GetConnectionMedianLatencyMs¶
func (*Stats)GetConnectionsByProto¶
func (*Stats)GetMetrics¶added inv2.6.0
func (x *Stats) GetMetrics() []*Stats_Metric
func (*Stats)GetRxBytes¶
func (*Stats)GetRxPackets¶
func (*Stats)GetSessionCountJetbrains¶
func (*Stats)GetSessionCountReconnectingPty¶
func (*Stats)GetSessionCountSsh¶
func (*Stats)GetSessionCountVscode¶
func (*Stats)GetTxBytes¶
func (*Stats)GetTxPackets¶
func (*Stats)ProtoMessage¶
func (*Stats) ProtoMessage()
func (*Stats)ProtoReflect¶
func (x *Stats) ProtoReflect()protoreflect.Message
typeStats_Metric¶
type Stats_Metric struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`TypeStats_Metric_Type `protobuf:"varint,2,opt,name=type,proto3,enum=coder.agent.v2.Stats_Metric_Type" json:"type,omitempty"`Valuefloat64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`Labels []*Stats_Metric_Label `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`// contains filtered or unexported fields}
func (*Stats_Metric)Descriptordeprecated
func (*Stats_Metric) Descriptor() ([]byte, []int)
Deprecated: Use Stats_Metric.ProtoReflect.Descriptor instead.
func (*Stats_Metric)GetLabels¶
func (x *Stats_Metric) GetLabels() []*Stats_Metric_Label
func (*Stats_Metric)GetName¶
func (x *Stats_Metric) GetName()string
func (*Stats_Metric)GetType¶
func (x *Stats_Metric) GetType()Stats_Metric_Type
func (*Stats_Metric)GetValue¶
func (x *Stats_Metric) GetValue()float64
func (*Stats_Metric)ProtoMessage¶
func (*Stats_Metric) ProtoMessage()
func (*Stats_Metric)ProtoReflect¶
func (x *Stats_Metric) ProtoReflect()protoreflect.Message
func (*Stats_Metric)Reset¶
func (x *Stats_Metric) Reset()
func (*Stats_Metric)String¶
func (x *Stats_Metric) String()string
typeStats_Metric_Label¶added inv2.6.0
type Stats_Metric_Label struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Valuestring `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}
func (*Stats_Metric_Label)Descriptordeprecatedadded inv2.6.0
func (*Stats_Metric_Label) Descriptor() ([]byte, []int)
Deprecated: Use Stats_Metric_Label.ProtoReflect.Descriptor instead.
func (*Stats_Metric_Label)GetName¶added inv2.6.0
func (x *Stats_Metric_Label) GetName()string
func (*Stats_Metric_Label)GetValue¶added inv2.6.0
func (x *Stats_Metric_Label) GetValue()string
func (*Stats_Metric_Label)ProtoMessage¶added inv2.6.0
func (*Stats_Metric_Label) ProtoMessage()
func (*Stats_Metric_Label)ProtoReflect¶added inv2.6.0
func (x *Stats_Metric_Label) ProtoReflect()protoreflect.Message
func (*Stats_Metric_Label)Reset¶added inv2.6.0
func (x *Stats_Metric_Label) Reset()
func (*Stats_Metric_Label)String¶added inv2.6.0
func (x *Stats_Metric_Label) String()string
typeStats_Metric_Type¶
type Stats_Metric_Typeint32
const (Stats_Metric_TYPE_UNSPECIFIEDStats_Metric_Type = 0Stats_Metric_COUNTERStats_Metric_Type = 1Stats_Metric_GAUGEStats_Metric_Type = 2)
func (Stats_Metric_Type)Descriptor¶
func (Stats_Metric_Type) Descriptor()protoreflect.EnumDescriptor
func (Stats_Metric_Type)Enum¶
func (xStats_Metric_Type) Enum() *Stats_Metric_Type
func (Stats_Metric_Type)EnumDescriptordeprecated
func (Stats_Metric_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Stats_Metric_Type.Descriptor instead.
func (Stats_Metric_Type)Number¶
func (xStats_Metric_Type) Number()protoreflect.EnumNumber
func (Stats_Metric_Type)String¶
func (xStats_Metric_Type) String()string
func (Stats_Metric_Type)Type¶
func (Stats_Metric_Type) Type()protoreflect.EnumType
typeTiming¶added inv2.16.0
type Timing struct {ScriptId []byte `protobuf:"bytes,1,opt,name=script_id,json=scriptId,proto3" json:"script_id,omitempty"`Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`ExitCodeint32 `protobuf:"varint,4,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`StageTiming_Stage `protobuf:"varint,5,opt,name=stage,proto3,enum=coder.agent.v2.Timing_Stage" json:"stage,omitempty"`StatusTiming_Status `protobuf:"varint,6,opt,name=status,proto3,enum=coder.agent.v2.Timing_Status" json:"status,omitempty"`// contains filtered or unexported fields}
func (*Timing)Descriptordeprecatedadded inv2.16.0
func (*Timing)GetEnd¶added inv2.16.0
func (x *Timing) GetEnd() *timestamppb.Timestamp
func (*Timing)GetExitCode¶added inv2.16.0
func (*Timing)GetScriptId¶added inv2.16.0
func (*Timing)GetStage¶added inv2.16.0
func (x *Timing) GetStage()Timing_Stage
func (*Timing)GetStart¶added inv2.16.0
func (x *Timing) GetStart() *timestamppb.Timestamp
func (*Timing)GetStatus¶added inv2.16.0
func (x *Timing) GetStatus()Timing_Status
func (*Timing)ProtoMessage¶added inv2.16.0
func (*Timing) ProtoMessage()
func (*Timing)ProtoReflect¶added inv2.16.0
func (x *Timing) ProtoReflect()protoreflect.Message
typeTiming_Stage¶added inv2.16.0
type Timing_Stageint32
const (Timing_STARTTiming_Stage = 0Timing_STOPTiming_Stage = 1Timing_CRONTiming_Stage = 2)
func (Timing_Stage)Descriptor¶added inv2.16.0
func (Timing_Stage) Descriptor()protoreflect.EnumDescriptor
func (Timing_Stage)Enum¶added inv2.16.0
func (xTiming_Stage) Enum() *Timing_Stage
func (Timing_Stage)EnumDescriptordeprecatedadded inv2.16.0
func (Timing_Stage) EnumDescriptor() ([]byte, []int)
Deprecated: Use Timing_Stage.Descriptor instead.
func (Timing_Stage)Number¶added inv2.16.0
func (xTiming_Stage) Number()protoreflect.EnumNumber
func (Timing_Stage)String¶added inv2.16.0
func (xTiming_Stage) String()string
func (Timing_Stage)Type¶added inv2.16.0
func (Timing_Stage) Type()protoreflect.EnumType
typeTiming_Status¶added inv2.16.0
type Timing_Statusint32
const (Timing_OKTiming_Status = 0Timing_EXIT_FAILURETiming_Status = 1Timing_TIMED_OUTTiming_Status = 2Timing_PIPES_LEFT_OPENTiming_Status = 3)
func (Timing_Status)Descriptor¶added inv2.16.0
func (Timing_Status) Descriptor()protoreflect.EnumDescriptor
func (Timing_Status)Enum¶added inv2.16.0
func (xTiming_Status) Enum() *Timing_Status
func (Timing_Status)EnumDescriptordeprecatedadded inv2.16.0
func (Timing_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Timing_Status.Descriptor instead.
func (Timing_Status)Number¶added inv2.16.0
func (xTiming_Status) Number()protoreflect.EnumNumber
func (Timing_Status)String¶added inv2.16.0
func (xTiming_Status) String()string
func (Timing_Status)Type¶added inv2.16.0
func (Timing_Status) Type()protoreflect.EnumType
typeUpdateLifecycleRequest¶
type UpdateLifecycleRequest struct {Lifecycle *Lifecycle `protobuf:"bytes,1,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`// contains filtered or unexported fields}
func (*UpdateLifecycleRequest)Descriptordeprecated
func (*UpdateLifecycleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLifecycleRequest.ProtoReflect.Descriptor instead.
func (*UpdateLifecycleRequest)GetLifecycle¶
func (x *UpdateLifecycleRequest) GetLifecycle() *Lifecycle
func (*UpdateLifecycleRequest)ProtoMessage¶
func (*UpdateLifecycleRequest) ProtoMessage()
func (*UpdateLifecycleRequest)ProtoReflect¶
func (x *UpdateLifecycleRequest) ProtoReflect()protoreflect.Message
func (*UpdateLifecycleRequest)Reset¶
func (x *UpdateLifecycleRequest) Reset()
func (*UpdateLifecycleRequest)String¶
func (x *UpdateLifecycleRequest) String()string
typeUpdateStartupRequest¶
type UpdateStartupRequest struct {Startup *Startup `protobuf:"bytes,1,opt,name=startup,proto3" json:"startup,omitempty"`// contains filtered or unexported fields}
func (*UpdateStartupRequest)Descriptordeprecated
func (*UpdateStartupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStartupRequest.ProtoReflect.Descriptor instead.
func (*UpdateStartupRequest)GetStartup¶
func (x *UpdateStartupRequest) GetStartup() *Startup
func (*UpdateStartupRequest)ProtoMessage¶
func (*UpdateStartupRequest) ProtoMessage()
func (*UpdateStartupRequest)ProtoReflect¶
func (x *UpdateStartupRequest) ProtoReflect()protoreflect.Message
func (*UpdateStartupRequest)Reset¶
func (x *UpdateStartupRequest) Reset()
func (*UpdateStartupRequest)String¶
func (x *UpdateStartupRequest) String()string
typeUpdateStatsRequest¶
type UpdateStatsRequest struct {Stats *Stats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`// contains filtered or unexported fields}
func (*UpdateStatsRequest)Descriptordeprecated
func (*UpdateStatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStatsRequest.ProtoReflect.Descriptor instead.
func (*UpdateStatsRequest)GetStats¶
func (x *UpdateStatsRequest) GetStats() *Stats
func (*UpdateStatsRequest)ProtoMessage¶
func (*UpdateStatsRequest) ProtoMessage()
func (*UpdateStatsRequest)ProtoReflect¶
func (x *UpdateStatsRequest) ProtoReflect()protoreflect.Message
func (*UpdateStatsRequest)Reset¶
func (x *UpdateStatsRequest) Reset()
func (*UpdateStatsRequest)String¶
func (x *UpdateStatsRequest) String()string
typeUpdateStatsResponse¶
type UpdateStatsResponse struct {ReportInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=report_interval,json=reportInterval,proto3" json:"report_interval,omitempty"`// contains filtered or unexported fields}
func (*UpdateStatsResponse)Descriptordeprecated
func (*UpdateStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStatsResponse.ProtoReflect.Descriptor instead.
func (*UpdateStatsResponse)GetReportInterval¶added inv2.6.0
func (x *UpdateStatsResponse) GetReportInterval() *durationpb.Duration
func (*UpdateStatsResponse)ProtoMessage¶
func (*UpdateStatsResponse) ProtoMessage()
func (*UpdateStatsResponse)ProtoReflect¶
func (x *UpdateStatsResponse) ProtoReflect()protoreflect.Message
func (*UpdateStatsResponse)Reset¶
func (x *UpdateStatsResponse) Reset()
func (*UpdateStatsResponse)String¶
func (x *UpdateStatsResponse) String()string
typeWorkspaceAgentDevcontainer¶added inv2.21.0
type WorkspaceAgentDevcontainer struct {Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`WorkspaceFolderstring `protobuf:"bytes,2,opt,name=workspace_folder,json=workspaceFolder,proto3" json:"workspace_folder,omitempty"`ConfigPathstring `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`Namestring `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`// contains filtered or unexported fields}
func (*WorkspaceAgentDevcontainer)Descriptordeprecatedadded inv2.21.0
func (*WorkspaceAgentDevcontainer) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentDevcontainer.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentDevcontainer)GetConfigPath¶added inv2.21.0
func (x *WorkspaceAgentDevcontainer) GetConfigPath()string
func (*WorkspaceAgentDevcontainer)GetId¶added inv2.21.0
func (x *WorkspaceAgentDevcontainer) GetId() []byte
func (*WorkspaceAgentDevcontainer)GetName¶added inv2.21.0
func (x *WorkspaceAgentDevcontainer) GetName()string
func (*WorkspaceAgentDevcontainer)GetWorkspaceFolder¶added inv2.21.0
func (x *WorkspaceAgentDevcontainer) GetWorkspaceFolder()string
func (*WorkspaceAgentDevcontainer)ProtoMessage¶added inv2.21.0
func (*WorkspaceAgentDevcontainer) ProtoMessage()
func (*WorkspaceAgentDevcontainer)ProtoReflect¶added inv2.21.0
func (x *WorkspaceAgentDevcontainer) ProtoReflect()protoreflect.Message
func (*WorkspaceAgentDevcontainer)Reset¶added inv2.21.0
func (x *WorkspaceAgentDevcontainer) Reset()
func (*WorkspaceAgentDevcontainer)String¶added inv2.21.0
func (x *WorkspaceAgentDevcontainer) String()string
typeWorkspaceAgentMetadata¶added inv2.6.0
type WorkspaceAgentMetadata struct {Result *WorkspaceAgentMetadata_Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`Description *WorkspaceAgentMetadata_Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`// contains filtered or unexported fields}
func (*WorkspaceAgentMetadata)Descriptordeprecatedadded inv2.6.0
func (*WorkspaceAgentMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentMetadata.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentMetadata)GetDescription¶added inv2.6.0
func (x *WorkspaceAgentMetadata) GetDescription() *WorkspaceAgentMetadata_Description
func (*WorkspaceAgentMetadata)GetResult¶added inv2.6.0
func (x *WorkspaceAgentMetadata) GetResult() *WorkspaceAgentMetadata_Result
func (*WorkspaceAgentMetadata)ProtoMessage¶added inv2.6.0
func (*WorkspaceAgentMetadata) ProtoMessage()
func (*WorkspaceAgentMetadata)ProtoReflect¶added inv2.6.0
func (x *WorkspaceAgentMetadata) ProtoReflect()protoreflect.Message
func (*WorkspaceAgentMetadata)Reset¶added inv2.6.0
func (x *WorkspaceAgentMetadata) Reset()
func (*WorkspaceAgentMetadata)String¶added inv2.6.0
func (x *WorkspaceAgentMetadata) String()string
typeWorkspaceAgentMetadata_Description¶added inv2.6.0
type WorkspaceAgentMetadata_Description struct {DisplayNamestring `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`Keystring `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`Scriptstring `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`Interval *durationpb.Duration `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"`Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`// contains filtered or unexported fields}
func (*WorkspaceAgentMetadata_Description)Descriptordeprecatedadded inv2.6.0
func (*WorkspaceAgentMetadata_Description) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentMetadata_Description.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentMetadata_Description)GetDisplayName¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Description) GetDisplayName()string
func (*WorkspaceAgentMetadata_Description)GetInterval¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Description) GetInterval() *durationpb.Duration
func (*WorkspaceAgentMetadata_Description)GetKey¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Description) GetKey()string
func (*WorkspaceAgentMetadata_Description)GetScript¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Description) GetScript()string
func (*WorkspaceAgentMetadata_Description)GetTimeout¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Description) GetTimeout() *durationpb.Duration
func (*WorkspaceAgentMetadata_Description)ProtoMessage¶added inv2.6.0
func (*WorkspaceAgentMetadata_Description) ProtoMessage()
func (*WorkspaceAgentMetadata_Description)ProtoReflect¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Description) ProtoReflect()protoreflect.Message
func (*WorkspaceAgentMetadata_Description)Reset¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Description) Reset()
func (*WorkspaceAgentMetadata_Description)String¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Description) String()string
typeWorkspaceAgentMetadata_Result¶added inv2.6.0
type WorkspaceAgentMetadata_Result struct {CollectedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=collected_at,json=collectedAt,proto3" json:"collected_at,omitempty"`Ageint64 `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"`Valuestring `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`Errorstring `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`// contains filtered or unexported fields}
func (*WorkspaceAgentMetadata_Result)Descriptordeprecatedadded inv2.6.0
func (*WorkspaceAgentMetadata_Result) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentMetadata_Result.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentMetadata_Result)GetAge¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Result) GetAge()int64
func (*WorkspaceAgentMetadata_Result)GetCollectedAt¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Result) GetCollectedAt() *timestamppb.Timestamp
func (*WorkspaceAgentMetadata_Result)GetError¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Result) GetError()string
func (*WorkspaceAgentMetadata_Result)GetValue¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Result) GetValue()string
func (*WorkspaceAgentMetadata_Result)ProtoMessage¶added inv2.6.0
func (*WorkspaceAgentMetadata_Result) ProtoMessage()
func (*WorkspaceAgentMetadata_Result)ProtoReflect¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Result) ProtoReflect()protoreflect.Message
func (*WorkspaceAgentMetadata_Result)Reset¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Result) Reset()
func (*WorkspaceAgentMetadata_Result)String¶added inv2.6.0
func (x *WorkspaceAgentMetadata_Result) String()string
typeWorkspaceAgentScript¶added inv2.6.0
type WorkspaceAgentScript struct {LogSourceId []byte `protobuf:"bytes,1,opt,name=log_source_id,json=logSourceId,proto3" json:"log_source_id,omitempty"`LogPathstring `protobuf:"bytes,2,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"`Scriptstring `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`Cronstring `protobuf:"bytes,4,opt,name=cron,proto3" json:"cron,omitempty"`RunOnStartbool `protobuf:"varint,5,opt,name=run_on_start,json=runOnStart,proto3" json:"run_on_start,omitempty"`RunOnStopbool `protobuf:"varint,6,opt,name=run_on_stop,json=runOnStop,proto3" json:"run_on_stop,omitempty"`StartBlocksLoginbool `protobuf:"varint,7,opt,name=start_blocks_login,json=startBlocksLogin,proto3" json:"start_blocks_login,omitempty"`Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`DisplayNamestring `protobuf:"bytes,9,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`Id []byte `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`// contains filtered or unexported fields}
func (*WorkspaceAgentScript)Descriptordeprecatedadded inv2.6.0
func (*WorkspaceAgentScript) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentScript.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentScript)GetCron¶added inv2.6.0
func (x *WorkspaceAgentScript) GetCron()string
func (*WorkspaceAgentScript)GetDisplayName¶added inv2.16.0
func (x *WorkspaceAgentScript) GetDisplayName()string
func (*WorkspaceAgentScript)GetId¶added inv2.16.0
func (x *WorkspaceAgentScript) GetId() []byte
func (*WorkspaceAgentScript)GetLogPath¶added inv2.6.0
func (x *WorkspaceAgentScript) GetLogPath()string
func (*WorkspaceAgentScript)GetLogSourceId¶added inv2.6.0
func (x *WorkspaceAgentScript) GetLogSourceId() []byte
func (*WorkspaceAgentScript)GetRunOnStart¶added inv2.6.0
func (x *WorkspaceAgentScript) GetRunOnStart()bool
func (*WorkspaceAgentScript)GetRunOnStop¶added inv2.6.0
func (x *WorkspaceAgentScript) GetRunOnStop()bool
func (*WorkspaceAgentScript)GetScript¶added inv2.6.0
func (x *WorkspaceAgentScript) GetScript()string
func (*WorkspaceAgentScript)GetStartBlocksLogin¶added inv2.6.0
func (x *WorkspaceAgentScript) GetStartBlocksLogin()bool
func (*WorkspaceAgentScript)GetTimeout¶added inv2.6.0
func (x *WorkspaceAgentScript) GetTimeout() *durationpb.Duration
func (*WorkspaceAgentScript)ProtoMessage¶added inv2.6.0
func (*WorkspaceAgentScript) ProtoMessage()
func (*WorkspaceAgentScript)ProtoReflect¶added inv2.6.0
func (x *WorkspaceAgentScript) ProtoReflect()protoreflect.Message
func (*WorkspaceAgentScript)Reset¶added inv2.6.0
func (x *WorkspaceAgentScript) Reset()
func (*WorkspaceAgentScript)String¶added inv2.6.0
func (x *WorkspaceAgentScript) String()string
typeWorkspaceAgentScriptCompletedRequest¶added inv2.16.0
type WorkspaceAgentScriptCompletedRequest struct {Timing *Timing `protobuf:"bytes,1,opt,name=timing,proto3" json:"timing,omitempty"`// contains filtered or unexported fields}
func (*WorkspaceAgentScriptCompletedRequest)Descriptordeprecatedadded inv2.16.0
func (*WorkspaceAgentScriptCompletedRequest) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentScriptCompletedRequest.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentScriptCompletedRequest)GetTiming¶added inv2.16.0
func (x *WorkspaceAgentScriptCompletedRequest) GetTiming() *Timing
func (*WorkspaceAgentScriptCompletedRequest)ProtoMessage¶added inv2.16.0
func (*WorkspaceAgentScriptCompletedRequest) ProtoMessage()
func (*WorkspaceAgentScriptCompletedRequest)ProtoReflect¶added inv2.16.0
func (x *WorkspaceAgentScriptCompletedRequest) ProtoReflect()protoreflect.Message
func (*WorkspaceAgentScriptCompletedRequest)Reset¶added inv2.16.0
func (x *WorkspaceAgentScriptCompletedRequest) Reset()
func (*WorkspaceAgentScriptCompletedRequest)String¶added inv2.16.0
func (x *WorkspaceAgentScriptCompletedRequest) String()string
typeWorkspaceAgentScriptCompletedResponse¶added inv2.16.0
type WorkspaceAgentScriptCompletedResponse struct {// contains filtered or unexported fields}
func (*WorkspaceAgentScriptCompletedResponse)Descriptordeprecatedadded inv2.16.0
func (*WorkspaceAgentScriptCompletedResponse) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentScriptCompletedResponse.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentScriptCompletedResponse)ProtoMessage¶added inv2.16.0
func (*WorkspaceAgentScriptCompletedResponse) ProtoMessage()
func (*WorkspaceAgentScriptCompletedResponse)ProtoReflect¶added inv2.16.0
func (x *WorkspaceAgentScriptCompletedResponse) ProtoReflect()protoreflect.Message
func (*WorkspaceAgentScriptCompletedResponse)Reset¶added inv2.16.0
func (x *WorkspaceAgentScriptCompletedResponse) Reset()
func (*WorkspaceAgentScriptCompletedResponse)String¶added inv2.16.0
func (x *WorkspaceAgentScriptCompletedResponse) String()string
typeWorkspaceApp¶
type WorkspaceApp struct {Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`Urlstring `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`Externalbool `protobuf:"varint,3,opt,name=external,proto3" json:"external,omitempty"`Slugstring `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"`DisplayNamestring `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`Commandstring `protobuf:"bytes,6,opt,name=command,proto3" json:"command,omitempty"`Iconstring `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`Subdomainbool `protobuf:"varint,8,opt,name=subdomain,proto3" json:"subdomain,omitempty"`SubdomainNamestring `protobuf:"bytes,9,opt,name=subdomain_name,json=subdomainName,proto3" json:"subdomain_name,omitempty"`SharingLevelWorkspaceApp_SharingLevel ``/* 145-byte string literal not displayed */Healthcheck *WorkspaceApp_Healthcheck `protobuf:"bytes,11,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"`HealthWorkspaceApp_Health `protobuf:"varint,12,opt,name=health,proto3,enum=coder.agent.v2.WorkspaceApp_Health" json:"health,omitempty"`Hiddenbool `protobuf:"varint,13,opt,name=hidden,proto3" json:"hidden,omitempty"`// contains filtered or unexported fields}
func (*WorkspaceApp)Descriptordeprecated
func (*WorkspaceApp) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceApp.ProtoReflect.Descriptor instead.
func (*WorkspaceApp)GetCommand¶
func (x *WorkspaceApp) GetCommand()string
func (*WorkspaceApp)GetDisplayName¶
func (x *WorkspaceApp) GetDisplayName()string
func (*WorkspaceApp)GetExternal¶
func (x *WorkspaceApp) GetExternal()bool
func (*WorkspaceApp)GetHealth¶
func (x *WorkspaceApp) GetHealth()WorkspaceApp_Health
func (*WorkspaceApp)GetHealthcheck¶
func (x *WorkspaceApp) GetHealthcheck() *WorkspaceApp_Healthcheck
func (*WorkspaceApp)GetHidden¶added inv2.16.0
func (x *WorkspaceApp) GetHidden()bool
func (*WorkspaceApp)GetIcon¶
func (x *WorkspaceApp) GetIcon()string
func (*WorkspaceApp)GetId¶added inv2.6.0
func (x *WorkspaceApp) GetId() []byte
func (*WorkspaceApp)GetSharingLevel¶
func (x *WorkspaceApp) GetSharingLevel()WorkspaceApp_SharingLevel
func (*WorkspaceApp)GetSlug¶
func (x *WorkspaceApp) GetSlug()string
func (*WorkspaceApp)GetSubdomain¶
func (x *WorkspaceApp) GetSubdomain()bool
func (*WorkspaceApp)GetSubdomainName¶
func (x *WorkspaceApp) GetSubdomainName()string
func (*WorkspaceApp)GetUrl¶
func (x *WorkspaceApp) GetUrl()string
func (*WorkspaceApp)ProtoMessage¶
func (*WorkspaceApp) ProtoMessage()
func (*WorkspaceApp)ProtoReflect¶
func (x *WorkspaceApp) ProtoReflect()protoreflect.Message
func (*WorkspaceApp)Reset¶
func (x *WorkspaceApp) Reset()
func (*WorkspaceApp)String¶
func (x *WorkspaceApp) String()string
typeWorkspaceApp_Health¶
type WorkspaceApp_Healthint32
const (WorkspaceApp_HEALTH_UNSPECIFIEDWorkspaceApp_Health = 0WorkspaceApp_DISABLEDWorkspaceApp_Health = 1WorkspaceApp_INITIALIZINGWorkspaceApp_Health = 2WorkspaceApp_HEALTHYWorkspaceApp_Health = 3WorkspaceApp_UNHEALTHYWorkspaceApp_Health = 4)
func (WorkspaceApp_Health)Descriptor¶
func (WorkspaceApp_Health) Descriptor()protoreflect.EnumDescriptor
func (WorkspaceApp_Health)Enum¶
func (xWorkspaceApp_Health) Enum() *WorkspaceApp_Health
func (WorkspaceApp_Health)EnumDescriptordeprecated
func (WorkspaceApp_Health) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceApp_Health.Descriptor instead.
func (WorkspaceApp_Health)Number¶
func (xWorkspaceApp_Health) Number()protoreflect.EnumNumber
func (WorkspaceApp_Health)String¶
func (xWorkspaceApp_Health) String()string
func (WorkspaceApp_Health)Type¶
func (WorkspaceApp_Health) Type()protoreflect.EnumType
typeWorkspaceApp_Healthcheck¶added inv2.6.0
type WorkspaceApp_Healthcheck struct {Urlstring `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`Thresholdint32 `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"`// contains filtered or unexported fields}
func (*WorkspaceApp_Healthcheck)Descriptordeprecatedadded inv2.6.0
func (*WorkspaceApp_Healthcheck) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceApp_Healthcheck.ProtoReflect.Descriptor instead.
func (*WorkspaceApp_Healthcheck)GetInterval¶added inv2.6.0
func (x *WorkspaceApp_Healthcheck) GetInterval() *durationpb.Duration
func (*WorkspaceApp_Healthcheck)GetThreshold¶added inv2.6.0
func (x *WorkspaceApp_Healthcheck) GetThreshold()int32
func (*WorkspaceApp_Healthcheck)GetUrl¶added inv2.6.0
func (x *WorkspaceApp_Healthcheck) GetUrl()string
func (*WorkspaceApp_Healthcheck)ProtoMessage¶added inv2.6.0
func (*WorkspaceApp_Healthcheck) ProtoMessage()
func (*WorkspaceApp_Healthcheck)ProtoReflect¶added inv2.6.0
func (x *WorkspaceApp_Healthcheck) ProtoReflect()protoreflect.Message
func (*WorkspaceApp_Healthcheck)Reset¶added inv2.6.0
func (x *WorkspaceApp_Healthcheck) Reset()
func (*WorkspaceApp_Healthcheck)String¶added inv2.6.0
func (x *WorkspaceApp_Healthcheck) String()string
typeWorkspaceApp_SharingLevel¶
type WorkspaceApp_SharingLevelint32
const (WorkspaceApp_SHARING_LEVEL_UNSPECIFIEDWorkspaceApp_SharingLevel = 0WorkspaceApp_OWNERWorkspaceApp_SharingLevel = 1WorkspaceApp_AUTHENTICATEDWorkspaceApp_SharingLevel = 2WorkspaceApp_PUBLICWorkspaceApp_SharingLevel = 3)
func (WorkspaceApp_SharingLevel)Descriptor¶
func (WorkspaceApp_SharingLevel) Descriptor()protoreflect.EnumDescriptor
func (WorkspaceApp_SharingLevel)Enum¶
func (xWorkspaceApp_SharingLevel) Enum() *WorkspaceApp_SharingLevel
func (WorkspaceApp_SharingLevel)EnumDescriptordeprecated
func (WorkspaceApp_SharingLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceApp_SharingLevel.Descriptor instead.
func (WorkspaceApp_SharingLevel)Number¶
func (xWorkspaceApp_SharingLevel) Number()protoreflect.EnumNumber
func (WorkspaceApp_SharingLevel)String¶
func (xWorkspaceApp_SharingLevel) String()string
func (WorkspaceApp_SharingLevel)Type¶
func (WorkspaceApp_SharingLevel) Type()protoreflect.EnumType