provisioner

package
v0.30.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidArgument = errors.New("invalid argument")
View Source
var ErrWorkspaceExists = errors.New("workspace already exists")

Functions

This section is empty.

Types

type Client

type Client struct {
	provisionerv1.ProvisionerServiceClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg gapi.ClientConfig) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) ProvisionHandshake

func (c *Client) ProvisionHandshake(ctx context.Context, us userstr.UserStr, timeout int32) (workspaceName string, jobID string, stream grpc.ServerStreamingClient[provisionerv1.ProvisionWorkspaceResponse], err error)

ProvisionHandshake reads the first stream event that needs to be handshake.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL