proto

package
v2.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

View Source
var File_provisionersdk_proto_provisioner_proto protoreflect.FileDescriptor

Functions

func DRPCRegisterProvisioner

func DRPCRegisterProvisioner(mux drpc.Mux, impl DRPCProvisionerServer) error

Types

type Agent

type Agent struct {
	Id   string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Env  map[string]string `` /* 147-byte string literal not displayed */
	// Field 4 was startup_script, now removed.
	OperatingSystem string `protobuf:"bytes,5,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
	Architecture    string `protobuf:"bytes,6,opt,name=architecture,proto3" json:"architecture,omitempty"`
	Directory       string `protobuf:"bytes,7,opt,name=directory,proto3" json:"directory,omitempty"`
	Apps            []*App `protobuf:"bytes,8,rep,name=apps,proto3" json:"apps,omitempty"`
	// Types that are assignable to Auth:
	//
	//	*Agent_Token
	//	*Agent_InstanceId
	Auth                     isAgent_Auth `protobuf_oneof:"auth"`
	ConnectionTimeoutSeconds int32        `` /* 137-byte string literal not displayed */
	TroubleshootingUrl       string       `protobuf:"bytes,12,opt,name=troubleshooting_url,json=troubleshootingUrl,proto3" json:"troubleshooting_url,omitempty"`
	MotdFile                 string       `protobuf:"bytes,13,opt,name=motd_file,json=motdFile,proto3" json:"motd_file,omitempty"`
	// Field 14 was bool login_before_ready = 14, now removed.
	// Field 15, 16, 17 were related to scripts, which are now removed.
	Metadata []*Agent_Metadata `protobuf:"bytes,18,rep,name=metadata,proto3" json:"metadata,omitempty"`
	// Field 19 was startup_script_behavior, now removed.
	DisplayApps *DisplayApps `protobuf:"bytes,20,opt,name=display_apps,json=displayApps,proto3" json:"display_apps,omitempty"`
	Scripts     []*Script    `protobuf:"bytes,21,rep,name=scripts,proto3" json:"scripts,omitempty"`
	ExtraEnvs   []*Env       `protobuf:"bytes,22,rep,name=extra_envs,json=extraEnvs,proto3" json:"extra_envs,omitempty"`
	Order       int64        `protobuf:"varint,23,opt,name=order,proto3" json:"order,omitempty"`
	// contains filtered or unexported fields
}

Agent represents a running agent on the workspace.

func (*Agent) Descriptor deprecated

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

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetApps

func (x *Agent) GetApps() []*App

func (*Agent) GetArchitecture

func (x *Agent) GetArchitecture() string

func (*Agent) GetAuth

func (m *Agent) GetAuth() isAgent_Auth

func (*Agent) GetConnectionTimeoutSeconds

func (x *Agent) GetConnectionTimeoutSeconds() int32

func (*Agent) GetDirectory

func (x *Agent) GetDirectory() string

func (*Agent) GetDisplayApps added in v2.1.5

func (x *Agent) GetDisplayApps() *DisplayApps

func (*Agent) GetEnv

func (x *Agent) GetEnv() map[string]string

func (*Agent) GetExtraEnvs added in v2.5.0

func (x *Agent) GetExtraEnvs() []*Env

func (*Agent) GetId

func (x *Agent) GetId() string

func (*Agent) GetInstanceId

func (x *Agent) GetInstanceId() string

func (*Agent) GetMetadata

func (x *Agent) GetMetadata() []*Agent_Metadata

func (*Agent) GetMotdFile

func (x *Agent) GetMotdFile() string

func (*Agent) GetName

func (x *Agent) GetName() string

func (*Agent) GetOperatingSystem

func (x *Agent) GetOperatingSystem() string

func (*Agent) GetOrder added in v2.9.0

func (x *Agent) GetOrder() int64

func (*Agent) GetScripts added in v2.2.0

func (x *Agent) GetScripts() []*Script

func (*Agent) GetToken

func (x *Agent) GetToken() string

func (*Agent) GetTroubleshootingUrl

func (x *Agent) GetTroubleshootingUrl() string

func (*Agent) ProtoMessage

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect

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

func (*Agent) Reset

func (x *Agent) Reset()

func (*Agent) String

func (x *Agent) String() string

type Agent_InstanceId

type Agent_InstanceId struct {
	InstanceId string `protobuf:"bytes,10,opt,name=instance_id,json=instanceId,proto3,oneof"`
}

type Agent_Metadata

type Agent_Metadata struct {
	Key         string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Script      string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
	Interval    int64  `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"`
	Timeout     int64  `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	Order       int64  `protobuf:"varint,6,opt,name=order,proto3" json:"order,omitempty"`
	// contains filtered or unexported fields
}

func (*Agent_Metadata) Descriptor deprecated

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

Deprecated: Use Agent_Metadata.ProtoReflect.Descriptor instead.

func (*Agent_Metadata) GetDisplayName

func (x *Agent_Metadata) GetDisplayName() string

func (*Agent_Metadata) GetInterval

func (x *Agent_Metadata) GetInterval() int64

func (*Agent_Metadata) GetKey

func (x *Agent_Metadata) GetKey() string

func (*Agent_Metadata) GetOrder added in v2.9.0

func (x *Agent_Metadata) GetOrder() int64

func (*Agent_Metadata) GetScript

func (x *Agent_Metadata) GetScript() string

func (*Agent_Metadata) GetTimeout

func (x *Agent_Metadata) GetTimeout() int64

func (*Agent_Metadata) ProtoMessage

func (*Agent_Metadata) ProtoMessage()

func (*Agent_Metadata) ProtoReflect

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

func (*Agent_Metadata) Reset

func (x *Agent_Metadata) Reset()

func (*Agent_Metadata) String

func (x *Agent_Metadata) String() string

type Agent_Token

type Agent_Token struct {
	Token string `protobuf:"bytes,9,opt,name=token,proto3,oneof"`
}

type App

type App struct {

	// slug is the unique identifier for the app, usually the name from the
	// template. It must be URL-safe and hostname-safe.
	Slug         string          `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	DisplayName  string          `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Command      string          `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
	Url          string          `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	Icon         string          `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
	Subdomain    bool            `protobuf:"varint,6,opt,name=subdomain,proto3" json:"subdomain,omitempty"`
	Healthcheck  *Healthcheck    `protobuf:"bytes,7,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"`
	SharingLevel AppSharingLevel `` /* 131-byte string literal not displayed */
	External     bool            `protobuf:"varint,9,opt,name=external,proto3" json:"external,omitempty"`
	Order        int64           `protobuf:"varint,10,opt,name=order,proto3" json:"order,omitempty"`
	// contains filtered or unexported fields
}

