Movatterモバイル変換


[0]ホーム

URL:


Alert GO-2024-3228: Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
Notice  The highest tagged major version isv2.

proto

package
v0.27.3Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License:AGPL-3.0Imports:10Imported by:0

Details

Repository

github.com/coder/coder

Links

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

Functions

funcDRPCRegisterProvisioner

func DRPCRegisterProvisioner(muxdrpc.Mux, implDRPCProvisionerServer)error

Types

typeAgent

type Agent struct {Idstring            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`Namestring            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`Env             map[string]string ``/* 147-byte string literal not displayed */StartupScriptstring            `protobuf:"bytes,4,opt,name=startup_script,json=startupScript,proto3" json:"startup_script,omitempty"`OperatingSystemstring            `protobuf:"bytes,5,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`Architecturestring            `protobuf:"bytes,6,opt,name=architecture,proto3" json:"architecture,omitempty"`Directorystring            `protobuf:"bytes,7,opt,name=directory,proto3" json:"directory,omitempty"`Apps            []*App            `protobuf:"bytes,8,rep,name=apps,proto3" json:"apps,omitempty"`// Types that are assignable to Auth:////*Agent_Token//*Agent_InstanceIdAuth                     isAgent_Auth `protobuf_oneof:"auth"`ConnectionTimeoutSecondsint32        ``/* 137-byte string literal not displayed */TroubleshootingUrlstring       `protobuf:"bytes,12,opt,name=troubleshooting_url,json=troubleshootingUrl,proto3" json:"troubleshooting_url,omitempty"`MotdFilestring       `protobuf:"bytes,13,opt,name=motd_file,json=motdFile,proto3" json:"motd_file,omitempty"`// Field 14 was bool login_before_ready = 14, now removed.StartupScriptTimeoutSecondsint32             ``/* 148-byte string literal not displayed */ShutdownScriptstring            `protobuf:"bytes,16,opt,name=shutdown_script,json=shutdownScript,proto3" json:"shutdown_script,omitempty"`ShutdownScriptTimeoutSecondsint32             ``/* 151-byte string literal not displayed */Metadata                     []*Agent_Metadata `protobuf:"bytes,18,rep,name=metadata,proto3" json:"metadata,omitempty"`StartupScriptBehaviorstring            ``/* 127-byte string literal not displayed */// contains filtered or unexported fields}

Agent represents a running agent on the workspace.

func (*Agent)Descriptordeprecated

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

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent)GetAppsadded inv0.6.2

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

func (*Agent)GetArchitectureadded inv0.4.1

func (x *Agent) GetArchitecture()string

func (*Agent)GetAuth

func (m *Agent) GetAuth() isAgent_Auth

func (*Agent)GetConnectionTimeoutSecondsadded inv0.12.6

func (x *Agent) GetConnectionTimeoutSeconds()int32

func (*Agent)GetDirectoryadded inv0.5.3

func (x *Agent) GetDirectory()string

func (*Agent)GetEnv

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

func (*Agent)GetId

func (x *Agent) GetId()string

func (*Agent)GetInstanceId

func (x *Agent) GetInstanceId()string

func (*Agent)GetMetadataadded inv0.21.3

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

func (*Agent)GetMotdFileadded inv0.13.0

func (x *Agent) GetMotdFile()string

func (*Agent)GetNameadded inv0.4.1

func (x *Agent) GetName()string

func (*Agent)GetOperatingSystemadded inv0.4.1

func (x *Agent) GetOperatingSystem()string

func (*Agent)GetShutdownScriptadded inv0.19.0

func (x *Agent) GetShutdownScript()string

func (*Agent)GetShutdownScriptTimeoutSecondsadded inv0.19.0

func (x *Agent) GetShutdownScriptTimeoutSeconds()int32

func (*Agent)GetStartupScript

func (x *Agent) GetStartupScript()string

func (*Agent)GetStartupScriptBehavioradded inv0.24.0

func (x *Agent) GetStartupScriptBehavior()string

func (*Agent)GetStartupScriptTimeoutSecondsadded inv0.15.3

func (x *Agent) GetStartupScriptTimeoutSeconds()int32

func (*Agent)GetToken

func (x *Agent) GetToken()string

func (*Agent)GetTroubleshootingUrladded inv0.12.6

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

typeAgent_InstanceId

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

typeAgent_Metadataadded inv0.21.3

type Agent_Metadata struct {Keystring `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`DisplayNamestring `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`Scriptstring `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`Intervalint64  `protobuf:"varint,4,opt,name=interval,proto3" json:"interval,omitempty"`Timeoutint64  `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`// contains filtered or unexported fields}

func (*Agent_Metadata)Descriptordeprecatedadded inv0.21.3

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

Deprecated: Use Agent_Metadata.ProtoReflect.Descriptor instead.

func (*Agent_Metadata)GetDisplayNameadded inv0.21.3

func (x *Agent_Metadata) GetDisplayName()string

func (*Agent_Metadata)GetIntervaladded inv0.21.3

func (x *Agent_Metadata) GetInterval()int64

func (*Agent_Metadata)GetKeyadded inv0.21.3

func (x *Agent_Metadata) GetKey()string

func (*Agent_Metadata)GetScriptadded inv0.21.3

func (x *Agent_Metadata) GetScript()string

func (*Agent_Metadata)GetTimeoutadded inv0.21.3

func (x *Agent_Metadata) GetTimeout()int64

func (*Agent_Metadata)ProtoMessageadded inv0.21.3

func (*Agent_Metadata) ProtoMessage()

func (*Agent_Metadata)ProtoReflectadded inv0.21.3

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

func (*Agent_Metadata)Resetadded inv0.21.3

func (x *Agent_Metadata) Reset()

func (*Agent_Metadata)Stringadded inv0.21.3

func (x *Agent_Metadata) String()string

typeAgent_Token

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

typeAppadded inv0.6.2

type App struct {// slug is the unique identifier for the app, usually the name from the// template. It must be URL-safe and hostname-safe.Slugstring          `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`DisplayNamestring          `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`Commandstring          `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`Urlstring          `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`Iconstring          `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`Subdomainbool            `protobuf:"varint,6,opt,name=subdomain,proto3" json:"subdomain,omitempty"`Healthcheck  *Healthcheck    `protobuf:"bytes,7,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"`SharingLevelAppSharingLevel ``/* 131-byte string literal not displayed */Externalbool            `protobuf:"varint,9,opt,name=external,proto3" json:"external,omitempty"`// contains filtered or unexported fields}

App represents a dev-accessible application on the workspace.

func (*App)Descriptordeprecatedadded inv0.6.2

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

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App)GetCommandadded inv0.6.2

func (x *App) GetCommand()string

func (*App)GetDisplayNameadded inv0.12.0

func (x *App) GetDisplayName()string

func (*App)GetExternaladded inv0.13.3

func (x *App) GetExternal()bool

func (*App)GetHealthcheckadded inv0.9.0

func (x *App) GetHealthcheck() *Healthcheck

func (*App)GetIconadded inv0.6.2

func (x *App) GetIcon()string

func (*App)GetSharingLeveladded inv0.10.0

func (x *App) GetSharingLevel()AppSharingLevel

func (*App)GetSlugadded inv0.12.0

func (x *App) GetSlug()string

func (*App)GetSubdomainadded inv0.9.4

func (x *App) GetSubdomain()bool

func (*App)GetUrladded inv0.6.2

func (x *App) GetUrl()string

func (*App)ProtoMessageadded inv0.6.2

func (*App) ProtoMessage()

func (*App)ProtoReflectadded inv0.6.2

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

func (*App)Resetadded inv0.6.2

func (x *App) Reset()

func (*App)Stringadded inv0.6.2

func (x *App) String()string

typeAppSharingLeveladded inv0.10.0

type AppSharingLevelint32
const (AppSharingLevel_OWNERAppSharingLevel = 0AppSharingLevel_AUTHENTICATEDAppSharingLevel = 1AppSharingLevel_PUBLICAppSharingLevel = 2)

func (AppSharingLevel)Descriptoradded inv0.10.0

func (AppSharingLevel)Enumadded inv0.10.0

func (AppSharingLevel)EnumDescriptordeprecatedadded inv0.10.0

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

Deprecated: Use AppSharingLevel.Descriptor instead.

func (AppSharingLevel)Numberadded inv0.10.0

func (AppSharingLevel)Stringadded inv0.10.0

func (xAppSharingLevel) String()string

func (AppSharingLevel)Typeadded inv0.10.0

typeDRPCProvisionerClient

type DRPCProvisionerClient interface {DRPCConn()drpc.ConnParse(ctxcontext.Context, in *Parse_Request) (DRPCProvisioner_ParseClient,error)Provision(ctxcontext.Context) (DRPCProvisioner_ProvisionClient,error)}

funcNewDRPCProvisionerClient

func NewDRPCProvisionerClient(ccdrpc.Conn)DRPCProvisionerClient

typeDRPCProvisionerDescription

type DRPCProvisionerDescription struct{}

func (DRPCProvisionerDescription)Method

func (DRPCProvisionerDescription)NumMethods

func (DRPCProvisionerDescription) NumMethods()int

typeDRPCProvisionerUnimplementedServer

type DRPCProvisionerUnimplementedServer struct{}

func (*DRPCProvisionerUnimplementedServer)Parse

func (*DRPCProvisionerUnimplementedServer)Provision

typeDRPCProvisioner_ParseClient

type DRPCProvisioner_ParseClient interface {drpc.StreamRecv() (*Parse_Response,error)}

typeDRPCProvisioner_ParseStream

type DRPCProvisioner_ParseStream interface {drpc.StreamSend(*Parse_Response)error}

typeDRPCProvisioner_ProvisionClient

type DRPCProvisioner_ProvisionClient interface {drpc.StreamSend(*Provision_Request)errorRecv() (*Provision_Response,error)}

typeDRPCProvisioner_ProvisionStream

type DRPCProvisioner_ProvisionStream interface {drpc.StreamSend(*Provision_Response)errorRecv() (*Provision_Request,error)}

typeEmpty

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

Empty indicates a successful request/response.

func (*Empty)Descriptordeprecated

func (*Empty) 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

typeGitAuthProvideradded inv0.18.0

type GitAuthProvider struct {Idstring `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`AccessTokenstring `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`// contains filtered or unexported fields}

func (*GitAuthProvider)Descriptordeprecatedadded inv0.18.0

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

Deprecated: Use GitAuthProvider.ProtoReflect.Descriptor instead.

func (*GitAuthProvider)GetAccessTokenadded inv0.18.0

func (x *GitAuthProvider) GetAccessToken()string

func (*GitAuthProvider)GetIdadded inv0.18.0

func (x *GitAuthProvider) GetId()string

func (*GitAuthProvider)ProtoMessageadded inv0.18.0

func (*GitAuthProvider) ProtoMessage()

func (*GitAuthProvider)ProtoReflectadded inv0.18.0

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

func (*GitAuthProvider)Resetadded inv0.18.0

func (x *GitAuthProvider) Reset()

func (*GitAuthProvider)Stringadded inv0.18.0

func (x *GitAuthProvider) String()string

typeHealthcheckadded inv0.9.0

type Healthcheck struct {Urlstring `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`Intervalint32  `protobuf:"varint,2,opt,name=interval,proto3" json:"interval,omitempty"`Thresholdint32  `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"`// contains filtered or unexported fields}

Healthcheck represents configuration for checking for app readiness.

func (*Healthcheck)Descriptordeprecatedadded inv0.9.0

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

Deprecated: Use Healthcheck.ProtoReflect.Descriptor instead.

func (*Healthcheck)GetIntervaladded inv0.9.0

func (x *Healthcheck) GetInterval()int32

func (*Healthcheck)GetThresholdadded inv0.9.0

func (x *Healthcheck) GetThreshold()int32

func (*Healthcheck)GetUrladded inv0.9.0

func (x *Healthcheck) GetUrl()string

func (*Healthcheck)ProtoMessageadded inv0.9.0

func (*Healthcheck) ProtoMessage()

func (*Healthcheck)ProtoReflectadded inv0.9.0

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

func (*Healthcheck)Resetadded inv0.9.0

func (x *Healthcheck) Reset()

func (*Healthcheck)Stringadded inv0.9.0

func (x *Healthcheck) String()string

typeInstanceIdentityAuthadded inv0.4.1

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

func (*InstanceIdentityAuth)Descriptordeprecatedadded inv0.4.1

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

Deprecated: Use InstanceIdentityAuth.ProtoReflect.Descriptor instead.

func (*InstanceIdentityAuth)GetInstanceIdadded inv0.4.1

func (x *InstanceIdentityAuth) GetInstanceId()string

func (*InstanceIdentityAuth)ProtoMessageadded inv0.4.1

func (*InstanceIdentityAuth) ProtoMessage()

func (*InstanceIdentityAuth)ProtoReflectadded inv0.4.1

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

func (*InstanceIdentityAuth)Resetadded inv0.4.1

func (x *InstanceIdentityAuth) Reset()

func (*InstanceIdentityAuth)Stringadded inv0.4.1

func (x *InstanceIdentityAuth) String()string

typeLog

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

Log represents output from a request.

func (*Log)Descriptordeprecated

func (*Log) 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

typeLogLevel

type LogLevelint32

LogLevel represents severity of the log.

const (LogLevel_TRACELogLevel = 0LogLevel_DEBUGLogLevel = 1LogLevel_INFOLogLevel = 2LogLevel_WARNLogLevel = 3LogLevel_ERRORLogLevel = 4)

func (LogLevel)Descriptor

func (LogLevel)Enum

func (xLogLevel) Enum() *LogLevel

func (LogLevel)EnumDescriptordeprecated

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

Deprecated: Use LogLevel.Descriptor instead.

func (LogLevel)Number

func (LogLevel)String

func (xLogLevel) String()string

func (LogLevel)Type

typeParse

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

Parse consumes source-code from a directory to produce inputs.

func (*Parse)Descriptordeprecated

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

Deprecated: Use Parse.ProtoReflect.Descriptor instead.

func (*Parse)ProtoMessage

func (*Parse) ProtoMessage()

func (*Parse)ProtoReflect

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

func (*Parse)Reset

func (x *Parse) Reset()

func (*Parse)String

func (x *Parse) String()string

typeParse_Complete

type Parse_Complete struct {TemplateVariables []*TemplateVariable `protobuf:"bytes,1,rep,name=template_variables,json=templateVariables,proto3" json:"template_variables,omitempty"`// contains filtered or unexported fields}

func (*Parse_Complete)Descriptordeprecated

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

Deprecated: Use Parse_Complete.ProtoReflect.Descriptor instead.

func (*Parse_Complete)GetTemplateVariablesadded inv0.17.4

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

func (*Parse_Complete)ProtoMessage

func (*Parse_Complete) ProtoMessage()

func (*Parse_Complete)ProtoReflect

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

func (*Parse_Complete)Reset

func (x *Parse_Complete) Reset()

func (*Parse_Complete)String

func (x *Parse_Complete) String()string

typeParse_Request

type Parse_Request struct {Directorystring `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`// contains filtered or unexported fields}

func (*Parse_Request)Descriptordeprecated

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

Deprecated: Use Parse_Request.ProtoReflect.Descriptor instead.

func (*Parse_Request)GetDirectory

func (x *Parse_Request) GetDirectory()string

func (*Parse_Request)ProtoMessage

func (*Parse_Request) ProtoMessage()

func (*Parse_Request)ProtoReflect

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

func (*Parse_Request)Reset

func (x *Parse_Request) Reset()

func (*Parse_Request)String

func (x *Parse_Request) String()string

typeParse_Response

type Parse_Response struct {// Types that are assignable to Type:////*Parse_Response_Log//*Parse_Response_CompleteType isParse_Response_Type `protobuf_oneof:"type"`// contains filtered or unexported fields}

func (*Parse_Response)Descriptordeprecated

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

Deprecated: Use Parse_Response.ProtoReflect.Descriptor instead.

func (*Parse_Response)GetComplete

func (x *Parse_Response) GetComplete() *Parse_Complete

func (*Parse_Response)GetLog

func (x *Parse_Response) GetLog() *Log

func (*Parse_Response)GetType

func (m *Parse_Response) GetType() isParse_Response_Type

func (*Parse_Response)ProtoMessage

func (*Parse_Response) ProtoMessage()

func (*Parse_Response)ProtoReflect

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

func (*Parse_Response)Reset

func (x *Parse_Response) Reset()

func (*Parse_Response)String

func (x *Parse_Response) String()string

typeParse_Response_Complete

type Parse_Response_Complete struct {Complete *Parse_Complete `protobuf:"bytes,2,opt,name=complete,proto3,oneof"`}

typeParse_Response_Log

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

typeProvision

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

Provision consumes source-code from a directory to produce resources.Exactly one of Plan or Apply must be provided in a single session.

func (*Provision)Descriptordeprecated

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

Deprecated: Use Provision.ProtoReflect.Descriptor instead.

func (*Provision)ProtoMessage

func (*Provision) ProtoMessage()

func (*Provision)ProtoReflect

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

func (*Provision)Reset

func (x *Provision) Reset()

func (*Provision)String

func (x *Provision) String()string

typeProvision_Applyadded inv0.12.7

type Provision_Apply struct {Config *Provision_Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`Plan   []byte            `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"`// contains filtered or unexported fields}

func (*Provision_Apply)Descriptordeprecatedadded inv0.12.7

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

Deprecated: Use Provision_Apply.ProtoReflect.Descriptor instead.

func (*Provision_Apply)GetConfigadded inv0.12.7

func (x *Provision_Apply) GetConfig() *Provision_Config

func (*Provision_Apply)GetPlanadded inv0.12.7

func (x *Provision_Apply) GetPlan() []byte

func (*Provision_Apply)ProtoMessageadded inv0.12.7

func (*Provision_Apply) ProtoMessage()

func (*Provision_Apply)ProtoReflectadded inv0.12.7

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

func (*Provision_Apply)Resetadded inv0.12.7

func (x *Provision_Apply) Reset()

func (*Provision_Apply)Stringadded inv0.12.7

func (x *Provision_Apply) String()string

typeProvision_Cancel

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

func (*Provision_Cancel)Descriptordeprecated

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

Deprecated: Use Provision_Cancel.ProtoReflect.Descriptor instead.

func (*Provision_Cancel)ProtoMessage

func (*Provision_Cancel) ProtoMessage()

func (*Provision_Cancel)ProtoReflect

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

func (*Provision_Cancel)Reset

func (x *Provision_Cancel) Reset()

func (*Provision_Cancel)String

func (x *Provision_Cancel) String()string

typeProvision_Complete

type Provision_Complete struct {State            []byte           `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`Errorstring           `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`Resources        []*Resource      `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"`Parameters       []*RichParameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"`GitAuthProviders []string         `protobuf:"bytes,5,rep,name=git_auth_providers,json=gitAuthProviders,proto3" json:"git_auth_providers,omitempty"`Plan             []byte           `protobuf:"bytes,6,opt,name=plan,proto3" json:"plan,omitempty"`// contains filtered or unexported fields}

func (*Provision_Complete)Descriptordeprecated

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

Deprecated: Use Provision_Complete.ProtoReflect.Descriptor instead.

func (*Provision_Complete)GetError

func (x *Provision_Complete) GetError()string

func (*Provision_Complete)GetGitAuthProvidersadded inv0.18.0

func (x *Provision_Complete) GetGitAuthProviders() []string

func (*Provision_Complete)GetParametersadded inv0.15.0

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

func (*Provision_Complete)GetPlanadded inv0.12.7

func (x *Provision_Complete) GetPlan() []byte

func (*Provision_Complete)GetResources

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

func (*Provision_Complete)GetState

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

func (*Provision_Complete)ProtoMessage

func (*Provision_Complete) ProtoMessage()

func (*Provision_Complete)ProtoReflect

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

func (*Provision_Complete)Reset

func (x *Provision_Complete) Reset()

func (*Provision_Complete)String

func (x *Provision_Complete) String()string

typeProvision_Configadded inv0.12.7

type Provision_Config struct {Directorystring              `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`State               []byte              `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`Metadata            *Provision_Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`ProvisionerLogLevelstring              `protobuf:"bytes,4,opt,name=provisioner_log_level,json=provisionerLogLevel,proto3" json:"provisioner_log_level,omitempty"`// contains filtered or unexported fields}

Config represents execution configuration shared by both Plan andApply commands.

func (*Provision_Config)Descriptordeprecatedadded inv0.12.7

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

Deprecated: Use Provision_Config.ProtoReflect.Descriptor instead.

func (*Provision_Config)GetDirectoryadded inv0.12.7

func (x *Provision_Config) GetDirectory()string

func (*Provision_Config)GetMetadataadded inv0.12.7

func (x *Provision_Config) GetMetadata() *Provision_Metadata

func (*Provision_Config)GetProvisionerLogLeveladded inv0.21.3

func (x *Provision_Config) GetProvisionerLogLevel()string

func (*Provision_Config)GetStateadded inv0.12.7

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

func (*Provision_Config)ProtoMessageadded inv0.12.7

func (*Provision_Config) ProtoMessage()

func (*Provision_Config)ProtoReflectadded inv0.12.7

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

func (*Provision_Config)Resetadded inv0.12.7

func (x *Provision_Config) Reset()

func (*Provision_Config)Stringadded inv0.12.7

func (x *Provision_Config) String()string

typeProvision_Metadata

type Provision_Metadata struct {CoderUrlstring              `protobuf:"bytes,1,opt,name=coder_url,json=coderUrl,proto3" json:"coder_url,omitempty"`WorkspaceTransitionWorkspaceTransition ``/* 156-byte string literal not displayed */WorkspaceNamestring              `protobuf:"bytes,3,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`WorkspaceOwnerstring              `protobuf:"bytes,4,opt,name=workspace_owner,json=workspaceOwner,proto3" json:"workspace_owner,omitempty"`WorkspaceIdstring              `protobuf:"bytes,5,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`WorkspaceOwnerIdstring              `protobuf:"bytes,6,opt,name=workspace_owner_id,json=workspaceOwnerId,proto3" json:"workspace_owner_id,omitempty"`WorkspaceOwnerEmailstring              `protobuf:"bytes,7,opt,name=workspace_owner_email,json=workspaceOwnerEmail,proto3" json:"workspace_owner_email,omitempty"`TemplateNamestring              `protobuf:"bytes,8,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"`TemplateVersionstring              `protobuf:"bytes,9,opt,name=template_version,json=templateVersion,proto3" json:"template_version,omitempty"`WorkspaceOwnerOidcAccessTokenstring              ``/* 155-byte string literal not displayed */WorkspaceOwnerSessionTokenstring              ``/* 144-byte string literal not displayed */// contains filtered or unexported fields}

func (*Provision_Metadata)Descriptordeprecated

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

Deprecated: Use Provision_Metadata.ProtoReflect.Descriptor instead.

func (*Provision_Metadata)GetCoderUrl

func (x *Provision_Metadata) GetCoderUrl()string

func (*Provision_Metadata)GetTemplateNameadded inv0.18.0

func (x *Provision_Metadata) GetTemplateName()string

func (*Provision_Metadata)GetTemplateVersionadded inv0.18.0

func (x *Provision_Metadata) GetTemplateVersion()string

func (*Provision_Metadata)GetWorkspaceIdadded inv0.5.3

func (x *Provision_Metadata) GetWorkspaceId()string

func (*Provision_Metadata)GetWorkspaceName

func (x *Provision_Metadata) GetWorkspaceName()string

func (*Provision_Metadata)GetWorkspaceOwner

func (x *Provision_Metadata) GetWorkspaceOwner()string

func (*Provision_Metadata)GetWorkspaceOwnerEmailadded inv0.8.0

func (x *Provision_Metadata) GetWorkspaceOwnerEmail()string

func (*Provision_Metadata)GetWorkspaceOwnerIdadded inv0.5.3

func (x *Provision_Metadata) GetWorkspaceOwnerId()string

func (*Provision_Metadata)GetWorkspaceOwnerOidcAccessTokenadded inv0.20.0

func (x *Provision_Metadata) GetWorkspaceOwnerOidcAccessToken()string

func (*Provision_Metadata)GetWorkspaceOwnerSessionTokenadded inv0.23.5

func (x *Provision_Metadata) GetWorkspaceOwnerSessionToken()string

func (*Provision_Metadata)GetWorkspaceTransition

func (x *Provision_Metadata) GetWorkspaceTransition()WorkspaceTransition

func (*Provision_Metadata)ProtoMessage

func (*Provision_Metadata) ProtoMessage()

func (*Provision_Metadata)ProtoReflect

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

func (*Provision_Metadata)Reset

func (x *Provision_Metadata) Reset()

func (*Provision_Metadata)String

func (x *Provision_Metadata) String()string

typeProvision_Planadded inv0.12.7

type Provision_Plan struct {Config              *Provision_Config     `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`RichParameterValues []*RichParameterValue `protobuf:"bytes,3,rep,name=rich_parameter_values,json=richParameterValues,proto3" json:"rich_parameter_values,omitempty"`VariableValues      []*VariableValue      `protobuf:"bytes,4,rep,name=variable_values,json=variableValues,proto3" json:"variable_values,omitempty"`GitAuthProviders    []*GitAuthProvider    `protobuf:"bytes,5,rep,name=git_auth_providers,json=gitAuthProviders,proto3" json:"git_auth_providers,omitempty"`// contains filtered or unexported fields}

func (*Provision_Plan)Descriptordeprecatedadded inv0.12.7

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

Deprecated: Use Provision_Plan.ProtoReflect.Descriptor instead.

func (*Provision_Plan)GetConfigadded inv0.12.7

func (x *Provision_Plan) GetConfig() *Provision_Config

func (*Provision_Plan)GetGitAuthProvidersadded inv0.18.0

func (x *Provision_Plan) GetGitAuthProviders() []*GitAuthProvider

func (*Provision_Plan)GetRichParameterValuesadded inv0.15.0

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

func (*Provision_Plan)GetVariableValuesadded inv0.17.4

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

func (*Provision_Plan)ProtoMessageadded inv0.12.7

func (*Provision_Plan) ProtoMessage()

func (*Provision_Plan)ProtoReflectadded inv0.12.7

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

func (*Provision_Plan)Resetadded inv0.12.7

func (x *Provision_Plan) Reset()

func (*Provision_Plan)Stringadded inv0.12.7

func (x *Provision_Plan) String()string

typeProvision_Request

type Provision_Request struct {// Types that are assignable to Type:////*Provision_Request_Plan//*Provision_Request_Apply//*Provision_Request_CancelType isProvision_Request_Type `protobuf_oneof:"type"`// contains filtered or unexported fields}

func (*Provision_Request)Descriptordeprecated

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

Deprecated: Use Provision_Request.ProtoReflect.Descriptor instead.

func (*Provision_Request)GetApplyadded inv0.12.7

func (x *Provision_Request) GetApply() *Provision_Apply

func (*Provision_Request)GetCancel

func (x *Provision_Request) GetCancel() *Provision_Cancel

func (*Provision_Request)GetPlanadded inv0.12.7

func (x *Provision_Request) GetPlan() *Provision_Plan

func (*Provision_Request)GetType

func (m *Provision_Request) GetType() isProvision_Request_Type

func (*Provision_Request)ProtoMessage

func (*Provision_Request) ProtoMessage()

func (*Provision_Request)ProtoReflect

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

func (*Provision_Request)Reset

func (x *Provision_Request) Reset()

func (*Provision_Request)String

func (x *Provision_Request) String()string

typeProvision_Request_Applyadded inv0.12.7

type Provision_Request_Apply struct {Apply *Provision_Apply `protobuf:"bytes,2,opt,name=apply,proto3,oneof"`}

typeProvision_Request_Cancel

type Provision_Request_Cancel struct {Cancel *Provision_Cancel `protobuf:"bytes,3,opt,name=cancel,proto3,oneof"`}

typeProvision_Request_Planadded inv0.12.7

type Provision_Request_Plan struct {Plan *Provision_Plan `protobuf:"bytes,1,opt,name=plan,proto3,oneof"`}

typeProvision_Response

type Provision_Response struct {// Types that are assignable to Type:////*Provision_Response_Log//*Provision_Response_CompleteType isProvision_Response_Type `protobuf_oneof:"type"`// contains filtered or unexported fields}

func (*Provision_Response)Descriptordeprecated

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

Deprecated: Use Provision_Response.ProtoReflect.Descriptor instead.

func (*Provision_Response)GetComplete

func (x *Provision_Response) GetComplete() *Provision_Complete

func (*Provision_Response)GetLog

func (x *Provision_Response) GetLog() *Log

func (*Provision_Response)GetType

func (m *Provision_Response) GetType() isProvision_Response_Type

func (*Provision_Response)ProtoMessage

func (*Provision_Response) ProtoMessage()

func (*Provision_Response)ProtoReflect

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

func (*Provision_Response)Reset

func (x *Provision_Response) Reset()

func (*Provision_Response)String

func (x *Provision_Response) String()string

typeProvision_Response_Complete

type Provision_Response_Complete struct {Complete *Provision_Complete `protobuf:"bytes,2,opt,name=complete,proto3,oneof"`}

typeProvision_Response_Log

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

typeResource

type Resource struct {Namestring               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Typestring               `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`Agents       []*Agent             `protobuf:"bytes,3,rep,name=agents,proto3" json:"agents,omitempty"`Metadata     []*Resource_Metadata `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty"`Hidebool                 `protobuf:"varint,5,opt,name=hide,proto3" json:"hide,omitempty"`Iconstring               `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`InstanceTypestring               `protobuf:"bytes,7,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"`DailyCostint32                `protobuf:"varint,8,opt,name=daily_cost,json=dailyCost,proto3" json:"daily_cost,omitempty"`// contains filtered or unexported fields}

Resource represents created infrastructure.

func (*Resource)Descriptordeprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource)GetAgentsadded inv0.4.1

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

func (*Resource)GetDailyCostadded inv0.12.7

func (x *Resource) GetDailyCost()int32

func (*Resource)GetHideadded inv0.8.15

func (x *Resource) GetHide()bool

func (*Resource)GetIconadded inv0.8.15

func (x *Resource) GetIcon()string

func (*Resource)GetInstanceTypeadded inv0.12.2

func (x *Resource) GetInstanceType()string

func (*Resource)GetMetadataadded inv0.8.3

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

typeResource_Metadataadded inv0.8.3

type Resource_Metadata struct {Keystring `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`Valuestring `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`Sensitivebool   `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"`IsNullbool   `protobuf:"varint,4,opt,name=is_null,json=isNull,proto3" json:"is_null,omitempty"`// contains filtered or unexported fields}

func (*Resource_Metadata)Descriptordeprecatedadded inv0.8.3

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

Deprecated: Use Resource_Metadata.ProtoReflect.Descriptor instead.

func (*Resource_Metadata)GetIsNulladded inv0.8.3

func (x *Resource_Metadata) GetIsNull()bool

func (*Resource_Metadata)GetKeyadded inv0.8.3

func (x *Resource_Metadata) GetKey()string

func (*Resource_Metadata)GetSensitiveadded inv0.8.3

func (x *Resource_Metadata) GetSensitive()bool

func (*Resource_Metadata)GetValueadded inv0.8.3

func (x *Resource_Metadata) GetValue()string

func (*Resource_Metadata)ProtoMessageadded inv0.8.3

func (*Resource_Metadata) ProtoMessage()

func (*Resource_Metadata)ProtoReflectadded inv0.8.3

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

func (*Resource_Metadata)Resetadded inv0.8.3

func (x *Resource_Metadata) Reset()

func (*Resource_Metadata)Stringadded inv0.8.3

func (x *Resource_Metadata) String()string

typeRichParameteradded inv0.15.0

type RichParameter struct {Namestring                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Descriptionstring                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`Typestring                 `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`Mutablebool                   `protobuf:"varint,4,opt,name=mutable,proto3" json:"mutable,omitempty"`DefaultValuestring                 `protobuf:"bytes,5,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`Iconstring                 `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"`Options             []*RichParameterOption `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`ValidationRegexstring                 `protobuf:"bytes,8,opt,name=validation_regex,json=validationRegex,proto3" json:"validation_regex,omitempty"`ValidationErrorstring                 `protobuf:"bytes,9,opt,name=validation_error,json=validationError,proto3" json:"validation_error,omitempty"`ValidationMin       *int32                 `protobuf:"varint,10,opt,name=validation_min,json=validationMin,proto3,oneof" json:"validation_min,omitempty"`ValidationMax       *int32                 `protobuf:"varint,11,opt,name=validation_max,json=validationMax,proto3,oneof" json:"validation_max,omitempty"`ValidationMonotonicstring                 `protobuf:"bytes,12,opt,name=validation_monotonic,json=validationMonotonic,proto3" json:"validation_monotonic,omitempty"`Requiredbool                   `protobuf:"varint,13,opt,name=required,proto3" json:"required,omitempty"`// legacy_variable_name was removed (= 14)DisplayNamestring `protobuf:"bytes,15,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`Orderint32  `protobuf:"varint,16,opt,name=order,proto3" json:"order,omitempty"`Ephemeralbool   `protobuf:"varint,17,opt,name=ephemeral,proto3" json:"ephemeral,omitempty"`// contains filtered or unexported fields}

RichParameter represents a variable that is exposed.

func (*RichParameter)Descriptordeprecatedadded inv0.15.0

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

Deprecated: Use RichParameter.ProtoReflect.Descriptor instead.

func (*RichParameter)GetDefaultValueadded inv0.15.0

func (x *RichParameter) GetDefaultValue()string

func (*RichParameter)GetDescriptionadded inv0.15.0

func (x *RichParameter) GetDescription()string

func (*RichParameter)GetDisplayNameadded inv0.21.3

func (x *RichParameter) GetDisplayName()string

func (*RichParameter)GetEphemeraladded inv0.26.0

func (x *RichParameter) GetEphemeral()bool

func (*RichParameter)GetIconadded inv0.15.0

func (x *RichParameter) GetIcon()string

func (*RichParameter)GetMutableadded inv0.15.0

func (x *RichParameter) GetMutable()bool

func (*RichParameter)GetNameadded inv0.15.0

func (x *RichParameter) GetName()string

func (*RichParameter)GetOptionsadded inv0.15.0

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

func (*RichParameter)GetOrderadded inv0.25.0

func (x *RichParameter) GetOrder()int32

func (*RichParameter)GetRequiredadded inv0.19.0

func (x *RichParameter) GetRequired()bool

func (*RichParameter)GetTypeadded inv0.15.0

func (x *RichParameter) GetType()string

func (*RichParameter)GetValidationErroradded inv0.15.3

func (x *RichParameter) GetValidationError()string

func (*RichParameter)GetValidationMaxadded inv0.15.0

func (x *RichParameter) GetValidationMax()int32

func (*RichParameter)GetValidationMinadded inv0.15.0

func (x *RichParameter) GetValidationMin()int32

func (*RichParameter)GetValidationMonotonicadded inv0.17.0

func (x *RichParameter) GetValidationMonotonic()string

func (*RichParameter)GetValidationRegexadded inv0.15.0

func (x *RichParameter) GetValidationRegex()string

func (*RichParameter)ProtoMessageadded inv0.15.0

func (*RichParameter) ProtoMessage()

func (*RichParameter)ProtoReflectadded inv0.15.0

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

func (*RichParameter)Resetadded inv0.15.0

func (x *RichParameter) Reset()

func (*RichParameter)Stringadded inv0.15.0

func (x *RichParameter) String()string

typeRichParameterOptionadded inv0.15.0

type RichParameterOption struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Descriptionstring `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`Valuestring `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`Iconstring `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"`// contains filtered or unexported fields}

RichParameterOption represents a singular option that a parameter may expose.

func (*RichParameterOption)Descriptordeprecatedadded inv0.15.0

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

Deprecated: Use RichParameterOption.ProtoReflect.Descriptor instead.

func (*RichParameterOption)GetDescriptionadded inv0.15.0

func (x *RichParameterOption) GetDescription()string

func (*RichParameterOption)GetIconadded inv0.15.0

func (x *RichParameterOption) GetIcon()string

func (*RichParameterOption)GetNameadded inv0.15.0

func (x *RichParameterOption) GetName()string

func (*RichParameterOption)GetValueadded inv0.15.0

func (x *RichParameterOption) GetValue()string

func (*RichParameterOption)ProtoMessageadded inv0.15.0

func (*RichParameterOption) ProtoMessage()

func (*RichParameterOption)ProtoReflectadded inv0.15.0

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

func (*RichParameterOption)Resetadded inv0.15.0

func (x *RichParameterOption) Reset()

func (*RichParameterOption)Stringadded inv0.15.0

func (x *RichParameterOption) String()string

typeRichParameterValueadded inv0.15.0

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

RichParameterValue holds the key/value mapping of a parameter.

func (*RichParameterValue)Descriptordeprecatedadded inv0.15.0

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

Deprecated: Use RichParameterValue.ProtoReflect.Descriptor instead.

func (*RichParameterValue)GetNameadded inv0.15.0

func (x *RichParameterValue) GetName()string

func (*RichParameterValue)GetValueadded inv0.15.0

func (x *RichParameterValue) GetValue()string

func (*RichParameterValue)ProtoMessageadded inv0.15.0

func (*RichParameterValue) ProtoMessage()

func (*RichParameterValue)ProtoReflectadded inv0.15.0

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

func (*RichParameterValue)Resetadded inv0.15.0

func (x *RichParameterValue) Reset()

func (*RichParameterValue)Stringadded inv0.15.0

func (x *RichParameterValue) String()string

typeTemplateVariableadded inv0.17.4

type TemplateVariable struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Descriptionstring `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`Typestring `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`DefaultValuestring `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`Requiredbool   `protobuf:"varint,5,opt,name=required,proto3" json:"required,omitempty"`Sensitivebool   `protobuf:"varint,6,opt,name=sensitive,proto3" json:"sensitive,omitempty"`// contains filtered or unexported fields}

TemplateVariable represents a Terraform variable.

func (*TemplateVariable)Descriptordeprecatedadded inv0.17.4

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

Deprecated: Use TemplateVariable.ProtoReflect.Descriptor instead.

func (*TemplateVariable)GetDefaultValueadded inv0.17.4

func (x *TemplateVariable) GetDefaultValue()string

func (*TemplateVariable)GetDescriptionadded inv0.17.4

func (x *TemplateVariable) GetDescription()string

func (*TemplateVariable)GetNameadded inv0.17.4

func (x *TemplateVariable) GetName()string

func (*TemplateVariable)GetRequiredadded inv0.17.4

func (x *TemplateVariable) GetRequired()bool

func (*TemplateVariable)GetSensitiveadded inv0.17.4

func (x *TemplateVariable) GetSensitive()bool

func (*TemplateVariable)GetTypeadded inv0.17.4

func (x *TemplateVariable) GetType()string

func (*TemplateVariable)ProtoMessageadded inv0.17.4

func (*TemplateVariable) ProtoMessage()

func (*TemplateVariable)ProtoReflectadded inv0.17.4

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

func (*TemplateVariable)Resetadded inv0.17.4

func (x *TemplateVariable) Reset()

func (*TemplateVariable)Stringadded inv0.17.4

func (x *TemplateVariable) String()string

typeVariableValueadded inv0.17.4

type VariableValue struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`Valuestring `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`Sensitivebool   `protobuf:"varint,3,opt,name=sensitive,proto3" json:"sensitive,omitempty"`// contains filtered or unexported fields}

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

func (*VariableValue)Descriptordeprecatedadded inv0.17.4

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

Deprecated: Use VariableValue.ProtoReflect.Descriptor instead.

func (*VariableValue)GetNameadded inv0.17.4

func (x *VariableValue) GetName()string

func (*VariableValue)GetSensitiveadded inv0.17.4

func (x *VariableValue) GetSensitive()bool

func (*VariableValue)GetValueadded inv0.17.4

func (x *VariableValue) GetValue()string

func (*VariableValue)ProtoMessageadded inv0.17.4

func (*VariableValue) ProtoMessage()

func (*VariableValue)ProtoReflectadded inv0.17.4

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

func (*VariableValue)Resetadded inv0.17.4

func (x *VariableValue) Reset()

func (*VariableValue)Stringadded inv0.17.4

func (x *VariableValue) String()string

typeWorkspaceTransition

type WorkspaceTransitionint32
const (WorkspaceTransition_STARTWorkspaceTransition = 0WorkspaceTransition_STOPWorkspaceTransition = 1WorkspaceTransition_DESTROYWorkspaceTransition = 2)

func (WorkspaceTransition)Descriptor

func (WorkspaceTransition)Enum

func (WorkspaceTransition)EnumDescriptordeprecated

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

Deprecated: Use WorkspaceTransition.Descriptor instead.

func (WorkspaceTransition)Number

func (WorkspaceTransition)String

func (xWorkspaceTransition) String()string

func (WorkspaceTransition)Type

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp