proto

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: AGPL-3.0 Imports: 13 Imported by: 1

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: "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.

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

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

View Source
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
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 {
	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 (*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 {
	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 (*BatchUpdateAppHealthRequest_HealthUpdate) GetId added in v2.6.0

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

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

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

func (*DRPCAgentUnimplementedServer) GetServiceBanner

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_GetManifestStream

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

type DRPCAgent_GetServiceBannerStream

type DRPCAgent_GetServiceBannerStream interface {
	drpc.Stream
	SendAndClose(*ServiceBanner) 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"`
	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) Descriptor() ([]byte, []int)

Deprecated: Use Lifecycle.ProtoReflect.Descriptor instead.

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

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

Deprecated: Use Manifest.ProtoReflect.Descriptor instead.

func (*Manifest) GetAgentId added in v2.6.0

func (x *Manifest) GetAgentId() []byte

func (*Manifest) GetAgentName added in v2.7.0

func (x *Manifest) GetAgentName() string

func (*Manifest) GetApps

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

func (*Manifest) GetDerpForceWebsockets added in v2.6.0

func (x *Manifest) GetDerpForceWebsockets() bool

func (*Manifest) GetDerpMap

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

func (*Manifest) GetDirectory added in v2.6.0

func (x *Manifest) GetDirectory() string

func (*Manifest) GetDisableDirectConnections added in v2.6.0

func (x *Manifest) GetDisableDirectConnections() bool

func (*Manifest) GetEnvironmentVariables added in v2.6.0

func (x *Manifest) GetEnvironmentVariables() map[string]string

func (*Manifest) GetGitAuthConfigs

func (x *Manifest) GetGitAuthConfigs() uint32

func (*Manifest) GetMetadata added in v2.6.0

func (x *Manifest) GetMetadata() []*WorkspaceAgentMetadata_Description

func (*Manifest) GetMotdPath added in v2.6.0

func (x *Manifest) GetMotdPath() string

func (*Manifest) GetOwnerUsername added in v2.6.0

func (x *Manifest) GetOwnerUsername() string

func (*Manifest) GetScripts added in v2.6.0

func (x *Manifest) GetScripts() []*WorkspaceAgentScript

func (*Manifest) GetVsCodePortProxyUri

func (x *Manifest) GetVsCodePortProxyUri() string

func (*Manifest) GetWorkspaceId added in v2.6.0

func (x *Manifest) GetWorkspaceId() []byte

func (*Manifest) GetWorkspaceName added in v2.7.0

func (x *Manifest) GetWorkspaceName() 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"`
	Result *WorkspaceAgentMetadata_Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetKey

func (x *Metadata) GetKey() string

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

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

Deprecated: Use Startup.ProtoReflect.Descriptor instead.

func (*Startup) GetExpandedDirectory

func (x *Startup) GetExpandedDirectory() string

func (*Startup) GetSubsystems

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

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 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) Enum added in v2.6.0

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 (Startup_Subsystem) String added in v2.6.0

func (x Startup_Subsystem) String() string

func (Startup_Subsystem) Type added in v2.6.0

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) 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) GetMetrics added in v2.6.0

func (x *Stats) GetMetrics() []*Stats_Metric

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 []*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) 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 {
	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 (*WorkspaceAgentMetadata) GetResult added in v2.6.0

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 (*WorkspaceAgentMetadata_Description) GetKey added in v2.6.0

func (*WorkspaceAgentMetadata_Description) GetScript added in v2.6.0

func (*WorkspaceAgentMetadata_Description) GetTimeout added in v2.6.0

func (*WorkspaceAgentMetadata_Description) ProtoMessage added in v2.6.0

func (*WorkspaceAgentMetadata_Description) ProtoMessage()

func (*WorkspaceAgentMetadata_Description) ProtoReflect added in v2.6.0

func (*WorkspaceAgentMetadata_Description) Reset added in v2.6.0

func (*WorkspaceAgentMetadata_Description) String added in v2.6.0

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 (*WorkspaceAgentMetadata_Result) GetCollectedAt added in v2.6.0

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 (*WorkspaceAgentMetadata_Result) Reset added in v2.6.0

func (x *WorkspaceAgentMetadata_Result) Reset()

func (*WorkspaceAgentMetadata_Result) String added in v2.6.0

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