App represents a dev-accessible application on the workspace.

func (*App) Descriptor deprecated

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

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetCommand

func (x *App) GetCommand() string

func (*App) GetDisplayName

func (x *App) GetDisplayName() string

func (*App) GetExternal

func (x *App) GetExternal() bool

func (*App) GetHealthcheck

func (x *App) GetHealthcheck() *Healthcheck

func (*App) GetIcon

func (x *App) GetIcon() string

func (*App) GetOrder added in v2.9.0

func (x *App) GetOrder() int64

func (*App) GetSharingLevel

func (x *App) GetSharingLevel() AppSharingLevel

func (*App) GetSlug

func (x *App) GetSlug() string

func (*App) GetSubdomain

func (x *App) GetSubdomain() bool

func (*App) GetUrl

func (x *App) GetUrl() string

func (*App) ProtoMessage

func (*App) ProtoMessage()

func (*App) ProtoReflect

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

func (*App) Reset

func (x *App) Reset()

func (*App) String

func (x *App) String() string

type AppSharingLevel

type AppSharingLevel int32
const (
	AppSharingLevel_OWNER         AppSharingLevel = 0
	AppSharingLevel_AUTHENTICATED AppSharingLevel = 1
	AppSharingLevel_PUBLIC        AppSharingLevel = 2
)

func (AppSharingLevel) Descriptor

func (AppSharingLevel) Enum

func (x AppSharingLevel) Enum() *AppSharingLevel

func (AppSharingLevel) EnumDescriptor deprecated

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

Deprecated: Use AppSharingLevel.Descriptor instead.

func (AppSharingLevel) Number

func (AppSharingLevel) String

func (x AppSharingLevel) String() string

func (AppSharingLevel) Type

type ApplyComplete added in v2.1.4

type ApplyComplete struct {
	State                 []byte                          `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Error                 string                          `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Resources             []*Resource                     `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"`
	Parameters            []*RichParameter                `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"`
	ExternalAuthProviders []*ExternalAuthProviderResource `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

ApplyComplete indicates a request to apply completed.

func (*ApplyComplete) Descriptor deprecated added in v2.1.4

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

Deprecated: Use ApplyComplete.ProtoReflect.Descriptor instead.

func (*ApplyComplete) GetError added in v2.1.4

func (x *ApplyComplete) GetError() string

func (*ApplyComplete) GetExternalAuthProviders added in v2.2.1

func (x *ApplyComplete) GetExternalAuthProviders() []*ExternalAuthProviderResource

func (*ApplyComplete) GetParameters added in v2.1.4

func (x *ApplyComplete) GetParameters() []*RichParameter

func (*ApplyComplete) GetResources added in v2.1.4

func (x *ApplyComplete) GetResources() []*Resource

func (*ApplyComplete) GetState added in v2.1.4

func (x *ApplyComplete) GetState() []byte

func (*ApplyComplete) ProtoMessage added in v2.1.4

func (*ApplyComplete) ProtoMessage()

func (*ApplyComplete) ProtoReflect added in v2.1.4

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

func (*ApplyComplete) Reset added in v2.1.4

func (x *ApplyComplete) Reset()

func (*ApplyComplete) String added in v2.1.4

func (x *ApplyComplete) String() string

type ApplyRequest added in v2.1.4

type ApplyRequest struct {
	Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

ApplyRequest asks the provisioner to apply the changes. Apply MUST be preceded by a successful plan request/response in the same Session. The plan data is not transmitted over the wire and is cached by the provisioner in the Session.

func (*ApplyRequest) Descriptor deprecated added in v2.1.4

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

Deprecated: Use ApplyRequest.ProtoReflect.Descriptor instead.

func (*ApplyRequest) GetMetadata added in v2.1.4

func (x *ApplyRequest) GetMetadata() *Metadata

func (*ApplyRequest) ProtoMessage added in v2.1.4

func (*ApplyRequest) ProtoMessage()

func (*ApplyRequest) ProtoReflect added in v2.1.4

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

func (*ApplyRequest) Reset added in v2.1.4

func (x *ApplyRequest) Reset()

func (*ApplyRequest) String added in v2.1.4

func (x *ApplyRequest) String() string

type CancelRequest added in v2.1.4

type CancelRequest struct {
	// contains filtered or unexported fields
}

CancelRequest requests that the previous request be canceled gracefully.

func (*CancelRequest) Descriptor deprecated added in v2.1.4

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

Deprecated: Use CancelRequest.ProtoReflect.Descriptor instead.

func (*CancelRequest) ProtoMessage added in v2.1.4

func (*CancelRequest) ProtoMessage()

func (*CancelRequest) ProtoReflect added in v2.1.4

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

func (*CancelRequest) Reset added in v2.1.4

func (x *CancelRequest) Reset()

func (*CancelRequest) String added in v2.1.4

func (x *CancelRequest) String() string

type Config added in v2.1.4

type Config struct {

	// template_source_archive is a tar of the template source files
	TemplateSourceArchive []byte `` /* 126-byte string literal not displayed */
	// state is the provisioner state (if any)
	State               []byte `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	ProvisionerLogLevel string `protobuf:"bytes,3,opt,name=provisioner_log_level,json=provisionerLogLevel,proto3" json:"provisioner_log_level,omitempty"`
	// contains filtered or unexported fields
}

