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 DRPCAgentClient
- 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) GetServiceBanner(context.Context, *GetServiceBannerRequest) (*ServiceBanner, 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_GetServiceBannerStream
- 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 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) 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) 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
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetKey() string
- func (x *Metadata) GetResult() *WorkspaceAgentMetadata_Result
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) 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 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
- func (*UpdateStatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStatsRequest) GetStats() *Stats
- func (*UpdateStatsRequest) ProtoMessage()
- func (x *UpdateStatsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStatsRequest) Reset()
- func (x *UpdateStatsRequest) String() string
- 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 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) 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 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) 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 CurrentVersion = proto.CurrentVersion
CurrentVersion is the current version of the agent API. It is tied to the tailnet API version to avoid confusion, since agents connect to the tailnet API over the same websocket.
var File_agent_proto_agent_proto protoreflect.FileDescriptor
Functions ¶
func DRPCRegisterAgent ¶
func DRPCRegisterAgent(mux drpc.Mux, impl DRPCAgentServer) error
func LabelsEqual ¶ added in v2.7.0
func LabelsEqual(a, b []*Stats_Metric_Label) bool
Types ¶
type AppHealth ¶
type AppHealth int32
func (AppHealth) Descriptor ¶
func (AppHealth) Descriptor() protoreflect.EnumDescriptor
func (AppHealth) EnumDescriptor
deprecated
func (AppHealth) Number ¶
func (x AppHealth) Number() protoreflect.EnumNumber
func (AppHealth) Type ¶
func (AppHealth) Type() protoreflect.EnumType
type BannerConfig ¶ added in v2.12.0
type BannerConfig struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` BackgroundColor string `protobuf:"bytes,3,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` // contains filtered or unexported fields }
func (*BannerConfig) Descriptor
deprecated
added in
v2.12.0
func (*BannerConfig) Descriptor() ([]byte, []int)
Deprecated: Use BannerConfig.ProtoReflect.Descriptor instead.
func (*BannerConfig) GetBackgroundColor ¶ added in v2.12.0
func (x *BannerConfig) GetBackgroundColor() string
func (*BannerConfig) GetEnabled ¶ added in v2.12.0
func (x *BannerConfig) GetEnabled() bool
func (*BannerConfig) GetMessage ¶ added in v2.12.0
func (x *BannerConfig) GetMessage() string
func (*BannerConfig) ProtoMessage ¶ added in v2.12.0
func (*BannerConfig) ProtoMessage()
func (*BannerConfig) ProtoReflect ¶ added in v2.12.0
func (x *BannerConfig) ProtoReflect() protoreflect.Message
func (*BannerConfig) Reset ¶ added in v2.12.0
func (x *BannerConfig) Reset()
func (*BannerConfig) String ¶ added in v2.12.0
func (x *BannerConfig) String() string
type BatchCreateLogsRequest ¶
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) Descriptor
deprecated
func (*BatchCreateLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateLogsRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateLogsRequest) GetLogSourceId ¶ added in v2.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
type BatchCreateLogsResponse ¶
type BatchCreateLogsResponse struct { LogLimitExceeded bool `protobuf:"varint,1,opt,name=log_limit_exceeded,json=logLimitExceeded,proto3" json:"log_limit_exceeded,omitempty"` // contains filtered or unexported fields }
func (*BatchCreateLogsResponse) Descriptor
deprecated
func (*BatchCreateLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateLogsResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateLogsResponse) GetLogLimitExceeded ¶ added in v2.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
type BatchUpdateAppHealthRequest ¶
type BatchUpdateAppHealthRequest struct { Updates []*BatchUpdateAppHealthRequest_HealthUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` // contains filtered or unexported fields }
func (*BatchUpdateAppHealthRequest) Descriptor
deprecated
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
type BatchUpdateAppHealthRequest_HealthUpdate ¶
type BatchUpdateAppHealthRequest_HealthUpdate struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Health AppHealth `protobuf:"varint,2,opt,name=health,proto3,enum=coder.agent.v2.AppHealth" json:"health,omitempty"` // contains filtered or unexported fields }
func (*BatchUpdateAppHealthRequest_HealthUpdate) Descriptor
deprecated
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 in v2.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
type BatchUpdateAppHealthResponse ¶
type BatchUpdateAppHealthResponse struct {
// contains filtered or unexported fields
}
func (*BatchUpdateAppHealthResponse) Descriptor
deprecated
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
type BatchUpdateMetadataRequest ¶
type BatchUpdateMetadataRequest struct { Metadata []*Metadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*BatchUpdateMetadataRequest) Descriptor
deprecated
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
type BatchUpdateMetadataResponse ¶
type BatchUpdateMetadataResponse struct {
// contains filtered or unexported fields
}
func (*BatchUpdateMetadataResponse) Descriptor
deprecated
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
type DRPCAgentClient ¶
type DRPCAgentClient interface { DRPCConn() drpc.Conn GetManifest(ctx context.Context, in *GetManifestRequest) (*Manifest, error) GetServiceBanner(ctx context.Context, in *GetServiceBannerRequest) (*ServiceBanner, error) UpdateStats(ctx context.Context, in *UpdateStatsRequest) (*UpdateStatsResponse, error) UpdateLifecycle(ctx context.Context, in *UpdateLifecycleRequest) (*Lifecycle, error) BatchUpdateAppHealths(ctx context.Context, in *BatchUpdateAppHealthRequest) (*BatchUpdateAppHealthResponse, error) UpdateStartup(ctx context.Context, in *UpdateStartupRequest) (*Startup, error) BatchUpdateMetadata(ctx context.Context, in *BatchUpdateMetadataRequest) (*BatchUpdateMetadataResponse, error) BatchCreateLogs(ctx context.Context, in *BatchCreateLogsRequest) (*BatchCreateLogsResponse, error) GetAnnouncementBanners(ctx context.Context, in *GetAnnouncementBannersRequest) (*GetAnnouncementBannersResponse, error) }
func NewDRPCAgentClient ¶
func NewDRPCAgentClient(cc drpc.Conn) DRPCAgentClient
type DRPCAgentDescription ¶
type DRPCAgentDescription struct{}
func (DRPCAgentDescription) NumMethods ¶
func (DRPCAgentDescription) NumMethods() int
type DRPCAgentServer ¶
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) }
type DRPCAgentUnimplementedServer ¶
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 in v2.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) GetServiceBanner ¶
func (s *DRPCAgentUnimplementedServer) GetServiceBanner(context.Context, *GetServiceBannerRequest) (*ServiceBanner, 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)
type DRPCAgent_BatchCreateLogsStream ¶
type DRPCAgent_BatchCreateLogsStream interface { drpc.Stream SendAndClose(*BatchCreateLogsResponse) error }
type DRPCAgent_BatchUpdateAppHealthsStream ¶
type DRPCAgent_BatchUpdateAppHealthsStream interface { drpc.Stream SendAndClose(*BatchUpdateAppHealthResponse) error }
type DRPCAgent_BatchUpdateMetadataStream ¶
type DRPCAgent_BatchUpdateMetadataStream interface { drpc.Stream SendAndClose(*BatchUpdateMetadataResponse) error }
type DRPCAgent_GetAnnouncementBannersStream ¶ added in v2.12.0
type DRPCAgent_GetAnnouncementBannersStream interface { drpc.Stream SendAndClose(*GetAnnouncementBannersResponse) error }
type DRPCAgent_GetServiceBannerStream ¶
type DRPCAgent_GetServiceBannerStream interface { drpc.Stream SendAndClose(*ServiceBanner) error }
type DRPCAgent_UpdateStatsStream ¶
type DRPCAgent_UpdateStatsStream interface { drpc.Stream SendAndClose(*UpdateStatsResponse) error }
type GetAnnouncementBannersRequest ¶ added in v2.12.0
type GetAnnouncementBannersRequest struct {
// contains filtered or unexported fields
}
func (*GetAnnouncementBannersRequest) Descriptor
deprecated
added in
v2.12.0
func (*GetAnnouncementBannersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnnouncementBannersRequest.ProtoReflect.Descriptor instead.
func (*GetAnnouncementBannersRequest) ProtoMessage ¶ added in v2.12.0
func (*GetAnnouncementBannersRequest) ProtoMessage()
func (*GetAnnouncementBannersRequest) ProtoReflect ¶ added in v2.12.0
func (x *GetAnnouncementBannersRequest) ProtoReflect() protoreflect.Message
func (*GetAnnouncementBannersRequest) Reset ¶ added in v2.12.0
func (x *GetAnnouncementBannersRequest) Reset()
func (*GetAnnouncementBannersRequest) String ¶ added in v2.12.0
func (x *GetAnnouncementBannersRequest) String() string
type GetAnnouncementBannersResponse ¶ added in v2.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) Descriptor
deprecated
added in
v2.12.0
func (*GetAnnouncementBannersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAnnouncementBannersResponse.ProtoReflect.Descriptor instead.
func (*GetAnnouncementBannersResponse) GetAnnouncementBanners ¶ added in v2.12.0
func (x *GetAnnouncementBannersResponse) GetAnnouncementBanners() []*BannerConfig
func (*GetAnnouncementBannersResponse) ProtoMessage ¶ added in v2.12.0
func (*GetAnnouncementBannersResponse) ProtoMessage()
func (*GetAnnouncementBannersResponse) ProtoReflect ¶ added in v2.12.0
func (x *GetAnnouncementBannersResponse) ProtoReflect() protoreflect.Message
func (*GetAnnouncementBannersResponse) Reset ¶ added in v2.12.0
func (x *GetAnnouncementBannersResponse) Reset()
func (*GetAnnouncementBannersResponse) String ¶ added in v2.12.0
func (x *GetAnnouncementBannersResponse) String() string
type GetManifestRequest ¶
type GetManifestRequest struct {
// contains filtered or unexported fields
}
func (*GetManifestRequest) Descriptor
deprecated
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
type GetServiceBannerRequest ¶
type GetServiceBannerRequest struct {
// contains filtered or unexported fields
}
func (*GetServiceBannerRequest) Descriptor
deprecated
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
type Lifecycle ¶
type Lifecycle struct { State Lifecycle_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) Descriptor
deprecated
func (*Lifecycle) GetChangedAt ¶ added in v2.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
type Lifecycle_State ¶
type Lifecycle_State int32
const ( Lifecycle_STATE_UNSPECIFIED Lifecycle_State = 0 Lifecycle_CREATED Lifecycle_State = 1 Lifecycle_STARTING Lifecycle_State = 2 Lifecycle_START_TIMEOUT Lifecycle_State = 3 Lifecycle_START_ERROR Lifecycle_State = 4 Lifecycle_READY Lifecycle_State = 5 Lifecycle_SHUTTING_DOWN Lifecycle_State = 6 Lifecycle_SHUTDOWN_TIMEOUT Lifecycle_State = 7 Lifecycle_SHUTDOWN_ERROR Lifecycle_State = 8 Lifecycle_OFF Lifecycle_State = 9 )
func (Lifecycle_State) Descriptor ¶
func (Lifecycle_State) Descriptor() protoreflect.EnumDescriptor
func (Lifecycle_State) Enum ¶
func (x Lifecycle_State) Enum() *Lifecycle_State
func (Lifecycle_State) EnumDescriptor
deprecated
func (Lifecycle_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Lifecycle_State.Descriptor instead.
func (Lifecycle_State) Number ¶
func (x Lifecycle_State) Number() protoreflect.EnumNumber
func (Lifecycle_State) String ¶
func (x Lifecycle_State) String() string
func (Lifecycle_State) Type ¶
func (Lifecycle_State) Type() protoreflect.EnumType
type Log ¶
type Log struct { CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` Level Log_Level `protobuf:"varint,3,opt,name=level,proto3,enum=coder.agent.v2.Log_Level" json:"level,omitempty"` // contains filtered or unexported fields }
func (*Log) Descriptor
deprecated
func (*Log) GetCreatedAt ¶
func (x *Log) GetCreatedAt() *timestamppb.Timestamp
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type Log_Level ¶
type Log_Level int32
func (Log_Level) Descriptor ¶
func (Log_Level) Descriptor() protoreflect.EnumDescriptor
func (Log_Level) EnumDescriptor
deprecated
func (Log_Level) Number ¶
func (x Log_Level) Number() protoreflect.EnumNumber
func (Log_Level) Type ¶
func (Log_Level) Type() protoreflect.EnumType
type Manifest ¶
type Manifest struct { AgentId []byte `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` AgentName string `protobuf:"bytes,15,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"` OwnerUsername string `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"` WorkspaceName string `protobuf:"bytes,16,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"` GitAuthConfigs uint32 `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 */ Directory string `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"` VsCodePortProxyUri string `protobuf:"bytes,5,opt,name=vs_code_port_proxy_uri,json=vsCodePortProxyUri,proto3" json:"vs_code_port_proxy_uri,omitempty"` MotdPath string `protobuf:"bytes,6,opt,name=motd_path,json=motdPath,proto3" json:"motd_path,omitempty"` DisableDirectConnections bool `` /* 136-byte string literal not displayed */ DerpForceWebsockets bool `protobuf:"varint,8,opt,name=derp_force_websockets,json=derpForceWebsockets,proto3" json:"derp_force_websockets,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"` // contains filtered or unexported fields }
func (*Manifest) Descriptor
deprecated
func (*Manifest) GetAgentId ¶ added in v2.6.0
func (*Manifest) GetAgentName ¶ added in v2.7.0
func (*Manifest) GetApps ¶
func (x *Manifest) GetApps() []*WorkspaceApp
func (*Manifest) GetDerpForceWebsockets ¶ added in v2.6.0
func (*Manifest) GetDerpMap ¶
func (*Manifest) GetDirectory ¶ added in v2.6.0
func (*Manifest) GetDisableDirectConnections ¶ added in v2.6.0
func (*Manifest) GetEnvironmentVariables ¶ added in v2.6.0
func (*Manifest) GetGitAuthConfigs ¶
func (*Manifest) GetMetadata ¶ added in v2.6.0
func (x *Manifest) GetMetadata() []*WorkspaceAgentMetadata_Description
func (*Manifest) GetMotdPath ¶ added in v2.6.0
func (*Manifest) GetOwnerUsername ¶ added in v2.6.0
func (*Manifest) GetScripts ¶ added in v2.6.0
func (x *Manifest) GetScripts() []*WorkspaceAgentScript
func (*Manifest) GetVsCodePortProxyUri ¶
func (*Manifest) GetWorkspaceId ¶ added in v2.6.0
func (*Manifest) GetWorkspaceName ¶ added in v2.7.0
func (*Manifest) ProtoMessage ¶
func (*Manifest) ProtoMessage()
func (*Manifest) ProtoReflect ¶
func (x *Manifest) ProtoReflect() protoreflect.Message
type Metadata ¶
type Metadata struct { Key string `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) Descriptor
deprecated
func (*Metadata) GetResult ¶ added in v2.6.0
func (x *Metadata) GetResult() *WorkspaceAgentMetadata_Result
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type ServiceBanner ¶
type ServiceBanner struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` BackgroundColor string `protobuf:"bytes,3,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"` // contains filtered or unexported fields }
func (*ServiceBanner) Descriptor
deprecated
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
type Startup ¶
type Startup struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` ExpandedDirectory string `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) Descriptor
deprecated
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
type Startup_Subsystem ¶ added in v2.6.0
type Startup_Subsystem int32
const ( Startup_SUBSYSTEM_UNSPECIFIED Startup_Subsystem = 0 Startup_ENVBOX Startup_Subsystem = 1 Startup_ENVBUILDER Startup_Subsystem = 2 Startup_EXECTRACE Startup_Subsystem = 3 )
func (Startup_Subsystem) Descriptor ¶ added in v2.6.0
func (Startup_Subsystem) Descriptor() protoreflect.EnumDescriptor
func (Startup_Subsystem) Enum ¶ added in v2.6.0
func (x Startup_Subsystem) Enum() *Startup_Subsystem
func (Startup_Subsystem) EnumDescriptor
deprecated
added in
v2.6.0
func (Startup_Subsystem) EnumDescriptor() ([]byte, []int)
Deprecated: Use Startup_Subsystem.Descriptor instead.
func (Startup_Subsystem) Number ¶ added in v2.6.0
func (x Startup_Subsystem) Number() protoreflect.EnumNumber
func (Startup_Subsystem) String ¶ added in v2.6.0
func (x Startup_Subsystem) String() string
func (Startup_Subsystem) Type ¶ added in v2.6.0
func (Startup_Subsystem) Type() protoreflect.EnumType
type Stats ¶
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. ConnectionCount int64 `protobuf:"varint,2,opt,name=connection_count,json=connectionCount,proto3" json:"connection_count,omitempty"` // ConnectionMedianLatencyMS is the median latency of all connections in milliseconds. ConnectionMedianLatencyMs float64 `` /* 142-byte string literal not displayed */ // RxPackets is the number of received packets. RxPackets int64 `protobuf:"varint,4,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"` // RxBytes is the number of received bytes. RxBytes int64 `protobuf:"varint,5,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"` // TxPackets is the number of transmitted bytes. TxPackets int64 `protobuf:"varint,6,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"` // TxBytes is the number of transmitted bytes. TxBytes int64 `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. SessionCountVscode int64 `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. SessionCountJetbrains int64 `` /* 127-byte string literal not displayed */ // SessionCountReconnectingPTY is the number of connections received by an agent // that are from the reconnecting web terminal. SessionCountReconnectingPty int64 `` /* 148-byte string literal not displayed */ // SessionCountSSH is the number of connections received by an agent // that are normal, non-tagged SSH sessions. SessionCountSsh int64 `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) Descriptor
deprecated
func (*Stats) GetConnectionCount ¶
func (*Stats) GetConnectionMedianLatencyMs ¶
func (*Stats) GetConnectionsByProto ¶
func (*Stats) GetMetrics ¶ added in v2.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
type Stats_Metric ¶
type Stats_Metric struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type Stats_Metric_Type `protobuf:"varint,2,opt,name=type,proto3,enum=coder.agent.v2.Stats_Metric_Type" json:"type,omitempty"` Value float64 `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) Descriptor
deprecated
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
type Stats_Metric_Label ¶ added in v2.6.0
type Stats_Metric_Label struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Stats_Metric_Label) Descriptor
deprecated
added in
v2.6.0
func (*Stats_Metric_Label) Descriptor() ([]byte, []int)
Deprecated: Use Stats_Metric_Label.ProtoReflect.Descriptor instead.
func (*Stats_Metric_Label) GetName ¶ added in v2.6.0
func (x *Stats_Metric_Label) GetName() string
func (*Stats_Metric_Label) GetValue ¶ added in v2.6.0
func (x *Stats_Metric_Label) GetValue() string
func (*Stats_Metric_Label) ProtoMessage ¶ added in v2.6.0
func (*Stats_Metric_Label) ProtoMessage()
func (*Stats_Metric_Label) ProtoReflect ¶ added in v2.6.0
func (x *Stats_Metric_Label) ProtoReflect() protoreflect.Message
func (*Stats_Metric_Label) Reset ¶ added in v2.6.0
func (x *Stats_Metric_Label) Reset()
func (*Stats_Metric_Label) String ¶ added in v2.6.0
func (x *Stats_Metric_Label) String() string
type Stats_Metric_Type ¶
type Stats_Metric_Type int32
const ( Stats_Metric_TYPE_UNSPECIFIED Stats_Metric_Type = 0 Stats_Metric_COUNTER Stats_Metric_Type = 1 Stats_Metric_GAUGE Stats_Metric_Type = 2 )
func (Stats_Metric_Type) Descriptor ¶
func (Stats_Metric_Type) Descriptor() protoreflect.EnumDescriptor
func (Stats_Metric_Type) Enum ¶
func (x Stats_Metric_Type) Enum() *Stats_Metric_Type
func (Stats_Metric_Type) EnumDescriptor
deprecated
func (Stats_Metric_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Stats_Metric_Type.Descriptor instead.
func (Stats_Metric_Type) Number ¶
func (x Stats_Metric_Type) Number() protoreflect.EnumNumber
func (Stats_Metric_Type) String ¶
func (x Stats_Metric_Type) String() string
func (Stats_Metric_Type) Type ¶
func (Stats_Metric_Type) Type() protoreflect.EnumType
type UpdateLifecycleRequest ¶
type UpdateLifecycleRequest struct { Lifecycle *Lifecycle `protobuf:"bytes,1,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"` // contains filtered or unexported fields }
func (*UpdateLifecycleRequest) Descriptor
deprecated
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
type UpdateStartupRequest ¶
type UpdateStartupRequest struct { Startup *Startup `protobuf:"bytes,1,opt,name=startup,proto3" json:"startup,omitempty"` // contains filtered or unexported fields }
func (*UpdateStartupRequest) Descriptor
deprecated
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
type UpdateStatsRequest ¶
type UpdateStatsRequest struct { Stats *Stats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
func (*UpdateStatsRequest) Descriptor
deprecated
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
type UpdateStatsResponse ¶
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) Descriptor
deprecated
func (*UpdateStatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateStatsResponse.ProtoReflect.Descriptor instead.
func (*UpdateStatsResponse) GetReportInterval ¶ added in v2.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
type WorkspaceAgentMetadata ¶ added in v2.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) Descriptor
deprecated
added in
v2.6.0
func (*WorkspaceAgentMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentMetadata.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentMetadata) GetDescription ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata) GetDescription() *WorkspaceAgentMetadata_Description
func (*WorkspaceAgentMetadata) GetResult ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata) GetResult() *WorkspaceAgentMetadata_Result
func (*WorkspaceAgentMetadata) ProtoMessage ¶ added in v2.6.0
func (*WorkspaceAgentMetadata) ProtoMessage()
func (*WorkspaceAgentMetadata) ProtoReflect ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata) ProtoReflect() protoreflect.Message
func (*WorkspaceAgentMetadata) Reset ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata) Reset()
func (*WorkspaceAgentMetadata) String ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata) String() string
type WorkspaceAgentMetadata_Description ¶ added in v2.6.0
type WorkspaceAgentMetadata_Description struct { DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Script string `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) Descriptor
deprecated
added in
v2.6.0
func (*WorkspaceAgentMetadata_Description) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentMetadata_Description.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentMetadata_Description) GetDisplayName ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Description) GetDisplayName() string
func (*WorkspaceAgentMetadata_Description) GetInterval ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Description) GetInterval() *durationpb.Duration
func (*WorkspaceAgentMetadata_Description) GetKey ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Description) GetKey() string
func (*WorkspaceAgentMetadata_Description) GetScript ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Description) GetScript() string
func (*WorkspaceAgentMetadata_Description) GetTimeout ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Description) GetTimeout() *durationpb.Duration
func (*WorkspaceAgentMetadata_Description) ProtoMessage ¶ added in v2.6.0
func (*WorkspaceAgentMetadata_Description) ProtoMessage()
func (*WorkspaceAgentMetadata_Description) ProtoReflect ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Description) ProtoReflect() protoreflect.Message
func (*WorkspaceAgentMetadata_Description) Reset ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Description) Reset()
func (*WorkspaceAgentMetadata_Description) String ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Description) String() string
type WorkspaceAgentMetadata_Result ¶ added in v2.6.0
type WorkspaceAgentMetadata_Result struct { CollectedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=collected_at,json=collectedAt,proto3" json:"collected_at,omitempty"` Age int64 `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceAgentMetadata_Result) Descriptor
deprecated
added in
v2.6.0
func (*WorkspaceAgentMetadata_Result) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentMetadata_Result.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentMetadata_Result) GetAge ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Result) GetAge() int64
func (*WorkspaceAgentMetadata_Result) GetCollectedAt ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Result) GetCollectedAt() *timestamppb.Timestamp
func (*WorkspaceAgentMetadata_Result) GetError ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Result) GetError() string
func (*WorkspaceAgentMetadata_Result) GetValue ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Result) GetValue() string
func (*WorkspaceAgentMetadata_Result) ProtoMessage ¶ added in v2.6.0
func (*WorkspaceAgentMetadata_Result) ProtoMessage()
func (*WorkspaceAgentMetadata_Result) ProtoReflect ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Result) ProtoReflect() protoreflect.Message
func (*WorkspaceAgentMetadata_Result) Reset ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Result) Reset()
func (*WorkspaceAgentMetadata_Result) String ¶ added in v2.6.0
func (x *WorkspaceAgentMetadata_Result) String() string
type WorkspaceAgentScript ¶ added in v2.6.0
type WorkspaceAgentScript struct { LogSourceId []byte `protobuf:"bytes,1,opt,name=log_source_id,json=logSourceId,proto3" json:"log_source_id,omitempty"` LogPath string `protobuf:"bytes,2,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"` Cron string `protobuf:"bytes,4,opt,name=cron,proto3" json:"cron,omitempty"` RunOnStart bool `protobuf:"varint,5,opt,name=run_on_start,json=runOnStart,proto3" json:"run_on_start,omitempty"` RunOnStop bool `protobuf:"varint,6,opt,name=run_on_stop,json=runOnStop,proto3" json:"run_on_stop,omitempty"` StartBlocksLogin bool `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"` // contains filtered or unexported fields }
func (*WorkspaceAgentScript) Descriptor
deprecated
added in
v2.6.0
func (*WorkspaceAgentScript) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceAgentScript.ProtoReflect.Descriptor instead.
func (*WorkspaceAgentScript) GetCron ¶ added in v2.6.0
func (x *WorkspaceAgentScript) GetCron() string
func (*WorkspaceAgentScript) GetLogPath ¶ added in v2.6.0
func (x *WorkspaceAgentScript) GetLogPath() string
func (*WorkspaceAgentScript) GetLogSourceId ¶ added in v2.6.0
func (x *WorkspaceAgentScript) GetLogSourceId() []byte
func (*WorkspaceAgentScript) GetRunOnStart ¶ added in v2.6.0
func (x *WorkspaceAgentScript) GetRunOnStart() bool
func (*WorkspaceAgentScript) GetRunOnStop ¶ added in v2.6.0
func (x *WorkspaceAgentScript) GetRunOnStop() bool
func (*WorkspaceAgentScript) GetScript ¶ added in v2.6.0
func (x *WorkspaceAgentScript) GetScript() string
func (*WorkspaceAgentScript) GetStartBlocksLogin ¶ added in v2.6.0
func (x *WorkspaceAgentScript) GetStartBlocksLogin() bool
func (*WorkspaceAgentScript) GetTimeout ¶ added in v2.6.0
func (x *WorkspaceAgentScript) GetTimeout() *durationpb.Duration
func (*WorkspaceAgentScript) ProtoMessage ¶ added in v2.6.0
func (*WorkspaceAgentScript) ProtoMessage()
func (*WorkspaceAgentScript) ProtoReflect ¶ added in v2.6.0
func (x *WorkspaceAgentScript) ProtoReflect() protoreflect.Message
func (*WorkspaceAgentScript) Reset ¶ added in v2.6.0
func (x *WorkspaceAgentScript) Reset()
func (*WorkspaceAgentScript) String ¶ added in v2.6.0
func (x *WorkspaceAgentScript) String() string
type WorkspaceApp ¶
type WorkspaceApp struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` External bool `protobuf:"varint,3,opt,name=external,proto3" json:"external,omitempty"` Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"` DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Command string `protobuf:"bytes,6,opt,name=command,proto3" json:"command,omitempty"` Icon string `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"` Subdomain bool `protobuf:"varint,8,opt,name=subdomain,proto3" json:"subdomain,omitempty"` SubdomainName string `protobuf:"bytes,9,opt,name=subdomain_name,json=subdomainName,proto3" json:"subdomain_name,omitempty"` SharingLevel WorkspaceApp_SharingLevel `` /* 145-byte string literal not displayed */ Healthcheck *WorkspaceApp_Healthcheck `protobuf:"bytes,11,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"` Health WorkspaceApp_Health `protobuf:"varint,12,opt,name=health,proto3,enum=coder.agent.v2.WorkspaceApp_Health" json:"health,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceApp) Descriptor
deprecated
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) GetIcon ¶
func (x *WorkspaceApp) GetIcon() string
func (*WorkspaceApp) GetId ¶ added in v2.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
type WorkspaceApp_Health ¶
type WorkspaceApp_Health int32
const ( WorkspaceApp_HEALTH_UNSPECIFIED WorkspaceApp_Health = 0 WorkspaceApp_DISABLED WorkspaceApp_Health = 1 WorkspaceApp_INITIALIZING WorkspaceApp_Health = 2 WorkspaceApp_HEALTHY WorkspaceApp_Health = 3 WorkspaceApp_UNHEALTHY WorkspaceApp_Health = 4 )
func (WorkspaceApp_Health) Descriptor ¶
func (WorkspaceApp_Health) Descriptor() protoreflect.EnumDescriptor
func (WorkspaceApp_Health) Enum ¶
func (x WorkspaceApp_Health) Enum() *WorkspaceApp_Health
func (WorkspaceApp_Health) EnumDescriptor
deprecated
func (WorkspaceApp_Health) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceApp_Health.Descriptor instead.
func (WorkspaceApp_Health) Number ¶
func (x WorkspaceApp_Health) Number() protoreflect.EnumNumber
func (WorkspaceApp_Health) String ¶
func (x WorkspaceApp_Health) String() string
func (WorkspaceApp_Health) Type ¶
func (WorkspaceApp_Health) Type() protoreflect.EnumType
type WorkspaceApp_Healthcheck ¶ added in v2.6.0
type WorkspaceApp_Healthcheck struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` Threshold int32 `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"` // contains filtered or unexported fields }
func (*WorkspaceApp_Healthcheck) Descriptor
deprecated
added in
v2.6.0
func (*WorkspaceApp_Healthcheck) Descriptor() ([]byte, []int)
Deprecated: Use WorkspaceApp_Healthcheck.ProtoReflect.Descriptor instead.
func (*WorkspaceApp_Healthcheck) GetInterval ¶ added in v2.6.0
func (x *WorkspaceApp_Healthcheck) GetInterval() *durationpb.Duration
func (*WorkspaceApp_Healthcheck) GetThreshold ¶ added in v2.6.0
func (x *WorkspaceApp_Healthcheck) GetThreshold() int32
func (*WorkspaceApp_Healthcheck) GetUrl ¶ added in v2.6.0
func (x *WorkspaceApp_Healthcheck) GetUrl() string
func (*WorkspaceApp_Healthcheck) ProtoMessage ¶ added in v2.6.0
func (*WorkspaceApp_Healthcheck) ProtoMessage()
func (*WorkspaceApp_Healthcheck) ProtoReflect ¶ added in v2.6.0
func (x *WorkspaceApp_Healthcheck) ProtoReflect() protoreflect.Message
func (*WorkspaceApp_Healthcheck) Reset ¶ added in v2.6.0
func (x *WorkspaceApp_Healthcheck) Reset()
func (*WorkspaceApp_Healthcheck) String ¶ added in v2.6.0
func (x *WorkspaceApp_Healthcheck) String() string
type WorkspaceApp_SharingLevel ¶
type WorkspaceApp_SharingLevel int32
const ( WorkspaceApp_SHARING_LEVEL_UNSPECIFIED WorkspaceApp_SharingLevel = 0 WorkspaceApp_OWNER WorkspaceApp_SharingLevel = 1 WorkspaceApp_AUTHENTICATED WorkspaceApp_SharingLevel = 2 WorkspaceApp_PUBLIC WorkspaceApp_SharingLevel = 3 )
func (WorkspaceApp_SharingLevel) Descriptor ¶
func (WorkspaceApp_SharingLevel) Descriptor() protoreflect.EnumDescriptor
func (WorkspaceApp_SharingLevel) Enum ¶
func (x WorkspaceApp_SharingLevel) Enum() *WorkspaceApp_SharingLevel
func (WorkspaceApp_SharingLevel) EnumDescriptor
deprecated
func (WorkspaceApp_SharingLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceApp_SharingLevel.Descriptor instead.
func (WorkspaceApp_SharingLevel) Number ¶
func (x WorkspaceApp_SharingLevel) Number() protoreflect.EnumNumber
func (WorkspaceApp_SharingLevel) String ¶
func (x WorkspaceApp_SharingLevel) String() string
func (WorkspaceApp_SharingLevel) Type ¶
func (WorkspaceApp_SharingLevel) Type() protoreflect.EnumType