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) GetName() string
- func (x *Agent) GetOperatingSystem() string
- func (x *Agent) GetStartupScript() string
- 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_Token
- type App
- func (*App) Descriptor() ([]byte, []int)deprecated
- func (x *App) GetCommand() string
- func (x *App) GetDisplayName() string
- 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 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 ParameterDestination
- func (*ParameterDestination) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterDestination) GetScheme() ParameterDestination_Scheme
- func (*ParameterDestination) ProtoMessage()
- func (x *ParameterDestination) ProtoReflect() protoreflect.Message
- func (x *ParameterDestination) Reset()
- func (x *ParameterDestination) String() string
- type ParameterDestination_Scheme
- func (ParameterDestination_Scheme) Descriptor() protoreflect.EnumDescriptor
- func (x ParameterDestination_Scheme) Enum() *ParameterDestination_Scheme
- func (ParameterDestination_Scheme) EnumDescriptor() ([]byte, []int)deprecated
- func (x ParameterDestination_Scheme) Number() protoreflect.EnumNumber
- func (x ParameterDestination_Scheme) String() string
- func (ParameterDestination_Scheme) Type() protoreflect.EnumType
- type ParameterSchema
- func (*ParameterSchema) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterSchema) GetAllowOverrideDestination() bool
- func (x *ParameterSchema) GetAllowOverrideSource() bool
- func (x *ParameterSchema) GetDefaultDestination() *ParameterDestination
- func (x *ParameterSchema) GetDefaultSource() *ParameterSource
- func (x *ParameterSchema) GetDescription() string
- func (x *ParameterSchema) GetName() string
- func (x *ParameterSchema) GetRedisplayValue() bool
- func (x *ParameterSchema) GetValidationCondition() string
- func (x *ParameterSchema) GetValidationError() string
- func (x *ParameterSchema) GetValidationTypeSystem() ParameterSchema_TypeSystem
- func (x *ParameterSchema) GetValidationValueType() string
- func (*ParameterSchema) ProtoMessage()
- func (x *ParameterSchema) ProtoReflect() protoreflect.Message
- func (x *ParameterSchema) Reset()
- func (x *ParameterSchema) String() string
- type ParameterSchema_TypeSystem
- func (ParameterSchema_TypeSystem) Descriptor() protoreflect.EnumDescriptor
- func (x ParameterSchema_TypeSystem) Enum() *ParameterSchema_TypeSystem
- func (ParameterSchema_TypeSystem) EnumDescriptor() ([]byte, []int)deprecated
- func (x ParameterSchema_TypeSystem) Number() protoreflect.EnumNumber
- func (x ParameterSchema_TypeSystem) String() string
- func (ParameterSchema_TypeSystem) Type() protoreflect.EnumType
- type ParameterSource
- func (*ParameterSource) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterSource) GetScheme() ParameterSource_Scheme
- func (x *ParameterSource) GetValue() string
- func (*ParameterSource) ProtoMessage()
- func (x *ParameterSource) ProtoReflect() protoreflect.Message
- func (x *ParameterSource) Reset()
- func (x *ParameterSource) String() string
- type ParameterSource_Scheme
- func (ParameterSource_Scheme) Descriptor() protoreflect.EnumDescriptor
- func (x ParameterSource_Scheme) Enum() *ParameterSource_Scheme
- func (ParameterSource_Scheme) EnumDescriptor() ([]byte, []int)deprecated
- func (x ParameterSource_Scheme) Number() protoreflect.EnumNumber
- func (x ParameterSource_Scheme) String() string
- func (ParameterSource_Scheme) Type() protoreflect.EnumType
- type ParameterValue
- func (*ParameterValue) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterValue) GetDestinationScheme() ParameterDestination_Scheme
- func (x *ParameterValue) GetName() string
- func (x *ParameterValue) GetValue() string
- func (*ParameterValue) ProtoMessage()
- func (x *ParameterValue) ProtoReflect() protoreflect.Message
- func (x *ParameterValue) Reset()
- func (x *ParameterValue) String() string
- type Parse
- type Parse_Complete
- func (*Parse_Complete) Descriptor() ([]byte, []int)deprecated
- func (x *Parse_Complete) GetParameterSchemas() []*ParameterSchema
- func (*Parse_Complete) ProtoMessage()
- func (x *Parse_Complete) ProtoReflect() protoreflect.Message
- func (x *Parse_Complete) Reset()
- func (x *Parse_Complete) String() string
- 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_Cancel
- type Provision_Complete
- func (*Provision_Complete) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Complete) GetError() string
- 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_Metadata
- func (*Provision_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Metadata) GetCoderUrl() 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) 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_Request
- func (*Provision_Request) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Request) GetCancel() *Provision_Cancel
- func (x *Provision_Request) GetStart() *Provision_Start
- 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_Cancel
- type Provision_Request_Start
- 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 Provision_Start
- func (*Provision_Start) Descriptor() ([]byte, []int)deprecated
- func (x *Provision_Start) GetDirectory() string
- func (x *Provision_Start) GetDryRun() bool
- func (x *Provision_Start) GetMetadata() *Provision_Metadata
- func (x *Provision_Start) GetParameterValues() []*ParameterValue
- func (x *Provision_Start) GetState() []byte
- func (*Provision_Start) ProtoMessage()
- func (x *Provision_Start) ProtoReflect() protoreflect.Message
- func (x *Provision_Start) Reset()
- func (x *Provision_Start) String() string
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetAgents() []*Agent
- 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 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 ( ParameterSource_Scheme_name = map[int32]string{ 0: "DATA", } ParameterSource_Scheme_value = map[string]int32{ "DATA": 0, } )
Enum value maps for ParameterSource_Scheme.
var ( ParameterDestination_Scheme_name = map[int32]string{ 0: "ENVIRONMENT_VARIABLE", 1: "PROVISIONER_VARIABLE", } ParameterDestination_Scheme_value = map[string]int32{ "ENVIRONMENT_VARIABLE": 0, "PROVISIONER_VARIABLE": 1, } )
Enum value maps for ParameterDestination_Scheme.
var ( ParameterSchema_TypeSystem_name = map[int32]string{ 0: "None", 1: "HCL", } ParameterSchema_TypeSystem_value = map[string]int32{ "None": 0, "HCL": 1, } )
Enum value maps for ParameterSchema_TypeSystem.
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 */ StartupScript string `protobuf:"bytes,4,opt,name=startup_script,json=startupScript,proto3" json:"startup_script,omitempty"` 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"` // contains filtered or unexported fields }
Agent represents a running agent on the workspace.
func (*Agent) Descriptor
deprecated
func (*Agent) GetArchitecture ¶ added in v0.4.1
func (*Agent) GetConnectionTimeoutSeconds ¶ added in v0.12.6
func (*Agent) GetDirectory ¶ added in v0.5.3
func (*Agent) GetInstanceId ¶
func (*Agent) GetOperatingSystem ¶ added in v0.4.1
func (*Agent) GetStartupScript ¶
func (*Agent) GetTroubleshootingUrl ¶ added in v0.12.6
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_Token ¶
type Agent_Token struct {
Token string `protobuf:"bytes,9,opt,name=token,proto3,oneof"`
}
type App ¶ added in v0.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. 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 */ // contains filtered or unexported fields }
App represents a dev-accessible application on the workspace.
func (*App) Descriptor
deprecated
added in
v0.6.2
func (*App) GetCommand ¶ added in v0.6.2
func (*App) GetDisplayName ¶ added in v0.12.0
func (*App) GetHealthcheck ¶ added in v0.9.0
func (x *App) GetHealthcheck() *Healthcheck
func (*App) GetSharingLevel ¶ added in v0.10.0
func (x *App) GetSharingLevel() AppSharingLevel
func (*App) GetSubdomain ¶ added in v0.9.4
func (*App) ProtoMessage ¶ added in v0.6.2
func (*App) ProtoMessage()
func (*App) ProtoReflect ¶ added in v0.6.2
func (x *App) ProtoReflect() protoreflect.Message
type AppSharingLevel ¶ added in v0.10.0
type AppSharingLevel int32
const ( AppSharingLevel_OWNER AppSharingLevel = 0 AppSharingLevel_AUTHENTICATED AppSharingLevel = 1 AppSharingLevel_PUBLIC AppSharingLevel = 2 )
func (AppSharingLevel) Descriptor ¶ added in v0.10.0
func (AppSharingLevel) Descriptor() protoreflect.EnumDescriptor
func (AppSharingLevel) Enum ¶ added in v0.10.0
func (x AppSharingLevel) Enum() *AppSharingLevel
func (AppSharingLevel) EnumDescriptor
deprecated
added in
v0.10.0
func (AppSharingLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppSharingLevel.Descriptor instead.
func (AppSharingLevel) Number ¶ added in v0.10.0
func (x AppSharingLevel) Number() protoreflect.EnumNumber
func (AppSharingLevel) String ¶ added in v0.10.0
func (x AppSharingLevel) String() string
func (AppSharingLevel) Type ¶ added in v0.10.0
func (AppSharingLevel) Type() protoreflect.EnumType
type DRPCProvisionerClient ¶
type DRPCProvisionerClient interface { DRPCConn() drpc.Conn Parse(ctx context.Context, in *Parse_Request) (DRPCProvisioner_ParseClient, error) Provision(ctx context.Context) (DRPCProvisioner_ProvisionClient, 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 { Parse(*Parse_Request, DRPCProvisioner_ParseStream) error Provision(DRPCProvisioner_ProvisionStream) error }
type DRPCProvisionerUnimplementedServer ¶
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
type DRPCProvisioner_ParseClient ¶
type DRPCProvisioner_ParseClient interface { drpc.Stream Recv() (*Parse_Response, error) }
type DRPCProvisioner_ParseStream ¶
type DRPCProvisioner_ParseStream interface { drpc.Stream Send(*Parse_Response) error }
type DRPCProvisioner_ProvisionClient ¶
type DRPCProvisioner_ProvisionClient interface { drpc.Stream Send(*Provision_Request) error Recv() (*Provision_Response, error) }
type DRPCProvisioner_ProvisionStream ¶
type DRPCProvisioner_ProvisionStream interface { drpc.Stream Send(*Provision_Response) error Recv() (*Provision_Request, error) }
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 Healthcheck ¶ added in v0.9.0
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
added in
v0.9.0
func (*Healthcheck) Descriptor() ([]byte, []int)
Deprecated: Use Healthcheck.ProtoReflect.Descriptor instead.
func (*Healthcheck) GetInterval ¶ added in v0.9.0
func (x *Healthcheck) GetInterval() int32
func (*Healthcheck) GetThreshold ¶ added in v0.9.0
func (x *Healthcheck) GetThreshold() int32
func (*Healthcheck) GetUrl ¶ added in v0.9.0
func (x *Healthcheck) GetUrl() string
func (*Healthcheck) ProtoMessage ¶ added in v0.9.0
func (*Healthcheck) ProtoMessage()
func (*Healthcheck) ProtoReflect ¶ added in v0.9.0
func (x *Healthcheck) ProtoReflect() protoreflect.Message
func (*Healthcheck) Reset ¶ added in v0.9.0
func (x *Healthcheck) Reset()
func (*Healthcheck) String ¶ added in v0.9.0
func (x *Healthcheck) String() string
type InstanceIdentityAuth ¶ added in v0.4.1
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
added in
v0.4.1
func (*InstanceIdentityAuth) Descriptor() ([]byte, []int)
Deprecated: Use InstanceIdentityAuth.ProtoReflect.Descriptor instead.
func (*InstanceIdentityAuth) GetInstanceId ¶ added in v0.4.1
func (x *InstanceIdentityAuth) GetInstanceId() string
func (*InstanceIdentityAuth) ProtoMessage ¶ added in v0.4.1
func (*InstanceIdentityAuth) ProtoMessage()
func (*InstanceIdentityAuth) ProtoReflect ¶ added in v0.4.1
func (x *InstanceIdentityAuth) ProtoReflect() protoreflect.Message
func (*InstanceIdentityAuth) Reset ¶ added in v0.4.1
func (x *InstanceIdentityAuth) Reset()
func (*InstanceIdentityAuth) String ¶ added in v0.4.1
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 ParameterDestination ¶
type ParameterDestination struct { Scheme ParameterDestination_Scheme `protobuf:"varint,1,opt,name=scheme,proto3,enum=provisioner.ParameterDestination_Scheme" json:"scheme,omitempty"` // contains filtered or unexported fields }
ParameterDestination represents the target location for a provisioner to set the value.
func (*ParameterDestination) Descriptor
deprecated
func (*ParameterDestination) Descriptor() ([]byte, []int)
Deprecated: Use ParameterDestination.ProtoReflect.Descriptor instead.
func (*ParameterDestination) GetScheme ¶
func (x *ParameterDestination) GetScheme() ParameterDestination_Scheme
func (*ParameterDestination) ProtoMessage ¶
func (*ParameterDestination) ProtoMessage()
func (*ParameterDestination) ProtoReflect ¶
func (x *ParameterDestination) ProtoReflect() protoreflect.Message
func (*ParameterDestination) Reset ¶
func (x *ParameterDestination) Reset()
func (*ParameterDestination) String ¶
func (x *ParameterDestination) String() string
type ParameterDestination_Scheme ¶
type ParameterDestination_Scheme int32
const ( ParameterDestination_ENVIRONMENT_VARIABLE ParameterDestination_Scheme = 0 ParameterDestination_PROVISIONER_VARIABLE ParameterDestination_Scheme = 1 )
func (ParameterDestination_Scheme) Descriptor ¶
func (ParameterDestination_Scheme) Descriptor() protoreflect.EnumDescriptor
func (ParameterDestination_Scheme) Enum ¶
func (x ParameterDestination_Scheme) Enum() *ParameterDestination_Scheme
func (ParameterDestination_Scheme) EnumDescriptor
deprecated
func (ParameterDestination_Scheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use ParameterDestination_Scheme.Descriptor instead.
func (ParameterDestination_Scheme) Number ¶
func (x ParameterDestination_Scheme) Number() protoreflect.EnumNumber
func (ParameterDestination_Scheme) String ¶
func (x ParameterDestination_Scheme) String() string
func (ParameterDestination_Scheme) Type ¶
func (ParameterDestination_Scheme) Type() protoreflect.EnumType
type ParameterSchema ¶
type ParameterSchema 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"` DefaultSource *ParameterSource `protobuf:"bytes,3,opt,name=default_source,json=defaultSource,proto3" json:"default_source,omitempty"` AllowOverrideSource bool `protobuf:"varint,4,opt,name=allow_override_source,json=allowOverrideSource,proto3" json:"allow_override_source,omitempty"` DefaultDestination *ParameterDestination `protobuf:"bytes,5,opt,name=default_destination,json=defaultDestination,proto3" json:"default_destination,omitempty"` AllowOverrideDestination bool `` /* 136-byte string literal not displayed */ RedisplayValue bool `protobuf:"varint,7,opt,name=redisplay_value,json=redisplayValue,proto3" json:"redisplay_value,omitempty"` ValidationTypeSystem ParameterSchema_TypeSystem `` /* 168-byte string literal not displayed */ ValidationValueType string `protobuf:"bytes,9,opt,name=validation_value_type,json=validationValueType,proto3" json:"validation_value_type,omitempty"` ValidationError string `protobuf:"bytes,10,opt,name=validation_error,json=validationError,proto3" json:"validation_error,omitempty"` ValidationCondition string `protobuf:"bytes,11,opt,name=validation_condition,json=validationCondition,proto3" json:"validation_condition,omitempty"` // contains filtered or unexported fields }
ParameterSchema represents validation and type information for a parsed parameter.
func (*ParameterSchema) Descriptor
deprecated
func (*ParameterSchema) Descriptor() ([]byte, []int)
Deprecated: Use ParameterSchema.ProtoReflect.Descriptor instead.
func (*ParameterSchema) GetAllowOverrideDestination ¶
func (x *ParameterSchema) GetAllowOverrideDestination() bool
func (*ParameterSchema) GetAllowOverrideSource ¶
func (x *ParameterSchema) GetAllowOverrideSource() bool
func (*ParameterSchema) GetDefaultDestination ¶
func (x *ParameterSchema) GetDefaultDestination() *ParameterDestination
func (*ParameterSchema) GetDefaultSource ¶
func (x *ParameterSchema) GetDefaultSource() *ParameterSource
func (*ParameterSchema) GetDescription ¶
func (x *ParameterSchema) GetDescription() string
func (*ParameterSchema) GetName ¶
func (x *ParameterSchema) GetName() string
func (*ParameterSchema) GetRedisplayValue ¶
func (x *ParameterSchema) GetRedisplayValue() bool
func (*ParameterSchema) GetValidationCondition ¶
func (x *ParameterSchema) GetValidationCondition() string
func (*ParameterSchema) GetValidationError ¶
func (x *ParameterSchema) GetValidationError() string
func (*ParameterSchema) GetValidationTypeSystem ¶
func (x *ParameterSchema) GetValidationTypeSystem() ParameterSchema_TypeSystem
func (*ParameterSchema) GetValidationValueType ¶
func (x *ParameterSchema) GetValidationValueType() string
func (*ParameterSchema) ProtoMessage ¶
func (*ParameterSchema) ProtoMessage()
func (*ParameterSchema) ProtoReflect ¶
func (x *ParameterSchema) ProtoReflect() protoreflect.Message
func (*ParameterSchema) Reset ¶
func (x *ParameterSchema) Reset()
func (*ParameterSchema) String ¶
func (x *ParameterSchema) String() string
type ParameterSchema_TypeSystem ¶
type ParameterSchema_TypeSystem int32
const ( ParameterSchema_None ParameterSchema_TypeSystem = 0 ParameterSchema_HCL ParameterSchema_TypeSystem = 1 )
func (ParameterSchema_TypeSystem) Descriptor ¶
func (ParameterSchema_TypeSystem) Descriptor() protoreflect.EnumDescriptor
func (ParameterSchema_TypeSystem) Enum ¶
func (x ParameterSchema_TypeSystem) Enum() *ParameterSchema_TypeSystem
func (ParameterSchema_TypeSystem) EnumDescriptor
deprecated
func (ParameterSchema_TypeSystem) EnumDescriptor() ([]byte, []int)
Deprecated: Use ParameterSchema_TypeSystem.Descriptor instead.
func (ParameterSchema_TypeSystem) Number ¶
func (x ParameterSchema_TypeSystem) Number() protoreflect.EnumNumber
func (ParameterSchema_TypeSystem) String ¶
func (x ParameterSchema_TypeSystem) String() string
func (ParameterSchema_TypeSystem) Type ¶
func (ParameterSchema_TypeSystem) Type() protoreflect.EnumType
type ParameterSource ¶
type ParameterSource struct { Scheme ParameterSource_Scheme `protobuf:"varint,1,opt,name=scheme,proto3,enum=provisioner.ParameterSource_Scheme" json:"scheme,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
ParameterSource represents the source location for a parameter to get it's value from.
func (*ParameterSource) Descriptor
deprecated
func (*ParameterSource) Descriptor() ([]byte, []int)
Deprecated: Use ParameterSource.ProtoReflect.Descriptor instead.
func (*ParameterSource) GetScheme ¶
func (x *ParameterSource) GetScheme() ParameterSource_Scheme
func (*ParameterSource) GetValue ¶
func (x *ParameterSource) GetValue() string
func (*ParameterSource) ProtoMessage ¶
func (*ParameterSource) ProtoMessage()
func (*ParameterSource) ProtoReflect ¶
func (x *ParameterSource) ProtoReflect() protoreflect.Message
func (*ParameterSource) Reset ¶
func (x *ParameterSource) Reset()
func (*ParameterSource) String ¶
func (x *ParameterSource) String() string
type ParameterSource_Scheme ¶
type ParameterSource_Scheme int32
const (
ParameterSource_DATA ParameterSource_Scheme = 0
)
func (ParameterSource_Scheme) Descriptor ¶
func (ParameterSource_Scheme) Descriptor() protoreflect.EnumDescriptor
func (ParameterSource_Scheme) Enum ¶
func (x ParameterSource_Scheme) Enum() *ParameterSource_Scheme
func (ParameterSource_Scheme) EnumDescriptor
deprecated
func (ParameterSource_Scheme) EnumDescriptor() ([]byte, []int)
Deprecated: Use ParameterSource_Scheme.Descriptor instead.
func (ParameterSource_Scheme) Number ¶
func (x ParameterSource_Scheme) Number() protoreflect.EnumNumber
func (ParameterSource_Scheme) String ¶
func (x ParameterSource_Scheme) String() string
func (ParameterSource_Scheme) Type ¶
func (ParameterSource_Scheme) Type() protoreflect.EnumType
type ParameterValue ¶
type ParameterValue struct { DestinationScheme ParameterDestination_Scheme `` /* 158-byte string literal not displayed */ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
ParameterValue represents the resolved source and destination of a parameter.
func (*ParameterValue) Descriptor
deprecated
func (*ParameterValue) Descriptor() ([]byte, []int)
Deprecated: Use ParameterValue.ProtoReflect.Descriptor instead.
func (*ParameterValue) GetDestinationScheme ¶
func (x *ParameterValue) GetDestinationScheme() ParameterDestination_Scheme
func (*ParameterValue) GetName ¶
func (x *ParameterValue) GetName() string
func (*ParameterValue) GetValue ¶
func (x *ParameterValue) GetValue() string
func (*ParameterValue) ProtoMessage ¶
func (*ParameterValue) ProtoMessage()
func (*ParameterValue) ProtoReflect ¶
func (x *ParameterValue) ProtoReflect() protoreflect.Message
func (*ParameterValue) Reset ¶
func (x *ParameterValue) Reset()
func (*ParameterValue) String ¶
func (x *ParameterValue) String() string
type Parse ¶
type Parse struct {
// contains filtered or unexported fields
}
Parse consumes source-code from a directory to produce inputs.
func (*Parse) Descriptor
deprecated
func (*Parse) ProtoMessage ¶
func (*Parse) ProtoMessage()
func (*Parse) ProtoReflect ¶
func (x *Parse) ProtoReflect() protoreflect.Message
type Parse_Complete ¶
type Parse_Complete struct { ParameterSchemas []*ParameterSchema `protobuf:"bytes,2,rep,name=parameter_schemas,json=parameterSchemas,proto3" json:"parameter_schemas,omitempty"` // contains filtered or unexported fields }
func (*Parse_Complete) Descriptor
deprecated
func (*Parse_Complete) Descriptor() ([]byte, []int)
Deprecated: Use Parse_Complete.ProtoReflect.Descriptor instead.
func (*Parse_Complete) GetParameterSchemas ¶
func (x *Parse_Complete) GetParameterSchemas() []*ParameterSchema
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
type Parse_Request ¶
type Parse_Request struct { Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` // contains filtered or unexported fields }
func (*Parse_Request) Descriptor
deprecated
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
type Parse_Response ¶
type Parse_Response struct { // Types that are assignable to Type: // // *Parse_Response_Log // *Parse_Response_Complete Type isParse_Response_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Parse_Response) Descriptor
deprecated
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
type Parse_Response_Complete ¶
type Parse_Response_Complete struct {
Complete *Parse_Complete `protobuf:"bytes,2,opt,name=complete,proto3,oneof"`
}
type Parse_Response_Log ¶
type Parse_Response_Log struct {
Log *Log `protobuf:"bytes,1,opt,name=log,proto3,oneof"`
}
type Provision ¶
type Provision struct {
// contains filtered or unexported fields
}
Provision consumes source-code from a directory to produce resources.
func (*Provision) Descriptor
deprecated
func (*Provision) ProtoMessage ¶
func (*Provision) ProtoMessage()
func (*Provision) ProtoReflect ¶
func (x *Provision) ProtoReflect() protoreflect.Message
type Provision_Cancel ¶
type Provision_Cancel struct {
// contains filtered or unexported fields
}
func (*Provision_Cancel) Descriptor
deprecated
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
type Provision_Complete ¶
type Provision_Complete 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"` // contains filtered or unexported fields }
func (*Provision_Complete) Descriptor
deprecated
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) 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
type Provision_Metadata ¶
type Provision_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"` // contains filtered or unexported fields }
func (*Provision_Metadata) Descriptor
deprecated
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) GetWorkspaceId ¶ added in v0.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 in v0.8.0
func (x *Provision_Metadata) GetWorkspaceOwnerEmail() string
func (*Provision_Metadata) GetWorkspaceOwnerId ¶ added in v0.5.3
func (x *Provision_Metadata) GetWorkspaceOwnerId() 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
type Provision_Request ¶
type Provision_Request struct { // Types that are assignable to Type: // // *Provision_Request_Start // *Provision_Request_Cancel Type isProvision_Request_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Provision_Request) Descriptor
deprecated
func (*Provision_Request) Descriptor() ([]byte, []int)
Deprecated: Use Provision_Request.ProtoReflect.Descriptor instead.
func (*Provision_Request) GetCancel ¶
func (x *Provision_Request) GetCancel() *Provision_Cancel
func (*Provision_Request) GetStart ¶
func (x *Provision_Request) GetStart() *Provision_Start
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
type Provision_Request_Cancel ¶
type Provision_Request_Cancel struct {
Cancel *Provision_Cancel `protobuf:"bytes,2,opt,name=cancel,proto3,oneof"`
}
type Provision_Request_Start ¶
type Provision_Request_Start struct {
Start *Provision_Start `protobuf:"bytes,1,opt,name=start,proto3,oneof"`
}
type Provision_Response ¶
type Provision_Response struct { // Types that are assignable to Type: // // *Provision_Response_Log // *Provision_Response_Complete Type isProvision_Response_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Provision_Response) Descriptor
deprecated
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
type Provision_Response_Complete ¶
type Provision_Response_Complete struct {
Complete *Provision_Complete `protobuf:"bytes,2,opt,name=complete,proto3,oneof"`
}
type Provision_Response_Log ¶
type Provision_Response_Log struct {
Log *Log `protobuf:"bytes,1,opt,name=log,proto3,oneof"`
}
type Provision_Start ¶
type Provision_Start struct { Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` ParameterValues []*ParameterValue `protobuf:"bytes,2,rep,name=parameter_values,json=parameterValues,proto3" json:"parameter_values,omitempty"` Metadata *Provision_Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` State []byte `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` DryRun bool `protobuf:"varint,5,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // contains filtered or unexported fields }
func (*Provision_Start) Descriptor
deprecated
func (*Provision_Start) Descriptor() ([]byte, []int)
Deprecated: Use Provision_Start.ProtoReflect.Descriptor instead.
func (*Provision_Start) GetDirectory ¶
func (x *Provision_Start) GetDirectory() string
func (*Provision_Start) GetDryRun ¶
func (x *Provision_Start) GetDryRun() bool
func (*Provision_Start) GetMetadata ¶
func (x *Provision_Start) GetMetadata() *Provision_Metadata
func (*Provision_Start) GetParameterValues ¶
func (x *Provision_Start) GetParameterValues() []*ParameterValue
func (*Provision_Start) GetState ¶
func (x *Provision_Start) GetState() []byte
func (*Provision_Start) ProtoMessage ¶
func (*Provision_Start) ProtoMessage()
func (*Provision_Start) ProtoReflect ¶
func (x *Provision_Start) ProtoReflect() protoreflect.Message
func (*Provision_Start) Reset ¶
func (x *Provision_Start) Reset()
func (*Provision_Start) String ¶
func (x *Provision_Start) String() string
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"` // contains filtered or unexported fields }
Resource represents created infrastructure.
func (*Resource) Descriptor
deprecated
func (*Resource) GetInstanceType ¶ added in v0.12.2
func (*Resource) GetMetadata ¶ added in v0.8.3
func (x *Resource) GetMetadata() []*Resource_Metadata
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (x *Resource) ProtoReflect() protoreflect.Message
type Resource_Metadata ¶ added in v0.8.3
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
added in
v0.8.3
func (*Resource_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use Resource_Metadata.ProtoReflect.Descriptor instead.
func (*Resource_Metadata) GetIsNull ¶ added in v0.8.3
func (x *Resource_Metadata) GetIsNull() bool
func (*Resource_Metadata) GetKey ¶ added in v0.8.3
func (x *Resource_Metadata) GetKey() string
func (*Resource_Metadata) GetSensitive ¶ added in v0.8.3
func (x *Resource_Metadata) GetSensitive() bool
func (*Resource_Metadata) GetValue ¶ added in v0.8.3
func (x *Resource_Metadata) GetValue() string
func (*Resource_Metadata) ProtoMessage ¶ added in v0.8.3
func (*Resource_Metadata) ProtoMessage()
func (*Resource_Metadata) ProtoReflect ¶ added in v0.8.3
func (x *Resource_Metadata) ProtoReflect() protoreflect.Message
func (*Resource_Metadata) Reset ¶ added in v0.8.3
func (x *Resource_Metadata) Reset()
func (*Resource_Metadata) String ¶ added in v0.8.3
func (x *Resource_Metadata) String() string
type WorkspaceTransition ¶
type WorkspaceTransition int32
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