Config represents execution configuration shared by all subsequent requests in the Session

func (*Config) Descriptor deprecated added in v2.1.4

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

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetProvisionerLogLevel added in v2.1.4

func (x *Config) GetProvisionerLogLevel() string

func (*Config) GetState added in v2.1.4

func (x *Config) GetState() []byte

func (*Config) GetTemplateSourceArchive added in v2.1.4

func (x *Config) GetTemplateSourceArchive() []byte

func (*Config) ProtoMessage added in v2.1.4

func (*Config) ProtoMessage()

func (*Config) ProtoReflect added in v2.1.4

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

func (*Config) Reset added in v2.1.4

func (x *Config) Reset()

func (*Config) String added in v2.1.4

func (x *Config) String() string

type DRPCProvisionerClient

type DRPCProvisionerClient interface {
	DRPCConn() drpc.Conn

	Session(ctx context.Context) (DRPCProvisioner_SessionClient, error)
}

func NewDRPCProvisionerClient

func NewDRPCProvisionerClient(cc drpc.Conn) DRPCProvisionerClient

type DRPCProvisionerDescription

type DRPCProvisionerDescription struct{}

func (DRPCProvisionerDescription) Method

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

func (DRPCProvisionerDescription) NumMethods

func (DRPCProvisionerDescription) NumMethods() int

type DRPCProvisionerServer

type DRPCProvisionerServer interface {
	Session(DRPCProvisioner_SessionStream) error
}

type DRPCProvisionerUnimplementedServer

type DRPCProvisionerUnimplementedServer struct{}

func (*DRPCProvisionerUnimplementedServer) Session added in v2.1.4

type DRPCProvisioner_SessionClient added in v2.1.4

type DRPCProvisioner_SessionClient interface {
	drpc.Stream
	Send(*Request) error
	Recv() (*Response, error)
}

type DRPCProvisioner_SessionStream added in v2.1.4

type DRPCProvisioner_SessionStream interface {
	drpc.Stream
	Send(*Response) error
	Recv() (*Request, error)
}

type DisplayApps added in v2.1.5

type DisplayApps struct {
	Vscode               bool `protobuf:"varint,1,opt,name=vscode,proto3" json:"vscode,omitempty"`
	VscodeInsiders       bool `protobuf:"varint,2,opt,name=vscode_insiders,json=vscodeInsiders,proto3" json:"vscode_insiders,omitempty"`
	WebTerminal          bool `protobuf:"varint,3,opt,name=web_terminal,json=webTerminal,proto3" json:"web_terminal,omitempty"`
	SshHelper            bool `protobuf:"varint,4,opt,name=ssh_helper,json=sshHelper,proto3" json:"ssh_helper,omitempty"`
	PortForwardingHelper bool `protobuf:"varint,5,opt,name=port_forwarding_helper,json=portForwardingHelper,proto3" json:"port_forwarding_helper,omitempty"`
	// contains filtered or unexported fields
}

func (*DisplayApps) Descriptor deprecated added in v2.1.5

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

Deprecated: Use DisplayApps.ProtoReflect.Descriptor instead.

func (*DisplayApps) GetPortForwardingHelper added in v2.1.5

func (x *DisplayApps) GetPortForwardingHelper() bool

func (*DisplayApps) GetSshHelper added in v2.1.5

func (x *DisplayApps) GetSshHelper() bool

func (*DisplayApps) GetVscode added in v2.1.5

func (x *DisplayApps) GetVscode() bool

func (*DisplayApps) GetVscodeInsiders added in v2.1.5

func (x *DisplayApps) GetVscodeInsiders() bool

func (*DisplayApps) GetWebTerminal added in v2.1.5

func (x *DisplayApps) GetWebTerminal() bool

func (*DisplayApps) ProtoMessage added in v2.1.5

func (*DisplayApps) ProtoMessage()

func (*DisplayApps) ProtoReflect added in v2.1.5

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

func (*DisplayApps) Reset added in v2.1.5

func (x *DisplayApps) Reset()

func (*DisplayApps) String added in v2.1.5

func (x *DisplayApps) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

Empty indicates a successful request/response.

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Env added in v2.5.0

type Env struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Env) Descriptor deprecated added in v2.5.0

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

Deprecated: Use Env.ProtoReflect.Descriptor instead.

func (*Env) GetName added in v2.5.0

func (x *Env) GetName() string

func (*Env) GetValue added in v2.5.0

func (x *Env) GetValue() string

func (*Env) ProtoMessage added in v2.5.0

func (*Env) ProtoMessage()

func (*Env) ProtoReflect added in v2.5.0

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

func (*Env) Reset added in v2.5.0

func (x *Env) Reset()

func (*Env) String added in v2.5.0

func (x *Env) String() string

type ExternalAuthProvider added in v2.2.1

type ExternalAuthProvider struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalAuthProvider) Descriptor deprecated added in v2.2.1

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

Deprecated: Use ExternalAuthProvider.ProtoReflect.Descriptor instead.

func (*ExternalAuthProvider) GetAccessToken added in v2.2.1

func (x *ExternalAuthProvider) GetAccessToken() string

func (*ExternalAuthProvider) GetId added in v2.2.1

func (x *ExternalAuthProvider) GetId() string

func (*ExternalAuthProvider) ProtoMessage added in v2.2.1

