proto

package
v0.27.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 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 */
	StartupScript   string            `protobuf:"bytes,4,opt,name=startup_script,json=startupScript,proto3" json:"startup_script,omitempty"`
	OperatingSystem string            `protobuf:"bytes,5,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
	Architecture    string            `protobuf:"bytes,6,opt,name=architecture,proto3" json:"architecture,omitempty"`
	Directory       string            `protobuf:"bytes,7,opt,name=directory,proto3" json:"directory,omitempty"`
	Apps            []*App            `protobuf:"bytes,8,rep,name=apps,proto3" json:"apps,omitempty"`
	// Types that are assignable to Auth:
	//
	//	*Agent_Token
	//	*Agent_InstanceId
	Auth                     isAgent_Auth `protobuf_oneof:"auth"`
	ConnectionTimeoutSeconds int32        `` /* 137-byte string literal not displayed */
	TroubleshootingUrl       string       `protobuf:"bytes,12,opt,name=troubleshooting_url,json=troubleshootingUrl,proto3" json:"troubleshooting_url,omitempty"`
	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.
	StartupScriptTimeoutSeconds  int32             `` /* 148-byte string literal not displayed */
	ShutdownScript               string            `protobuf:"bytes,16,opt,name=shutdown_script,json=shutdownScript,proto3" json:"shutdown_script,omitempty"`
	ShutdownScriptTimeoutSeconds int32             `` /* 151-byte string literal not displayed */
	Metadata                     []*Agent_Metadata `protobuf:"bytes,18,rep,name=metadata,proto3" json:"metadata,omitempty"`
	StartupScriptBehavior        string            `` /* 127-byte string literal not displayed */
	// 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 ¶ added in v0.6.2

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

func (*Agent) GetArchitecture ¶ added in v0.4.1

func (x *Agent) GetArchitecture() string

func (*Agent) GetAuth ¶

func (m *Agent) GetAuth() isAgent_Auth

func (*Agent) GetConnectionTimeoutSeconds ¶ added in v0.12.6

func (x *Agent) GetConnectionTimeoutSeconds() int32

func (*Agent) GetDirectory ¶ added in v0.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) GetMetadata ¶ added in v0.21.3

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

func (*Agent) GetMotdFile ¶ added in v0.13.0

func (x *Agent) GetMotdFile() string

func (*Agent) GetName ¶ added in v0.4.1

func (x *Agent) GetName() string

func (*Agent) GetOperatingSystem ¶ added in v0.4.1

func (x *Agent) GetOperatingSystem() string

func (*Agent) GetShutdownScript ¶ added in v0.19.0

func (x *Agent) GetShutdownScript() string

func (*Agent) GetShutdownScriptTimeoutSeconds ¶ added in v0.19.0

func (x *Agent) GetShutdownScriptTimeoutSeconds() int32

func (*Agent) GetStartupScript ¶

func (x *Agent) GetStartupScript() string

func (*Agent) GetStartupScriptBehavior ¶ added in v0.24.0

func (x *Agent) GetStartupScriptBehavior() string

func (*Agent) GetStartupScriptTimeoutSeconds ¶ added in v0.15.3

func (x *Agent) GetStartupScriptTimeoutSeconds() int32

func (*Agent) GetToken ¶

func (x *Agent) GetToken() string

func (*Agent) GetTroubleshootingUrl ¶ added in v0.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

type Agent_InstanceId ¶

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

type Agent_Metadata ¶ added in v0.21.3

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"`
	// contains filtered or unexported fields
}

func (*Agent_Metadata) Descriptor deprecated added in v0.21.3

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

Deprecated: Use Agent_Metadata.ProtoReflect.Descriptor instead.

func (*Agent_Metadata) GetDisplayName ¶ added in v0.21.3

func (x *Agent_Metadata) GetDisplayName() string

func (*Agent_Metadata) GetInterval ¶ added in v0.21.3

func (x *Agent_Metadata) GetInterval() int64

func (*Agent_Metadata) GetKey ¶ added in v0.21.3

func (x *Agent_Metadata) GetKey() string

func (*Agent_Metadata) GetScript ¶ added in v0.21.3

func (x *Agent_Metadata) GetScript() string

func (*Agent_Metadata) GetTimeout ¶ added in v0.21.3

func (x *Agent_Metadata) GetTimeout() int64

func (*Agent_Metadata) ProtoMessage ¶ added in v0.21.3

