Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( EnvDaggerCloudToken = "DAGGER_CLOUD_TOKEN" EnvGPUSupport = "_EXPERIMENTAL_DAGGER_GPU_SUPPORT" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector interface {
	// Connect creates a connection to a dagger instance.
	//
	// Connect can be called multiple times during attempts to establish a
	// connection - but a connector can choose to block this call until
	// previously returned connections have been closed.
	Connect(ctx context.Context) (net.Conn, error)
}
    type Driver ¶
type Driver interface {
	// Provision creates any underlying resources for a driver, and returns a
	// Connector that can connect to it.
	Provision(ctx context.Context, rec *progrock.VertexRecorder, url *url.URL, opts *DriverOpts) (Connector, error)
}
    type DriverOpts ¶
 Click to show internal directories. 
   Click to hide internal directories.