func (*ExternalAuthProvider) ProtoMessage()

func (*ExternalAuthProvider) ProtoReflect added in v2.2.1

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

func (*ExternalAuthProvider) Reset added in v2.2.1

func (x *ExternalAuthProvider) Reset()

func (*ExternalAuthProvider) String added in v2.2.1

func (x *ExternalAuthProvider) String() string

type ExternalAuthProviderResource added in v2.9.0

type ExternalAuthProviderResource struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Optional bool   `protobuf:"varint,2,opt,name=optional,proto3" json:"optional,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalAuthProviderResource) Descriptor deprecated added in v2.9.0

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

Deprecated: Use ExternalAuthProviderResource.ProtoReflect.Descriptor instead.

func (*ExternalAuthProviderResource) GetId added in v2.9.0

func (*ExternalAuthProviderResource) GetOptional added in v2.9.0

func (x *ExternalAuthProviderResource) GetOptional() bool

func (*ExternalAuthProviderResource) ProtoMessage added in v2.9.0

func (*ExternalAuthProviderResource) ProtoMessage()

func (*ExternalAuthProviderResource) ProtoReflect added in v2.9.0

func (*ExternalAuthProviderResource) Reset added in v2.9.0

func (x *ExternalAuthProviderResource) Reset()

func (*ExternalAuthProviderResource) String added in v2.9.0

type Healthcheck

type Healthcheck struct {
	Url       string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Interval  int32  `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"`
	Threshold int32  `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"`
	// contains filtered or unexported fields
}

Healthcheck represents configuration for checking for app readiness.

func (*Healthcheck) Descriptor deprecated

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

Deprecated: Use Healthcheck.ProtoReflect.Descriptor instead.

func (*Healthcheck) GetInterval

func (x *Healthcheck) GetInterval() int32

func (*Healthcheck) GetThreshold

func (x *Healthcheck) GetThreshold() int32

func (*Healthcheck) GetUrl

func (x *Healthcheck) GetUrl() string

func (*Healthcheck) ProtoMessage

func (*Healthcheck) ProtoMessage()

func (*Healthcheck) ProtoReflect

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

func (*Healthcheck) Reset

func (x *Healthcheck) Reset()

func (*Healthcheck) String

func (x *Healthcheck) String() string

type InstanceIdentityAuth

type InstanceIdentityAuth struct {
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceIdentityAuth) Descriptor deprecated

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

Deprecated: Use InstanceIdentityAuth.ProtoReflect.Descriptor instead.

func (*InstanceIdentityAuth) GetInstanceId

func (x *InstanceIdentityAuth) GetInstanceId() string

func (*InstanceIdentityAuth) ProtoMessage

func (*InstanceIdentityAuth) ProtoMessage()

func (*InstanceIdentityAuth) ProtoReflect

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

func (*InstanceIdentityAuth) Reset

func (x *InstanceIdentityAuth) Reset()

func (*InstanceIdentityAuth) String

func (x *InstanceIdentityAuth) String() string

type Log

type Log struct {
	Level  LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=provisioner.LogLevel" json:"level,omitempty"`
	Output string   `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

Log represents output from a request.

func (*Log) Descriptor deprecated

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

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetLevel

func (x *Log) GetLevel() LogLevel

func (*Log) GetOutput

func (x *Log) GetOutput() string

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

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

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

type LogLevel

type LogLevel int32

LogLevel represents severity of the log.

const (
	LogLevel_TRACE LogLevel = 0
	LogLevel_DEBUG LogLevel = 1
	LogLevel_INFO  LogLevel = 2
	LogLevel_WARN  LogLevel = 3
	LogLevel_ERROR LogLevel = 4
)

func (LogLevel) Descriptor

func (LogLevel) Descriptor() protoreflect.EnumDescriptor

func (LogLevel) Enum

func (x LogLevel) Enum() *LogLevel

func (LogLevel) EnumDescriptor deprecated

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

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel) Number

func (x LogLevel) Number() protoreflect.EnumNumber

func (LogLevel) String

func (x LogLevel) String() string

func (LogLevel) Type

type Metadata added in v2.1.4

type Metadata struct {
	CoderUrl                      string              `protobuf:"bytes,1,opt,name=coder_url,json=coderUrl,proto3" json:"coder_url,omitempty"`
	WorkspaceTransition           WorkspaceTransition `` /* 156-byte string literal not displayed */
	WorkspaceName                 string              `protobuf:"bytes,3,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`
	WorkspaceOwner                string              `protobuf:"bytes,4,opt,name=workspace_owner,json=workspaceOwner,proto3" json:"workspace_owner,omitempty"`
	WorkspaceId                   string              `protobuf:"bytes,5,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	WorkspaceOwnerId              string              `protobuf:"bytes,6,opt,name=workspace_owner_id,json=workspaceOwnerId,proto3" json:"workspace_owner_id,omitempty"`
	WorkspaceOwnerEmail           string              `protobuf:"bytes,7,opt,name=workspace_owner_email,json=workspaceOwnerEmail,proto3" json:"workspace_owner_email,omitempty"`
	TemplateName                  string              `protobuf:"bytes,8,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"`
	TemplateVersion               string              `protobuf:"bytes,9,opt,name=template_version,json=templateVersion,proto3" json:"template_version,omitempty"`
	WorkspaceOwnerOidcAccessToken string              `` /* 155-byte string literal not displayed */
	WorkspaceOwnerSessionToken    string              `` /* 144-byte string literal not displayed */
	TemplateId                    string              `protobuf:"bytes,12,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
	WorkspaceOwnerName            string              `protobuf:"bytes,13,opt,name=workspace_owner_name,json=workspaceOwnerName,proto3" json:"workspace_owner_name,omitempty"`
	// contains filtered or unexported fields
}

Metadata is information about a workspace used in the execution of a build

