proto

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: AGPL-3.0 Imports: 13 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

View Source
var (
	Lifecycle_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATED",
		2: "STARTED",
		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,
		"STARTED":           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.

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

View Source
var File_agent_proto_agent_proto protoreflect.FileDescriptor

Functions

func DRPCRegisterAgent

func DRPCRegisterAgent(mux drpc.Mux, impl DRPCAgentServer) error

Types

type AppHealth

type AppHealth int32
const (
	AppHealth_APP_HEALTH_UNSPECIFIED AppHealth = 0
	AppHealth_DISABLED               AppHealth = 1
	AppHealth_INITIALIZING           AppHealth = 2
	AppHealth_HEALTHY                AppHealth = 3
	AppHealth_UNHEALTHY              AppHealth = 4
)

func (AppHealth) Descriptor

func (AppHealth) Descriptor() protoreflect.EnumDescriptor

func (AppHealth) Enum

func (x AppHealth) Enum() *AppHealth

func (AppHealth) EnumDescriptor deprecated

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

Deprecated: Use AppHealth.Descriptor instead.

func (AppHealth) Number

func (x AppHealth) Number() protoreflect.EnumNumber

func (AppHealth) String

func (x AppHealth) String() string

func (AppHealth) Type

type BatchCreateLogsRequest

type BatchCreateLogsRequest struct {
	SourceId []byte `protobuf:"bytes,1,opt,name=source_id,json=sourceId,proto3" json:"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) GetLogs

func (x *BatchCreateLogsRequest) GetLogs() []*Log

func (*BatchCreateLogsRequest) GetSourceId

func (x *BatchCreateLogsRequest) GetSourceId() []byte

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 {
	// contains filtered or unexported fields
}

func (*BatchCreateLogsResponse) Descriptor deprecated

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

Deprecated: Use BatchCreateLogsResponse.ProtoReflect.Descriptor instead.

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

func (*BatchUpdateAppHealthRequest) ProtoMessage()

func (*BatchUpdateAppHealthRequest) ProtoReflect

func (*BatchUpdateAppHealthRequest) Reset

func (x *BatchUpdateAppHealthRequest) Reset()

func (*BatchUpdateAppHealthRequest) String

func (x *BatchUpdateAppHealthRequest) String() string

type BatchUpdateAppHealthRequest_HealthUpdate

type BatchUpdateAppHealthRequest_HealthUpdate struct {
	Uuid   []byte    `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,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 (*BatchUpdateAppHealthRequest_HealthUpdate) GetUuid

func (*BatchUpdateAppHealthRequest_HealthUpdate) ProtoMessage

func (*BatchUpdateAppHealthRequest_HealthUpdate) ProtoReflect

func (*BatchUpdateAppHealthRequest_HealthUpdate) Reset

func (*BatchUpdateAppHealthRequest_HealthUpdate) 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 (*BatchUpdateAppHealthResponse) Reset

func (x *BatchUpdateAppHealthResponse) Reset()

func (*BatchUpdateAppHealthResponse) 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 (*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 (*BatchUpdateMetadataResponse) Reset

func (x *BatchUpdateMetadataResponse) Reset()

func (*BatchUpdateMetadataResponse) String

func (x *BatchUpdateMetadataResponse) String() string

type DRPCAgentClient

func NewDRPCAgentClient

func NewDRPCAgentClient(cc drpc.Conn) DRPCAgentClient

type DRPCAgentDescription

type DRPCAgentDescription struct{}

func (DRPCAgentDescription) Method

func (DRPCAgentDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool)

func (DRPCAgentDescription) NumMethods

func (DRPCAgentDescription) NumMethods() int

type DRPCAgentUnimplementedServer

type DRPCAgentUnimplementedServer struct{}

func (*DRPCAgentUnimplementedServer) BatchCreateLogs

func (*DRPCAgentUnimplementedServer) BatchUpdateAppHealths

func (*DRPCAgentUnimplementedServer) BatchUpdateMetadata

func (*DRPCAgentUnimplementedServer) CoordinateTailnet

func (*DRPCAgentUnimplementedServer) GetManifest

func (*DRPCAgentUnimplementedServer) GetServiceBanner

func (*DRPCAgentUnimplementedServer) StreamDERPMaps

func (*DRPCAgentUnimplementedServer) UpdateLifecycle

func (*DRPCAgentUnimplementedServer) UpdateStartup

func (*DRPCAgentUnimplementedServer) UpdateStats

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_CoordinateTailnetClient

type DRPCAgent_CoordinateTailnetClient interface {
	drpc.Stream
	Send(*proto1.CoordinateRequest) error
	Recv() (*proto1.CoordinateResponse, error)
}

type DRPCAgent_CoordinateTailnetStream

type DRPCAgent_CoordinateTailnetStream interface {
	drpc.Stream
	Send(*proto1.CoordinateResponse) error
	Recv() (*proto1.CoordinateRequest, error)
}

type DRPCAgent_GetManifestStream

type DRPCAgent_GetManifestStream interface {
	drpc.Stream
	SendAndClose(*Manifest) error
}

type DRPCAgent_GetServiceBannerStream

type DRPCAgent_GetServiceBannerStream interface {
	drpc.Stream
	SendAndClose(*ServiceBanner) error
}

type DRPCAgent_StreamDERPMapsClient

type DRPCAgent_StreamDERPMapsClient interface {
	drpc.Stream
	Recv() (*proto1.DERPMap, error)
}

type DRPCAgent_StreamDERPMapsStream

type DRPCAgent_StreamDERPMapsStream interface {
	drpc.Stream
	Send(*proto1.DERPMap) error
}

type DRPCAgent_UpdateLifecycleStream

type DRPCAgent_UpdateLifecycleStream interface {
	drpc.Stream
	SendAndClose(*Lifecycle) error
}

type DRPCAgent_UpdateStartupStream

type DRPCAgent_UpdateStartupStream interface {
	drpc.Stream
	SendAndClose(*Startup) error
}

type DRPCAgent_UpdateStatsStream

type DRPCAgent_UpdateStatsStream interface {
	drpc.Stream
	SendAndClose(*UpdateStatsResponse) error
}

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"`
	// contains filtered or unexported fields
}

func (*Lifecycle) Descriptor deprecated

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

Deprecated: Use Lifecycle.ProtoReflect.Descriptor instead.

func (*Lifecycle) GetState

func (x *Lifecycle) GetState() Lifecycle_State

func (*Lifecycle) ProtoMessage

func (*Lifecycle) ProtoMessage()

func (*Lifecycle) ProtoReflect

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

func (*Lifecycle) Reset

func (x *Lifecycle) Reset()

func (*Lifecycle) String

func (x *Lifecycle) String() string

type Lifecycle_State

type Lifecycle_State int32
const (
	Lifecycle_STATE_UNSPECIFIED Lifecycle_State = 0
	Lifecycle_CREATED           Lifecycle_State = 1
	Lifecycle_STARTED           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) 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 (Lifecycle_State) String

func (x Lifecycle_State) String() string

func (Lifecycle_State) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetCreatedAt

func (x *Log) GetCreatedAt() *timestamppb.Timestamp

func (*Log) GetLevel

func (x *Log) GetLevel() Log_Level

func (*Log) GetOutput

func (x *Log) GetOutput() string

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

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

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

type Log_Level

type Log_Level int32
const (
	Log_LEVEL_UNSPECIFIED Log_Level = 0
	Log_TRACE             Log_Level = 1
	Log_DEBUG             Log_Level = 2
	Log_INFO              Log_Level = 3
	Log_WARN              Log_Level = 4
	Log_ERROR             Log_Level = 5
)

func (Log_Level) Descriptor

func (Log_Level) Descriptor() protoreflect.EnumDescriptor

func (Log_Level) Enum

func (x Log_Level) Enum() *Log_Level

func (Log_Level) EnumDescriptor deprecated

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

Deprecated: Use Log_Level.Descriptor instead.

func (Log_Level) Number

func (x Log_Level) Number() protoreflect.EnumNumber

func (Log_Level) String

func (x Log_Level) String() string

func (Log_Level) Type

type Manifest

type Manifest struct {
	GitAuthConfigs     uint32          `protobuf:"varint,1,opt,name=git_auth_configs,json=gitAuthConfigs,proto3" json:"git_auth_configs,omitempty"`
	VsCodePortProxyUri string          `protobuf:"bytes,2,opt,name=vs_code_port_proxy_uri,json=vsCodePortProxyUri,proto3" json:"vs_code_port_proxy_uri,omitempty"`
	Apps               []*WorkspaceApp `protobuf:"bytes,3,rep,name=apps,proto3" json:"apps,omitempty"`
	DerpMap            *proto.DERPMap  `protobuf:"bytes,4,opt,name=derp_map,json=derpMap,proto3" json:"derp_map,omitempty"`
	// contains filtered or unexported fields
}

func (*Manifest) Descriptor deprecated

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

Deprecated: Use Manifest.ProtoReflect.Descriptor instead.

func (*Manifest) GetApps

func (x *Manifest) GetApps() []*WorkspaceApp

func (*Manifest) GetDerpMap

func (x *Manifest) GetDerpMap() *proto.DERPMap

func (*Manifest) GetGitAuthConfigs

func (x *Manifest) GetGitAuthConfigs() uint32

func (*Manifest) GetVsCodePortProxyUri

func (x *Manifest) GetVsCodePortProxyUri() string

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) ProtoReflect

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

func (*Manifest) Reset

func (x *Manifest) Reset()

func (*Manifest) String

func (x *Manifest) String() string

type Metadata

type Metadata struct {
	Key         string                 `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	CollectedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=collected_at,json=collectedAt,proto3" json:"collected_at,omitempty"`
	Age         int64                  `protobuf:"varint,3,opt,name=age,proto3" json:"age,omitempty"`
	Value       string                 `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	Error       string                 `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAge

func (x *Metadata) GetAge() int64

func (*Metadata) GetCollectedAt

func (x *Metadata) GetCollectedAt() *timestamppb.Timestamp

func (*Metadata) GetError

func (x *Metadata) GetError() string

func (*Metadata) GetKey

func (x *Metadata) GetKey() string

func (*Metadata) GetValue

func (x *Metadata) GetValue() string

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

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        []string `protobuf:"bytes,3,rep,name=subsystems,proto3" json:"subsystems,omitempty"`
	// contains filtered or unexported fields
}

func (*Startup) Descriptor deprecated

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

Deprecated: Use Startup.ProtoReflect.Descriptor instead.

func (*Startup) GetExpandedDirectory

func (x *Startup) GetExpandedDirectory() string

func (*Startup) GetSubsystems

func (x *Startup) GetSubsystems() []string

func (*Startup) GetVersion

func (x *Startup) GetVersion() string

func (*Startup) ProtoMessage

func (*Startup) ProtoMessage()

func (*Startup) ProtoReflect

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

func (*Startup) Reset

func (x *Startup) Reset()

func (*Startup) String

func (x *Startup) String() string

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"`
	// contains filtered or unexported fields
}

