workspacebuild
package v0.27.3
Go to latest Published: Aug 1, 2023 License:AGPL-3.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:13 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeCleanupRunner¶
type CleanupRunner struct {// contains filtered or unexported fields}
CleanupRunner is a runner that deletes a workspace in the Run phase.
funcNewCleanupRunner¶
func NewCleanupRunner(client *codersdk.Client, workspaceIDuuid.UUID) *CleanupRunner
typeConfig¶
type Config struct {// OrganizationID is the ID of the organization to create the workspace in.OrganizationIDuuid.UUID `json:"organization_id"`// UserID is the ID of the user to run the test as.UserIDstring `json:"user_id"`// Request is the request to send to the Coder API to create the workspace.// request.template_id must be set. A name will be generated if not// specified.Requestcodersdk.CreateWorkspaceRequest `json:"request"`// NoWaitForAgents determines whether the test should wait for the workspace// agents to connect before returning.NoWaitForAgentsbool `json:"no_wait_for_agents"`}
Click to show internal directories.
Click to hide internal directories.