func (*Metadata) Descriptor deprecated added in v2.1.4

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetCoderUrl added in v2.1.4

func (x *Metadata) GetCoderUrl() string

func (*Metadata) GetTemplateId added in v2.2.0

func (x *Metadata) GetTemplateId() string

func (*Metadata) GetTemplateName added in v2.1.4

func (x *Metadata) GetTemplateName() string

func (*Metadata) GetTemplateVersion added in v2.1.4

func (x *Metadata) GetTemplateVersion() string

func (*Metadata) GetWorkspaceId added in v2.1.4

func (x *Metadata) GetWorkspaceId() string

func (*Metadata) GetWorkspaceName added in v2.1.4

func (x *Metadata) GetWorkspaceName() string

func (*Metadata) GetWorkspaceOwner added in v2.1.4

func (x *Metadata) GetWorkspaceOwner() string

func (*Metadata) GetWorkspaceOwnerEmail added in v2.1.4

func (x *Metadata) GetWorkspaceOwnerEmail() string

func (*Metadata) GetWorkspaceOwnerId added in v2.1.4

func (x *Metadata) GetWorkspaceOwnerId() string

func (*Metadata) GetWorkspaceOwnerName added in v2.7.0

func (x *Metadata) GetWorkspaceOwnerName() string

func (*Metadata) GetWorkspaceOwnerOidcAccessToken added in v2.1.4

func (x *Metadata) GetWorkspaceOwnerOidcAccessToken() string

func (*Metadata) GetWorkspaceOwnerSessionToken added in v2.1.4

func (x *Metadata) GetWorkspaceOwnerSessionToken() string

func (*Metadata) GetWorkspaceTransition added in v2.1.4

func (x *Metadata) GetWorkspaceTransition() WorkspaceTransition

func (*Metadata) ProtoMessage added in v2.1.4

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect added in v2.1.4

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

func (*Metadata) Reset added in v2.1.4

func (x *Metadata) Reset()

func (*Metadata) String added in v2.1.4

func (x *Metadata) String() string

type ParseComplete added in v2.1.4

type ParseComplete struct {
	Error             string              `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	TemplateVariables []*TemplateVariable `protobuf:"bytes,2,rep,name=template_variables,json=templateVariables,proto3" json:"template_variables,omitempty"`
	Readme            []byte              `protobuf:"bytes,3,opt,name=readme,proto3" json:"readme,omitempty"`
	// contains filtered or unexported fields
}

ParseComplete indicates a request to parse completed.

func (*ParseComplete) Descriptor deprecated added in v2.1.4

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

Deprecated: Use ParseComplete.ProtoReflect.Descriptor instead.

func (*ParseComplete) GetError added in v2.1.4

func (x *ParseComplete) GetError() string

func (*ParseComplete) GetReadme added in v2.1.4

func (x *ParseComplete) GetReadme() []byte

func (*ParseComplete) GetTemplateVariables added in v2.1.4

func (x *ParseComplete) GetTemplateVariables() []*TemplateVariable

func (*ParseComplete) ProtoMessage added in v2.1.4

func (*ParseComplete) ProtoMessage()

func (*ParseComplete) ProtoReflect added in v2.1.4

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

func (*ParseComplete) Reset added in v2.1.4

func (x *ParseComplete) Reset()

func (*ParseComplete) String added in v2.1.4

func (x *ParseComplete) String() string

type ParseRequest added in v2.1.4

type ParseRequest struct {
	// contains filtered or unexported fields
}

ParseRequest consumes source-code to produce inputs.

func (*ParseRequest) Descriptor deprecated added in v2.1.4

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

Deprecated: Use ParseRequest.ProtoReflect.Descriptor instead.

func (*ParseRequest) ProtoMessage added in v2.1.4

func (*ParseRequest) ProtoMessage()

func (*ParseRequest) ProtoReflect added in v2.1.4

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

func (*ParseRequest) Reset added in v2.1.4

func (x *ParseRequest) Reset()

func (*ParseRequest) String added in v2.1.4

func (x *ParseRequest) String() string

type PlanComplete added in v2.1.4

type PlanComplete struct {
	Error                 string                          `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	Resources             []*Resource                     `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	Parameters            []*RichParameter                `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"`
	ExternalAuthProviders []*ExternalAuthProviderResource `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

PlanComplete indicates a request to plan completed.

func (*PlanComplete) Descriptor deprecated added in v2.1.4

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

Deprecated: Use PlanComplete.ProtoReflect.Descriptor instead.

func (*PlanComplete) GetError added in v2.1.4

func (x *PlanComplete) GetError() string

func (*PlanComplete) GetExternalAuthProviders added in v2.2.1

func (x *PlanComplete) GetExternalAuthProviders() []*ExternalAuthProviderResource

func (*PlanComplete) GetParameters added in v2.1.4

func (x *PlanComplete) GetParameters() []*RichParameter

func (*PlanComplete) GetResources added in v2.1.4

func (x *PlanComplete) GetResources() []*Resource

func (*PlanComplete) ProtoMessage added in v2.1.4

func (*PlanComplete) ProtoMessage()

func (*PlanComplete) ProtoReflect added in v2.1.4

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

func (*PlanComplete) Reset added in v2.1.4

func (x *PlanComplete) Reset()

func (*PlanComplete) String added in v2.1.4

func (x *PlanComplete) String() string

type PlanRequest added in v2.1.4

type PlanRequest struct {
	Metadata              *Metadata               `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	RichParameterValues   []*RichParameterValue   `protobuf:"bytes,2,rep,name=rich_parameter_values,json=richParameterValues,proto3" json:"rich_parameter_values,omitempty"`
	VariableValues        []*VariableValue        `protobuf:"bytes,3,rep,name=variable_values,json=variableValues,proto3" json:"variable_values,omitempty"`
	ExternalAuthProviders []*ExternalAuthProvider `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

PlanRequest asks the provisioner to plan what resources & parameters it will create

func (*PlanRequest) Descriptor deprecated added in v2.1.4

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

Deprecated: Use PlanRequest.ProtoReflect.Descriptor instead.

func (*PlanRequest) GetExternalAuthProviders added in v2.2.1

func (x *PlanRequest) GetExternalAuthProviders() []*ExternalAuthProvider

func (*PlanRequest) GetMetadata added in v2.1.4

func (x *PlanRequest) GetMetadata() *Metadata

func (*PlanRequest) GetRichParameterValues added in v2.1.4

func (x *PlanRequest) GetRichParameterValues() []*RichParameterValue

func (*PlanRequest) GetVariableValues added in v2.1.4

func (x *PlanRequest) GetVariableValues() []*VariableValue

func (*PlanRequest) ProtoMessage added in v2.1.4

func (*PlanRequest) ProtoMessage()

func (*PlanRequest) ProtoReflect added in v2.1.4

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

func (*PlanRequest) Reset added in v2.1.4

func (x *PlanRequest) Reset()

func (*PlanRequest) String added in v2.1.4

func (x *PlanRequest) String() string

type Request added in v2.1.4

type Request struct {

	// Types that are assignable to Type:
	//
	//	*Request_Config
	//	*Request_Parse
	//	*Request_Plan
	//	*Request_Apply
	//	*Request_Cancel
	Type isRequest_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated added in v2.1.4

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetApply added in v2.1.4

func (x *Request) GetApply() *ApplyRequest

func (*Request) GetCancel added in v2.1.4

func (x *Request) GetCancel() *CancelRequest

func (*Request) GetConfig added in v2.1.4

func (x *Request) GetConfig() *Config

func (*Request) GetParse added in v2.1.4

func (x *Request) GetParse() *ParseRequest

func (*Request) GetPlan added in v2.1.4

func (x *Request) GetPlan() *PlanRequest

func (*Request) GetType added in v2.1.4

func (m *Request) GetType() isRequest_Type

func (*Request) ProtoMessage added in v2.1.4

func (*Request) ProtoMessage()

func (*Request) ProtoReflect added in v2.1.4

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

func (*Request) Reset added in v2.1.4

func (x *Request) Reset()

func (*Request) String added in v2.1.4

func (x *Request) String() string

type Request_Apply added in v2.1.4

type Request_Apply struct {
	Apply *ApplyRequest `protobuf:"bytes,4,opt,name=apply,proto3,oneof"`
}

type Request_Cancel added in v2.1.4

type Request_Cancel struct {
	Cancel *CancelRequest `protobuf:"bytes,5,opt,name=cancel,proto3,oneof"`
}

type Request_Config added in v2.1.4

type Request_Config struct {
	Config *Config `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
}

type Request_Parse added in v2.1.4

type Request_Parse struct {
	Parse *ParseRequest `protobuf:"bytes,2,opt,name=parse,proto3,oneof"`
}

type Request_Plan added in v2.1.4

type Request_Plan struct {
	Plan *PlanRequest `protobuf:"bytes,3,opt,name=plan,proto3,oneof"`
}

type Resource

type Resource struct {
	Name         string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type         string               `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Agents       []*Agent             `protobuf:"bytes,3,rep,name=agents,proto3" json:"agents,omitempty"`
	Metadata     []*Resource_Metadata `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty"`
	Hide         bool                 `protobuf:"varint,5,opt,name=hide,proto3" json:"hide,omitempty"`
	Icon         string               `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`
	InstanceType string               `protobuf:"bytes,7,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`
	DailyCost    int32                `protobuf:"varint,8,opt,name=daily_cost,json=dailyCost,proto3" json:"daily_cost,omitempty"`
	// contains filtered or unexported fields
}

Resource represents created infrastructure.

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetAgents

func (x *Resource) GetAgents() []*Agent

func (*Resource) GetDailyCost

func (x *Resource) GetDailyCost() int32

func (*Resource) GetHide

func (x *Resource) GetHide() bool

func (*Resource) GetIcon

func (x *Resource) GetIcon() string

func (*Resource) GetInstanceType

func (x *Resource) GetInstanceType() string

func (*Resource) GetMetadata

func (x *Resource) GetMetadata() []*Resource_Metadata

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) GetType

func (x *Resource) GetType() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type Resource_Metadata

