proto
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- Variables
- func 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) GetDirectory() string
- func (x *Agent) GetEnv() map[string]string
- 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) GetShutdownScript() string
- func (x *Agent) GetShutdownScriptTimeoutSeconds() int32
- func (x *Agent) GetStartupScript() string
- func (x *Agent) GetStartupScriptBehavior() string
- func (x *Agent) GetStartupScriptTimeoutSeconds() int32
- 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) 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) GetIcon() string
- 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 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 DRPCProvisionerClient
- type DRPCProvisionerDescription
- type DRPCProvisionerServer
- type DRPCProvisionerUnimplementedServer
- type DRPCProvisioner_ParseClient
- type DRPCProvisioner_ParseStream
- type DRPCProvisioner_ProvisionClient
- type DRPCProvisioner_ProvisionStream
- type Empty
- type GitAuthProvider
- func (*GitAuthProvider) Descriptor() ([]byte, []int)deprecated
- func (x *GitAuthProvider) GetAccessToken() string
- func (x *GitAuthProvider) GetId() string
- func (*GitAuthProvider) ProtoMessage()
- func (x *GitAuthProvider) ProtoReflect() protoreflect.Message
- func (x *GitAuthProvider) Reset()
- func (x *GitAuthProvider) 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 Parse
- type Parse_Complete
- type Parse_Request
- type Parse_Response
- func (*Parse_Response) Descriptor() ([]byte, []int)deprecated
- func (x *Parse_Response) GetComplete() *Parse_Complete
- func (x *Parse_Response) GetLog() *Log
- func (m *Parse_Response) GetType() isParse_Response_Type
- func (*Parse_Response) ProtoMessage()
- func (x *Parse_Response) ProtoReflect() protoreflect.Message
- func (x *Parse_Response) Reset()
- func (x *Parse_Response) String() string
- type Parse_Response_Complete
- type Parse_Response_Log
- type Provision
- type Provision_Apply
- func (*Provision_Apply) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Apply) GetConfig() *Provision_Config
- func (x *Provision_Apply) GetPlan() []byte
- func (*Provision_Apply) ProtoMessage()
- func (x *Provision_Apply) ProtoReflect() protoreflect.Message
- func (x *Provision_Apply) Reset()
- func (x *Provision_Apply) String() string
- type Provision_Cancel
- type Provision_Complete
- func (*Provision_Complete) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Complete) GetError() string
- func (x *Provision_Complete) GetGitAuthProviders() []string
- func (x *Provision_Complete) GetParameters() []*RichParameter
- func (x *Provision_Complete) GetPlan() []byte
- func (x *Provision_Complete) GetResources() []*Resource
- func (x *Provision_Complete) GetState() []byte
- func (*Provision_Complete) ProtoMessage()
- func (x *Provision_Complete) ProtoReflect() protoreflect.Message
- func (x *Provision_Complete) Reset()
- func (x *Provision_Complete) String() string
- type Provision_Config
- func (*Provision_Config) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Config) GetDirectory() string
- func (x *Provision_Config) GetMetadata() *Provision_Metadata
- func (x *Provision_Config) GetProvisionerLogLevel() string
- func (x *Provision_Config) GetState() []byte
- func (*Provision_Config) ProtoMessage()
- func (x *Provision_Config) ProtoReflect() protoreflect.Message
- func (x *Provision_Config) Reset()
- func (x *Provision_Config) String() string
- type Provision_Metadata
- func (*Provision_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Metadata) GetCoderUrl() string
- func (x *Provision_Metadata) GetTemplateName() string
- func (x *Provision_Metadata) GetTemplateVersion() string
- func (x *Provision_Metadata) GetWorkspaceId() string
- func (x *Provision_Metadata) GetWorkspaceName() string
- func (x *Provision_Metadata) GetWorkspaceOwner() string
- func (x *Provision_Metadata) GetWorkspaceOwnerEmail() string
- func (x *Provision_Metadata) GetWorkspaceOwnerId() string
- func (x *Provision_Metadata) GetWorkspaceOwnerOidcAccessToken() string
- func (x *Provision_Metadata) GetWorkspaceOwnerSessionToken() string
- func (x *Provision_Metadata) GetWorkspaceTransition() WorkspaceTransition
- func (*Provision_Metadata) ProtoMessage()
- func (x *Provision_Metadata) ProtoReflect() protoreflect.Message
- func (x *Provision_Metadata) Reset()
- func (x *Provision_Metadata) String() string
- type Provision_Plan
- func (*Provision_Plan) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Plan) GetConfig() *Provision_Config
- func (x *Provision_Plan) GetGitAuthProviders() []*GitAuthProvider
- func (x *Provision_Plan) GetRichParameterValues() []*RichParameterValue
- func (x *Provision_Plan) GetVariableValues() []*VariableValue
- func (*Provision_Plan) ProtoMessage()
- func (x *Provision_Plan) ProtoReflect() protoreflect.Message
- func (x *Provision_Plan) Reset()
- func (x *Provision_Plan) String() string
- type Provision_Request
- func (*Provision_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Request) GetApply() *Provision_Apply
- func (x *Provision_Request) GetCancel() *Provision_Cancel
- func (x *Provision_Request) GetPlan() *Provision_Plan
- func (m *Provision_Request) GetType() isProvision_Request_Type
- func (*Provision_Request) ProtoMessage()
- func (x *Provision_Request) ProtoReflect() protoreflect.Message
- func (x *Provision_Request) Reset()
- func (x *Provision_Request) String() string
- type Provision_Request_Apply
- type Provision_Request_Cancel
- type Provision_Request_Plan
- type Provision_Response
- func (*Provision_Response) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Response) GetComplete() *Provision_Complete
- func (x *Provision_Response) GetLog() *Log
- func (m *Provision_Response) GetType() isProvision_Response_Type
- func (*Provision_Response) ProtoMessage()
- func (x *Provision_Response) ProtoReflect() protoreflect.Message
- func (x *Provision_Response) Reset()
- func (x *Provision_Response) String() string
- type Provision_Response_Complete
- type Provision_Response_Log
- 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) 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 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 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 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 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 (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 File_provisionersdk_proto_provisioner_protoprotoreflect.FileDescriptor
Functions¶
funcDRPCRegisterProvisioner¶
func DRPCRegisterProvisioner(muxdrpc.Mux, implDRPCProvisionerServer)error
Types¶
typeAgent¶
type Agent struct {Idstring `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`Namestring `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`Env map[string]string ``/* 147-byte string literal not displayed */StartupScriptstring `protobuf:"bytes,4,opt,name=startup_script,json=startupScript,proto3" json:"startup_script,omitempty"`OperatingSystemstring `protobuf:"bytes,5,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`Architecturestring `protobuf:"bytes,6,opt,name=architecture,proto3" json:"architecture,omitempty"`Directorystring `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_InstanceIdAuth isAgent_Auth `protobuf_oneof:"auth"`ConnectionTimeoutSecondsint32 ``/* 137-byte string literal not displayed */TroubleshootingUrlstring `protobuf:"bytes,12,opt,name=troubleshooting_url,json=troubleshootingUrl,proto3" json:"troubleshooting_url,omitempty"`MotdFilestring `protobuf:"bytes,13,opt,name=motd_file,json=motdFile,proto3" json:"motd_file,omitempty"`// Field 14 was bool login_before_ready = 14, now removed.StartupScriptTimeoutSecondsint32 ``/* 148-byte string literal not displayed */ShutdownScriptstring `protobuf:"bytes,16,opt,name=shutdown_script,json=shutdownScript,proto3" json:"shutdown_script,omitempty"`ShutdownScriptTimeoutSecondsint32 ``/* 151-byte string literal not displayed */Metadata []*Agent_Metadata `protobuf:"bytes,18,rep,name=metadata,proto3" json:"metadata,omitempty"`StartupScriptBehaviorstring ``/* 127-byte string literal not displayed */// contains filtered or unexported fields}
Agent represents a running agent on the workspace.
func (*Agent)Descriptordeprecated
func (*Agent)GetArchitecture¶added inv0.4.1
func (*Agent)GetConnectionTimeoutSeconds¶added inv0.12.6
func (*Agent)GetDirectory¶added inv0.5.3
func (*Agent)GetInstanceId¶
func (*Agent)GetMetadata¶added inv0.21.3
func (x *Agent) GetMetadata() []*Agent_Metadata
func (*Agent)GetMotdFile¶added inv0.13.0
func (*Agent)GetOperatingSystem¶added inv0.4.1
func (*Agent)GetShutdownScript¶added inv0.19.0
func (*Agent)GetShutdownScriptTimeoutSeconds¶added inv0.19.0
func (*Agent)GetStartupScript¶
func (*Agent)GetStartupScriptBehavior¶added inv0.24.0
func (*Agent)GetStartupScriptTimeoutSeconds¶added inv0.15.3
func (*Agent)GetTroubleshootingUrl¶added inv0.12.6
func (*Agent)ProtoMessage¶
func (*Agent) ProtoMessage()
func (*Agent)ProtoReflect¶
func (x *Agent) ProtoReflect()protoreflect.Message
typeAgent_InstanceId¶
type Agent_InstanceId struct {InstanceIdstring `protobuf:"bytes,10,opt,name=instance_id,json=instanceId,proto3,oneof"`}
typeAgent_Metadata¶added inv0.21.3
type Agent_Metadata struct {Keystring `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`DisplayNamestring `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`Scriptstring `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`Intervalint64 `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"`Timeoutint64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`// contains filtered or unexported fields}
func (*Agent_Metadata)Descriptordeprecatedadded inv0.21.3
func (*Agent_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Agent_Metadata.ProtoReflect.Descriptor instead.
func (*Agent_Metadata)GetDisplayName¶added inv0.21.3
func (x *Agent_Metadata) GetDisplayName()string
func (*Agent_Metadata)GetInterval¶added inv0.21.3
func (x *Agent_Metadata) GetInterval()int64
func (*Agent_Metadata)GetKey¶added inv0.21.3
func (x *Agent_Metadata) GetKey()string
func (*Agent_Metadata)GetScript¶added inv0.21.3
func (x *Agent_Metadata) GetScript()string
func (*Agent_Metadata)GetTimeout¶added inv0.21.3
func (x *Agent_Metadata) GetTimeout()int64
func (*Agent_Metadata)ProtoMessage¶added inv0.21.3
func (*Agent_Metadata) ProtoMessage()
func (*Agent_Metadata)ProtoReflect¶added inv0.21.3
func (x *Agent_Metadata) ProtoReflect()protoreflect.Message
func (*Agent_Metadata)Reset¶added inv0.21.3
func (x *Agent_Metadata) Reset()
func (*Agent_Metadata)String¶added inv0.21.3
func (x *Agent_Metadata) String()string
typeAgent_Token¶
type Agent_Token struct {Tokenstring `protobuf:"bytes,9,opt,name=token,proto3,oneof"`}
typeApp¶added inv0.6.2
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.Slugstring `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`DisplayNamestring `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`Commandstring `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`Urlstring `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`Iconstring `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`Subdomainbool `protobuf:"varint,6,opt,name=subdomain,proto3" json:"subdomain,omitempty"`Healthcheck *Healthcheck `protobuf:"bytes,7,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"`SharingLevelAppSharingLevel ``/* 131-byte string literal not displayed */Externalbool `protobuf:"varint,9,opt,name=external,proto3" json:"external,omitempty"`// contains filtered or unexported fields}
App represents a dev-accessible application on the workspace.
func (*App)Descriptordeprecatedadded inv0.6.2
func (*App)GetCommand¶added inv0.6.2
func (*App)GetDisplayName¶added inv0.12.0
func (*App)GetExternal¶added inv0.13.3
func (*App)GetHealthcheck¶added inv0.9.0
func (x *App) GetHealthcheck() *Healthcheck
func (*App)GetSharingLevel¶added inv0.10.0
func (x *App) GetSharingLevel()AppSharingLevel
func (*App)GetSubdomain¶added inv0.9.4
func (*App)ProtoMessage¶added inv0.6.2
func (*App) ProtoMessage()
func (*App)ProtoReflect¶added inv0.6.2
func (x *App) ProtoReflect()protoreflect.Message
typeAppSharingLevel¶added inv0.10.0
type AppSharingLevelint32
const (AppSharingLevel_OWNERAppSharingLevel = 0AppSharingLevel_AUTHENTICATEDAppSharingLevel = 1AppSharingLevel_PUBLICAppSharingLevel = 2)
func (AppSharingLevel)Descriptor¶added inv0.10.0
func (AppSharingLevel) Descriptor()protoreflect.EnumDescriptor
func (AppSharingLevel)Enum¶added inv0.10.0
func (xAppSharingLevel) Enum() *AppSharingLevel
func (AppSharingLevel)EnumDescriptordeprecatedadded inv0.10.0
func (AppSharingLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppSharingLevel.Descriptor instead.
func (AppSharingLevel)Number¶added inv0.10.0
func (xAppSharingLevel) Number()protoreflect.EnumNumber
func (AppSharingLevel)String¶added inv0.10.0
func (xAppSharingLevel) String()string
func (AppSharingLevel)Type¶added inv0.10.0
func (AppSharingLevel) Type()protoreflect.EnumType
typeDRPCProvisionerClient¶
type DRPCProvisionerClient interface {DRPCConn()drpc.ConnParse(ctxcontext.Context, in *Parse_Request) (DRPCProvisioner_ParseClient,error)Provision(ctxcontext.Context) (DRPCProvisioner_ProvisionClient,error)}
funcNewDRPCProvisionerClient¶
func NewDRPCProvisionerClient(ccdrpc.Conn)DRPCProvisionerClient
typeDRPCProvisionerDescription¶
type DRPCProvisionerDescription struct{}
func (DRPCProvisionerDescription)NumMethods¶
func (DRPCProvisionerDescription) NumMethods()int
typeDRPCProvisionerServer¶
type DRPCProvisionerServer interface {Parse(*Parse_Request,DRPCProvisioner_ParseStream)errorProvision(DRPCProvisioner_ProvisionStream)error}
typeDRPCProvisionerUnimplementedServer¶
type DRPCProvisionerUnimplementedServer struct{}
func (*DRPCProvisionerUnimplementedServer)Parse¶
func (s *DRPCProvisionerUnimplementedServer) Parse(*Parse_Request,DRPCProvisioner_ParseStream)error
func (*DRPCProvisionerUnimplementedServer)Provision¶
func (s *DRPCProvisionerUnimplementedServer) Provision(DRPCProvisioner_ProvisionStream)error
typeDRPCProvisioner_ParseClient¶
type DRPCProvisioner_ParseClient interface {drpc.StreamRecv() (*Parse_Response,error)}
typeDRPCProvisioner_ParseStream¶
type DRPCProvisioner_ParseStream interface {drpc.StreamSend(*Parse_Response)error}
typeDRPCProvisioner_ProvisionClient¶
type DRPCProvisioner_ProvisionClient interface {drpc.StreamSend(*Provision_Request)errorRecv() (*Provision_Response,error)}
typeDRPCProvisioner_ProvisionStream¶
type DRPCProvisioner_ProvisionStream interface {drpc.StreamSend(*Provision_Response)errorRecv() (*Provision_Request,error)}
typeEmpty¶
type Empty struct {// contains filtered or unexported fields}
Empty indicates a successful request/response.
func (*Empty)Descriptordeprecated
func (*Empty)ProtoMessage¶
func (*Empty) ProtoMessage()
func (*Empty)ProtoReflect¶
func (x *Empty) ProtoReflect()protoreflect.Message
typeGitAuthProvider¶added inv0.18.0
type GitAuthProvider struct {Idstring `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`AccessTokenstring `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`// contains filtered or unexported fields}
func (*GitAuthProvider)Descriptordeprecatedadded inv0.18.0
func (*GitAuthProvider) Descriptor() ([]byte, []int)
Deprecated: Use GitAuthProvider.ProtoReflect.Descriptor instead.
func (*GitAuthProvider)GetAccessToken¶added inv0.18.0
func (x *GitAuthProvider) GetAccessToken()string
func (*GitAuthProvider)GetId¶added inv0.18.0
func (x *GitAuthProvider) GetId()string
func (*GitAuthProvider)ProtoMessage¶added inv0.18.0
func (*GitAuthProvider) ProtoMessage()
func (*GitAuthProvider)ProtoReflect¶added inv0.18.0
func (x *GitAuthProvider) ProtoReflect()protoreflect.Message
func (*GitAuthProvider)Reset¶added inv0.18.0
func (x *GitAuthProvider) Reset()
func (*GitAuthProvider)String¶added inv0.18.0
func (x *GitAuthProvider) String()string
typeHealthcheck¶added inv0.9.0
type Healthcheck struct {Urlstring `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`Intervalint32 `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"`Thresholdint32 `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)Descriptordeprecatedadded inv0.9.0
func (*Healthcheck) Descriptor() ([]byte, []int)
Deprecated: Use Healthcheck.ProtoReflect.Descriptor instead.
func (*Healthcheck)GetInterval¶added inv0.9.0
func (x *Healthcheck) GetInterval()int32
func (*Healthcheck)GetThreshold¶added inv0.9.0
func (x *Healthcheck) GetThreshold()int32
func (*Healthcheck)GetUrl¶added inv0.9.0
func (x *Healthcheck) GetUrl()string
func (*Healthcheck)ProtoMessage¶added inv0.9.0
func (*Healthcheck) ProtoMessage()
func (*Healthcheck)ProtoReflect¶added inv0.9.0
func (x *Healthcheck) ProtoReflect()protoreflect.Message
func (*Healthcheck)Reset¶added inv0.9.0
func (x *Healthcheck) Reset()
func (*Healthcheck)String¶added inv0.9.0
func (x *Healthcheck) String()string
typeInstanceIdentityAuth¶added inv0.4.1
type InstanceIdentityAuth struct {InstanceIdstring `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`// contains filtered or unexported fields}
func (*InstanceIdentityAuth)Descriptordeprecatedadded inv0.4.1
func (*InstanceIdentityAuth) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIdentityAuth.ProtoReflect.Descriptor instead.
func (*InstanceIdentityAuth)GetInstanceId¶added inv0.4.1
func (x *InstanceIdentityAuth) GetInstanceId()string
func (*InstanceIdentityAuth)ProtoMessage¶added inv0.4.1
func (*InstanceIdentityAuth) ProtoMessage()
func (*InstanceIdentityAuth)ProtoReflect¶added inv0.4.1
func (x *InstanceIdentityAuth) ProtoReflect()protoreflect.Message
func (*InstanceIdentityAuth)Reset¶added inv0.4.1
func (x *InstanceIdentityAuth) Reset()
func (*InstanceIdentityAuth)String¶added inv0.4.1
func (x *InstanceIdentityAuth) String()string
typeLog¶
type Log struct {LevelLogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=provisioner.LogLevel" json:"level,omitempty"`Outputstring `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`// contains filtered or unexported fields}
Log represents output from a request.
func (*Log)Descriptordeprecated
func (*Log)ProtoMessage¶
func (*Log) ProtoMessage()
func (*Log)ProtoReflect¶
func (x *Log) ProtoReflect()protoreflect.Message
typeLogLevel¶
type LogLevelint32
LogLevel represents severity of the log.
func (LogLevel)Descriptor¶
func (LogLevel) Descriptor()protoreflect.EnumDescriptor
func (LogLevel)EnumDescriptordeprecated
func (LogLevel)Number¶
func (xLogLevel) Number()protoreflect.EnumNumber
func (LogLevel)Type¶
func (LogLevel) Type()protoreflect.EnumType
typeParse¶
type Parse struct {// contains filtered or unexported fields}
Parse consumes source-code from a directory to produce inputs.
func (*Parse)Descriptordeprecated
func (*Parse)ProtoMessage¶
func (*Parse) ProtoMessage()
func (*Parse)ProtoReflect¶
func (x *Parse) ProtoReflect()protoreflect.Message
typeParse_Complete¶
type Parse_Complete struct {TemplateVariables []*TemplateVariable `protobuf:"bytes,1,rep,name=template_variables,json=templateVariables,proto3" json:"template_variables,omitempty"`// contains filtered or unexported fields}
func (*Parse_Complete)Descriptordeprecated
func (*Parse_Complete) Descriptor() ([]byte, []int)
Deprecated: Use Parse_Complete.ProtoReflect.Descriptor instead.
func (*Parse_Complete)GetTemplateVariables¶added inv0.17.4
func (x *Parse_Complete) GetTemplateVariables() []*TemplateVariable
func (*Parse_Complete)ProtoMessage¶
func (*Parse_Complete) ProtoMessage()
func (*Parse_Complete)ProtoReflect¶
func (x *Parse_Complete) ProtoReflect()protoreflect.Message
func (*Parse_Complete)Reset¶
func (x *Parse_Complete) Reset()
func (*Parse_Complete)String¶
func (x *Parse_Complete) String()string
typeParse_Request¶
type Parse_Request struct {Directorystring `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`// contains filtered or unexported fields}
func (*Parse_Request)Descriptordeprecated
func (*Parse_Request) Descriptor() ([]byte, []int)
Deprecated: Use Parse_Request.ProtoReflect.Descriptor instead.
func (*Parse_Request)GetDirectory¶
func (x *Parse_Request) GetDirectory()string
func (*Parse_Request)ProtoMessage¶
func (*Parse_Request) ProtoMessage()
func (*Parse_Request)ProtoReflect¶
func (x *Parse_Request) ProtoReflect()protoreflect.Message
func (*Parse_Request)Reset¶
func (x *Parse_Request) Reset()
func (*Parse_Request)String¶
func (x *Parse_Request) String()string
typeParse_Response¶
type Parse_Response struct {// Types that are assignable to Type:////*Parse_Response_Log//*Parse_Response_CompleteType isParse_Response_Type `protobuf_oneof:"type"`// contains filtered or unexported fields}
func (*Parse_Response)Descriptordeprecated
func (*Parse_Response) Descriptor() ([]byte, []int)
Deprecated: Use Parse_Response.ProtoReflect.Descriptor instead.
func (*Parse_Response)GetComplete¶
func (x *Parse_Response) GetComplete() *Parse_Complete
func (*Parse_Response)GetLog¶
func (x *Parse_Response) GetLog() *Log
func (*Parse_Response)GetType¶
func (m *Parse_Response) GetType() isParse_Response_Type
func (*Parse_Response)ProtoMessage¶
func (*Parse_Response) ProtoMessage()
func (*Parse_Response)ProtoReflect¶
func (x *Parse_Response) ProtoReflect()protoreflect.Message
func (*Parse_Response)Reset¶
func (x *Parse_Response) Reset()
func (*Parse_Response)String¶
func (x *Parse_Response) String()string
typeParse_Response_Complete¶
type Parse_Response_Complete struct {Complete *Parse_Complete `protobuf:"bytes,2,opt,name=complete,proto3,oneof"`}
typeParse_Response_Log¶
type Parse_Response_Log struct {Log *Log `protobuf:"bytes,1,opt,name=log,proto3,oneof"`}
typeProvision¶
type Provision struct {// contains filtered or unexported fields}
Provision consumes source-code from a directory to produce resources.Exactly one of Plan or Apply must be provided in a single session.
func (*Provision)Descriptordeprecated
func (*Provision)ProtoMessage¶
func (*Provision) ProtoMessage()
func (*Provision)ProtoReflect¶
func (x *Provision) ProtoReflect()protoreflect.Message
typeProvision_Apply¶added inv0.12.7
type Provision_Apply struct {Config *Provision_Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`Plan []byte `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"`// contains filtered or unexported fields}
func (*Provision_Apply)Descriptordeprecatedadded inv0.12.7
func (*Provision_Apply) Descriptor() ([]byte, []int)
Deprecated: Use Provision_Apply.ProtoReflect.Descriptor instead.
func (*Provision_Apply)GetConfig¶added inv0.12.7
func (x *Provision_Apply) GetConfig() *Provision_Config
func (*Provision_Apply)GetPlan¶added inv0.12.7
func (x *Provision_Apply) GetPlan() []byte
func (*Provision_Apply)ProtoMessage¶added inv0.12.7
func (*Provision_Apply) ProtoMessage()
func (*Provision_Apply)ProtoReflect¶added inv0.12.7
func (x *Provision_Apply) ProtoReflect()protoreflect.Message
func (*Provision_Apply)Reset¶added inv0.12.7
func (x *Provision_Apply) Reset()
func (*Provision_Apply)String¶added inv0.12.7
func (x *Provision_Apply) String()string
typeProvision_Cancel¶
type Provision_Cancel struct {// contains filtered or unexported fields}
func (*Provision_Cancel)Descriptordeprecated
func (*Provision_Cancel) Descriptor() ([]byte, []int)
Deprecated: Use Provision_Cancel.ProtoReflect.Descriptor instead.
func (*Provision_Cancel)ProtoMessage¶
func (*Provision_Cancel) ProtoMessage()
func (*Provision_Cancel)ProtoReflect¶
func (x *Provision_Cancel) ProtoReflect()protoreflect.Message
func (*Provision_Cancel)Reset¶
func (x *Provision_Cancel) Reset()
func (*Provision_Cancel)String¶
func (x *Provision_Cancel) String()string
typeProvision_Complete¶
type Provision_Complete struct {State []byte `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`Errorstring `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"`GitAuthProviders []string `protobuf:"bytes,5,rep,name=git_auth_providers,json=gitAuthProviders,proto3" json:"git_auth_providers,omitempty"`Plan []byte `protobuf:"bytes,6,opt,name=plan,proto3" json:"plan,omitempty"`// contains filtered or unexported fields}
func (*Provision_Complete)Descriptordeprecated
func (*Provision_Complete) Descriptor() ([]byte, []int)
Deprecated: Use Provision_Complete.ProtoReflect.Descriptor instead.
func (*Provision_Complete)GetError¶
func (x *Provision_Complete) GetError()string
func (*Provision_Complete)GetGitAuthProviders¶added inv0.18.0
func (x *Provision_Complete) GetGitAuthProviders() []string
func (*Provision_Complete)GetParameters¶added inv0.15.0
func (x *Provision_Complete) GetParameters() []*RichParameter
func (*Provision_Complete)GetPlan¶added inv0.12.7
func (x *Provision_Complete) GetPlan() []byte
func (*Provision_Complete)GetResources¶
func (x *Provision_Complete) GetResources() []*Resource
func (*Provision_Complete)GetState¶
func (x *Provision_Complete) GetState() []byte
func (*Provision_Complete)ProtoMessage¶
func (*Provision_Complete) ProtoMessage()
func (*Provision_Complete)ProtoReflect¶
func (x *Provision_Complete) ProtoReflect()protoreflect.Message
func (*Provision_Complete)Reset¶
func (x *Provision_Complete) Reset()
func (*Provision_Complete)String¶
func (x *Provision_Complete) String()string
typeProvision_Config¶added inv0.12.7
type Provision_Config struct {Directorystring `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`State []byte `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`Metadata *Provision_Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`ProvisionerLogLevelstring `protobuf:"bytes,4,opt,name=provisioner_log_level,json=provisionerLogLevel,proto3" json:"provisioner_log_level,omitempty"`// contains filtered or unexported fields}
Config represents execution configuration shared by both Plan andApply commands.
func (*Provision_Config)Descriptordeprecatedadded inv0.12.7
func (*Provision_Config) Descriptor() ([]byte, []int)
Deprecated: Use Provision_Config.ProtoReflect.Descriptor instead.
func (*Provision_Config)GetDirectory¶added inv0.12.7
func (x *Provision_Config) GetDirectory()string
func (*Provision_Config)GetMetadata¶added inv0.12.7
func (x *Provision_Config) GetMetadata() *Provision_Metadata
func (*Provision_Config)GetProvisionerLogLevel¶added inv0.21.3
func (x *Provision_Config) GetProvisionerLogLevel()string
func (*Provision_Config)GetState¶added inv0.12.7
func (x *Provision_Config) GetState() []byte
func (*Provision_Config)ProtoMessage¶added inv0.12.7
func (*Provision_Config) ProtoMessage()
func (*Provision_Config)ProtoReflect¶added inv0.12.7
func (x *Provision_Config) ProtoReflect()protoreflect.Message
func (*Provision_Config)Reset¶added inv0.12.7
func (x *Provision_Config) Reset()
func (*Provision_Config)String¶added inv0.12.7
func (x *Provision_Config) String()string
typeProvision_Metadata¶
type Provision_Metadata struct {CoderUrlstring `protobuf:"bytes,1,opt,name=coder_url,json=coderUrl,proto3" json:"coder_url,omitempty"`WorkspaceTransitionWorkspaceTransition ``/* 156-byte string literal not displayed */WorkspaceNamestring `protobuf:"bytes,3,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`WorkspaceOwnerstring `protobuf:"bytes,4,opt,name=workspace_owner,json=workspaceOwner,proto3" json:"workspace_owner,omitempty"`WorkspaceIdstring `protobuf:"bytes,5,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`WorkspaceOwnerIdstring `protobuf:"bytes,6,opt,name=workspace_owner_id,json=workspaceOwnerId,proto3" json:"workspace_owner_id,omitempty"`WorkspaceOwnerEmailstring `protobuf:"bytes,7,opt,name=workspace_owner_email,json=workspaceOwnerEmail,proto3" json:"workspace_owner_email,omitempty"`TemplateNamestring `protobuf:"bytes,8,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"`TemplateVersionstring `protobuf:"bytes,9,opt,name=template_version,json=templateVersion,proto3" json:"template_version,omitempty"`WorkspaceOwnerOidcAccessTokenstring ``/* 155-byte string literal not displayed */WorkspaceOwnerSessionTokenstring ``/* 144-byte string literal not displayed */// contains filtered or unexported fields}
func (*Provision_Metadata)Descriptordeprecated
func (*Provision_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Provision_Metadata.ProtoReflect.Descriptor instead.
func (*Provision_Metadata)GetCoderUrl¶
func (x *Provision_Metadata) GetCoderUrl()string
func (*Provision_Metadata)GetTemplateName¶added inv0.18.0
func (x *Provision_Metadata) GetTemplateName()string
func (*Provision_Metadata)GetTemplateVersion¶added inv0.18.0
func (x *Provision_Metadata) GetTemplateVersion()string
func (*Provision_Metadata)GetWorkspaceId¶added inv0.5.3
func (x *Provision_Metadata) GetWorkspaceId()string
func (*Provision_Metadata)GetWorkspaceName¶
func (x *Provision_Metadata) GetWorkspaceName()string
func (*Provision_Metadata)GetWorkspaceOwner¶
func (x *Provision_Metadata) GetWorkspaceOwner()string
func (*Provision_Metadata)GetWorkspaceOwnerEmail¶added inv0.8.0
func (x *Provision_Metadata) GetWorkspaceOwnerEmail()string
func (*Provision_Metadata)GetWorkspaceOwnerId¶added inv0.5.3
func (x *Provision_Metadata) GetWorkspaceOwnerId()string
func (*Provision_Metadata)GetWorkspaceOwnerOidcAccessToken¶added inv0.20.0
func (x *Provision_Metadata) GetWorkspaceOwnerOidcAccessToken()string
func (*Provision_Metadata)GetWorkspaceOwnerSessionToken¶added inv0.23.5
func (x *Provision_Metadata) GetWorkspaceOwnerSessionToken()string
func (*Provision_Metadata)GetWorkspaceTransition¶
func (x *Provision_Metadata) GetWorkspaceTransition()WorkspaceTransition
func (*Provision_Metadata)ProtoMessage¶
func (*Provision_Metadata) ProtoMessage()
func (*Provision_Metadata)ProtoReflect¶
func (x *Provision_Metadata) ProtoReflect()protoreflect.Message
func (*Provision_Metadata)Reset¶
func (x *Provision_Metadata) Reset()
func (*Provision_Metadata)String¶
func (x *Provision_Metadata) String()string
typeProvision_Plan¶added inv0.12.7
type Provision_Plan struct {Config *Provision_Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`RichParameterValues []*RichParameterValue `protobuf:"bytes,3,rep,name=rich_parameter_values,json=richParameterValues,proto3" json:"rich_parameter_values,omitempty"`VariableValues []*VariableValue `protobuf:"bytes,4,rep,name=variable_values,json=variableValues,proto3" json:"variable_values,omitempty"`GitAuthProviders []*GitAuthProvider `protobuf:"bytes,5,rep,name=git_auth_providers,json=gitAuthProviders,proto3" json:"git_auth_providers,omitempty"`// contains filtered or unexported fields}
func (*Provision_Plan)Descriptordeprecatedadded inv0.12.7
func (*Provision_Plan) Descriptor() ([]byte, []int)
Deprecated: Use Provision_Plan.ProtoReflect.Descriptor instead.
func (*Provision_Plan)GetConfig¶added inv0.12.7
func (x *Provision_Plan) GetConfig() *Provision_Config
func (*Provision_Plan)GetGitAuthProviders¶added inv0.18.0
func (x *Provision_Plan) GetGitAuthProviders() []*GitAuthProvider
func (*Provision_Plan)GetRichParameterValues¶added inv0.15.0
func (x *Provision_Plan) GetRichParameterValues() []*RichParameterValue
func (*Provision_Plan)GetVariableValues¶added inv0.17.4
func (x *Provision_Plan) GetVariableValues() []*VariableValue
func (*Provision_Plan)ProtoMessage¶added inv0.12.7
func (*Provision_Plan) ProtoMessage()
func (*Provision_Plan)ProtoReflect¶added inv0.12.7
func (x *Provision_Plan) ProtoReflect()protoreflect.Message
func (*Provision_Plan)Reset¶added inv0.12.7
func (x *Provision_Plan) Reset()
func (*Provision_Plan)String¶added inv0.12.7
func (x *Provision_Plan) String()string
typeProvision_Request¶
type Provision_Request struct {// Types that are assignable to Type:////*Provision_Request_Plan//*Provision_Request_Apply//*Provision_Request_CancelType isProvision_Request_Type `protobuf_oneof:"type"`// contains filtered or unexported fields}
func (*Provision_Request)Descriptordeprecated
func (*Provision_Request) Descriptor() ([]byte, []int)
Deprecated: Use Provision_Request.ProtoReflect.Descriptor instead.
func (*Provision_Request)GetApply¶added inv0.12.7
func (x *Provision_Request) GetApply() *Provision_Apply
func (*Provision_Request)GetCancel¶
func (x *Provision_Request) GetCancel() *Provision_Cancel
func (*Provision_Request)GetPlan¶added inv0.12.7
func (x *Provision_Request) GetPlan() *Provision_Plan
func (*Provision_Request)GetType¶
func (m *Provision_Request) GetType() isProvision_Request_Type
func (*Provision_Request)ProtoMessage¶
func (*Provision_Request) ProtoMessage()
func (*Provision_Request)ProtoReflect¶
func (x *Provision_Request) ProtoReflect()protoreflect.Message
func (*Provision_Request)Reset¶
func (x *Provision_Request) Reset()
func (*Provision_Request)String¶
func (x *Provision_Request) String()string
typeProvision_Request_Apply¶added inv0.12.7
type Provision_Request_Apply struct {Apply *Provision_Apply `protobuf:"bytes,2,opt,name=apply,proto3,oneof"`}
typeProvision_Request_Cancel¶
type Provision_Request_Cancel struct {Cancel *Provision_Cancel `protobuf:"bytes,3,opt,name=cancel,proto3,oneof"`}
typeProvision_Request_Plan¶added inv0.12.7
type Provision_Request_Plan struct {Plan *Provision_Plan `protobuf:"bytes,1,opt,name=plan,proto3,oneof"`}
typeProvision_Response¶
type Provision_Response struct {// Types that are assignable to Type:////*Provision_Response_Log//*Provision_Response_CompleteType isProvision_Response_Type `protobuf_oneof:"type"`// contains filtered or unexported fields}
func (*Provision_Response)Descriptordeprecated
func (*Provision_Response) Descriptor() ([]byte, []int)
Deprecated: Use Provision_Response.ProtoReflect.Descriptor instead.
func (*Provision_Response)GetComplete¶
func (x *Provision_Response) GetComplete() *Provision_Complete
func (*Provision_Response)GetLog¶
func (x *Provision_Response) GetLog() *Log
func (*Provision_Response)GetType¶
func (m *Provision_Response) GetType() isProvision_Response_Type
func (*Provision_Response)ProtoMessage¶
func (*Provision_Response) ProtoMessage()
func (*Provision_Response)ProtoReflect¶
func (x *Provision_Response) ProtoReflect()protoreflect.Message
func (*Provision_Response)Reset¶
func (x *Provision_Response) Reset()
func (*Provision_Response)String¶
func (x *Provision_Response) String()string
typeProvision_Response_Complete¶
type Provision_Response_Complete struct {Complete *Provision_Complete `protobuf:"bytes,2,opt,name=complete,proto3,oneof"`}
typeProvision_Response_Log¶
type Provision_Response_Log struct {Log *Log `protobuf:"bytes,1,opt,name=log,proto3,oneof"`}
typeResource¶
type Resource struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Typestring `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"`Hidebool `protobuf:"varint,5,opt,name=hide,proto3" json:"hide,omitempty"`Iconstring `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`InstanceTypestring `protobuf:"bytes,7,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`DailyCostint32 `protobuf:"varint,8,opt,name=daily_cost,json=dailyCost,proto3" json:"daily_cost,omitempty"`// contains filtered or unexported fields}
Resource represents created infrastructure.
func (*Resource)Descriptordeprecated
func (*Resource)GetDailyCost¶added inv0.12.7
func (*Resource)GetInstanceType¶added inv0.12.2
func (*Resource)GetMetadata¶added inv0.8.3
func (x *Resource) GetMetadata() []*Resource_Metadata
func (*Resource)ProtoMessage¶
func (*Resource) ProtoMessage()
func (*Resource)ProtoReflect¶
func (x *Resource) ProtoReflect()protoreflect.Message
typeResource_Metadata¶added inv0.8.3
type Resource_Metadata struct {Keystring `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`Valuestring `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`Sensitivebool `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"`IsNullbool `protobuf:"varint,4,opt,name=is_null,json=isNull,proto3" json:"is_null,omitempty"`// contains filtered or unexported fields}
func (*Resource_Metadata)Descriptordeprecatedadded inv0.8.3
func (*Resource_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Resource_Metadata.ProtoReflect.Descriptor instead.
func (*Resource_Metadata)GetIsNull¶added inv0.8.3
func (x *Resource_Metadata) GetIsNull()bool
func (*Resource_Metadata)GetKey¶added inv0.8.3
func (x *Resource_Metadata) GetKey()string
func (*Resource_Metadata)GetSensitive¶added inv0.8.3
func (x *Resource_Metadata) GetSensitive()bool
func (*Resource_Metadata)GetValue¶added inv0.8.3
func (x *Resource_Metadata) GetValue()string
func (*Resource_Metadata)ProtoMessage¶added inv0.8.3
func (*Resource_Metadata) ProtoMessage()
func (*Resource_Metadata)ProtoReflect¶added inv0.8.3
func (x *Resource_Metadata) ProtoReflect()protoreflect.Message
func (*Resource_Metadata)Reset¶added inv0.8.3
func (x *Resource_Metadata) Reset()
func (*Resource_Metadata)String¶added inv0.8.3
func (x *Resource_Metadata) String()string
typeRichParameter¶added inv0.15.0
type RichParameter struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Descriptionstring `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`Typestring `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`Mutablebool `protobuf:"varint,4,opt,name=mutable,proto3" json:"mutable,omitempty"`DefaultValuestring `protobuf:"bytes,5,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`Iconstring `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`Options []*RichParameterOption `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`ValidationRegexstring `protobuf:"bytes,8,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex,omitempty"`ValidationErrorstring `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"`ValidationMonotonicstring `protobuf:"bytes,12,opt,name=validation_monotonic,json=validationMonotonic,proto3" json:"validation_monotonic,omitempty"`Requiredbool `protobuf:"varint,13,opt,name=required,proto3" json:"required,omitempty"`// legacy_variable_name was removed (= 14)DisplayNamestring `protobuf:"bytes,15,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`Orderint32 `protobuf:"varint,16,opt,name=order,proto3" json:"order,omitempty"`Ephemeralbool `protobuf:"varint,17,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`// contains filtered or unexported fields}
RichParameter represents a variable that is exposed.
func (*RichParameter)Descriptordeprecatedadded inv0.15.0
func (*RichParameter) Descriptor() ([]byte, []int)
Deprecated: Use RichParameter.ProtoReflect.Descriptor instead.
func (*RichParameter)GetDefaultValue¶added inv0.15.0
func (x *RichParameter) GetDefaultValue()string
func (*RichParameter)GetDescription¶added inv0.15.0
func (x *RichParameter) GetDescription()string
func (*RichParameter)GetDisplayName¶added inv0.21.3
func (x *RichParameter) GetDisplayName()string
func (*RichParameter)GetEphemeral¶added inv0.26.0
func (x *RichParameter) GetEphemeral()bool
func (*RichParameter)GetIcon¶added inv0.15.0
func (x *RichParameter) GetIcon()string
func (*RichParameter)GetMutable¶added inv0.15.0
func (x *RichParameter) GetMutable()bool
func (*RichParameter)GetName¶added inv0.15.0
func (x *RichParameter) GetName()string
func (*RichParameter)GetOptions¶added inv0.15.0
func (x *RichParameter) GetOptions() []*RichParameterOption
func (*RichParameter)GetOrder¶added inv0.25.0
func (x *RichParameter) GetOrder()int32
func (*RichParameter)GetRequired¶added inv0.19.0
func (x *RichParameter) GetRequired()bool
func (*RichParameter)GetType¶added inv0.15.0
func (x *RichParameter) GetType()string
func (*RichParameter)GetValidationError¶added inv0.15.3
func (x *RichParameter) GetValidationError()string
func (*RichParameter)GetValidationMax¶added inv0.15.0
func (x *RichParameter) GetValidationMax()int32
func (*RichParameter)GetValidationMin¶added inv0.15.0
func (x *RichParameter) GetValidationMin()int32
func (*RichParameter)GetValidationMonotonic¶added inv0.17.0
func (x *RichParameter) GetValidationMonotonic()string
func (*RichParameter)GetValidationRegex¶added inv0.15.0
func (x *RichParameter) GetValidationRegex()string
func (*RichParameter)ProtoMessage¶added inv0.15.0
func (*RichParameter) ProtoMessage()
func (*RichParameter)ProtoReflect¶added inv0.15.0
func (x *RichParameter) ProtoReflect()protoreflect.Message
func (*RichParameter)Reset¶added inv0.15.0
func (x *RichParameter) Reset()
func (*RichParameter)String¶added inv0.15.0
func (x *RichParameter) String()string
typeRichParameterOption¶added inv0.15.0
type RichParameterOption struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Descriptionstring `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`Valuestring `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`Iconstring `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)Descriptordeprecatedadded inv0.15.0
func (*RichParameterOption) Descriptor() ([]byte, []int)
Deprecated: Use RichParameterOption.ProtoReflect.Descriptor instead.
func (*RichParameterOption)GetDescription¶added inv0.15.0
func (x *RichParameterOption) GetDescription()string
func (*RichParameterOption)GetIcon¶added inv0.15.0
func (x *RichParameterOption) GetIcon()string
func (*RichParameterOption)GetName¶added inv0.15.0
func (x *RichParameterOption) GetName()string
func (*RichParameterOption)GetValue¶added inv0.15.0
func (x *RichParameterOption) GetValue()string
func (*RichParameterOption)ProtoMessage¶added inv0.15.0
func (*RichParameterOption) ProtoMessage()
func (*RichParameterOption)ProtoReflect¶added inv0.15.0
func (x *RichParameterOption) ProtoReflect()protoreflect.Message
func (*RichParameterOption)Reset¶added inv0.15.0
func (x *RichParameterOption) Reset()
func (*RichParameterOption)String¶added inv0.15.0
func (x *RichParameterOption) String()string
typeRichParameterValue¶added inv0.15.0
type RichParameterValue struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Valuestring `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields}
RichParameterValue holds the key/value mapping of a parameter.
func (*RichParameterValue)Descriptordeprecatedadded inv0.15.0
func (*RichParameterValue) Descriptor() ([]byte, []int)
Deprecated: Use RichParameterValue.ProtoReflect.Descriptor instead.
func (*RichParameterValue)GetName¶added inv0.15.0
func (x *RichParameterValue) GetName()string
func (*RichParameterValue)GetValue¶added inv0.15.0
func (x *RichParameterValue) GetValue()string
func (*RichParameterValue)ProtoMessage¶added inv0.15.0
func (*RichParameterValue) ProtoMessage()
func (*RichParameterValue)ProtoReflect¶added inv0.15.0
func (x *RichParameterValue) ProtoReflect()protoreflect.Message
func (*RichParameterValue)Reset¶added inv0.15.0
func (x *RichParameterValue) Reset()
func (*RichParameterValue)String¶added inv0.15.0
func (x *RichParameterValue) String()string
typeTemplateVariable¶added inv0.17.4
type TemplateVariable struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Descriptionstring `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`Typestring `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`DefaultValuestring `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`Requiredbool `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`Sensitivebool `protobuf:"varint,6,opt,name=sensitive,proto3" json:"sensitive,omitempty"`// contains filtered or unexported fields}
TemplateVariable represents a Terraform variable.
func (*TemplateVariable)Descriptordeprecatedadded inv0.17.4
func (*TemplateVariable) Descriptor() ([]byte, []int)
Deprecated: Use TemplateVariable.ProtoReflect.Descriptor instead.
func (*TemplateVariable)GetDefaultValue¶added inv0.17.4
func (x *TemplateVariable) GetDefaultValue()string
func (*TemplateVariable)GetDescription¶added inv0.17.4
func (x *TemplateVariable) GetDescription()string
func (*TemplateVariable)GetName¶added inv0.17.4
func (x *TemplateVariable) GetName()string
func (*TemplateVariable)GetRequired¶added inv0.17.4
func (x *TemplateVariable) GetRequired()bool
func (*TemplateVariable)GetSensitive¶added inv0.17.4
func (x *TemplateVariable) GetSensitive()bool
func (*TemplateVariable)GetType¶added inv0.17.4
func (x *TemplateVariable) GetType()string
func (*TemplateVariable)ProtoMessage¶added inv0.17.4
func (*TemplateVariable) ProtoMessage()
func (*TemplateVariable)ProtoReflect¶added inv0.17.4
func (x *TemplateVariable) ProtoReflect()protoreflect.Message
func (*TemplateVariable)Reset¶added inv0.17.4
func (x *TemplateVariable) Reset()
func (*TemplateVariable)String¶added inv0.17.4
func (x *TemplateVariable) String()string
typeVariableValue¶added inv0.17.4
type VariableValue struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Valuestring `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`Sensitivebool `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)Descriptordeprecatedadded inv0.17.4
func (*VariableValue) Descriptor() ([]byte, []int)
Deprecated: Use VariableValue.ProtoReflect.Descriptor instead.
func (*VariableValue)GetName¶added inv0.17.4
func (x *VariableValue) GetName()string
func (*VariableValue)GetSensitive¶added inv0.17.4
func (x *VariableValue) GetSensitive()bool
func (*VariableValue)GetValue¶added inv0.17.4
func (x *VariableValue) GetValue()string
func (*VariableValue)ProtoMessage¶added inv0.17.4
func (*VariableValue) ProtoMessage()
func (*VariableValue)ProtoReflect¶added inv0.17.4
func (x *VariableValue) ProtoReflect()protoreflect.Message
func (*VariableValue)Reset¶added inv0.17.4
func (x *VariableValue) Reset()
func (*VariableValue)String¶added inv0.17.4
func (x *VariableValue) String()string
typeWorkspaceTransition¶
type WorkspaceTransitionint32
const (WorkspaceTransition_STARTWorkspaceTransition = 0WorkspaceTransition_STOPWorkspaceTransition = 1WorkspaceTransition_DESTROYWorkspaceTransition = 2)
func (WorkspaceTransition)Descriptor¶
func (WorkspaceTransition) Descriptor()protoreflect.EnumDescriptor
func (WorkspaceTransition)Enum¶
func (xWorkspaceTransition) Enum() *WorkspaceTransition
func (WorkspaceTransition)EnumDescriptordeprecated
func (WorkspaceTransition) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkspaceTransition.Descriptor instead.
func (WorkspaceTransition)Number¶
func (xWorkspaceTransition) Number()protoreflect.EnumNumber
func (WorkspaceTransition)String¶
func (xWorkspaceTransition) String()string
func (WorkspaceTransition)Type¶
func (WorkspaceTransition) Type()protoreflect.EnumType