func (*Stats) Descriptor deprecated

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

Deprecated: Use Stats.ProtoReflect.Descriptor instead.

func (*Stats) GetConnectionCount

func (x *Stats) GetConnectionCount() int64

func (*Stats) GetConnectionMedianLatencyMs

func (x *Stats) GetConnectionMedianLatencyMs() float64

func (*Stats) GetConnectionsByProto

func (x *Stats) GetConnectionsByProto() map[string]int64

func (*Stats) GetRxBytes

func (x *Stats) GetRxBytes() int64

func (*Stats) GetRxPackets

func (x *Stats) GetRxPackets() int64

func (*Stats) GetSessionCountJetbrains

func (x *Stats) GetSessionCountJetbrains() int64

func (*Stats) GetSessionCountReconnectingPty

func (x *Stats) GetSessionCountReconnectingPty() int64

func (*Stats) GetSessionCountSsh

func (x *Stats) GetSessionCountSsh() int64

func (*Stats) GetSessionCountVscode

func (x *Stats) GetSessionCountVscode() int64

func (*Stats) GetTxBytes

func (x *Stats) GetTxBytes() int64

func (*Stats) GetTxPackets

func (x *Stats) GetTxPackets() int64

func (*Stats) ProtoMessage

func (*Stats) ProtoMessage()

