Documentation
¶
Index ¶
- Variables
- func DRPCRegisterProvisioner(mux drpc.Mux, impl DRPCProvisionerServer) error
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)deprecated
- func (x *Agent) GetApps() []*App
- func (x *Agent) GetArchitecture() string
- func (m *Agent) GetAuth() isAgent_Auth
- func (x *Agent) GetConnectionTimeoutSeconds() int32
- func (x *Agent) GetDevcontainers() []*Devcontainer
- func (x *Agent) GetDirectory() string
- func (x *Agent) GetDisplayApps() *DisplayApps
- func (x *Agent) GetEnv() map[string]string
- func (x *Agent) GetExtraEnvs() []*Env
- func (x *Agent) GetId() string
- func (x *Agent) GetInstanceId() string
- func (x *Agent) GetMetadata() []*Agent_Metadata
- func (x *Agent) GetMotdFile() string
- func (x *Agent) GetName() string
- func (x *Agent) GetOperatingSystem() string
- func (x *Agent) GetOrder() int64
- func (x *Agent) GetResourcesMonitoring() *ResourcesMonitoring
- func (x *Agent) GetScripts() []*Script
- func (x *Agent) GetToken() string
- func (x *Agent) GetTroubleshootingUrl() string
- func (*Agent) ProtoMessage()
- func (x *Agent) ProtoReflect() protoreflect.Message
- func (x *Agent) Reset()
- func (x *Agent) String() string
- type Agent_InstanceId
- type Agent_Metadata
- func (*Agent_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Agent_Metadata) GetDisplayName() string
- func (x *Agent_Metadata) GetInterval() int64
- func (x *Agent_Metadata) GetKey() string
- func (x *Agent_Metadata) GetOrder() int64
- func (x *Agent_Metadata) GetScript() string
- func (x *Agent_Metadata) GetTimeout() int64
- func (*Agent_Metadata) ProtoMessage()
- func (x *Agent_Metadata) ProtoReflect() protoreflect.Message
- func (x *Agent_Metadata) Reset()
- func (x *Agent_Metadata) String() string
- type Agent_Token
- type App
- func (*App) Descriptor() ([]byte, []int)deprecated
- func (x *App) GetCommand() string
- func (x *App) GetDisplayName() string
- func (x *App) GetExternal() bool
- func (x *App) GetHealthcheck() *Healthcheck
- func (x *App) GetHidden() bool
- func (x *App) GetIcon() string
- func (x *App) GetOpenIn() AppOpenIn
- func (x *App) GetOrder() int64
- func (x *App) GetSharingLevel() AppSharingLevel
- func (x *App) GetSlug() string
- func (x *App) GetSubdomain() bool
- func (x *App) GetUrl() string
- func (*App) ProtoMessage()
- func (x *App) ProtoReflect() protoreflect.Message
- func (x *App) Reset()
- func (x *App) String() string
- type AppOpenIn
- type AppSharingLevel
- func (AppSharingLevel) Descriptor() protoreflect.EnumDescriptor
- func (x AppSharingLevel) Enum() *AppSharingLevel
- func (AppSharingLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppSharingLevel) Number() protoreflect.EnumNumber
- func (x AppSharingLevel) String() string
- func (AppSharingLevel) Type() protoreflect.EnumType
- type ApplyComplete
- func (*ApplyComplete) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyComplete) GetError() string
- func (x *ApplyComplete) GetExternalAuthProviders() []*ExternalAuthProviderResource
- func (x *ApplyComplete) GetParameters() []*RichParameter
- func (x *ApplyComplete) GetResources() []*Resource
- func (x *ApplyComplete) GetState() []byte
- func (x *ApplyComplete) GetTimings() []*Timing
- func (*ApplyComplete) ProtoMessage()
- func (x *ApplyComplete) ProtoReflect() protoreflect.Message
- func (x *ApplyComplete) Reset()
- func (x *ApplyComplete) String() string
- type ApplyRequest
- type CancelRequest
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetProvisionerLogLevel() string
- func (x *Config) GetState() []byte
- func (x *Config) GetTemplateSourceArchive() []byte
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type DRPCProvisionerClient
- type DRPCProvisionerDescription
- type DRPCProvisionerServer
- type DRPCProvisionerUnimplementedServer
- type DRPCProvisioner_SessionClient
- type DRPCProvisioner_SessionStream
- type Devcontainer
- func (*Devcontainer) Descriptor() ([]byte, []int)deprecated
- func (x *Devcontainer) GetConfigPath() string
- func (x *Devcontainer) GetName() string
- func (x *Devcontainer) GetWorkspaceFolder() string
- func (*Devcontainer) ProtoMessage()
- func (x *Devcontainer) ProtoReflect() protoreflect.Message
- func (x *Devcontainer) Reset()
- func (x *Devcontainer) String() string
- type DisplayApps
- func (*DisplayApps) Descriptor() ([]byte, []int)deprecated
- func (x *DisplayApps) GetPortForwardingHelper() bool
- func (x *DisplayApps) GetSshHelper() bool
- func (x *DisplayApps) GetVscode() bool
- func (x *DisplayApps) GetVscodeInsiders() bool
- func (x *DisplayApps) GetWebTerminal() bool
- func (*DisplayApps) ProtoMessage()
- func (x *DisplayApps) ProtoReflect() protoreflect.Message
- func (x *DisplayApps) Reset()
- func (x *DisplayApps) String() string
- type Empty
- type Env
- type ExternalAuthProvider
- func (*ExternalAuthProvider) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalAuthProvider) GetAccessToken() string
- func (x *ExternalAuthProvider) GetId() string
- func (*ExternalAuthProvider) ProtoMessage()
- func (x *ExternalAuthProvider) ProtoReflect() protoreflect.Message
- func (x *ExternalAuthProvider) Reset()
- func (x *ExternalAuthProvider) String() string
- type ExternalAuthProviderResource
- func (*ExternalAuthProviderResource) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalAuthProviderResource) GetId() string
- func (x *ExternalAuthProviderResource) GetOptional() bool
- func (*ExternalAuthProviderResource) ProtoMessage()
- func (x *ExternalAuthProviderResource) ProtoReflect() protoreflect.Message
- func (x *ExternalAuthProviderResource) Reset()
- func (x *ExternalAuthProviderResource) String() string
- type Healthcheck
- func (*Healthcheck) Descriptor() ([]byte, []int)deprecated
- func (x *Healthcheck) GetInterval() int32
- func (x *Healthcheck) GetThreshold() int32
- func (x *Healthcheck) GetUrl() string
- func (*Healthcheck) ProtoMessage()
- func (x *Healthcheck) ProtoReflect() protoreflect.Message
- func (x *Healthcheck) Reset()
- func (x *Healthcheck) String() string
- type InstanceIdentityAuth
- func (*InstanceIdentityAuth) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceIdentityAuth) GetInstanceId() string
- func (*InstanceIdentityAuth) ProtoMessage()
- func (x *InstanceIdentityAuth) ProtoReflect() protoreflect.Message
- func (x *InstanceIdentityAuth) Reset()
- func (x *InstanceIdentityAuth) String() string
- type Log
- type LogLevel
- type MemoryResourceMonitor
- func (*MemoryResourceMonitor) Descriptor() ([]byte, []int)deprecated
- func (x *MemoryResourceMonitor) GetEnabled() bool
- func (x *MemoryResourceMonitor) GetThreshold() int32
- func (*MemoryResourceMonitor) ProtoMessage()
- func (x *MemoryResourceMonitor) ProtoReflect() protoreflect.Message
- func (x *MemoryResourceMonitor) Reset()
- func (x *MemoryResourceMonitor) String() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetCoderUrl() string
- func (x *Metadata) GetTemplateId() string
- func (x *Metadata) GetTemplateName() string
- func (x *Metadata) GetTemplateVersion() string
- func (x *Metadata) GetWorkspaceBuildId() string
- func (x *Metadata) GetWorkspaceId() string
- func (x *Metadata) GetWorkspaceName() string
- func (x *Metadata) GetWorkspaceOwner() string
- func (x *Metadata) GetWorkspaceOwnerEmail() string
- func (x *Metadata) GetWorkspaceOwnerGroups() []string
- func (x *Metadata) GetWorkspaceOwnerId() string
- func (x *Metadata) GetWorkspaceOwnerLoginType() string
- func (x *Metadata) GetWorkspaceOwnerName() string
- func (x *Metadata) GetWorkspaceOwnerOidcAccessToken() string
- func (x *Metadata) GetWorkspaceOwnerRbacRoles() []*Role
- func (x *Metadata) GetWorkspaceOwnerSessionToken() string
- func (x *Metadata) GetWorkspaceOwnerSshPrivateKey() string
- func (x *Metadata) GetWorkspaceOwnerSshPublicKey() string
- func (x *Metadata) GetWorkspaceTransition() WorkspaceTransition
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetKey() string
- func (x *Module) GetSource() string
- func (x *Module) GetVersion() string
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- type ParseComplete
- func (*ParseComplete) Descriptor() ([]byte, []int)deprecated
- func (x *ParseComplete) GetError() string
- func (x *ParseComplete) GetReadme() []byte
- func (x *ParseComplete) GetTemplateVariables() []*TemplateVariable
- func (x *ParseComplete) GetWorkspaceTags() map[string]string
- func (*ParseComplete) ProtoMessage()
- func (x *ParseComplete) ProtoReflect() protoreflect.Message
- func (x *ParseComplete) Reset()
- func (x *ParseComplete) String() string
- type ParseRequest
- type PlanComplete
- func (*PlanComplete) Descriptor() ([]byte, []int)deprecated
- func (x *PlanComplete) GetError() string
- func (x *PlanComplete) GetExternalAuthProviders() []*ExternalAuthProviderResource
- func (x *PlanComplete) GetModules() []*Module
- func (x *PlanComplete) GetParameters() []*RichParameter
- func (x *PlanComplete) GetPlan() []byte
- func (x *PlanComplete) GetPresets() []*Preset
- func (x *PlanComplete) GetResources() []*Resource
- func (x *PlanComplete) GetTimings() []*Timing
- func (*PlanComplete) ProtoMessage()
- func (x *PlanComplete) ProtoReflect() protoreflect.Message
- func (x *PlanComplete) Reset()
- func (x *PlanComplete) String() string
- type PlanRequest
- func (*PlanRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PlanRequest) GetExternalAuthProviders() []*ExternalAuthProvider
- func (x *PlanRequest) GetMetadata() *Metadata
- func (x *PlanRequest) GetRichParameterValues() []*RichParameterValue
- func (x *PlanRequest) GetVariableValues() []*VariableValue
- func (*PlanRequest) ProtoMessage()
- func (x *PlanRequest) ProtoReflect() protoreflect.Message
- func (x *PlanRequest) Reset()
- func (x *PlanRequest) String() string
- type Preset
- type PresetParameter
- func (*PresetParameter) Descriptor() ([]byte, []int)deprecated
- func (x *PresetParameter) GetName() string
- func (x *PresetParameter) GetValue() string
- func (*PresetParameter) ProtoMessage()
- func (x *PresetParameter) ProtoReflect() protoreflect.Message
- func (x *PresetParameter) Reset()
- func (x *PresetParameter) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetApply() *ApplyRequest
- func (x *Request) GetCancel() *CancelRequest
- func (x *Request) GetConfig() *Config
- func (x *Request) GetParse() *ParseRequest
- func (x *Request) GetPlan() *PlanRequest
- func (m *Request) GetType() isRequest_Type
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Request_Apply
- type Request_Cancel
- type Request_Config
- type Request_Parse
- type Request_Plan
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAgents() []*Agent
- func (x *Resource) GetDailyCost() int32
- func (x *Resource) GetHide() bool
- func (x *Resource) GetIcon() string
- func (x *Resource) GetInstanceType() string
- func (x *Resource) GetMetadata() []*Resource_Metadata
- func (x *Resource) GetModulePath() string
- func (x *Resource) GetName() string
- func (x *Resource) GetType() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type Resource_Metadata
- func (*Resource_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Resource_Metadata) GetIsNull() bool
- func (x *Resource_Metadata) GetKey() string
- func (x *Resource_Metadata) GetSensitive() bool
- func (x *Resource_Metadata) GetValue() string
- func (*Resource_Metadata) ProtoMessage()
- func (x *Resource_Metadata) ProtoReflect() protoreflect.Message
- func (x *Resource_Metadata) Reset()
- func (x *Resource_Metadata) String() string
- type ResourcesMonitoring
- func (*ResourcesMonitoring) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcesMonitoring) GetMemory() *MemoryResourceMonitor
- func (x *ResourcesMonitoring) GetVolumes() []*VolumeResourceMonitor
- func (*ResourcesMonitoring) ProtoMessage()
- func (x *ResourcesMonitoring) ProtoReflect() protoreflect.Message
- func (x *ResourcesMonitoring) Reset()
- func (x *ResourcesMonitoring) String() string
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetApply() *ApplyComplete
- func (x *Response) GetLog() *Log
- func (x *Response) GetParse() *ParseComplete
- func (x *Response) GetPlan() *PlanComplete
- func (m *Response) GetType() isResponse_Type
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type Response_Apply
- type Response_Log
- type Response_Parse
- type Response_Plan
- type RichParameter
- func (*RichParameter) Descriptor() ([]byte, []int)deprecated
- func (x *RichParameter) GetDefaultValue() string
- func (x *RichParameter) GetDescription() string
- func (x *RichParameter) GetDisplayName() string
- func (x *RichParameter) GetEphemeral() bool
- func (x *RichParameter) GetIcon() string
- func (x *RichParameter) GetMutable() bool
- func (x *RichParameter) GetName() string
- func (x *RichParameter) GetOptions() []*RichParameterOption
- func (x *RichParameter) GetOrder() int32
- func (x *RichParameter) GetRequired() bool
- func (x *RichParameter) GetType() string
- func (x *RichParameter) GetValidationError() string
- func (x *RichParameter) GetValidationMax() int32
- func (x *RichParameter) GetValidationMin() int32
- func (x *RichParameter) GetValidationMonotonic() string
- func (x *RichParameter) GetValidationRegex() string
- func (*RichParameter) ProtoMessage()
- func (x *RichParameter) ProtoReflect() protoreflect.Message
- func (x *RichParameter) Reset()
- func (x *RichParameter) String() string
- type RichParameterOption
- func (*RichParameterOption) Descriptor() ([]byte, []int)deprecated
- func (x *RichParameterOption) GetDescription() string
- func (x *RichParameterOption) GetIcon() string
- func (x *RichParameterOption) GetName() string
- func (x *RichParameterOption) GetValue() string
- func (*RichParameterOption) ProtoMessage()
- func (x *RichParameterOption) ProtoReflect() protoreflect.Message
- func (x *RichParameterOption) Reset()
- func (x *RichParameterOption) String() string
- type RichParameterValue
- func (*RichParameterValue) Descriptor() ([]byte, []int)deprecated
- func (x *RichParameterValue) GetName() string
- func (x *RichParameterValue) GetValue() string
- func (*RichParameterValue) ProtoMessage()
- func (x *RichParameterValue) ProtoReflect() protoreflect.Message
- func (x *RichParameterValue) Reset()
- func (x *RichParameterValue) String() string
- type Role
- type Script
- func (*Script) Descriptor() ([]byte, []int)deprecated
- func (x *Script) GetCron() string
- func (x *Script) GetDisplayName() string
- func (x *Script) GetIcon() string
- func (x *Script) GetLogPath() string
- func (x *Script) GetRunOnStart() bool
- func (x *Script) GetRunOnStop() bool
- func (x *Script) GetScript() string
- func (x *Script) GetStartBlocksLogin() bool
- func (x *Script) GetTimeoutSeconds() int32
- func (*Script) ProtoMessage()
- func (x *Script) ProtoReflect() protoreflect.Message
- func (x *Script) Reset()
- func (x *Script) String() string
- type TemplateVariable
- func (*TemplateVariable) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateVariable) GetDefaultValue() string
- func (x *TemplateVariable) GetDescription() string
- func (x *TemplateVariable) GetName() string
- func (x *TemplateVariable) GetRequired() bool
- func (x *TemplateVariable) GetSensitive() bool
- func (x *TemplateVariable) GetType() string
- func (*TemplateVariable) ProtoMessage()
- func (x *TemplateVariable) ProtoReflect() protoreflect.Message
- func (x *TemplateVariable) Reset()
- func (x *TemplateVariable) String() string
- type Timing
- func (*Timing) Descriptor() ([]byte, []int)deprecated
- func (x *Timing) GetAction() string
- func (x *Timing) GetEnd() *timestamppb.Timestamp
- func (x *Timing) GetResource() string
- func (x *Timing) GetSource() string
- func (x *Timing) GetStage() string
- func (x *Timing) GetStart() *timestamppb.Timestamp
- func (x *Timing) GetState() TimingState
- func (*Timing) ProtoMessage()
- func (x *Timing) ProtoReflect() protoreflect.Message
- func (x *Timing) Reset()
- func (x *Timing) String() string
- type TimingState
- func (TimingState) Descriptor() protoreflect.EnumDescriptor
- func (x TimingState) Enum() *TimingState
- func (TimingState) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimingState) Number() protoreflect.EnumNumber
- func (x TimingState) String() string
- func (TimingState) Type() protoreflect.EnumType
- type VariableValue
- func (*VariableValue) Descriptor() ([]byte, []int)deprecated
- func (x *VariableValue) GetName() string
- func (x *VariableValue) GetSensitive() bool
- func (x *VariableValue) GetValue() string
- func (*VariableValue) ProtoMessage()
- func (x *VariableValue) ProtoReflect() protoreflect.Message
- func (x *VariableValue) Reset()
- func (x *VariableValue) String() string
- type VolumeResourceMonitor
- func (*VolumeResourceMonitor) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeResourceMonitor) GetEnabled() bool
- func (x *VolumeResourceMonitor) GetPath() string
- func (x *VolumeResourceMonitor) GetThreshold() int32
- func (*VolumeResourceMonitor) ProtoMessage()
- func (x *VolumeResourceMonitor) ProtoReflect() protoreflect.Message
- func (x *VolumeResourceMonitor) Reset()
- func (x *VolumeResourceMonitor) String() string
- type WorkspaceTransition
- func (WorkspaceTransition) Descriptor() protoreflect.EnumDescriptor
- func (x WorkspaceTransition) Enum() *WorkspaceTransition
- func (WorkspaceTransition) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkspaceTransition) Number() protoreflect.EnumNumber
- func (x WorkspaceTransition) String() string
- func (WorkspaceTransition) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( LogLevel_name = map[int32]string{ 0: "TRACE", 1: "DEBUG", 2: "INFO", 3: "WARN", 4: "ERROR", } LogLevel_value = map[string]int32{ "TRACE": 0, "DEBUG": 1, "INFO": 2, "WARN": 3, "ERROR": 4, } )
Enum value maps for LogLevel.
var ( AppSharingLevel_name = map[int32]string{ 0: "OWNER", 1: "AUTHENTICATED", 2: "PUBLIC", } AppSharingLevel_value = map[string]int32{ "OWNER": 0, "AUTHENTICATED": 1, "PUBLIC": 2, } )
Enum value maps for AppSharingLevel.
var ( AppOpenIn_name = map[int32]string{ 0: "WINDOW", 1: "SLIM_WINDOW", 2: "TAB", } AppOpenIn_value = map[string]int32{ "WINDOW": 0, "SLIM_WINDOW": 1, "TAB": 2, } )
Enum value maps for AppOpenIn.
var ( WorkspaceTransition_name = map[int32]string{ 0: "START", 1: "STOP", 2: "DESTROY", } WorkspaceTransition_value = map[string]int32{ "START": 0, "STOP": 1, "DESTROY": 2, } )
Enum value maps for WorkspaceTransition.
var ( TimingState_name = map[int32]string{ 0: "STARTED", 1: "COMPLETED", 2: "FAILED", } TimingState_value = map[string]int32{ "STARTED": 0, "COMPLETED": 1, "FAILED": 2, } )
Enum value maps for TimingState.
var File_provisionersdk_proto_provisioner_proto protoreflect.FileDescriptor
Functions ¶
func DRPCRegisterProvisioner ¶
func DRPCRegisterProvisioner(mux drpc.Mux, impl DRPCProvisionerServer) error
Types ¶
type Agent ¶
type Agent struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Env map[string]string `` /* 147-byte string literal not displayed */ // Field 4 was startup_script, now removed. OperatingSystem string `protobuf:"bytes,5,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"` Architecture string `protobuf:"bytes,6,opt,name=architecture,proto3" json:"architecture,omitempty"` Directory string `protobuf:"bytes,7,opt,name=directory,proto3" json:"directory,omitempty"` Apps []*App `protobuf:"bytes,8,rep,name=apps,proto3" json:"apps,omitempty"` // Types that are assignable to Auth: // // *Agent_Token // *Agent_InstanceId Auth isAgent_Auth `protobuf_oneof:"auth"` ConnectionTimeoutSeconds int32 `` /* 137-byte string literal not displayed */ TroubleshootingUrl string `protobuf:"bytes,12,opt,name=troubleshooting_url,json=troubleshootingUrl,proto3" json:"troubleshooting_url,omitempty"` MotdFile string `protobuf:"bytes,13,opt,name=motd_file,json=motdFile,proto3" json:"motd_file,omitempty"` // Field 14 was bool login_before_ready = 14, now removed. // Field 15, 16, 17 were related to scripts, which are now removed. Metadata []*Agent_Metadata `protobuf:"bytes,18,rep,name=metadata,proto3" json:"metadata,omitempty"` // Field 19 was startup_script_behavior, now removed. DisplayApps *DisplayApps `protobuf:"bytes,20,opt,name=display_apps,json=displayApps,proto3" json:"display_apps,omitempty"` Scripts []*Script `protobuf:"bytes,21,rep,name=scripts,proto3" json:"scripts,omitempty"` ExtraEnvs []*Env `protobuf:"bytes,22,rep,name=extra_envs,json=extraEnvs,proto3" json:"extra_envs,omitempty"` Order int64 `protobuf:"varint,23,opt,name=order,proto3" json:"order,omitempty"` ResourcesMonitoring *ResourcesMonitoring `protobuf:"bytes,24,opt,name=resources_monitoring,json=resourcesMonitoring,proto3" json:"resources_monitoring,omitempty"` Devcontainers []*Devcontainer `protobuf:"bytes,25,rep,name=devcontainers,proto3" json:"devcontainers,omitempty"` // contains filtered or unexported fields }
Agent represents a running agent on the workspace.
func (*Agent) Descriptor
deprecated
func (*Agent) GetArchitecture ¶
func (*Agent) GetConnectionTimeoutSeconds ¶
func (*Agent) GetDevcontainers ¶ added in v2.21.0
func (x *Agent) GetDevcontainers() []*Devcontainer
func (*Agent) GetDirectory ¶
func (*Agent) GetDisplayApps ¶ added in v2.1.5
func (x *Agent) GetDisplayApps() *DisplayApps
func (*Agent) GetExtraEnvs ¶ added in v2.5.0
func (*Agent) GetInstanceId ¶
func (*Agent) GetMetadata ¶
func (x *Agent) GetMetadata() []*Agent_Metadata
func (*Agent) GetMotdFile ¶
func (*Agent) GetOperatingSystem ¶
func (*Agent) GetResourcesMonitoring ¶ added in v2.20.0
func (x *Agent) GetResourcesMonitoring() *ResourcesMonitoring
func (*Agent) GetScripts ¶ added in v2.2.0
func (*Agent) GetTroubleshootingUrl ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
type Agent_InstanceId ¶
type Agent_InstanceId struct {
InstanceId string `protobuf:"bytes,10,opt,name=instance_id,json=instanceId,proto3,oneof"`
}
type Agent_Metadata ¶
type Agent_Metadata struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"` Interval int64 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"` Timeout int64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"` Order int64 `protobuf:"varint,6,opt,name=order,proto3" json:"order,omitempty"` // contains filtered or unexported fields }
func (*Agent_Metadata) Descriptor
deprecated
func (*Agent_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Agent_Metadata.ProtoReflect.Descriptor instead.
func (*Agent_Metadata) GetDisplayName ¶
func (x *Agent_Metadata) GetDisplayName() string
func (*Agent_Metadata) GetInterval ¶
func (x *Agent_Metadata) GetInterval() int64
func (*Agent_Metadata) GetKey ¶
func (x *Agent_Metadata) GetKey() string
func (*Agent_Metadata) GetOrder ¶ added in v2.9.0
func (x *Agent_Metadata) GetOrder() int64
func (*Agent_Metadata) GetScript ¶
func (x *Agent_Metadata) GetScript() string
func (*Agent_Metadata) GetTimeout ¶
func (x *Agent_Metadata) GetTimeout() int64
func (*Agent_Metadata) ProtoMessage ¶
func (*Agent_Metadata) ProtoMessage()
func (*Agent_Metadata) ProtoReflect ¶
func (x *Agent_Metadata) ProtoReflect() protoreflect.Message
func (*Agent_Metadata) Reset ¶
func (x *Agent_Metadata) Reset()
func (*Agent_Metadata) String ¶
func (x *Agent_Metadata) String() string
type Agent_Token ¶
type Agent_Token struct {
Token string `protobuf:"bytes,9,opt,name=token,proto3,oneof"`
}
type App ¶
type App struct { // slug is the unique identifier for the app, usually the name from the // template. It must be URL-safe and hostname-safe. Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Command string `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"` Subdomain bool `protobuf:"varint,6,opt,name=subdomain,proto3" json:"subdomain,omitempty"` Healthcheck *Healthcheck `protobuf:"bytes,7,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"` SharingLevel AppSharingLevel `` /* 131-byte string literal not displayed */ External bool `protobuf:"varint,9,opt,name=external,proto3" json:"external,omitempty"` Order int64 `protobuf:"varint,10,opt,name=order,proto3" json:"order,omitempty"` Hidden bool `protobuf:"varint,11,opt,name=hidden,proto3" json:"hidden,omitempty"` OpenIn AppOpenIn `protobuf:"varint,12,opt,name=open_in,json=openIn,proto3,enum=provisioner.AppOpenIn" json:"open_in,omitempty"` // contains filtered or unexported fields }
App represents a dev-accessible application on the workspace.
func (*App) Descriptor
deprecated
func (*App) GetCommand ¶
func (*App) GetDisplayName ¶
func (*App) GetExternal ¶
func (*App) GetHealthcheck ¶
func (x *App) GetHealthcheck() *Healthcheck
func (*App) GetSharingLevel ¶
func (x *App) GetSharingLevel() AppSharingLevel
func (*App) GetSubdomain ¶
func (*App) ProtoMessage ¶
func (*App) ProtoMessage()
func (*App) ProtoReflect ¶
func (x *App) ProtoReflect() protoreflect.Message
type AppOpenIn ¶ added in v2.19.0
type AppOpenIn int32
func (AppOpenIn) Descriptor ¶ added in v2.19.0
func (AppOpenIn) Descriptor() protoreflect.EnumDescriptor
func (AppOpenIn) EnumDescriptor
deprecated
added in
v2.19.0
func (AppOpenIn) Number ¶ added in v2.19.0
func (x AppOpenIn) Number() protoreflect.EnumNumber
func (AppOpenIn) Type ¶ added in v2.19.0
func (AppOpenIn) Type() protoreflect.EnumType
type AppSharingLevel ¶
type AppSharingLevel int32
const ( AppSharingLevel_OWNER AppSharingLevel = 0 AppSharingLevel_AUTHENTICATED AppSharingLevel = 1 AppSharingLevel_PUBLIC AppSharingLevel = 2 )
func (AppSharingLevel) Descriptor ¶
func (AppSharingLevel) Descriptor() protoreflect.EnumDescriptor
func (AppSharingLevel) Enum ¶
func (x AppSharingLevel) Enum() *AppSharingLevel
func (AppSharingLevel) EnumDescriptor
deprecated
func (AppSharingLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppSharingLevel.Descriptor instead.
func (AppSharingLevel) Number ¶
func (x AppSharingLevel) Number() protoreflect.EnumNumber
func (AppSharingLevel) String ¶
func (x AppSharingLevel) String() string
func (AppSharingLevel) Type ¶
func (AppSharingLevel) Type() protoreflect.EnumType
type ApplyComplete ¶ added in v2.1.4
type ApplyComplete struct { State []byte `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Resources []*Resource `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"` Parameters []*RichParameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"` ExternalAuthProviders []*ExternalAuthProviderResource `` /* 126-byte string literal not displayed */ Timings []*Timing `protobuf:"bytes,6,rep,name=timings,proto3" json:"timings,omitempty"` // contains filtered or unexported fields }
ApplyComplete indicates a request to apply completed.
func (*ApplyComplete) Descriptor
deprecated
added in
v2.1.4
func (*ApplyComplete) Descriptor() ([]byte, []int)
Deprecated: Use ApplyComplete.ProtoReflect.Descriptor instead.
func (*ApplyComplete) GetError ¶ added in v2.1.4
func (x *ApplyComplete) GetError() string
func (*ApplyComplete) GetExternalAuthProviders ¶ added in v2.2.1
func (x *ApplyComplete) GetExternalAuthProviders() []*ExternalAuthProviderResource
func (*ApplyComplete) GetParameters ¶ added in v2.1.4
func (x *ApplyComplete) GetParameters() []*RichParameter
func (*ApplyComplete) GetResources ¶ added in v2.1.4
func (x *ApplyComplete) GetResources() []*Resource
func (*ApplyComplete) GetState ¶ added in v2.1.4
func (x *ApplyComplete) GetState() []byte
func (*ApplyComplete) GetTimings ¶ added in v2.15.0
func (x *ApplyComplete) GetTimings() []*Timing
func (*ApplyComplete) ProtoMessage ¶ added in v2.1.4
func (*ApplyComplete) ProtoMessage()
func (*ApplyComplete) ProtoReflect ¶ added in v2.1.4
func (x *ApplyComplete) ProtoReflect() protoreflect.Message
func (*ApplyComplete) Reset ¶ added in v2.1.4
func (x *ApplyComplete) Reset()
func (*ApplyComplete) String ¶ added in v2.1.4
func (x *ApplyComplete) String() string
type ApplyRequest ¶ added in v2.1.4
type ApplyRequest struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
ApplyRequest asks the provisioner to apply the changes. Apply MUST be preceded by a successful plan request/response in the same Session. The plan data is not transmitted over the wire and is cached by the provisioner in the Session.
func (*ApplyRequest) Descriptor
deprecated
added in
v2.1.4
func (*ApplyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyRequest.ProtoReflect.Descriptor instead.
func (*ApplyRequest) GetMetadata ¶ added in v2.1.4
func (x *ApplyRequest) GetMetadata() *Metadata
func (*ApplyRequest) ProtoMessage ¶ added in v2.1.4
func (*ApplyRequest) ProtoMessage()
func (*ApplyRequest) ProtoReflect ¶ added in v2.1.4
func (x *ApplyRequest) ProtoReflect() protoreflect.Message
func (*ApplyRequest) Reset ¶ added in v2.1.4
func (x *ApplyRequest) Reset()
func (*ApplyRequest) String ¶ added in v2.1.4
func (x *ApplyRequest) String() string
type CancelRequest ¶ added in v2.1.4
type CancelRequest struct {
// contains filtered or unexported fields
}
CancelRequest requests that the previous request be canceled gracefully.
func (*CancelRequest) Descriptor
deprecated
added in
v2.1.4
func (*CancelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelRequest.ProtoReflect.Descriptor instead.
func (*CancelRequest) ProtoMessage ¶ added in v2.1.4
func (*CancelRequest) ProtoMessage()
func (*CancelRequest) ProtoReflect ¶ added in v2.1.4
func (x *CancelRequest) ProtoReflect() protoreflect.Message
func (*CancelRequest) Reset ¶ added in v2.1.4
func (x *CancelRequest) Reset()
func (*CancelRequest) String ¶ added in v2.1.4
func (x *CancelRequest) String() string
type Config ¶ added in v2.1.4
type Config struct { // template_source_archive is a tar of the template source files TemplateSourceArchive []byte `` /* 126-byte string literal not displayed */ // state is the provisioner state (if any) State []byte `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` ProvisionerLogLevel string `protobuf:"bytes,3,opt,name=provisioner_log_level,json=provisionerLogLevel,proto3" json:"provisioner_log_level,omitempty"` // contains filtered or unexported fields }
Config represents execution configuration shared by all subsequent requests in the Session
func (*Config) Descriptor
deprecated
added in
v2.1.4
func (*Config) GetProvisionerLogLevel ¶ added in v2.1.4
func (*Config) GetTemplateSourceArchive ¶ added in v2.1.4
func (*Config) ProtoMessage ¶ added in v2.1.4
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶ added in v2.1.4
func (x *Config) ProtoReflect() protoreflect.Message
type DRPCProvisionerClient ¶
type DRPCProvisionerClient interface { DRPCConn() drpc.Conn Session(ctx context.Context) (DRPCProvisioner_SessionClient, error) }
func NewDRPCProvisionerClient ¶
func NewDRPCProvisionerClient(cc drpc.Conn) DRPCProvisionerClient
type DRPCProvisionerDescription ¶
type DRPCProvisionerDescription struct{}
func (DRPCProvisionerDescription) NumMethods ¶
func (DRPCProvisionerDescription) NumMethods() int
type DRPCProvisionerServer ¶
type DRPCProvisionerServer interface {
Session(DRPCProvisioner_SessionStream) error
}
type DRPCProvisionerUnimplementedServer ¶
type DRPCProvisionerUnimplementedServer struct{}
func (*DRPCProvisionerUnimplementedServer) Session ¶ added in v2.1.4
func (s *DRPCProvisionerUnimplementedServer) Session(DRPCProvisioner_SessionStream) error
type DRPCProvisioner_SessionClient ¶ added in v2.1.4
type DRPCProvisioner_SessionStream ¶ added in v2.1.4
type Devcontainer ¶ added in v2.21.0
type Devcontainer struct { WorkspaceFolder string `protobuf:"bytes,1,opt,name=workspace_folder,json=workspaceFolder,proto3" json:"workspace_folder,omitempty"` ConfigPath string `protobuf:"bytes,2,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Devcontainer) Descriptor
deprecated
added in
v2.21.0
func (*Devcontainer) Descriptor() ([]byte, []int)
Deprecated: Use Devcontainer.ProtoReflect.Descriptor instead.
func (*Devcontainer) GetConfigPath ¶ added in v2.21.0
func (x *Devcontainer) GetConfigPath() string
func (*Devcontainer) GetName ¶ added in v2.21.0
func (x *Devcontainer) GetName() string
func (*Devcontainer) GetWorkspaceFolder ¶ added in v2.21.0
func (x *Devcontainer) GetWorkspaceFolder() string
func (*Devcontainer) ProtoMessage ¶ added in v2.21.0
func (*Devcontainer) ProtoMessage()
func (*Devcontainer) ProtoReflect ¶ added in v2.21.0
func (x *Devcontainer) ProtoReflect() protoreflect.Message
func (*Devcontainer) Reset ¶ added in v2.21.0
func (x *Devcontainer) Reset()
func (*Devcontainer) String ¶ added in v2.21.0
func (x *Devcontainer) String() string
type DisplayApps ¶ added in v2.1.5
type DisplayApps struct { Vscode bool `protobuf:"varint,1,opt,name=vscode,proto3" json:"vscode,omitempty"` VscodeInsiders bool `protobuf:"varint,2,opt,name=vscode_insiders,json=vscodeInsiders,proto3" json:"vscode_insiders,omitempty"` WebTerminal bool `protobuf:"varint,3,opt,name=web_terminal,json=webTerminal,proto3" json:"web_terminal,omitempty"` SshHelper bool `protobuf:"varint,4,opt,name=ssh_helper,json=sshHelper,proto3" json:"ssh_helper,omitempty"` PortForwardingHelper bool `protobuf:"varint,5,opt,name=port_forwarding_helper,json=portForwardingHelper,proto3" json:"port_forwarding_helper,omitempty"` // contains filtered or unexported fields }
func (*DisplayApps) Descriptor
deprecated
added in
v2.1.5
func (*DisplayApps) Descriptor() ([]byte, []int)
Deprecated: Use DisplayApps.ProtoReflect.Descriptor instead.
func (*DisplayApps) GetPortForwardingHelper ¶ added in v2.1.5
func (x *DisplayApps) GetPortForwardingHelper() bool
func (*DisplayApps) GetSshHelper ¶ added in v2.1.5
func (x *DisplayApps) GetSshHelper() bool
func (*DisplayApps) GetVscode ¶ added in v2.1.5
func (x *DisplayApps) GetVscode() bool
func (*DisplayApps) GetVscodeInsiders ¶ added in v2.1.5
func (x *DisplayApps) GetVscodeInsiders() bool
func (*DisplayApps) GetWebTerminal ¶ added in v2.1.5
func (x *DisplayApps) GetWebTerminal() bool
func (*DisplayApps) ProtoMessage ¶ added in v2.1.5
func (*DisplayApps) ProtoMessage()
func (*DisplayApps) ProtoReflect ¶ added in v2.1.5
func (x *DisplayApps) ProtoReflect() protoreflect.Message
func (*DisplayApps) Reset ¶ added in v2.1.5
func (x *DisplayApps) Reset()
func (*DisplayApps) String ¶ added in v2.1.5
func (x *DisplayApps) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
Empty indicates a successful request/response.
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Env ¶ added in v2.5.0
type Env 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 (*Env) Descriptor
deprecated
added in
v2.5.0
func (*Env) ProtoMessage ¶ added in v2.5.0
func (*Env) ProtoMessage()
func (*Env) ProtoReflect ¶ added in v2.5.0
func (x *Env) ProtoReflect() protoreflect.Message
type ExternalAuthProvider ¶ added in v2.2.1
type ExternalAuthProvider struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*ExternalAuthProvider) Descriptor
deprecated
added in
v2.2.1
func (*ExternalAuthProvider) Descriptor() ([]byte, []int)
Deprecated: Use ExternalAuthProvider.ProtoReflect.Descriptor instead.
func (*ExternalAuthProvider) GetAccessToken ¶ added in v2.2.1
func (x *ExternalAuthProvider) GetAccessToken() string
func (*ExternalAuthProvider) GetId ¶ added in v2.2.1
func (x *ExternalAuthProvider) GetId() string
func (*ExternalAuthProvider) ProtoMessage ¶ added in v2.2.1
func (*ExternalAuthProvider) ProtoMessage()
func (*ExternalAuthProvider) ProtoReflect ¶ added in v2.2.1
func (x *ExternalAuthProvider) ProtoReflect() protoreflect.Message
func (*ExternalAuthProvider) Reset ¶ added in v2.2.1
func (x *ExternalAuthProvider) Reset()
func (*ExternalAuthProvider) String ¶ added in v2.2.1
func (x *ExternalAuthProvider) String() string
type ExternalAuthProviderResource ¶ added in v2.9.0
type ExternalAuthProviderResource struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Optional bool `protobuf:"varint,2,opt,name=optional,proto3" json:"optional,omitempty"` // contains filtered or unexported fields }
func (*ExternalAuthProviderResource) Descriptor
deprecated
added in
v2.9.0
func (*ExternalAuthProviderResource) Descriptor() ([]byte, []int)
Deprecated: Use ExternalAuthProviderResource.ProtoReflect.Descriptor instead.
func (*ExternalAuthProviderResource) GetId ¶ added in v2.9.0
func (x *ExternalAuthProviderResource) GetId() string
func (*ExternalAuthProviderResource) GetOptional ¶ added in v2.9.0
func (x *ExternalAuthProviderResource) GetOptional() bool
func (*ExternalAuthProviderResource) ProtoMessage ¶ added in v2.9.0
func (*ExternalAuthProviderResource) ProtoMessage()
func (*ExternalAuthProviderResource) ProtoReflect ¶ added in v2.9.0
func (x *ExternalAuthProviderResource) ProtoReflect() protoreflect.Message
func (*ExternalAuthProviderResource) Reset ¶ added in v2.9.0
func (x *ExternalAuthProviderResource) Reset()
func (*ExternalAuthProviderResource) String ¶ added in v2.9.0
func (x *ExternalAuthProviderResource) String() string
type Healthcheck ¶
type 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 }
Healthcheck represents configuration for checking for app readiness.
func (*Healthcheck) Descriptor
deprecated
func (*Healthcheck) Descriptor() ([]byte, []int)
Deprecated: Use Healthcheck.ProtoReflect.Descriptor instead.
func (*Healthcheck) GetInterval ¶
func (x *Healthcheck) GetInterval() int32
func (*Healthcheck) GetThreshold ¶
func (x *Healthcheck) GetThreshold() int32
func (*Healthcheck) GetUrl ¶
func (x *Healthcheck) GetUrl() string
func (*Healthcheck) ProtoMessage ¶
func (*Healthcheck) ProtoMessage()
func (*Healthcheck) ProtoReflect ¶
func (x *Healthcheck) ProtoReflect() protoreflect.Message
func (*Healthcheck) Reset ¶
func (x *Healthcheck) Reset()
func (*Healthcheck) String ¶
func (x *Healthcheck) String() string
type InstanceIdentityAuth ¶
type InstanceIdentityAuth struct { InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // contains filtered or unexported fields }
func (*InstanceIdentityAuth) Descriptor
deprecated
func (*InstanceIdentityAuth) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIdentityAuth.ProtoReflect.Descriptor instead.
func (*InstanceIdentityAuth) GetInstanceId ¶
func (x *InstanceIdentityAuth) GetInstanceId() string
func (*InstanceIdentityAuth) ProtoMessage ¶
func (*InstanceIdentityAuth) ProtoMessage()
func (*InstanceIdentityAuth) ProtoReflect ¶
func (x *InstanceIdentityAuth) ProtoReflect() protoreflect.Message
func (*InstanceIdentityAuth) Reset ¶
func (x *InstanceIdentityAuth) Reset()
func (*InstanceIdentityAuth) String ¶
func (x *InstanceIdentityAuth) String() string
type Log ¶
type Log struct { Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=provisioner.LogLevel" json:"level,omitempty"` Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
Log represents output from a request.
func (*Log) Descriptor
deprecated
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (x *Log) ProtoReflect() protoreflect.Message
type LogLevel ¶
type LogLevel int32
LogLevel represents severity of the log.
func (LogLevel) Descriptor ¶
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
func (LogLevel) Number ¶
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶
func (LogLevel) Type() protoreflect.EnumType
type MemoryResourceMonitor ¶ added in v2.20.0
type MemoryResourceMonitor struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Threshold int32 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"` // contains filtered or unexported fields }
func (*MemoryResourceMonitor) Descriptor
deprecated
added in
v2.20.0
func (*MemoryResourceMonitor) Descriptor() ([]byte, []int)
Deprecated: Use MemoryResourceMonitor.ProtoReflect.Descriptor instead.
func (*MemoryResourceMonitor) GetEnabled ¶ added in v2.20.0
func (x *MemoryResourceMonitor) GetEnabled() bool
func (*MemoryResourceMonitor) GetThreshold ¶ added in v2.20.0
func (x *MemoryResourceMonitor) GetThreshold() int32
func (*MemoryResourceMonitor) ProtoMessage ¶ added in v2.20.0
func (*MemoryResourceMonitor) ProtoMessage()
func (*MemoryResourceMonitor) ProtoReflect ¶ added in v2.20.0
func (x *MemoryResourceMonitor) ProtoReflect() protoreflect.Message
func (*MemoryResourceMonitor) Reset ¶ added in v2.20.0
func (x *MemoryResourceMonitor) Reset()
func (*MemoryResourceMonitor) String ¶ added in v2.20.0
func (x *MemoryResourceMonitor) String() string
type Metadata ¶ added in v2.1.4
type Metadata struct { CoderUrl string `protobuf:"bytes,1,opt,name=coder_url,json=coderUrl,proto3" json:"coder_url,omitempty"` WorkspaceTransition WorkspaceTransition `` /* 156-byte string literal not displayed */ WorkspaceName string `protobuf:"bytes,3,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"` WorkspaceOwner string `protobuf:"bytes,4,opt,name=workspace_owner,json=workspaceOwner,proto3" json:"workspace_owner,omitempty"` WorkspaceId string `protobuf:"bytes,5,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` WorkspaceOwnerId string `protobuf:"bytes,6,opt,name=workspace_owner_id,json=workspaceOwnerId,proto3" json:"workspace_owner_id,omitempty"` WorkspaceOwnerEmail string `protobuf:"bytes,7,opt,name=workspace_owner_email,json=workspaceOwnerEmail,proto3" json:"workspace_owner_email,omitempty"` TemplateName string `protobuf:"bytes,8,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"` TemplateVersion string `protobuf:"bytes,9,opt,name=template_version,json=templateVersion,proto3" json:"template_version,omitempty"` WorkspaceOwnerOidcAccessToken string `` /* 155-byte string literal not displayed */ WorkspaceOwnerSessionToken string `` /* 144-byte string literal not displayed */ TemplateId string `protobuf:"bytes,12,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"` WorkspaceOwnerName string `protobuf:"bytes,13,opt,name=workspace_owner_name,json=workspaceOwnerName,proto3" json:"workspace_owner_name,omitempty"` WorkspaceOwnerGroups []string `protobuf:"bytes,14,rep,name=workspace_owner_groups,json=workspaceOwnerGroups,proto3" json:"workspace_owner_groups,omitempty"` WorkspaceOwnerSshPublicKey string `` /* 146-byte string literal not displayed */ WorkspaceOwnerSshPrivateKey string `` /* 149-byte string literal not displayed */ WorkspaceBuildId string `protobuf:"bytes,17,opt,name=workspace_build_id,json=workspaceBuildId,proto3" json:"workspace_build_id,omitempty"` WorkspaceOwnerLoginType string `` /* 135-byte string literal not displayed */ WorkspaceOwnerRbacRoles []*Role `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
Metadata is information about a workspace used in the execution of a build
func (*Metadata) Descriptor
deprecated
added in
v2.1.4
func (*Metadata) GetCoderUrl ¶ added in v2.1.4
func (*Metadata) GetTemplateId ¶ added in v2.2.0
func (*Metadata) GetTemplateName ¶ added in v2.1.4
func (*Metadata) GetTemplateVersion ¶ added in v2.1.4
func (*Metadata) GetWorkspaceBuildId ¶ added in v2.13.0
func (*Metadata) GetWorkspaceId ¶ added in v2.1.4
func (*Metadata) GetWorkspaceName ¶ added in v2.1.4
func (*Metadata) GetWorkspaceOwner ¶ added in v2.1.4
func (*Metadata) GetWorkspaceOwnerEmail ¶ added in v2.1.4
func (*Metadata) GetWorkspaceOwnerGroups ¶ added in v2.11.0
func (*Metadata) GetWorkspaceOwnerId ¶ added in v2.1.4
func (*Metadata) GetWorkspaceOwnerLoginType ¶ added in v2.18.0
func (*Metadata) GetWorkspaceOwnerName ¶ added in v2.7.0
func (*Metadata) GetWorkspaceOwnerOidcAccessToken ¶ added in v2.1.4
func (*Metadata) GetWorkspaceOwnerRbacRoles ¶ added in v2.21.0
func (*Metadata) GetWorkspaceOwnerSessionToken ¶ added in v2.1.4
func (*Metadata) GetWorkspaceOwnerSshPrivateKey ¶ added in v2.12.0
func (*Metadata) GetWorkspaceOwnerSshPublicKey ¶ added in v2.12.0
func (*Metadata) GetWorkspaceTransition ¶ added in v2.1.4
func (x *Metadata) GetWorkspaceTransition() WorkspaceTransition
func (*Metadata) ProtoMessage ¶ added in v2.1.4
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶ added in v2.1.4
func (x *Metadata) ProtoReflect() protoreflect.Message
type Module ¶ added in v2.18.0
type Module struct { Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*Module) Descriptor
deprecated
added in
v2.18.0
func (*Module) GetVersion ¶ added in v2.18.0
func (*Module) ProtoMessage ¶ added in v2.18.0
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶ added in v2.18.0
func (x *Module) ProtoReflect() protoreflect.Message
type ParseComplete ¶ added in v2.1.4
type ParseComplete struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` TemplateVariables []*TemplateVariable `protobuf:"bytes,2,rep,name=template_variables,json=templateVariables,proto3" json:"template_variables,omitempty"` Readme []byte `protobuf:"bytes,3,opt,name=readme,proto3" json:"readme,omitempty"` WorkspaceTags map[string]string `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
ParseComplete indicates a request to parse completed.
func (*ParseComplete) Descriptor
deprecated
added in
v2.1.4
func (*ParseComplete) Descriptor() ([]byte, []int)
Deprecated: Use ParseComplete.ProtoReflect.Descriptor instead.
func (*ParseComplete) GetError ¶ added in v2.1.4
func (x *ParseComplete) GetError() string
func (*ParseComplete) GetReadme ¶ added in v2.1.4
func (x *ParseComplete) GetReadme() []byte
func (*ParseComplete) GetTemplateVariables ¶ added in v2.1.4
func (x *ParseComplete) GetTemplateVariables() []*TemplateVariable
func (*ParseComplete) GetWorkspaceTags ¶ added in v2.12.0
func (x *ParseComplete) GetWorkspaceTags() map[string]string
func (*ParseComplete) ProtoMessage ¶ added in v2.1.4
func (*ParseComplete) ProtoMessage()
func (*ParseComplete) ProtoReflect ¶ added in v2.1.4
func (x *ParseComplete) ProtoReflect() protoreflect.Message
func (*ParseComplete) Reset ¶ added in v2.1.4
func (x *ParseComplete) Reset()
func (*ParseComplete) String ¶ added in v2.1.4
func (x *ParseComplete) String() string
type ParseRequest ¶ added in v2.1.4
type ParseRequest struct {
// contains filtered or unexported fields
}
ParseRequest consumes source-code to produce inputs.
func (*ParseRequest) Descriptor
deprecated
added in
v2.1.4
func (*ParseRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseRequest.ProtoReflect.Descriptor instead.
func (*ParseRequest) ProtoMessage ¶ added in v2.1.4
func (*ParseRequest) ProtoMessage()
func (*ParseRequest) ProtoReflect ¶ added in v2.1.4
func (x *ParseRequest) ProtoReflect() protoreflect.Message
func (*ParseRequest) Reset ¶ added in v2.1.4
func (x *ParseRequest) Reset()
func (*ParseRequest) String ¶ added in v2.1.4
func (x *ParseRequest) String() string
type PlanComplete ¶ added in v2.1.4
type PlanComplete struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` Parameters []*RichParameter `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"` ExternalAuthProviders []*ExternalAuthProviderResource `` /* 126-byte string literal not displayed */ Timings []*Timing `protobuf:"bytes,6,rep,name=timings,proto3" json:"timings,omitempty"` Modules []*Module `protobuf:"bytes,7,rep,name=modules,proto3" json:"modules,omitempty"` Presets []*Preset `protobuf:"bytes,8,rep,name=presets,proto3" json:"presets,omitempty"` Plan []byte `protobuf:"bytes,9,opt,name=plan,proto3" json:"plan,omitempty"` // contains filtered or unexported fields }
PlanComplete indicates a request to plan completed.
func (*PlanComplete) Descriptor
deprecated
added in
v2.1.4
func (*PlanComplete) Descriptor() ([]byte, []int)
Deprecated: Use PlanComplete.ProtoReflect.Descriptor instead.
func (*PlanComplete) GetError ¶ added in v2.1.4
func (x *PlanComplete) GetError() string
func (*PlanComplete) GetExternalAuthProviders ¶ added in v2.2.1
func (x *PlanComplete) GetExternalAuthProviders() []*ExternalAuthProviderResource
func (*PlanComplete) GetModules ¶ added in v2.18.0
func (x *PlanComplete) GetModules() []*Module
func (*PlanComplete) GetParameters ¶ added in v2.1.4
func (x *PlanComplete) GetParameters() []*RichParameter
func (*PlanComplete) GetPlan ¶ added in v2.21.0
func (x *PlanComplete) GetPlan() []byte
func (*PlanComplete) GetPresets ¶ added in v2.20.0
func (x *PlanComplete) GetPresets() []*Preset
func (*PlanComplete) GetResources ¶ added in v2.1.4
func (x *PlanComplete) GetResources() []*Resource
func (*PlanComplete) GetTimings ¶ added in v2.15.0
func (x *PlanComplete) GetTimings() []*Timing
func (*PlanComplete) ProtoMessage ¶ added in v2.1.4
func (*PlanComplete) ProtoMessage()
func (*PlanComplete) ProtoReflect ¶ added in v2.1.4
func (x *PlanComplete) ProtoReflect() protoreflect.Message
func (*PlanComplete) Reset ¶ added in v2.1.4
func (x *PlanComplete) Reset()
func (*PlanComplete) String ¶ added in v2.1.4
func (x *PlanComplete) String() string
type PlanRequest ¶ added in v2.1.4
type PlanRequest struct { Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` RichParameterValues []*RichParameterValue `protobuf:"bytes,2,rep,name=rich_parameter_values,json=richParameterValues,proto3" json:"rich_parameter_values,omitempty"` VariableValues []*VariableValue `protobuf:"bytes,3,rep,name=variable_values,json=variableValues,proto3" json:"variable_values,omitempty"` ExternalAuthProviders []*ExternalAuthProvider `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
PlanRequest asks the provisioner to plan what resources & parameters it will create
func (*PlanRequest) Descriptor
deprecated
added in
v2.1.4
func (*PlanRequest) Descriptor() ([]byte, []int)
Deprecated: Use PlanRequest.ProtoReflect.Descriptor instead.
func (*PlanRequest) GetExternalAuthProviders ¶ added in v2.2.1
func (x *PlanRequest) GetExternalAuthProviders() []*ExternalAuthProvider
func (*PlanRequest) GetMetadata ¶ added in v2.1.4
func (x *PlanRequest) GetMetadata() *Metadata
func (*PlanRequest) GetRichParameterValues ¶ added in v2.1.4
func (x *PlanRequest) GetRichParameterValues() []*RichParameterValue
func (*PlanRequest) GetVariableValues ¶ added in v2.1.4
func (x *PlanRequest) GetVariableValues() []*VariableValue
func (*PlanRequest) ProtoMessage ¶ added in v2.1.4
func (*PlanRequest) ProtoMessage()
func (*PlanRequest) ProtoReflect ¶ added in v2.1.4
func (x *PlanRequest) ProtoReflect() protoreflect.Message
func (*PlanRequest) Reset ¶ added in v2.1.4
func (x *PlanRequest) Reset()
func (*PlanRequest) String ¶ added in v2.1.4
func (x *PlanRequest) String() string
type Preset ¶ added in v2.20.0
type Preset struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Parameters []*PresetParameter `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` // contains filtered or unexported fields }
Preset represents a set of preset parameters for a template version.
func (*Preset) Descriptor
deprecated
added in
v2.20.0
func (*Preset) GetParameters ¶ added in v2.20.0
func (x *Preset) GetParameters() []*PresetParameter
func (*Preset) ProtoMessage ¶ added in v2.20.0
func (*Preset) ProtoMessage()
func (*Preset) ProtoReflect ¶ added in v2.20.0
func (x *Preset) ProtoReflect() protoreflect.Message
type PresetParameter ¶ added in v2.20.0
type PresetParameter 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 (*PresetParameter) Descriptor
deprecated
added in
v2.20.0
func (*PresetParameter) Descriptor() ([]byte, []int)
Deprecated: Use PresetParameter.ProtoReflect.Descriptor instead.
func (*PresetParameter) GetName ¶ added in v2.20.0
func (x *PresetParameter) GetName() string
func (*PresetParameter) GetValue ¶ added in v2.20.0
func (x *PresetParameter) GetValue() string
func (*PresetParameter) ProtoMessage ¶ added in v2.20.0
func (*PresetParameter) ProtoMessage()
func (*PresetParameter) ProtoReflect ¶ added in v2.20.0
func (x *PresetParameter) ProtoReflect() protoreflect.Message
func (*PresetParameter) Reset ¶ added in v2.20.0
func (x *PresetParameter) Reset()
func (*PresetParameter) String ¶ added in v2.20.0
func (x *PresetParameter) String() string
type Request ¶ added in v2.1.4
type Request struct { // Types that are assignable to Type: // // *Request_Config // *Request_Parse // *Request_Plan // *Request_Apply // *Request_Cancel Type isRequest_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
added in
v2.1.4
func (*Request) GetApply ¶ added in v2.1.4
func (x *Request) GetApply() *ApplyRequest
func (*Request) GetCancel ¶ added in v2.1.4
func (x *Request) GetCancel() *CancelRequest
func (*Request) GetParse ¶ added in v2.1.4
func (x *Request) GetParse() *ParseRequest
func (*Request) GetPlan ¶ added in v2.1.4
func (x *Request) GetPlan() *PlanRequest
func (*Request) ProtoMessage ¶ added in v2.1.4
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶ added in v2.1.4
func (x *Request) ProtoReflect() protoreflect.Message
type Request_Apply ¶ added in v2.1.4
type Request_Apply struct {
Apply *ApplyRequest `protobuf:"bytes,4,opt,name=apply,proto3,oneof"`
}
type Request_Cancel ¶ added in v2.1.4
type Request_Cancel struct {
Cancel *CancelRequest `protobuf:"bytes,5,opt,name=cancel,proto3,oneof"`
}
type Request_Config ¶ added in v2.1.4
type Request_Config struct {
Config *Config `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
}
type Request_Parse ¶ added in v2.1.4
type Request_Parse struct {
Parse *ParseRequest `protobuf:"bytes,2,opt,name=parse,proto3,oneof"`
}
type Request_Plan ¶ added in v2.1.4
type Request_Plan struct {
Plan *PlanRequest `protobuf:"bytes,3,opt,name=plan,proto3,oneof"`
}
type Resource ¶
type Resource struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Agents []*Agent `protobuf:"bytes,3,rep,name=agents,proto3" json:"agents,omitempty"` Metadata []*Resource_Metadata `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty"` Hide bool `protobuf:"varint,5,opt,name=hide,proto3" json:"hide,omitempty"` Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"` InstanceType string `protobuf:"bytes,7,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"` DailyCost int32 `protobuf:"varint,8,opt,name=daily_cost,json=dailyCost,proto3" json:"daily_cost,omitempty"` ModulePath string `protobuf:"bytes,9,opt,name=module_path,json=modulePath,proto3" json:"module_path,omitempty"` // contains filtered or unexported fields }
Resource represents created infrastructure.
func (*Resource) Descriptor
deprecated
func (*Resource) GetDailyCost ¶
func (*Resource) GetInstanceType ¶
func (*Resource) GetMetadata ¶
func (x *Resource) GetMetadata() []*Resource_Metadata
func (*Resource) GetModulePath ¶ added in v2.18.0
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
type Resource_Metadata ¶
type Resource_Metadata struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Sensitive bool `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"` IsNull bool `protobuf:"varint,4,opt,name=is_null,json=isNull,proto3" json:"is_null,omitempty"` // contains filtered or unexported fields }
func (*Resource_Metadata) Descriptor
deprecated
func (*Resource_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Resource_Metadata.ProtoReflect.Descriptor instead.
func (*Resource_Metadata) GetIsNull ¶
func (x *Resource_Metadata) GetIsNull() bool
func (*Resource_Metadata) GetKey ¶
func (x *Resource_Metadata) GetKey() string
func (*Resource_Metadata) GetSensitive ¶
func (x *Resource_Metadata) GetSensitive() bool
func (*Resource_Metadata) GetValue ¶
func (x *Resource_Metadata) GetValue() string
func (*Resource_Metadata) ProtoMessage ¶
func (*Resource_Metadata) ProtoMessage()
func (*Resource_Metadata) ProtoReflect ¶
func (x *Resource_Metadata) ProtoReflect() protoreflect.Message
func (*Resource_Metadata) Reset ¶
func (x *Resource_Metadata) Reset()
func (*Resource_Metadata) String ¶
func (x *Resource_Metadata) String() string
type ResourcesMonitoring ¶ added in v2.20.0
type ResourcesMonitoring struct { Memory *MemoryResourceMonitor `protobuf:"bytes,1,opt,name=memory,proto3" json:"memory,omitempty"` Volumes []*VolumeResourceMonitor `protobuf:"bytes,2,rep,name=volumes,proto3" json:"volumes,omitempty"` // contains filtered or unexported fields }
func (*ResourcesMonitoring) Descriptor
deprecated
added in
v2.20.0
func (*ResourcesMonitoring) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesMonitoring.ProtoReflect.Descriptor instead.
func (*ResourcesMonitoring) GetMemory ¶ added in v2.20.0
func (x *ResourcesMonitoring) GetMemory() *MemoryResourceMonitor
func (*ResourcesMonitoring) GetVolumes ¶ added in v2.20.0
func (x *ResourcesMonitoring) GetVolumes() []*VolumeResourceMonitor
func (*ResourcesMonitoring) ProtoMessage ¶ added in v2.20.0
func (*ResourcesMonitoring) ProtoMessage()
func (*ResourcesMonitoring) ProtoReflect ¶ added in v2.20.0
func (x *ResourcesMonitoring) ProtoReflect() protoreflect.Message
func (*ResourcesMonitoring) Reset ¶ added in v2.20.0
func (x *ResourcesMonitoring) Reset()
func (*ResourcesMonitoring) String ¶ added in v2.20.0
func (x *ResourcesMonitoring) String() string
type Response ¶ added in v2.1.4
type Response struct { // Types that are assignable to Type: // // *Response_Log // *Response_Parse // *Response_Plan // *Response_Apply Type isResponse_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
added in
v2.1.4
func (*Response) GetApply ¶ added in v2.1.4
func (x *Response) GetApply() *ApplyComplete
func (*Response) GetParse ¶ added in v2.1.4
func (x *Response) GetParse() *ParseComplete
func (*Response) GetPlan ¶ added in v2.1.4
func (x *Response) GetPlan() *PlanComplete
func (*Response) ProtoMessage ¶ added in v2.1.4
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶ added in v2.1.4
func (x *Response) ProtoReflect() protoreflect.Message
type Response_Apply ¶ added in v2.1.4
type Response_Apply struct {
Apply *ApplyComplete `protobuf:"bytes,4,opt,name=apply,proto3,oneof"`
}
type Response_Log ¶ added in v2.1.4
type Response_Log struct {
Log *Log `protobuf:"bytes,1,opt,name=log,proto3,oneof"`
}
type Response_Parse ¶ added in v2.1.4
type Response_Parse struct {
Parse *ParseComplete `protobuf:"bytes,2,opt,name=parse,proto3,oneof"`
}
type Response_Plan ¶ added in v2.1.4
type Response_Plan struct {
Plan *PlanComplete `protobuf:"bytes,3,opt,name=plan,proto3,oneof"`
}
type RichParameter ¶
type RichParameter struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Mutable bool `protobuf:"varint,4,opt,name=mutable,proto3" json:"mutable,omitempty"` DefaultValue string `protobuf:"bytes,5,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"` Options []*RichParameterOption `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"` ValidationRegex string `protobuf:"bytes,8,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex,omitempty"` ValidationError string `protobuf:"bytes,9,opt,name=validation_error,json=validationError,proto3" json:"validation_error,omitempty"` ValidationMin *int32 `protobuf:"varint,10,opt,name=validation_min,json=validationMin,proto3,oneof" json:"validation_min,omitempty"` ValidationMax *int32 `protobuf:"varint,11,opt,name=validation_max,json=validationMax,proto3,oneof" json:"validation_max,omitempty"` ValidationMonotonic string `protobuf:"bytes,12,opt,name=validation_monotonic,json=validationMonotonic,proto3" json:"validation_monotonic,omitempty"` Required bool `protobuf:"varint,13,opt,name=required,proto3" json:"required,omitempty"` // legacy_variable_name was removed (= 14) DisplayName string `protobuf:"bytes,15,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Order int32 `protobuf:"varint,16,opt,name=order,proto3" json:"order,omitempty"` Ephemeral bool `protobuf:"varint,17,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"` // contains filtered or unexported fields }
RichParameter represents a variable that is exposed.
func (*RichParameter) Descriptor
deprecated
func (*RichParameter) Descriptor() ([]byte, []int)
Deprecated: Use RichParameter.ProtoReflect.Descriptor instead.
func (*RichParameter) GetDefaultValue ¶
func (x *RichParameter) GetDefaultValue() string
func (*RichParameter) GetDescription ¶
func (x *RichParameter) GetDescription() string
func (*RichParameter) GetDisplayName ¶
func (x *RichParameter) GetDisplayName() string
func (*RichParameter) GetEphemeral ¶
func (x *RichParameter) GetEphemeral() bool
func (*RichParameter) GetIcon ¶
func (x *RichParameter) GetIcon() string
func (*RichParameter) GetMutable ¶
func (x *RichParameter) GetMutable() bool
func (*RichParameter) GetName ¶
func (x *RichParameter) GetName() string
func (*RichParameter) GetOptions ¶
func (x *RichParameter) GetOptions() []*RichParameterOption
func (*RichParameter) GetOrder ¶
func (x *RichParameter) GetOrder() int32
func (*RichParameter) GetRequired ¶
func (x *RichParameter) GetRequired() bool
func (*RichParameter) GetType ¶
func (x *RichParameter) GetType() string
func (*RichParameter) GetValidationError ¶
func (x *RichParameter) GetValidationError() string
func (*RichParameter) GetValidationMax ¶
func (x *RichParameter) GetValidationMax() int32
func (*RichParameter) GetValidationMin ¶
func (x *RichParameter) GetValidationMin() int32
func (*RichParameter) GetValidationMonotonic ¶
func (x *RichParameter) GetValidationMonotonic() string
func (*RichParameter) GetValidationRegex ¶
func (x *RichParameter) GetValidationRegex() string
func (*RichParameter) ProtoMessage ¶
func (*RichParameter) ProtoMessage()
func (*RichParameter) ProtoReflect ¶
func (x *RichParameter) ProtoReflect() protoreflect.Message
func (*RichParameter) Reset ¶
func (x *RichParameter) Reset()
func (*RichParameter) String ¶
func (x *RichParameter) String() string
type RichParameterOption ¶
type RichParameterOption struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Icon string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"` // contains filtered or unexported fields }
RichParameterOption represents a singular option that a parameter may expose.
func (*RichParameterOption) Descriptor
deprecated
func (*RichParameterOption) Descriptor() ([]byte, []int)
Deprecated: Use RichParameterOption.ProtoReflect.Descriptor instead.
func (*RichParameterOption) GetDescription ¶
func (x *RichParameterOption) GetDescription() string
func (*RichParameterOption) GetIcon ¶
func (x *RichParameterOption) GetIcon() string
func (*RichParameterOption) GetName ¶
func (x *RichParameterOption) GetName() string
func (*RichParameterOption) GetValue ¶
func (x *RichParameterOption) GetValue() string
func (*RichParameterOption) ProtoMessage ¶
func (*RichParameterOption) ProtoMessage()
func (*RichParameterOption) ProtoReflect ¶
func (x *RichParameterOption) ProtoReflect() protoreflect.Message
func (*RichParameterOption) Reset ¶
func (x *RichParameterOption) Reset()
func (*RichParameterOption) String ¶
func (x *RichParameterOption) String() string
type RichParameterValue ¶
type RichParameterValue 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 }
RichParameterValue holds the key/value mapping of a parameter.
func (*RichParameterValue) Descriptor
deprecated
func (*RichParameterValue) Descriptor() ([]byte, []int)
Deprecated: Use RichParameterValue.ProtoReflect.Descriptor instead.
func (*RichParameterValue) GetName ¶
func (x *RichParameterValue) GetName() string
func (*RichParameterValue) GetValue ¶
func (x *RichParameterValue) GetValue() string
func (*RichParameterValue) ProtoMessage ¶
func (*RichParameterValue) ProtoMessage()
func (*RichParameterValue) ProtoReflect ¶
func (x *RichParameterValue) ProtoReflect() protoreflect.Message
func (*RichParameterValue) Reset ¶
func (x *RichParameterValue) Reset()
func (*RichParameterValue) String ¶
func (x *RichParameterValue) String() string
type Role ¶ added in v2.21.0
type Role struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
func (*Role) Descriptor
deprecated
added in
v2.21.0
func (*Role) ProtoMessage ¶ added in v2.21.0
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶ added in v2.21.0
func (x *Role) ProtoReflect() protoreflect.Message
type Script ¶ added in v2.2.0
type Script struct { DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Icon string `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,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"` StartBlocksLogin bool `protobuf:"varint,5,opt,name=start_blocks_login,json=startBlocksLogin,proto3" json:"start_blocks_login,omitempty"` RunOnStart bool `protobuf:"varint,6,opt,name=run_on_start,json=runOnStart,proto3" json:"run_on_start,omitempty"` RunOnStop bool `protobuf:"varint,7,opt,name=run_on_stop,json=runOnStop,proto3" json:"run_on_stop,omitempty"` TimeoutSeconds int32 `protobuf:"varint,8,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` LogPath string `protobuf:"bytes,9,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` // contains filtered or unexported fields }
Script represents a script to be run on the workspace.
func (*Script) Descriptor
deprecated
added in
v2.2.0
func (*Script) GetDisplayName ¶ added in v2.2.0
func (*Script) GetLogPath ¶ added in v2.2.0
func (*Script) GetRunOnStart ¶ added in v2.2.0
func (*Script) GetRunOnStop ¶ added in v2.2.0
func (*Script) GetStartBlocksLogin ¶ added in v2.2.0
func (*Script) GetTimeoutSeconds ¶ added in v2.2.0
func (*Script) ProtoMessage ¶ added in v2.2.0
func (*Script) ProtoMessage()
func (*Script) ProtoReflect ¶ added in v2.2.0
func (x *Script) ProtoReflect() protoreflect.Message
type TemplateVariable ¶
type TemplateVariable struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` Required bool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"` Sensitive bool `protobuf:"varint,6,opt,name=sensitive,proto3" json:"sensitive,omitempty"` // contains filtered or unexported fields }
TemplateVariable represents a Terraform variable.
func (*TemplateVariable) Descriptor
deprecated
func (*TemplateVariable) Descriptor() ([]byte, []int)
Deprecated: Use TemplateVariable.ProtoReflect.Descriptor instead.
func (*TemplateVariable) GetDefaultValue ¶
func (x *TemplateVariable) GetDefaultValue() string
func (*TemplateVariable) GetDescription ¶
func (x *TemplateVariable) GetDescription() string
func (*TemplateVariable) GetName ¶
func (x *TemplateVariable) GetName() string
func (*TemplateVariable) GetRequired ¶
func (x *TemplateVariable) GetRequired() bool
func (*TemplateVariable) GetSensitive ¶
func (x *TemplateVariable) GetSensitive() bool
func (*TemplateVariable) GetType ¶
func (x *TemplateVariable) GetType() string
func (*TemplateVariable) ProtoMessage ¶
func (*TemplateVariable) ProtoMessage()
func (*TemplateVariable) ProtoReflect ¶
func (x *TemplateVariable) ProtoReflect() protoreflect.Message
func (*TemplateVariable) Reset ¶
func (x *TemplateVariable) Reset()
func (*TemplateVariable) String ¶
func (x *TemplateVariable) String() string
type Timing ¶ added in v2.15.0
type Timing struct { Start *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"` End *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"` Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"` Stage string `protobuf:"bytes,6,opt,name=stage,proto3" json:"stage,omitempty"` State TimingState `protobuf:"varint,7,opt,name=state,proto3,enum=provisioner.TimingState" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Timing) Descriptor
deprecated
added in
v2.15.0
func (*Timing) GetEnd ¶ added in v2.15.0
func (x *Timing) GetEnd() *timestamppb.Timestamp
func (*Timing) GetResource ¶ added in v2.15.0
func (*Timing) GetStart ¶ added in v2.15.0
func (x *Timing) GetStart() *timestamppb.Timestamp
func (*Timing) GetState ¶ added in v2.15.0
func (x *Timing) GetState() TimingState
func (*Timing) ProtoMessage ¶ added in v2.15.0
func (*Timing) ProtoMessage()
func (*Timing) ProtoReflect ¶ added in v2.15.0
func (x *Timing) ProtoReflect() protoreflect.Message
type TimingState ¶ added in v2.15.0
type TimingState int32
const ( TimingState_STARTED TimingState = 0 TimingState_COMPLETED TimingState = 1 TimingState_FAILED TimingState = 2 )
func (TimingState) Descriptor ¶ added in v2.15.0
func (TimingState) Descriptor() protoreflect.EnumDescriptor
func (TimingState) Enum ¶ added in v2.15.0
func (x TimingState) Enum() *TimingState
func (TimingState) EnumDescriptor
deprecated
added in
v2.15.0
func (TimingState) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimingState.Descriptor instead.
func (TimingState) Number ¶ added in v2.15.0
func (x TimingState) Number() protoreflect.EnumNumber
func (TimingState) String ¶ added in v2.15.0
func (x TimingState) String() string
func (TimingState) Type ¶ added in v2.15.0
func (TimingState) Type() protoreflect.EnumType
type VariableValue ¶
type VariableValue 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"` Sensitive bool `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"` // contains filtered or unexported fields }
VariableValue holds the key/value mapping of a Terraform variable.
func (*VariableValue) Descriptor
deprecated
func (*VariableValue) Descriptor() ([]byte, []int)
Deprecated: Use VariableValue.ProtoReflect.Descriptor instead.
func (*VariableValue) GetName ¶
func (x *VariableValue) GetName() string
func (*VariableValue) GetSensitive ¶
func (x *VariableValue) GetSensitive() bool
func (*VariableValue) GetValue ¶
func (x *VariableValue) GetValue() string
func (*VariableValue) ProtoMessage ¶
func (*VariableValue) ProtoMessage()
func (*VariableValue) ProtoReflect ¶
func (x *VariableValue) ProtoReflect() protoreflect.Message
func (*VariableValue) Reset ¶
func (x *VariableValue) Reset()
func (*VariableValue) String ¶
func (x *VariableValue) String() string
type VolumeResourceMonitor ¶ added in v2.20.0
type VolumeResourceMonitor struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` Threshold int32 `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"` // contains filtered or unexported fields }
func (*VolumeResourceMonitor) Descriptor
deprecated
added in
v2.20.0
func (*VolumeResourceMonitor) Descriptor() ([]byte, []int)
Deprecated: Use VolumeResourceMonitor.ProtoReflect.Descriptor instead.
func (*VolumeResourceMonitor) GetEnabled ¶ added in v2.20.0
func (x *VolumeResourceMonitor) GetEnabled() bool
func (*VolumeResourceMonitor) GetPath ¶ added in v2.20.0
func (x *VolumeResourceMonitor) GetPath() string
func (*VolumeResourceMonitor) GetThreshold ¶ added in v2.20.0
func (x *VolumeResourceMonitor) GetThreshold() int32
func (*VolumeResourceMonitor) ProtoMessage ¶ added in v2.20.0
func (*VolumeResourceMonitor) ProtoMessage()
func (*VolumeResourceMonitor) ProtoReflect ¶ added in v2.20.0
func (x *VolumeResourceMonitor) ProtoReflect() protoreflect.Message
func (*VolumeResourceMonitor) Reset ¶ added in v2.20.0
func (x *VolumeResourceMonitor) Reset()
func (*VolumeResourceMonitor) String ¶ added in v2.20.0
func (x *VolumeResourceMonitor) String() string
type WorkspaceTransition ¶
type WorkspaceTransition int32
WorkspaceTransition is the desired outcome of a build
const ( WorkspaceTransition_START WorkspaceTransition = 0 WorkspaceTransition_STOP WorkspaceTransition = 1 WorkspaceTransition_DESTROY WorkspaceTransition = 2 )
func (WorkspaceTransition) Descriptor ¶
func (WorkspaceTransition) Descriptor() protoreflect.EnumDescriptor
func (WorkspaceTransition) Enum ¶
func (x WorkspaceTransition) Enum() *WorkspaceTransition
func (WorkspaceTransition) EnumDescriptor
deprecated
func (WorkspaceTransition) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceTransition.Descriptor instead.
func (WorkspaceTransition) Number ¶
func (x WorkspaceTransition) Number() protoreflect.EnumNumber
func (WorkspaceTransition) String ¶
func (x WorkspaceTransition) String() string
func (WorkspaceTransition) Type ¶
func (WorkspaceTransition) Type() protoreflect.EnumType