func (*Agent_Metadata) ProtoMessage()

func (*Agent_Metadata) ProtoReflect ¶ added in v0.21.3

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

func (*Agent_Metadata) Reset ¶ added in v0.21.3

func (x *Agent_Metadata) Reset()

func (*Agent_Metadata) String ¶ added in v0.21.3

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 ¶ added in v0.6.2

type App struct {

	// slug is the unique identifier for the app, usually the name from the
	// template. It must be URL-safe and hostname-safe.
	Slug         string          `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
	DisplayName  string          `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Command      string          `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
	Url          string          `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	Icon         string          `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"`
	Subdomain    bool            `protobuf:"varint,6,opt,name=subdomain,proto3" json:"subdomain,omitempty"`
	Healthcheck  *Healthcheck    `protobuf:"bytes,7,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"`
	SharingLevel AppSharingLevel `` /* 131-byte string literal not displayed */
	External     bool            `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) Descriptor deprecated added in v0.6.2

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

Deprecated: Use App.ProtoReflect.Descriptor instead.

func (*App) GetCommand ¶ added in v0.6.2

func (x *App) GetCommand() string

func (*App) GetDisplayName ¶ added in v0.12.0

func (x *App) GetDisplayName() string

func (*App) GetExternal ¶ added in v0.13.3

func (x *App) GetExternal() bool

func (*App) GetHealthcheck ¶ added in v0.9.0

func (x *App) GetHealthcheck() *Healthcheck

func (*App) GetIcon ¶ added in v0.6.2

func (x *App) GetIcon() string

func (*App) GetSharingLevel ¶ added in v0.10.0

func (x *App) GetSharingLevel() AppSharingLevel

func (*App) GetSlug ¶ added in v0.12.0

func (x *App) GetSlug() string

func (*App) GetSubdomain ¶ added in v0.9.4

func (x *App) GetSubdomain() bool

func (*App) GetUrl ¶ added in v0.6.2

func (x *App) GetUrl() string

func (*App) ProtoMessage ¶ added in v0.6.2

func (*App) ProtoMessage()

func (*App) ProtoReflect ¶ added in v0.6.2

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

func (*App) Reset ¶ added in v0.6.2

func (x *App) Reset()

func (*App) String ¶ added in v0.6.2

func (x *App) String() string

type AppSharingLevel ¶ added in v0.10.0

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

func (AppSharingLevel) Descriptor ¶ added in v0.10.0

func (AppSharingLevel) Enum ¶ added in v0.10.0

func (x AppSharingLevel) Enum() *AppSharingLevel

func (AppSharingLevel) EnumDescriptor deprecated added in v0.10.0

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

Deprecated: Use AppSharingLevel.Descriptor instead.

func (AppSharingLevel) Number ¶ added in v0.10.0

func (AppSharingLevel) String ¶ added in v0.10.0

func (x AppSharingLevel) String() string

func (AppSharingLevel) Type ¶ added in v0.10.0

type DRPCProvisionerClient ¶

type DRPCProvisionerClient interface {
	DRPCConn() drpc.Conn

	Parse(ctx context.Context, in *Parse_Request) (DRPCProvisioner_ParseClient, error)
	Provision(ctx context.Context) (DRPCProvisioner_ProvisionClient, error)
}

func NewDRPCProvisionerClient ¶

func NewDRPCProvisionerClient(cc drpc.Conn) DRPCProvisionerClient

type DRPCProvisionerDescription ¶

type DRPCProvisionerDescription struct{}

func (DRPCProvisionerDescription) 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 {
	Parse(*Parse_Request, DRPCProvisioner_ParseStream) error
	Provision(DRPCProvisioner_ProvisionStream) error
}

type DRPCProvisionerUnimplementedServer ¶

type DRPCProvisionerUnimplementedServer struct{}

func (*DRPCProvisionerUnimplementedServer) Parse ¶

func (*DRPCProvisionerUnimplementedServer) Provision ¶

type DRPCProvisioner_ParseClient ¶

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

type DRPCProvisioner_ParseStream ¶

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

type DRPCProvisioner_ProvisionClient ¶

type DRPCProvisioner_ProvisionClient interface {
	drpc.Stream
	Send(*Provision_Request) error
	Recv() (*Provision_Response, error)
}

type DRPCProvisioner_ProvisionStream ¶

type DRPCProvisioner_ProvisionStream interface {
	drpc.Stream
	Send(*Provision_Response) error
	Recv() (*Provision_Request, error)
}

type Empty ¶

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

Empty indicates a successful request/response.

func (*Empty) Descriptor deprecated

func (*Empty) 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 GitAuthProvider ¶ added in v0.18.0

type GitAuthProvider 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 (*GitAuthProvider) Descriptor deprecated added in v0.18.0

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

Deprecated: Use GitAuthProvider.ProtoReflect.Descriptor instead.

func (*GitAuthProvider) GetAccessToken ¶ added in v0.18.0

func (x *GitAuthProvider) GetAccessToken() string

func (*GitAuthProvider) GetId ¶ added in v0.18.0

func (x *GitAuthProvider) GetId() string

func (*GitAuthProvider) ProtoMessage ¶ added in v0.18.0

func (*GitAuthProvider) ProtoMessage()

func (*GitAuthProvider) ProtoReflect ¶ added in v0.18.0

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

func (*GitAuthProvider) Reset ¶ added in v0.18.0

func (x *GitAuthProvider) Reset()

func (*GitAuthProvider) String ¶ added in v0.18.0

func (x *GitAuthProvider) String() string

type Healthcheck ¶ added in v0.9.0

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

Healthcheck represents configuration for checking for app readiness.

func (*Healthcheck) Descriptor deprecated added in v0.9.0

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

Deprecated: Use Healthcheck.ProtoReflect.Descriptor instead.

func (*Healthcheck) GetInterval ¶ added in v0.9.0

func (x *Healthcheck) GetInterval() int32

func (*Healthcheck) GetThreshold ¶ added in v0.9.0

func (x *Healthcheck) GetThreshold() int32

func (*Healthcheck) GetUrl ¶ added in v0.9.0

func (x *Healthcheck) GetUrl() string

func (*Healthcheck) ProtoMessage ¶ added in v0.9.0

func (*Healthcheck) ProtoMessage()

func (*Healthcheck) ProtoReflect ¶ added in v0.9.0

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

func (*Healthcheck) Reset ¶ added in v0.9.0

func (x *Healthcheck) Reset()

func (*Healthcheck) String ¶ added in v0.9.0

func (x *Healthcheck) String() string

type InstanceIdentityAuth ¶ added in v0.4.1

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

func (*InstanceIdentityAuth) Descriptor deprecated added in v0.4.1

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

Deprecated: Use InstanceIdentityAuth.ProtoReflect.Descriptor instead.

func (*InstanceIdentityAuth) GetInstanceId ¶ added in v0.4.1

func (x *InstanceIdentityAuth) GetInstanceId() string

func (*InstanceIdentityAuth) ProtoMessage ¶ added in v0.4.1

func (*InstanceIdentityAuth) ProtoMessage()

func (*InstanceIdentityAuth) ProtoReflect ¶ added in v0.4.1

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

func (*InstanceIdentityAuth) Reset ¶ added in v0.4.1

func (x *InstanceIdentityAuth) Reset()

func (*InstanceIdentityAuth) String ¶ added in v0.4.1

func (x *InstanceIdentityAuth) String() string

type Log ¶

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

Log represents output from a request.

func (*Log) Descriptor deprecated

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

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

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

func (*Parse) Descriptor deprecated

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

type Parse_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) Descriptor deprecated

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

Deprecated: Use Parse_Complete.ProtoReflect.Descriptor instead.

func (*Parse_Complete) GetTemplateVariables ¶ added in v0.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

type Parse_Request ¶

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

func (*Parse_Request) Descriptor deprecated

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

Deprecated: Use Parse_Request.ProtoReflect.Descriptor instead.

func (*Parse_Request) GetDirectory ¶

func (x *Parse_Request) GetDirectory() string

func (*Parse_Request) ProtoMessage ¶

func (*Parse_Request) ProtoMessage()

func (*Parse_Request) ProtoReflect ¶

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

func (*Parse_Request) Reset ¶

func (x *Parse_Request) Reset()

func (*Parse_Request) String ¶

func (x *Parse_Request) String() string

type Parse_Response ¶

type Parse_Response struct {

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

func (*Parse_Response) Descriptor deprecated

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

Deprecated: Use Parse_Response.ProtoReflect.Descriptor instead.

func (*Parse_Response) GetComplete ¶

func (x *Parse_Response) GetComplete() *Parse_Complete

func (*Parse_Response) GetLog ¶

func (x *Parse_Response) GetLog() *Log

func (*Parse_Response) GetType ¶

func (m *Parse_Response) GetType() isParse_Response_Type

func (*Parse_Response) ProtoMessage ¶

func (*Parse_Response) ProtoMessage()

func (*Parse_Response) ProtoReflect ¶

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

func (*Parse_Response) Reset ¶

func (x *Parse_Response) Reset()

func (*Parse_Response) String ¶

func (x *Parse_Response) String() string

type Parse_Response_Complete ¶

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

type Parse_Response_Log ¶

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

type Provision ¶

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

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

func (*Provision) Descriptor deprecated

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

type Provision_Apply ¶ added in v0.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) Descriptor deprecated added in v0.12.7

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

Deprecated: Use Provision_Apply.ProtoReflect.Descriptor instead.

func (*Provision_Apply) GetConfig ¶ added in v0.12.7

func (x *Provision_Apply) GetConfig() *Provision_Config

func (*Provision_Apply) GetPlan ¶ added in v0.12.7

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

func (*Provision_Apply) ProtoMessage ¶ added in v0.12.7

func (*Provision_Apply) ProtoMessage()

func (*Provision_Apply) ProtoReflect ¶ added in v0.12.7

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

func (*Provision_Apply) Reset ¶ added in v0.12.7

func (x *Provision_Apply) Reset()

func (*Provision_Apply) String ¶ added in v0.12.7

func (x *Provision_Apply) String() string

type Provision_Cancel ¶

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

func (*Provision_Cancel) Descriptor deprecated

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

Deprecated: Use Provision_Cancel.ProtoReflect.Descriptor instead.

func (*Provision_Cancel) ProtoMessage ¶

func (*Provision_Cancel) ProtoMessage()

func (*Provision_Cancel) ProtoReflect ¶

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

func (*Provision_Cancel) Reset ¶

func (x *Provision_Cancel) Reset()

func (*Provision_Cancel) String ¶

func (x *Provision_Cancel) String() string

type Provision_Complete ¶

type Provision_Complete struct {
	State            []byte           `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	Error            string           `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Resources        []*Resource      `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"`
	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) Descriptor deprecated

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