func (*Stats) ProtoReflect

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

func (*Stats) Reset

func (x *Stats) Reset()

func (*Stats) String

func (x *Stats) String() string

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 map[string]string `` /* 153-byte string literal not displayed */
	// 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() map[string]string

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

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 (Stats_Metric_Type) String

func (x Stats_Metric_Type) String() string

func (Stats_Metric_Type) Type

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 {
	ReportIntervalNanoseconds *durationpb.Duration `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateStatsResponse) Descriptor deprecated

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

Deprecated: Use UpdateStatsResponse.ProtoReflect.Descriptor instead.

func (*UpdateStatsResponse) GetReportIntervalNanoseconds

func (x *UpdateStatsResponse) GetReportIntervalNanoseconds() *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 WorkspaceApp

type WorkspaceApp struct {
	Uuid          []byte                    `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,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) 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) GetUuid

func (x *WorkspaceApp) GetUuid() []byte

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

func (WorkspaceApp_Health) EnumDescriptor deprecated

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

Deprecated: Use WorkspaceApp_Health.Descriptor instead.

func (WorkspaceApp_Health) Number

func (WorkspaceApp_Health) String

func (x WorkspaceApp_Health) String() string

func (WorkspaceApp_Health) Type

type WorkspaceApp_HealthCheck

type WorkspaceApp_HealthCheck struct {
	Url       string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Interval  int32  `protobuf:"varint,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

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

Deprecated: Use WorkspaceApp_HealthCheck.ProtoReflect.Descriptor instead.

func (*WorkspaceApp_HealthCheck) GetInterval

func (x *WorkspaceApp_HealthCheck) GetInterval() int32

func (*WorkspaceApp_HealthCheck) GetThreshold

func (x *WorkspaceApp_HealthCheck) GetThreshold() int32

func (*WorkspaceApp_HealthCheck) GetUrl

func (x *WorkspaceApp_HealthCheck) GetUrl() string

func (*WorkspaceApp_HealthCheck) ProtoMessage

func (*WorkspaceApp_HealthCheck) ProtoMessage()

func (*WorkspaceApp_HealthCheck) ProtoReflect

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

func (*WorkspaceApp_HealthCheck) Reset

func (x *WorkspaceApp_HealthCheck) Reset()

func (*WorkspaceApp_HealthCheck) String

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

func (WorkspaceApp_SharingLevel) EnumDescriptor deprecated

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

Deprecated: Use WorkspaceApp_SharingLevel.Descriptor instead.

func (WorkspaceApp_SharingLevel) Number

func (WorkspaceApp_SharingLevel) String

func (x WorkspaceApp_SharingLevel) String() string

func (WorkspaceApp_SharingLevel) Type

Jump to

Keyboard shortcuts

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