Documentation ¶
Index ¶
- func CloneRepository(ctx context.Context, workspaceDir, repository, branch, helper string, ...) error
- func DownloadLocalFolder(ctx context.Context, workspaceDir string, client tunnel.TunnelClient, ...) error
- func InstallDocker(log log.Logger) error
- func NewBuildCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewDeleteCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewGetResultCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewLogsDaemonCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewStartCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewStatusCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewStopCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewUpCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewUpdateConfigCmd(flags *flags.GlobalFlags) *cobra.Command
- func NewWorkspaceCmd(flags *flags.GlobalFlags) *cobra.Command
- func PingURL(ctx context.Context, url string) error
- func PrepareImage(workspaceDir, image string) error
- func StartContainer(workspaceInfo *provider2.AgentWorkspaceInfo, log log.Logger) (*config.Result, error)
- type BuildCmd
- type DeleteCmd
- type GetResultCmd
- type LogsDaemonCmd
- type StartCmd
- type StatusCmd
- type StopCmd
- type UpCmd
- type UpdateConfigCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneRepository ¶
func DownloadLocalFolder ¶
func InstallDocker ¶
func NewBuildCmd ¶
func NewBuildCmd(flags *flags.GlobalFlags) *cobra.Command
NewBuildCmd creates a new command
func NewDeleteCmd ¶
func NewDeleteCmd(flags *flags.GlobalFlags) *cobra.Command
NewDeleteCmd creates a new command
func NewGetResultCmd ¶
func NewGetResultCmd(flags *flags.GlobalFlags) *cobra.Command
NewGetResultCmd creates a new command
func NewLogsDaemonCmd ¶ added in v0.0.3
func NewLogsDaemonCmd(flags *flags.GlobalFlags) *cobra.Command
NewLogsDaemonCmd creates a new command
func NewStartCmd ¶
func NewStartCmd(flags *flags.GlobalFlags) *cobra.Command
NewStartCmd creates a new command
func NewStatusCmd ¶
func NewStatusCmd(flags *flags.GlobalFlags) *cobra.Command
NewStatusCmd creates a new command
func NewStopCmd ¶
func NewStopCmd(flags *flags.GlobalFlags) *cobra.Command
NewStopCmd creates a new command
func NewUpCmd ¶
func NewUpCmd(flags *flags.GlobalFlags) *cobra.Command
NewUpCmd creates a new command
func NewUpdateConfigCmd ¶
func NewUpdateConfigCmd(flags *flags.GlobalFlags) *cobra.Command
NewUpdateConfigCmd creates a new command
func NewWorkspaceCmd ¶
func NewWorkspaceCmd(flags *flags.GlobalFlags) *cobra.Command
NewWorkspaceCmd returns a new command
func PrepareImage ¶
func StartContainer ¶
Types ¶
type BuildCmd ¶
type BuildCmd struct { *flags.GlobalFlags Repository string WorkspaceInfo string Platforms []string }
BuildCmd holds the cmd flags
type DeleteCmd ¶
type DeleteCmd struct { *flags.GlobalFlags Container bool Daemon bool ID string }
DeleteCmd holds the cmd flags
type GetResultCmd ¶
type GetResultCmd struct { *flags.GlobalFlags ID string }
GetResultCmd holds the cmd flags
type LogsDaemonCmd ¶ added in v0.0.3
type LogsDaemonCmd struct { *flags.GlobalFlags ID string }
LogsDaemonCmd holds the cmd flags
type StatusCmd ¶
type StatusCmd struct { *flags.GlobalFlags ID string }
StatusCmd holds the cmd flags
type UpCmd ¶
type UpCmd struct { *flags.GlobalFlags WorkspaceInfo string PrebuildRepositories []string ForceBuild bool Recreate bool }
UpCmd holds the up cmd flags
type UpdateConfigCmd ¶
type UpdateConfigCmd struct { *flags.GlobalFlags WorkspaceInfo string }
UpdateConfigCmd holds the cmd flags
Click to show internal directories.
Click to hide internal directories.