type Resource_Metadata struct {
	Key       string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value     string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Sensitive bool   `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
	IsNull    bool   `protobuf:"varint,4,opt,name=is_null,json=isNull,proto3" json:"is_null,omitempty"`
	// contains filtered or unexported fields
}

func (*Resource_Metadata) Descriptor deprecated

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

Deprecated: Use Resource_Metadata.ProtoReflect.Descriptor instead.

func (*Resource_Metadata) GetIsNull

func (x *Resource_Metadata) GetIsNull() bool

func (*Resource_Metadata) GetKey

func (x *Resource_Metadata) GetKey() string

func (*Resource_Metadata) GetSensitive

func (x *Resource_Metadata) GetSensitive() bool

func (*Resource_Metadata) GetValue

func (x *Resource_Metadata) GetValue() string

func (*Resource_Metadata) ProtoMessage

func (*Resource_Metadata) ProtoMessage()

func (*Resource_Metadata) ProtoReflect

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

func (*Resource_Metadata) Reset

func (x *Resource_Metadata) Reset()

func (*Resource_Metadata) String

func (x *Resource_Metadata) String() string

type Response added in v2.1.4

type Response struct {

	// Types that are assignable to Type:
	//
	//	*Response_Log
	//	*Response_Parse
	//	*Response_Plan
	//	*Response_Apply
	Type isResponse_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated added in v2.1.4

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetApply added in v2.1.4

func (x *Response) GetApply() *ApplyComplete

func (*Response) GetLog added in v2.1.4

func (x *Response) GetLog() *Log

func (*Response) GetParse added in v2.1.4

func (x *Response) GetParse() *ParseComplete

func (*Response) GetPlan added in v2.1.4

func (x *Response) GetPlan() *PlanComplete

func (*Response) GetType added in v2.1.4

func (m *Response) GetType() isResponse_Type

func (*Response) ProtoMessage added in v2.1.4

func (*Response) ProtoMessage()

func (*Response) ProtoReflect added in v2.1.4

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

func (*Response) Reset added in v2.1.4

func (x *Response) Reset()

func (*Response) String added in v2.1.4

func (x *Response) String() string

type Response_Apply added in v2.1.4

type Response_Apply struct {
	Apply *ApplyComplete `protobuf:"bytes,4,opt,name=apply,proto3,oneof"`
}

type Response_Log added in v2.1.4

type Response_Log struct {
	Log *Log `protobuf:"bytes,1,opt,name=log,proto3,oneof"`
}

type Response_Parse added in v2.1.4

type Response_Parse struct {
	Parse *ParseComplete `protobuf:"bytes,2,opt,name=parse,proto3,oneof"`
}

type Response_Plan added in v2.1.4

type Response_Plan struct {
	Plan *PlanComplete `protobuf:"bytes,3,opt,name=plan,proto3,oneof"`
}

type RichParameter

type RichParameter struct {
	Name                string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description         string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Type                string                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Mutable             bool                   `protobuf:"varint,4,opt,name=mutable,proto3" json:"mutable,omitempty"`
	DefaultValue        string                 `protobuf:"bytes,5,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	Icon                string                 `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`
	Options             []*RichParameterOption `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`
	ValidationRegex     string                 `protobuf:"bytes,8,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex,omitempty"`
	ValidationError     string                 `protobuf:"bytes,9,opt,name=validation_error,json=validationError,proto3" json:"validation_error,omitempty"`
	ValidationMin       *int32                 `protobuf:"varint,10,opt,name=validation_min,json=validationMin,proto3,oneof" json:"validation_min,omitempty"`
	ValidationMax       *int32                 `protobuf:"varint,11,opt,name=validation_max,json=validationMax,proto3,oneof" json:"validation_max,omitempty"`
	ValidationMonotonic string                 `protobuf:"bytes,12,opt,name=validation_monotonic,json=validationMonotonic,proto3" json:"validation_monotonic,omitempty"`
	Required            bool                   `protobuf:"varint,13,opt,name=required,proto3" json:"required,omitempty"`
	// legacy_variable_name was removed (= 14)
	DisplayName string `protobuf:"bytes,15,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Order       int32  `protobuf:"varint,16,opt,name=order,proto3" json:"order,omitempty"`
	Ephemeral   bool   `protobuf:"varint,17,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`
	// contains filtered or unexported fields
}

RichParameter represents a variable that is exposed.

func (*RichParameter) Descriptor deprecated

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

Deprecated: Use RichParameter.ProtoReflect.Descriptor instead.

func (*RichParameter) GetDefaultValue

func (x *RichParameter) GetDefaultValue() string

func (*RichParameter) GetDescription

func (x *RichParameter) GetDescription() string

func (*RichParameter) GetDisplayName

func (x *RichParameter) GetDisplayName() string

func (*RichParameter) GetEphemeral

func (x *RichParameter) GetEphemeral() bool

func (*RichParameter) GetIcon

func (x *RichParameter) GetIcon() string

func (*RichParameter) GetMutable

func (x *RichParameter) GetMutable() bool

func (*RichParameter) GetName

func (x *RichParameter) GetName() string

func (*RichParameter) GetOptions

func (x *RichParameter) GetOptions() []*RichParameterOption

func (*RichParameter) GetOrder

func (x *RichParameter) GetOrder() int32

func (*RichParameter) GetRequired

func (x *RichParameter) GetRequired() bool

func (*RichParameter) GetType

func (x *RichParameter) GetType() string

func (*RichParameter) GetValidationError

func (x *RichParameter) GetValidationError() string

func (*RichParameter) GetValidationMax

func (x *RichParameter) GetValidationMax() int32

func (*RichParameter) GetValidationMin

func (x *RichParameter) GetValidationMin() int32

func (*RichParameter) GetValidationMonotonic

func (x *RichParameter) GetValidationMonotonic() string

func (*RichParameter) GetValidationRegex

func (x *RichParameter) GetValidationRegex() string

func (*RichParameter) ProtoMessage

func (*RichParameter) ProtoMessage()

func (*RichParameter) ProtoReflect

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

func (*RichParameter) Reset

func (x *RichParameter) Reset()

func (*RichParameter) String

func (x *RichParameter) String() string

type RichParameterOption

type RichParameterOption struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Value       string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Icon        string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

RichParameterOption represents a singular option that a parameter may expose.

func (*RichParameterOption) Descriptor deprecated

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

Deprecated: Use RichParameterOption.ProtoReflect.Descriptor instead.

func (*RichParameterOption) GetDescription

func (x *RichParameterOption) GetDescription() string

func (*RichParameterOption) GetIcon

func (x *RichParameterOption) GetIcon() string

func (*RichParameterOption) GetName

func (x *RichParameterOption) GetName() string

func (*RichParameterOption) GetValue

func (x *RichParameterOption) GetValue() string

func (*RichParameterOption) ProtoMessage

func (*RichParameterOption) ProtoMessage()

func (*RichParameterOption) ProtoReflect

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

func (*RichParameterOption) Reset

func (x *RichParameterOption) Reset()

func (*RichParameterOption) String

func (x *RichParameterOption) String() string

type RichParameterValue

