Help us shape the future of Go! Take the 2026 Go Developer Survey

ide

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReusesAuthSock

func ReusesAuthSock(ide string) bool

ReusesAuthSock determines if the --reuse-ssh-auth-sock flag should be passed to the ssh server helper based on the IDE. Browser based IDEs use a browser tunnel to communicate with the remote server instead of an independent ssh connection.

Types

type IDE

type IDE interface {
	Install() error
}

type Option

type Option struct {
	// Name is the name of the IDE option
	Name string `json:"name,omitempty"`

	// Description is the description of the IDE option
	Description string `json:"description,omitempty"`

	// Default is the default value for this option
	Default string `json:"default,omitempty"`

	// Enum is the possible values for this option
	Enum []string `json:"enum,omitempty"`

	// ValidationPattern to use to validate this option
	ValidationPattern string `json:"validationPattern,omitempty"`

	// ValidationMessage to print if validation fails
	ValidationMessage string `json:"validationMessage,omitempty"`
}

type Options

type Options map[string]Option

func (Options) GetValue

func (o Options) GetValue(values map[string]config.OptionValue, key string) string

type ProgressReader

type ProgressReader struct {
	Reader    io.Reader
	TotalSize int64
	// contains filtered or unexported fields
}

func (*ProgressReader) Read

func (p *ProgressReader) Read(b []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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