Documentation ¶
Index ¶
- Variables
- func AgentPersistentPreRunE(cobraCmd *cobra.Command, args []string, globalFlags *flags.GlobalFlags) error
- func NewAgentCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewContainerTunnelCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewDaemonCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewDockerCredentialsCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewGitCredentialsCmd(flags *flags.GlobalFlags) *cobra.Command
- func StartContainer(ctx context.Context, runner devcontainer.Runner, log log.Logger) (*config.Result, error)
- type ContainerTunnelCmd
- type DaemonCmd
- type DockerCredentialsCmd
- type GitCredentialsCmd
Constants ¶
This section is empty.
Variables ¶
View Source
var AgentExecutedAnnotation = "loft.sh/agent-executed"
Functions ¶
func AgentPersistentPreRunE ¶ added in v0.2.1
func NewAgentCmd ¶
func NewAgentCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewAgentCmd returns a new root command
func NewContainerTunnelCmd ¶
func NewContainerTunnelCmd(flags *flags.GlobalFlags) *cobra.Command
NewContainerTunnelCmd creates a new command
func NewDaemonCmd ¶
func NewDaemonCmd(flags *flags.GlobalFlags) *cobra.Command
NewDaemonCmd creates a new command
func NewDockerCredentialsCmd ¶
func NewDockerCredentialsCmd(flags *flags.GlobalFlags) *cobra.Command
NewDockerCredentialsCmd creates a new command
func NewGitCredentialsCmd ¶
func NewGitCredentialsCmd(flags *flags.GlobalFlags) *cobra.Command
NewGitCredentialsCmd creates a new command
Types ¶
type ContainerTunnelCmd ¶
type ContainerTunnelCmd struct { *flags.GlobalFlags WorkspaceInfo string User string }
ContainerTunnelCmd holds the ws-tunnel cmd flags
type DaemonCmd ¶
type DaemonCmd struct { *flags.GlobalFlags Interval string }
DaemonCmd holds the cmd flags
type DockerCredentialsCmd ¶
type DockerCredentialsCmd struct { *flags.GlobalFlags Port int }
DockerCredentialsCmd holds the cmd flags
type GitCredentialsCmd ¶
type GitCredentialsCmd struct { *flags.GlobalFlags Port int }
GitCredentialsCmd holds the cmd flags
Source Files ¶
Click to show internal directories.
Click to hide internal directories.