Documentation
¶
Index ¶
- func HandleInit(_ context.Context, args []string) error
- func HandleListHosts(ctx context.Context, tags []string) error
- func HandleMountSys(ctx context.Context, rawArgs []string) error
- func HandlePrefs(_ context.Context, args []string) error
- func HandlePush(ctx context.Context, args []string) error
- func HandleSSH(ctx context.Context, args []string) error
- func HandleSkirt(ctx context.Context, _ []string) error
- func HandleSvcCmd(args []string) error
- func HandleTailscale(ctx context.Context, args []string) error
- func Host() string
- func HostOverride() (string, bool)
- func ParseProgressMode(raw string) (catchrpc.ProgressMode, error)
- func PrintCLIError(w io.Writer, err error)
- func ResetUIConfig()
- func SetHost(host string)
- func SetHostOverride(host string)
- func SetServiceOverride(service string)
- func SetUIConfig(cfg UIConfig)
- type ProjectConfig
- func (c *ProjectConfig) AllHosts() []string
- func (c *ProjectConfig) RemoveServiceEntry(service, host string) bool
- func (c *ProjectConfig) ServiceEntry(service, host string) (ServiceEntry, bool)
- func (c *ProjectConfig) ServiceHosts(service string) []string
- func (c *ProjectConfig) SetServiceEntry(entry ServiceEntry)
- type ServiceEntry
- type UIConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleSvcCmd ¶
func HostOverride ¶
func ParseProgressMode ¶
func ParseProgressMode(raw string) (catchrpc.ProgressMode, error)
func PrintCLIError ¶
func ResetUIConfig ¶
func ResetUIConfig()
func SetHostOverride ¶
func SetHostOverride(host string)
func SetServiceOverride ¶
func SetServiceOverride(service string)
func SetUIConfig ¶
func SetUIConfig(cfg UIConfig)
Types ¶
type ProjectConfig ¶
type ProjectConfig struct {
Version int `toml:"version,omitempty"`
Hosts []string `toml:"hosts,omitempty"`
Services []ServiceEntry `toml:"services,omitempty"`
}
func (*ProjectConfig) AllHosts ¶
func (c *ProjectConfig) AllHosts() []string
func (*ProjectConfig) RemoveServiceEntry ¶
func (c *ProjectConfig) RemoveServiceEntry(service, host string) bool
func (*ProjectConfig) ServiceEntry ¶
func (c *ProjectConfig) ServiceEntry(service, host string) (ServiceEntry, bool)
func (*ProjectConfig) ServiceHosts ¶
func (c *ProjectConfig) ServiceHosts(service string) []string
func (*ProjectConfig) SetServiceEntry ¶
func (c *ProjectConfig) SetServiceEntry(entry ServiceEntry)
type ServiceEntry ¶
type UIConfig ¶
type UIConfig struct {
TTYOverride *bool
Progress catchrpc.ProgressMode
}
func CurrentUIConfig ¶
func CurrentUIConfig() UIConfig
Source Files
¶
- constants.go
- copy_cmd.go
- docker.go
- exec_remote.go
- exec_ui.go
- info_cmd.go
- init.go
- init_download.go
- init_install_filter.go
- init_release.go
- init_ui.go
- init_upload.go
- list_hosts.go
- payload.go
- prefs.go
- project_config.go
- project_resolve.go
- qualifier.go
- rpc_types.go
- run_changes.go
- service.go
- skirt.go
- ssh_cmd.go
- svc_cmd.go
- tailscale_setup.go
Click to show internal directories.
Click to hide internal directories.