type RichParameterValue struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

RichParameterValue holds the key/value mapping of a parameter.

func (*RichParameterValue) Descriptor deprecated

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

Deprecated: Use RichParameterValue.ProtoReflect.Descriptor instead.

func (*RichParameterValue) GetName

func (x *RichParameterValue) GetName() string

func (*RichParameterValue) GetValue

func (x *RichParameterValue) GetValue() string

func (*RichParameterValue) ProtoMessage

func (*RichParameterValue) ProtoMessage()

func (*RichParameterValue) ProtoReflect

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

func (*RichParameterValue) Reset

func (x *RichParameterValue) Reset()

func (*RichParameterValue) String

func (x *RichParameterValue) String() string

type Script added in v2.2.0

type Script struct {
	DisplayName      string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Icon             string `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,omitempty"`
	Script           string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
	Cron             string `protobuf:"bytes,4,opt,name=cron,proto3" json:"cron,omitempty"`
	StartBlocksLogin bool   `protobuf:"varint,5,opt,name=start_blocks_login,json=startBlocksLogin,proto3" json:"start_blocks_login,omitempty"`
	RunOnStart       bool   `protobuf:"varint,6,opt,name=run_on_start,json=runOnStart,proto3" json:"run_on_start,omitempty"`
	RunOnStop        bool   `protobuf:"varint,7,opt,name=run_on_stop,json=runOnStop,proto3" json:"run_on_stop,omitempty"`
	TimeoutSeconds   int32  `protobuf:"varint,8,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
	LogPath          string `protobuf:"bytes,9,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"`
	// contains filtered or unexported fields
}

Script represents a script to be run on the workspace.

func (*Script) Descriptor deprecated added in v2.2.0

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

Deprecated: Use Script.ProtoReflect.Descriptor instead.

func (*Script) GetCron added in v2.2.0

func (x *Script) GetCron() string

func (*Script) GetDisplayName added in v2.2.0

func (x *Script) GetDisplayName() string

func (*Script) GetIcon added in v2.2.0

func (x *Script) GetIcon() string

func (*Script) GetLogPath added in v2.2.0

func (x *Script) GetLogPath() string

func (*Script) GetRunOnStart added in v2.2.0

func (x *Script) GetRunOnStart() bool

func (*Script) GetRunOnStop added in v2.2.0

func (x *Script) GetRunOnStop() bool

func (*Script) GetScript added in v2.2.0

func (x *Script) GetScript() string

func (*Script) GetStartBlocksLogin added in v2.2.0

func (x *Script) GetStartBlocksLogin() bool

func (*Script) GetTimeoutSeconds added in v2.2.0

func (x *Script) GetTimeoutSeconds() int32

func (*Script) ProtoMessage added in v2.2.0

func (*Script) ProtoMessage()

func (*Script) ProtoReflect added in v2.2.0

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

func (*Script) Reset added in v2.2.0

func (x *Script) Reset()

func (*Script) String added in v2.2.0

func (x *Script) String() string

type TemplateVariable

type TemplateVariable struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description  string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Type         string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	Required     bool   `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`
	Sensitive    bool   `protobuf:"varint,6,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
	// contains filtered or unexported fields
}

TemplateVariable represents a Terraform variable.

func (*TemplateVariable) Descriptor deprecated

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

Deprecated: Use TemplateVariable.ProtoReflect.Descriptor instead.

func (*TemplateVariable) GetDefaultValue

func (x *TemplateVariable) GetDefaultValue() string

func (*TemplateVariable) GetDescription

func (x *TemplateVariable) GetDescription() string

func (*TemplateVariable) GetName

func (x *TemplateVariable) GetName() string

func (*TemplateVariable) GetRequired

func (x *TemplateVariable) GetRequired() bool

func (*TemplateVariable) GetSensitive

func (x *TemplateVariable) GetSensitive() bool

func (*TemplateVariable) GetType

func (x *TemplateVariable) GetType() string

func (*TemplateVariable) ProtoMessage

func (*TemplateVariable) ProtoMessage()

func (*TemplateVariable) ProtoReflect

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

func (*TemplateVariable) Reset

func (x *TemplateVariable) Reset()

func (*TemplateVariable) String

func (x *TemplateVariable) String() string

type VariableValue

type VariableValue struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value     string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Sensitive bool   `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
	// contains filtered or unexported fields
}

VariableValue holds the key/value mapping of a Terraform variable.

func (*VariableValue) Descriptor deprecated

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

Deprecated: Use VariableValue.ProtoReflect.Descriptor instead.

func (*VariableValue) GetName

func (x *VariableValue) GetName() string

func (*VariableValue) GetSensitive

func (x *VariableValue) GetSensitive() bool

func (*VariableValue) GetValue

func (x *VariableValue) GetValue() string

func (*VariableValue) ProtoMessage

func (*VariableValue) ProtoMessage()

func (*VariableValue) ProtoReflect

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

func (*VariableValue) Reset

func (x *VariableValue) Reset()

func (*VariableValue) String

func (x *VariableValue) String() string

type WorkspaceTransition

type WorkspaceTransition int32

WorkspaceTransition is the desired outcome of a build

const (
	WorkspaceTransition_START   WorkspaceTransition = 0
	WorkspaceTransition_STOP    WorkspaceTransition = 1
	WorkspaceTransition_DESTROY WorkspaceTransition = 2
)

func (WorkspaceTransition) Descriptor

func (WorkspaceTransition) Enum

func (WorkspaceTransition) EnumDescriptor deprecated

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

Deprecated: Use WorkspaceTransition.Descriptor instead.

func (WorkspaceTransition) Number

func (WorkspaceTransition) String

func (x WorkspaceTransition) String() string

func (WorkspaceTransition) Type

Jump to

Keyboard shortcuts

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