Deprecated: Use Provision_Complete.ProtoReflect.Descriptor instead.

func (*Provision_Complete) GetError ¶

func (x *Provision_Complete) GetError() string

func (*Provision_Complete) GetGitAuthProviders ¶ added in v0.18.0

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

func (*Provision_Complete) GetParameters ¶ added in v0.15.0

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

func (*Provision_Complete) GetPlan ¶ added in v0.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

type Provision_Config ¶ added in v0.12.7

type Provision_Config struct {
	Directory           string              `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"`
	ProvisionerLogLevel string              `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 and Apply commands.

func (*Provision_Config) Descriptor deprecated added in v0.12.7

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

Deprecated: Use Provision_Config.ProtoReflect.Descriptor instead.

func (*Provision_Config) GetDirectory ¶ added in v0.12.7

func (x *Provision_Config) GetDirectory() string

func (*Provision_Config) GetMetadata ¶ added in v0.12.7

func (x *Provision_Config) GetMetadata() *Provision_Metadata

func (*Provision_Config) GetProvisionerLogLevel ¶ added in v0.21.3

func (x *Provision_Config) GetProvisionerLogLevel() string

func (*Provision_Config) GetState ¶ added in v0.12.7

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

func (*Provision_Config) ProtoMessage ¶ added in v0.12.7

func (*Provision_Config) ProtoMessage()

func (*Provision_Config) ProtoReflect ¶ added in v0.12.7

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

func (*Provision_Config) Reset ¶ added in v0.12.7

func (x *Provision_Config) Reset()

func (*Provision_Config) String ¶ added in v0.12.7

func (x *Provision_Config) String() string

type Provision_Metadata ¶

type Provision_Metadata struct {
	CoderUrl                      string              `protobuf:"bytes,1,opt,name=coder_url,json=coderUrl,proto3" json:"coder_url,omitempty"`
	WorkspaceTransition           WorkspaceTransition `` /* 156-byte string literal not displayed */
	WorkspaceName                 string              `protobuf:"bytes,3,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`
	WorkspaceOwner                string              `protobuf:"bytes,4,opt,name=workspace_owner,json=workspaceOwner,proto3" json:"workspace_owner,omitempty"`
	WorkspaceId                   string              `protobuf:"bytes,5,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	WorkspaceOwnerId              string              `protobuf:"bytes,6,opt,name=workspace_owner_id,json=workspaceOwnerId,proto3" json:"workspace_owner_id,omitempty"`
	WorkspaceOwnerEmail           string              `protobuf:"bytes,7,opt,name=workspace_owner_email,json=workspaceOwnerEmail,proto3" json:"workspace_owner_email,omitempty"`
	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 */
	// contains filtered or unexported fields
}

func (*Provision_Metadata) Descriptor deprecated

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

Deprecated: Use Provision_Metadata.ProtoReflect.Descriptor instead.

func (*Provision_Metadata) GetCoderUrl ¶

func (x *Provision_Metadata) GetCoderUrl() string

func (*Provision_Metadata) GetTemplateName ¶ added in v0.18.0

func (x *Provision_Metadata) GetTemplateName() string

func (*Provision_Metadata) GetTemplateVersion ¶ added in v0.18.0

func (x *Provision_Metadata) GetTemplateVersion() string

func (*Provision_Metadata) GetWorkspaceId ¶ added in v0.5.3

func (x *Provision_Metadata) GetWorkspaceId() string

func (*Provision_Metadata) GetWorkspaceName ¶

func (x *Provision_Metadata) GetWorkspaceName() string

func (*Provision_Metadata) GetWorkspaceOwner ¶

func (x *Provision_Metadata) GetWorkspaceOwner() string

func (*Provision_Metadata) GetWorkspaceOwnerEmail ¶ added in v0.8.0

func (x *Provision_Metadata) GetWorkspaceOwnerEmail() string

func (*Provision_Metadata) GetWorkspaceOwnerId ¶ added in v0.5.3

func (x *Provision_Metadata) GetWorkspaceOwnerId() string

func (*Provision_Metadata) GetWorkspaceOwnerOidcAccessToken ¶ added in v0.20.0

func (x *Provision_Metadata) GetWorkspaceOwnerOidcAccessToken() string

func (*Provision_Metadata) GetWorkspaceOwnerSessionToken ¶ added in v0.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

type Provision_Plan ¶ added in v0.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) Descriptor deprecated added in v0.12.7

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

Deprecated: Use Provision_Plan.ProtoReflect.Descriptor instead.

func (*Provision_Plan) GetConfig ¶ added in v0.12.7

func (x *Provision_Plan) GetConfig() *Provision_Config

func (*Provision_Plan) GetGitAuthProviders ¶ added in v0.18.0

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

func (*Provision_Plan) GetRichParameterValues ¶ added in v0.15.0

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

func (*Provision_Plan) GetVariableValues ¶ added in v0.17.4

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

func (*Provision_Plan) ProtoMessage ¶ added in v0.12.7

func (*Provision_Plan) ProtoMessage()

func (*Provision_Plan) ProtoReflect ¶ added in v0.12.7

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

func (*Provision_Plan) Reset ¶ added in v0.12.7

func (x *Provision_Plan) Reset()

func (*Provision_Plan) String ¶ added in v0.12.7

func (x *Provision_Plan) String() string

type Provision_Request ¶

type Provision_Request struct {

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

func (*Provision_Request) Descriptor deprecated

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

Deprecated: Use Provision_Request.ProtoReflect.Descriptor instead.

func (*Provision_Request) GetApply ¶ added in v0.12.7

func (x *Provision_Request) GetApply() *Provision_Apply

func (*Provision_Request) GetCancel ¶

func (x *Provision_Request) GetCancel() *Provision_Cancel

func (*Provision_Request) GetPlan ¶ added in v0.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

type Provision_Request_Apply ¶ added in v0.12.7

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

type Provision_Request_Cancel ¶

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

type Provision_Request_Plan ¶ added in v0.12.7

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

type Provision_Response ¶

type Provision_Response struct {

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

func (*Provision_Response) Descriptor deprecated

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

Deprecated: Use Provision_Response.ProtoReflect.Descriptor instead.

func (*Provision_Response) GetComplete ¶

func (x *Provision_Response) GetComplete() *Provision_Complete

func (*Provision_Response) GetLog ¶

func (x *Provision_Response) GetLog() *Log

func (*Provision_Response) GetType ¶

func (m *Provision_Response) GetType() isProvision_Response_Type

func (*Provision_Response) ProtoMessage ¶

func (*Provision_Response) ProtoMessage()

func (*Provision_Response) ProtoReflect ¶

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

func (*Provision_Response) Reset ¶

func (x *Provision_Response) Reset()

func (*Provision_Response) String ¶

func (x *Provision_Response) String() string

type Provision_Response_Complete ¶

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

type Provision_Response_Log ¶

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

type 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 ¶ added in v0.4.1

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

func (*Resource) GetDailyCost ¶ added in v0.12.7

func (x *Resource) GetDailyCost() int32

func (*Resource) GetHide ¶ added in v0.8.15

func (x *Resource) GetHide() bool

func (*Resource) GetIcon ¶ added in v0.8.15

func (x *Resource) GetIcon() string

func (*Resource) GetInstanceType ¶ added in v0.12.2

func (x *Resource) GetInstanceType() string

func (*Resource) GetMetadata ¶ added in v0.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

type Resource_Metadata ¶ added in v0.8.3

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

func (*Resource_Metadata) Descriptor deprecated added in v0.8.3

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

Deprecated: Use Resource_Metadata.ProtoReflect.Descriptor instead.

func (*Resource_Metadata) GetIsNull ¶ added in v0.8.3

func (x *Resource_Metadata) GetIsNull() bool

func (*Resource_Metadata) GetKey ¶ added in v0.8.3

func (x *Resource_Metadata) GetKey() string

func (*Resource_Metadata) GetSensitive ¶ added in v0.8.3

func (x *Resource_Metadata) GetSensitive() bool

func (*Resource_Metadata) GetValue ¶ added in v0.8.3

func (x *Resource_Metadata) GetValue() string

func (*Resource_Metadata) ProtoMessage ¶ added in v0.8.3

func (*Resource_Metadata) ProtoMessage()

func (*Resource_Metadata) ProtoReflect ¶ added in v0.8.3

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

func (*Resource_Metadata) Reset ¶ added in v0.8.3

func (x *Resource_Metadata) Reset()

func (*Resource_Metadata) String ¶ added in v0.8.3

func (x *Resource_Metadata) String() string

type RichParameter ¶ added in v0.15.0

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 added in v0.15.0

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

Deprecated: Use RichParameter.ProtoReflect.Descriptor instead.

func (*RichParameter) GetDefaultValue ¶ added in v0.15.0

func (x *RichParameter) GetDefaultValue() string

func (*RichParameter) GetDescription ¶ added in v0.15.0

func (x *RichParameter) GetDescription() string

func (*RichParameter) GetDisplayName ¶ added in v0.21.3

func (x *RichParameter) GetDisplayName() string

func (*RichParameter) GetEphemeral ¶ added in v0.26.0

func (x *RichParameter) GetEphemeral() bool

func (*RichParameter) GetIcon ¶ added in v0.15.0

func (x *RichParameter) GetIcon() string

func (*RichParameter) GetMutable ¶ added in v0.15.0

func (x *RichParameter) GetMutable() bool

func (*RichParameter) GetName ¶ added in v0.15.0

func (x *RichParameter) GetName() string

func (*RichParameter) GetOptions ¶ added in v0.15.0

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

func (*RichParameter) GetOrder ¶ added in v0.25.0

func (x *RichParameter) GetOrder() int32

func (*RichParameter) GetRequired ¶ added in v0.19.0

func (x *RichParameter) GetRequired() bool

func (*RichParameter) GetType ¶ added in v0.15.0

func (x *RichParameter) GetType() string

func (*RichParameter) GetValidationError ¶ added in v0.15.3

func (x *RichParameter) GetValidationError() string

func (*RichParameter) GetValidationMax ¶ added in v0.15.0

func (x *RichParameter) GetValidationMax() int32

func (*RichParameter) GetValidationMin ¶ added in v0.15.0

func (x *RichParameter) GetValidationMin() int32

func (*RichParameter) GetValidationMonotonic ¶ added in v0.17.0

func (x *RichParameter) GetValidationMonotonic() string

func (*RichParameter) GetValidationRegex ¶ added in v0.15.0

func (x *RichParameter) GetValidationRegex() string

func (*RichParameter) ProtoMessage ¶ added in v0.15.0

func (*RichParameter) ProtoMessage()

func (*RichParameter) ProtoReflect ¶ added in v0.15.0

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

func (*RichParameter) Reset ¶ added in v0.15.0

func (x *RichParameter) Reset()

func (*RichParameter) String ¶ added in v0.15.0

func (x *RichParameter) String() string

type RichParameterOption ¶ added in v0.15.0

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 added in v0.15.0

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

Deprecated: Use RichParameterOption.ProtoReflect.Descriptor instead.

func (*RichParameterOption) GetDescription ¶ added in v0.15.0

func (x *RichParameterOption) GetDescription() string

func (*RichParameterOption) GetIcon ¶ added in v0.15.0

func (x *RichParameterOption) GetIcon() string

func (*RichParameterOption) GetName ¶ added in v0.15.0

func (x *RichParameterOption) GetName() string

func (*RichParameterOption) GetValue ¶ added in v0.15.0

func (x *RichParameterOption) GetValue() string

func (*RichParameterOption) ProtoMessage ¶ added in v0.15.0

func (*RichParameterOption) ProtoMessage()

func (*RichParameterOption) ProtoReflect ¶ added in v0.15.0

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

func (*RichParameterOption) Reset ¶ added in v0.15.0

func (x *RichParameterOption) Reset()

func (*RichParameterOption) String ¶ added in v0.15.0

func (x *RichParameterOption) String() string

type RichParameterValue ¶ added in v0.15.0

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 added in v0.15.0

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

Deprecated: Use RichParameterValue.ProtoReflect.Descriptor instead.

func (*RichParameterValue) GetName ¶ added in v0.15.0

func (x *RichParameterValue) GetName() string

func (*RichParameterValue) GetValue ¶ added in v0.15.0

func (x *RichParameterValue) GetValue() string

func (*RichParameterValue) ProtoMessage ¶ added in v0.15.0

func (*RichParameterValue) ProtoMessage()

func (*RichParameterValue) ProtoReflect ¶ added in v0.15.0

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

func (*RichParameterValue) Reset ¶ added in v0.15.0

func (x *RichParameterValue) Reset()

func (*RichParameterValue) String ¶ added in v0.15.0

func (x *RichParameterValue) String() string

type TemplateVariable ¶ added in v0.17.4

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 added in v0.17.4

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

Deprecated: Use TemplateVariable.ProtoReflect.Descriptor instead.

func (*TemplateVariable) GetDefaultValue ¶ added in v0.17.4

func (x *TemplateVariable) GetDefaultValue() string

func (*TemplateVariable) GetDescription ¶ added in v0.17.4

func (x *TemplateVariable) GetDescription() string

func (*TemplateVariable) GetName ¶ added in v0.17.4

func (x *TemplateVariable) GetName() string

func (*TemplateVariable) GetRequired ¶ added in v0.17.4

func (x *TemplateVariable) GetRequired() bool

func (*TemplateVariable) GetSensitive ¶ added in v0.17.4

func (x *TemplateVariable) GetSensitive() bool

func (*TemplateVariable) GetType ¶ added in v0.17.4

func (x *TemplateVariable) GetType() string

func (*TemplateVariable) ProtoMessage ¶ added in v0.17.4

func (*TemplateVariable) ProtoMessage()

func (*TemplateVariable) ProtoReflect ¶ added in v0.17.4

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

func (*TemplateVariable) Reset ¶ added in v0.17.4

func (x *TemplateVariable) Reset()

func (*TemplateVariable) String ¶ added in v0.17.4

func (x *TemplateVariable) String() string

type VariableValue ¶ added in v0.17.4

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 added in v0.17.4

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

Deprecated: Use VariableValue.ProtoReflect.Descriptor instead.

func (*VariableValue) GetName ¶ added in v0.17.4

func (x *VariableValue) GetName() string

func (*VariableValue) GetSensitive ¶ added in v0.17.4

func (x *VariableValue) GetSensitive() bool

func (*VariableValue) GetValue ¶ added in v0.17.4

func (x *VariableValue) GetValue() string

func (*VariableValue) ProtoMessage ¶ added in v0.17.4

func (*VariableValue) ProtoMessage()

func (*VariableValue) ProtoReflect ¶ added in v0.17.4

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

func (*VariableValue) Reset ¶ added in v0.17.4

func (x *VariableValue) Reset()

func (*VariableValue) String ¶ added in v0.17.4

func (x *VariableValue) String() string

type WorkspaceTransition ¶

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

func (WorkspaceTransition) Descriptor ¶

func (WorkspaceTransition) 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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy