provisionerv1

package
v0.65.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProvisionerService_GetWorkspaces_FullMethodName            = "/provisioner.v1.ProvisionerService/GetWorkspaces"
	ProvisionerService_FindWorkspace_FullMethodName            = "/provisioner.v1.ProvisionerService/FindWorkspace"
	ProvisionerService_FindWorkspaceByAlias_FullMethodName     = "/provisioner.v1.ProvisionerService/FindWorkspaceByAlias"
	ProvisionerService_GetWorkspacesByUserStr_FullMethodName   = "/provisioner.v1.ProvisionerService/GetWorkspacesByUserStr"
	ProvisionerService_GetWorkspacesQuerySchema_FullMethodName = "/provisioner.v1.ProvisionerService/GetWorkspacesQuerySchema"
	ProvisionerService_QueryWorkspaces_FullMethodName          = "/provisioner.v1.ProvisionerService/QueryWorkspaces"
	ProvisionerService_ListBlueprints_FullMethodName           = "/provisioner.v1.ProvisionerService/ListBlueprints"
	ProvisionerService_GetBlueprintsQuerySchema_FullMethodName = "/provisioner.v1.ProvisionerService/GetBlueprintsQuerySchema"
	ProvisionerService_QueryBlueprints_FullMethodName          = "/provisioner.v1.ProvisionerService/QueryBlueprints"
	ProvisionerService_GetBlueprint_FullMethodName             = "/provisioner.v1.ProvisionerService/GetBlueprint"
	ProvisionerService_ValidateBlueprint_FullMethodName        = "/provisioner.v1.ProvisionerService/ValidateBlueprint"
	ProvisionerService_CreateBlueprint_FullMethodName          = "/provisioner.v1.ProvisionerService/CreateBlueprint"
	ProvisionerService_UpdateBlueprint_FullMethodName          = "/provisioner.v1.ProvisionerService/UpdateBlueprint"
	ProvisionerService_DeleteBlueprint_FullMethodName          = "/provisioner.v1.ProvisionerService/DeleteBlueprint"
	ProvisionerService_ProvisionWorkspaceStream_FullMethodName = "/provisioner.v1.ProvisionerService/ProvisionWorkspaceStream"
	ProvisionerService_DeleteWorkspace_FullMethodName          = "/provisioner.v1.ProvisionerService/DeleteWorkspace"
	ProvisionerService_DeleteUserWorkspaces_FullMethodName     = "/provisioner.v1.ProvisionerService/DeleteUserWorkspaces"
	ProvisionerService_StopWorkspace_FullMethodName            = "/provisioner.v1.ProvisionerService/StopWorkspace"
	ProvisionerService_UpdateWorkspaceResources_FullMethodName = "/provisioner.v1.ProvisionerService/UpdateWorkspaceResources"
	ProvisionerService_StartWorkspaceStream_FullMethodName     = "/provisioner.v1.ProvisionerService/StartWorkspaceStream"
	ProvisionerService_EjectWorkspace_FullMethodName           = "/provisioner.v1.ProvisionerService/EjectWorkspace"
	ProvisionerService_ListInjectNamespaces_FullMethodName     = "/provisioner.v1.ProvisionerService/ListInjectNamespaces"
	ProvisionerService_ListInjectWorkloads_FullMethodName      = "/provisioner.v1.ProvisionerService/ListInjectWorkloads"
	ProvisionerService_DiffWorkspaceBlueprint_FullMethodName   = "/provisioner.v1.ProvisionerService/DiffWorkspaceBlueprint"
	ProvisionerService_GetVersionInfo_FullMethodName           = "/provisioner.v1.ProvisionerService/GetVersionInfo"
)

Variables

View Source
var (
	BlueprintDiffOp_name = map[int32]string{
		0: "BLUEPRINT_DIFF_OP_UNSPECIFIED",
		1: "BLUEPRINT_DIFF_OP_EQUAL",
		2: "BLUEPRINT_DIFF_OP_REMOVED",
		3: "BLUEPRINT_DIFF_OP_ADDED",
		4: "BLUEPRINT_DIFF_OP_CHANGED",
	}
	BlueprintDiffOp_value = map[string]int32{
		"BLUEPRINT_DIFF_OP_UNSPECIFIED": 0,
		"BLUEPRINT_DIFF_OP_EQUAL":       1,
		"BLUEPRINT_DIFF_OP_REMOVED":     2,
		"BLUEPRINT_DIFF_OP_ADDED":       3,
		"BLUEPRINT_DIFF_OP_CHANGED":     4,
	}
)

Enum value maps for BlueprintDiffOp.

View Source
var File_provisioner_v1_provisioner_proto protoreflect.FileDescriptor
View Source
var ProvisionerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "provisioner.v1.ProvisionerService",
	HandlerType: (*ProvisionerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetWorkspaces",
			Handler:    _ProvisionerService_GetWorkspaces_Handler,
		},
		{
			MethodName: "FindWorkspace",
			Handler:    _ProvisionerService_FindWorkspace_Handler,
		},
		{
			MethodName: "FindWorkspaceByAlias",
			Handler:    _ProvisionerService_FindWorkspaceByAlias_Handler,
		},
		{
			MethodName: "GetWorkspacesByUserStr",
			Handler:    _ProvisionerService_GetWorkspacesByUserStr_Handler,
		},
		{
			MethodName: "GetWorkspacesQuerySchema",
			Handler:    _ProvisionerService_GetWorkspacesQuerySchema_Handler,
		},
		{
			MethodName: "QueryWorkspaces",
			Handler:    _ProvisionerService_QueryWorkspaces_Handler,
		},
		{
			MethodName: "ListBlueprints",
			Handler:    _ProvisionerService_ListBlueprints_Handler,
		},
		{
			MethodName: "GetBlueprintsQuerySchema",
			Handler:    _ProvisionerService_GetBlueprintsQuerySchema_Handler,
		},
		{
			MethodName: "QueryBlueprints",
			Handler:    _ProvisionerService_QueryBlueprints_Handler,
		},
		{
			MethodName: "GetBlueprint",
			Handler:    _ProvisionerService_GetBlueprint_Handler,
		},
		{
			MethodName: "ValidateBlueprint",
			Handler:    _ProvisionerService_ValidateBlueprint_Handler,
		},
		{
			MethodName: "CreateBlueprint",
			Handler:    _ProvisionerService_CreateBlueprint_Handler,
		},
		{
			MethodName: "UpdateBlueprint",
			Handler:    _ProvisionerService_UpdateBlueprint_Handler,
		},
		{
			MethodName: "DeleteBlueprint",
			Handler:    _ProvisionerService_DeleteBlueprint_Handler,
		},
		{
			MethodName: "DeleteWorkspace",
			Handler:    _ProvisionerService_DeleteWorkspace_Handler,
		},
		{
			MethodName: "DeleteUserWorkspaces",
			Handler:    _ProvisionerService_DeleteUserWorkspaces_Handler,
		},
		{
			MethodName: "StopWorkspace",
			Handler:    _ProvisionerService_StopWorkspace_Handler,
		},
		{
			MethodName: "UpdateWorkspaceResources",
			Handler:    _ProvisionerService_UpdateWorkspaceResources_Handler,
		},
		{
			MethodName: "EjectWorkspace",
			Handler:    _ProvisionerService_EjectWorkspace_Handler,
		},
		{
			MethodName: "ListInjectNamespaces",
			Handler:    _ProvisionerService_ListInjectNamespaces_Handler,
		},
		{
			MethodName: "ListInjectWorkloads",
			Handler:    _ProvisionerService_ListInjectWorkloads_Handler,
		},
		{
			MethodName: "DiffWorkspaceBlueprint",
			Handler:    _ProvisionerService_DiffWorkspaceBlueprint_Handler,
		},
		{
			MethodName: "GetVersionInfo",
			Handler:    _ProvisionerService_GetVersionInfo_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ProvisionWorkspaceStream",
			Handler:       _ProvisionerService_ProvisionWorkspaceStream_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "StartWorkspaceStream",
			Handler:       _ProvisionerService_StartWorkspaceStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "provisioner/v1/provisioner.proto",
}

ProvisionerService_ServiceDesc is the grpc.ServiceDesc for ProvisionerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterProvisionerServiceServer

func RegisterProvisionerServiceServer(s grpc.ServiceRegistrar, srv ProvisionerServiceServer)

Types

type BlueprintDiffOp added in v0.63.7

type BlueprintDiffOp int32

BlueprintDiffOp classifies one row of a side-by-side blueprint diff.

const (
	BlueprintDiffOp_BLUEPRINT_DIFF_OP_UNSPECIFIED BlueprintDiffOp = 0
	// EQUAL: the line is identical on both sides.
	BlueprintDiffOp_BLUEPRINT_DIFF_OP_EQUAL BlueprintDiffOp = 1
	// REMOVED: the line exists only in the workspace (left side).
	BlueprintDiffOp_BLUEPRINT_DIFF_OP_REMOVED BlueprintDiffOp = 2
	// ADDED: the line exists only in the current blueprint (right side).
	BlueprintDiffOp_BLUEPRINT_DIFF_OP_ADDED BlueprintDiffOp = 3
	// CHANGED: both sides hold a line at this position and they differ.
	BlueprintDiffOp_BLUEPRINT_DIFF_OP_CHANGED BlueprintDiffOp = 4
)

func (BlueprintDiffOp) Descriptor added in v0.63.7

func (BlueprintDiffOp) Enum added in v0.63.7

func (x BlueprintDiffOp) Enum() *BlueprintDiffOp

func (BlueprintDiffOp) EnumDescriptor deprecated added in v0.63.7

func (BlueprintDiffOp) EnumDescriptor() ([]byte, []int)

Deprecated: Use BlueprintDiffOp.Descriptor instead.

func (BlueprintDiffOp) Number added in v0.63.7

func (BlueprintDiffOp) String added in v0.63.7

func (x BlueprintDiffOp) String() string

func (BlueprintDiffOp) Type added in v0.63.7

type BlueprintDiffRow added in v0.63.7

type BlueprintDiffRow struct {
	Op BlueprintDiffOp `protobuf:"varint,1,opt,name=op,proto3,enum=provisioner.v1.BlueprintDiffOp" json:"op,omitempty"`
	// left_line is the 1-based line number in workspace_yaml, or 0.
	LeftLine int32  `protobuf:"varint,2,opt,name=left_line,json=leftLine,proto3" json:"left_line,omitempty"`
	LeftText string `protobuf:"bytes,3,opt,name=left_text,json=leftText,proto3" json:"left_text,omitempty"`
	// right_line is the 1-based line number in blueprint_yaml, or 0.
	RightLine int32  `protobuf:"varint,4,opt,name=right_line,json=rightLine,proto3" json:"right_line,omitempty"`
	RightText string `protobuf:"bytes,5,opt,name=right_text,json=rightText,proto3" json:"right_text,omitempty"`
	// contains filtered or unexported fields
}

BlueprintDiffRow is one aligned row of a side-by-side diff. The left fields are empty (and left_line 0) for an ADDED row; the right fields are empty (and right_line 0) for a REMOVED row.

func (*BlueprintDiffRow) Descriptor deprecated added in v0.63.7

func (*BlueprintDiffRow) Descriptor() ([]byte, []int)

Deprecated: Use BlueprintDiffRow.ProtoReflect.Descriptor instead.

func (*BlueprintDiffRow) GetLeftLine added in v0.63.7

func (x *BlueprintDiffRow) GetLeftLine() int32

func (*BlueprintDiffRow) GetLeftText added in v0.63.7

func (x *BlueprintDiffRow) GetLeftText() string

func (*BlueprintDiffRow) GetOp added in v0.63.7

func (x *BlueprintDiffRow) GetOp() BlueprintDiffOp

func (*BlueprintDiffRow) GetRightLine added in v0.63.7

func (x *BlueprintDiffRow) GetRightLine() int32

func (*BlueprintDiffRow) GetRightText added in v0.63.7

func (x *BlueprintDiffRow) GetRightText() string

func (*BlueprintDiffRow) ProtoMessage added in v0.63.7

func (*BlueprintDiffRow) ProtoMessage()

func (*BlueprintDiffRow) ProtoReflect added in v0.63.7

func (x *BlueprintDiffRow) ProtoReflect() protoreflect.Message

func (*BlueprintDiffRow) Reset added in v0.63.7

func (x *BlueprintDiffRow) Reset()

func (*BlueprintDiffRow) String added in v0.63.7

func (x *BlueprintDiffRow) String() string

type BlueprintValidationError added in v0.48.0

type BlueprintValidationError struct {

	// line is the 1-indexed source line the error applies to, or 0 when the
	// underlying validator does not report a position (e.g. schema checks that
	// operate on the decoded blueprint rather than the YAML source).
	Line int32 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
	// column is the 1-indexed source column the error applies to, or 0 when unknown.
	Column int32 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
	// field is the blueprint field the error applies to, if applicable.
	Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"`
	// message is a human-readable description of the problem.
	Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

BlueprintValidationError describes a single problem found while validating a blueprint.

func (*BlueprintValidationError) Descriptor deprecated added in v0.48.0

func (*BlueprintValidationError) Descriptor() ([]byte, []int)

Deprecated: Use BlueprintValidationError.ProtoReflect.Descriptor instead.

func (*BlueprintValidationError) GetColumn added in v0.48.0

func (x *BlueprintValidationError) GetColumn() int32

func (*BlueprintValidationError) GetField added in v0.48.0

func (x *BlueprintValidationError) GetField() string

func (*BlueprintValidationError) GetLine added in v0.48.0

func (x *BlueprintValidationError) GetLine() int32

func (*BlueprintValidationError) GetMessage added in v0.48.0

func (x *BlueprintValidationError) GetMessage() string

func (*BlueprintValidationError) ProtoMessage added in v0.48.0

func (*BlueprintValidationError) ProtoMessage()

func (*BlueprintValidationError) ProtoReflect added in v0.48.0

func (x *BlueprintValidationError) ProtoReflect() protoreflect.Message

func (*BlueprintValidationError) Reset added in v0.48.0

func (x *BlueprintValidationError) Reset()

func (*BlueprintValidationError) String added in v0.48.0

func (x *BlueprintValidationError) String() string

type CreateBlueprintRequest added in v0.49.0

type CreateBlueprintRequest struct {
	Org  string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`   // required
	Yaml []byte `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // required: a bare blueprint document or one wrapped in a top-level `blueprint:` key
	// contains filtered or unexported fields
}

CreateBlueprintRequest registers a new org-scoped blueprint from a YAML document. name, description and is_template are read from the document; org is the only other input.

func (*CreateBlueprintRequest) Descriptor deprecated added in v0.49.0

func (*CreateBlueprintRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateBlueprintRequest.ProtoReflect.Descriptor instead.

func (*CreateBlueprintRequest) GetOrg added in v0.49.0

func (x *CreateBlueprintRequest) GetOrg() string

func (*CreateBlueprintRequest) GetYaml added in v0.49.0

func (x *CreateBlueprintRequest) GetYaml() []byte

func (*CreateBlueprintRequest) ProtoMessage added in v0.49.0

func (*CreateBlueprintRequest) ProtoMessage()

func (*CreateBlueprintRequest) ProtoReflect added in v0.49.0

func (x *CreateBlueprintRequest) ProtoReflect() protoreflect.Message

func (*CreateBlueprintRequest) Reset added in v0.49.0

func (x *CreateBlueprintRequest) Reset()

func (*CreateBlueprintRequest) String added in v0.49.0

func (x *CreateBlueprintRequest) String() string

type DeleteBlueprintRequest added in v0.49.0

type DeleteBlueprintRequest struct {
	Org  string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`   // required
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // required
	// contains filtered or unexported fields
}

DeleteBlueprintRequest identifies the org-scoped blueprint to remove, by org and name.

func (*DeleteBlueprintRequest) Descriptor deprecated added in v0.49.0

func (*DeleteBlueprintRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBlueprintRequest.ProtoReflect.Descriptor instead.

func (*DeleteBlueprintRequest) GetName added in v0.49.0

func (x *DeleteBlueprintRequest) GetName() string

func (*DeleteBlueprintRequest) GetOrg added in v0.49.0

func (x *DeleteBlueprintRequest) GetOrg() string

func (*DeleteBlueprintRequest) ProtoMessage added in v0.49.0

func (*DeleteBlueprintRequest) ProtoMessage()

func (*DeleteBlueprintRequest) ProtoReflect added in v0.49.0

func (x *DeleteBlueprintRequest) ProtoReflect() protoreflect.Message

func (*DeleteBlueprintRequest) Reset added in v0.49.0

func (x *DeleteBlueprintRequest) Reset()

func (*DeleteBlueprintRequest) String added in v0.49.0

func (x *DeleteBlueprintRequest) String() string

type DeleteBlueprintResponse added in v0.49.0

type DeleteBlueprintResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

DeleteBlueprintResponse indicates whether the deletion was successful.

func (*DeleteBlueprintResponse) Descriptor deprecated added in v0.49.0

func (*DeleteBlueprintResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBlueprintResponse.ProtoReflect.Descriptor instead.

func (*DeleteBlueprintResponse) GetSuccess added in v0.49.0

func (x *DeleteBlueprintResponse) GetSuccess() bool

func (*DeleteBlueprintResponse) ProtoMessage added in v0.49.0

func (*DeleteBlueprintResponse) ProtoMessage()

func (*DeleteBlueprintResponse) ProtoReflect added in v0.49.0

func (x *DeleteBlueprintResponse) ProtoReflect() protoreflect.Message

func (*DeleteBlueprintResponse) Reset added in v0.49.0

func (x *DeleteBlueprintResponse) Reset()

func (*DeleteBlueprintResponse) String added in v0.49.0

func (x *DeleteBlueprintResponse) String() string

type DeleteUserWorkspacesRequest added in v0.34.2

type DeleteUserWorkspacesRequest struct {

	// username is the owner whose standalone and injected workspaces will be deleted.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

DeleteUserWorkspacesRequest identifies the user whose workspaces should all be hard-deleted.

func (*DeleteUserWorkspacesRequest) Descriptor deprecated added in v0.34.2

func (*DeleteUserWorkspacesRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserWorkspacesRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserWorkspacesRequest) GetUsername added in v0.34.2

func (x *DeleteUserWorkspacesRequest) GetUsername() string

func (*DeleteUserWorkspacesRequest) ProtoMessage added in v0.34.2

func (*DeleteUserWorkspacesRequest) ProtoMessage()

func (*DeleteUserWorkspacesRequest) ProtoReflect added in v0.34.2

func (*DeleteUserWorkspacesRequest) Reset added in v0.34.2

func (x *DeleteUserWorkspacesRequest) Reset()

func (*DeleteUserWorkspacesRequest) String added in v0.34.2

func (x *DeleteUserWorkspacesRequest) String() string

type DeleteUserWorkspacesResponse added in v0.34.2

type DeleteUserWorkspacesResponse struct {

	// message provides a human-readable description of the result.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// workspaces lists the names of the workspaces that were found for the
	// user and queued for deletion at the time the request was accepted.
	Workspaces []string `protobuf:"bytes,2,rep,name=workspaces,proto3" json:"workspaces,omitempty"`
	// contains filtered or unexported fields
}

DeleteUserWorkspacesResponse reports the outcome of submitting the bulk delete request. Deletion happens asynchronously; this response confirms what was queued, not that deletion has completed.

func (*DeleteUserWorkspacesResponse) Descriptor deprecated added in v0.34.2

func (*DeleteUserWorkspacesResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserWorkspacesResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserWorkspacesResponse) GetMessage added in v0.34.2

func (x *DeleteUserWorkspacesResponse) GetMessage() string

func (*DeleteUserWorkspacesResponse) GetWorkspaces added in v0.34.2

func (x *DeleteUserWorkspacesResponse) GetWorkspaces() []string

func (*DeleteUserWorkspacesResponse) ProtoMessage added in v0.34.2

func (*DeleteUserWorkspacesResponse) ProtoMessage()

func (*DeleteUserWorkspacesResponse) ProtoReflect added in v0.34.2

func (*DeleteUserWorkspacesResponse) Reset added in v0.34.2

func (x *DeleteUserWorkspacesResponse) Reset()

func (*DeleteUserWorkspacesResponse) String added in v0.34.2

type DeleteWorkspaceRequest

type DeleteWorkspaceRequest struct {

	// workspace is the name of the workspace to delete.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// delay_seconds defers deletion by the given number of seconds, allowing
	// in-flight operations to complete gracefully. Use 0 for immediate deletion.
	DelaySeconds uint32 `protobuf:"varint,2,opt,name=delay_seconds,json=delaySeconds,proto3" json:"delay_seconds,omitempty"`
	// contains filtered or unexported fields
}

DeleteWorkspaceRequest identifies the workspace to delete.

func (*DeleteWorkspaceRequest) Descriptor deprecated

func (*DeleteWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkspaceRequest) GetDelaySeconds

func (x *DeleteWorkspaceRequest) GetDelaySeconds() uint32

func (*DeleteWorkspaceRequest) GetWorkspace

func (x *DeleteWorkspaceRequest) GetWorkspace() string

func (*DeleteWorkspaceRequest) ProtoMessage

func (*DeleteWorkspaceRequest) ProtoMessage()

func (*DeleteWorkspaceRequest) ProtoReflect

func (x *DeleteWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*DeleteWorkspaceRequest) Reset

func (x *DeleteWorkspaceRequest) Reset()

func (*DeleteWorkspaceRequest) String

func (x *DeleteWorkspaceRequest) String() string

type DeleteWorkspaceResponse

type DeleteWorkspaceResponse struct {

	// message provides a human-readable description of the result.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

DeleteWorkspaceResponse reports the outcome of the delete operation.

func (*DeleteWorkspaceResponse) Descriptor deprecated

func (*DeleteWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*DeleteWorkspaceResponse) GetMessage

func (x *DeleteWorkspaceResponse) GetMessage() string

func (*DeleteWorkspaceResponse) ProtoMessage

func (*DeleteWorkspaceResponse) ProtoMessage()

func (*DeleteWorkspaceResponse) ProtoReflect

func (x *DeleteWorkspaceResponse) ProtoReflect() protoreflect.Message

func (*DeleteWorkspaceResponse) Reset

func (x *DeleteWorkspaceResponse) Reset()

func (*DeleteWorkspaceResponse) String

func (x *DeleteWorkspaceResponse) String() string

type DiffWorkspaceBlueprintRequest added in v0.63.7

type DiffWorkspaceBlueprintRequest struct {

	// workspace is the unique name of the workspace.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

DiffWorkspaceBlueprintRequest identifies the workspace to diff.

func (*DiffWorkspaceBlueprintRequest) Descriptor deprecated added in v0.63.7

func (*DiffWorkspaceBlueprintRequest) Descriptor() ([]byte, []int)

Deprecated: Use DiffWorkspaceBlueprintRequest.ProtoReflect.Descriptor instead.

func (*DiffWorkspaceBlueprintRequest) GetWorkspace added in v0.63.7

func (x *DiffWorkspaceBlueprintRequest) GetWorkspace() string

func (*DiffWorkspaceBlueprintRequest) ProtoMessage added in v0.63.7

func (*DiffWorkspaceBlueprintRequest) ProtoMessage()

func (*DiffWorkspaceBlueprintRequest) ProtoReflect added in v0.63.7

func (*DiffWorkspaceBlueprintRequest) Reset added in v0.63.7

func (x *DiffWorkspaceBlueprintRequest) Reset()

func (*DiffWorkspaceBlueprintRequest) String added in v0.63.7

type DiffWorkspaceBlueprintResponse added in v0.63.7

type DiffWorkspaceBlueprintResponse struct {

	// identical is true when both sides render to the same YAML; rows is then
	// all EQUAL.
	Identical bool `protobuf:"varint,1,opt,name=identical,proto3" json:"identical,omitempty"`
	// workspace_revision is the blueprint revision the workspace was
	// provisioned from, empty when it was not recorded.
	WorkspaceRevision string `protobuf:"bytes,2,opt,name=workspace_revision,json=workspaceRevision,proto3" json:"workspace_revision,omitempty"`
	// blueprint_revision is the current revision of the workspace's blueprint.
	BlueprintRevision string `protobuf:"bytes,3,opt,name=blueprint_revision,json=blueprintRevision,proto3" json:"blueprint_revision,omitempty"`
	// workspace_yaml is the blueprint recovered from the workspace's stored
	// values, normalized and redacted.
	WorkspaceYaml string `protobuf:"bytes,4,opt,name=workspace_yaml,json=workspaceYaml,proto3" json:"workspace_yaml,omitempty"`
	// blueprint_yaml is the workspace's blueprint as it resolves now,
	// normalized and redacted the same way.
	BlueprintYaml string `protobuf:"bytes,5,opt,name=blueprint_yaml,json=blueprintYaml,proto3" json:"blueprint_yaml,omitempty"`
	// rows is the full document aligned for side-by-side display, in order.
	Rows []*BlueprintDiffRow `protobuf:"bytes,6,rep,name=rows,proto3" json:"rows,omitempty"`
	// added, removed and changed count the rows of each non-EQUAL op.
	Added   int32 `protobuf:"varint,7,opt,name=added,proto3" json:"added,omitempty"`
	Removed int32 `protobuf:"varint,8,opt,name=removed,proto3" json:"removed,omitempty"`
	Changed int32 `protobuf:"varint,9,opt,name=changed,proto3" json:"changed,omitempty"`
	// contains filtered or unexported fields
}

DiffWorkspaceBlueprintResponse is the side-by-side diff of a workspace's blueprint against its current blueprint.

func (*DiffWorkspaceBlueprintResponse) Descriptor deprecated added in v0.63.7

func (*DiffWorkspaceBlueprintResponse) Descriptor() ([]byte, []int)

Deprecated: Use DiffWorkspaceBlueprintResponse.ProtoReflect.Descriptor instead.

func (*DiffWorkspaceBlueprintResponse) GetAdded added in v0.63.7

func (x *DiffWorkspaceBlueprintResponse) GetAdded() int32

func (*DiffWorkspaceBlueprintResponse) GetBlueprintRevision added in v0.63.7

func (x *DiffWorkspaceBlueprintResponse) GetBlueprintRevision() string

func (*DiffWorkspaceBlueprintResponse) GetBlueprintYaml added in v0.63.7

func (x *DiffWorkspaceBlueprintResponse) GetBlueprintYaml() string

func (*DiffWorkspaceBlueprintResponse) GetChanged added in v0.63.7

func (x *DiffWorkspaceBlueprintResponse) GetChanged() int32

func (*DiffWorkspaceBlueprintResponse) GetIdentical added in v0.63.7

func (x *DiffWorkspaceBlueprintResponse) GetIdentical() bool

func (*DiffWorkspaceBlueprintResponse) GetRemoved added in v0.63.7

func (x *DiffWorkspaceBlueprintResponse) GetRemoved() int32

func (*DiffWorkspaceBlueprintResponse) GetRows added in v0.63.7

func (*DiffWorkspaceBlueprintResponse) GetWorkspaceRevision added in v0.63.7

func (x *DiffWorkspaceBlueprintResponse) GetWorkspaceRevision() string

func (*DiffWorkspaceBlueprintResponse) GetWorkspaceYaml added in v0.63.7

func (x *DiffWorkspaceBlueprintResponse) GetWorkspaceYaml() string

func (*DiffWorkspaceBlueprintResponse) ProtoMessage added in v0.63.7

func (*DiffWorkspaceBlueprintResponse) ProtoMessage()

func (*DiffWorkspaceBlueprintResponse) ProtoReflect added in v0.63.7

func (*DiffWorkspaceBlueprintResponse) Reset added in v0.63.7

func (x *DiffWorkspaceBlueprintResponse) Reset()

func (*DiffWorkspaceBlueprintResponse) String added in v0.63.7

type EjectWorkspaceRequest

type EjectWorkspaceRequest struct {

	// userstr identifies the workspace to eject.
	Userstr string `protobuf:"bytes,1,opt,name=userstr,proto3" json:"userstr,omitempty"`
	// namespace is the Kubernetes namespace that contains the target workload.
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// workload_kind is the Kubernetes resource kind of the target workload (e.g. Deployment, StatefulSet, DaemonSet).
	WorkloadKind string `protobuf:"bytes,3,opt,name=workload_kind,json=workloadKind,proto3" json:"workload_kind,omitempty"`
	// workload_name is the name of the target workload to eject from.
	WorkloadName string `protobuf:"bytes,4,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"`
	// timeout_seconds is how long to wait for the rolling update to settle.
	// Defaults to 60 if unset or 0.
	TimeoutSeconds int32 `protobuf:"varint,5,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
	// contains filtered or unexported fields
}

EjectWorkspaceRequest identifies the workload from which to eject a workspace.

func (*EjectWorkspaceRequest) Descriptor deprecated

func (*EjectWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use EjectWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*EjectWorkspaceRequest) GetNamespace

func (x *EjectWorkspaceRequest) GetNamespace() string

func (*EjectWorkspaceRequest) GetTimeoutSeconds

func (x *EjectWorkspaceRequest) GetTimeoutSeconds() int32

func (*EjectWorkspaceRequest) GetUserstr

func (x *EjectWorkspaceRequest) GetUserstr() string

func (*EjectWorkspaceRequest) GetWorkloadKind

func (x *EjectWorkspaceRequest) GetWorkloadKind() string

func (*EjectWorkspaceRequest) GetWorkloadName

func (x *EjectWorkspaceRequest) GetWorkloadName() string

func (*EjectWorkspaceRequest) ProtoMessage

func (*EjectWorkspaceRequest) ProtoMessage()

func (*EjectWorkspaceRequest) ProtoReflect

func (x *EjectWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*EjectWorkspaceRequest) Reset

func (x *EjectWorkspaceRequest) Reset()

func (*EjectWorkspaceRequest) String

func (x *EjectWorkspaceRequest) String() string

type EjectWorkspaceResponse

type EjectWorkspaceResponse struct {

	// workspace is the canonical workspace name that was ejected.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

EjectWorkspaceResponse reports the outcome of the eject operation.

func (*EjectWorkspaceResponse) Descriptor deprecated

func (*EjectWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use EjectWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*EjectWorkspaceResponse) GetWorkspace

func (x *EjectWorkspaceResponse) GetWorkspace() string

func (*EjectWorkspaceResponse) ProtoMessage

func (*EjectWorkspaceResponse) ProtoMessage()

func (*EjectWorkspaceResponse) ProtoReflect

func (x *EjectWorkspaceResponse) ProtoReflect() protoreflect.Message

func (*EjectWorkspaceResponse) Reset

func (x *EjectWorkspaceResponse) Reset()

func (*EjectWorkspaceResponse) String

func (x *EjectWorkspaceResponse) String() string

type FindWorkspaceByAliasRequest added in v0.62.2

type FindWorkspaceByAliasRequest struct {

	// org is the organization the alias is scoped to.
	Org string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`
	// alias is the web-proxy alias to look up.
	Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
	// contains filtered or unexported fields
}

FindWorkspaceByAliasRequest identifies a workspace by its web-proxy alias.

func (*FindWorkspaceByAliasRequest) Descriptor deprecated added in v0.62.2

func (*FindWorkspaceByAliasRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindWorkspaceByAliasRequest.ProtoReflect.Descriptor instead.

func (*FindWorkspaceByAliasRequest) GetAlias added in v0.62.2

func (x *FindWorkspaceByAliasRequest) GetAlias() string

func (*FindWorkspaceByAliasRequest) GetOrg added in v0.62.2

func (x *FindWorkspaceByAliasRequest) GetOrg() string

func (*FindWorkspaceByAliasRequest) ProtoMessage added in v0.62.2

func (*FindWorkspaceByAliasRequest) ProtoMessage()

func (*FindWorkspaceByAliasRequest) ProtoReflect added in v0.62.2

func (*FindWorkspaceByAliasRequest) Reset added in v0.62.2

func (x *FindWorkspaceByAliasRequest) Reset()

func (*FindWorkspaceByAliasRequest) String added in v0.62.2

func (x *FindWorkspaceByAliasRequest) String() string

type FindWorkspaceRequest

type FindWorkspaceRequest struct {

	// workspace is the unique name of the workspace.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

FindWorkspaceRequest identifies a single workspace to look up.

func (*FindWorkspaceRequest) Descriptor deprecated

func (*FindWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use FindWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*FindWorkspaceRequest) GetWorkspace

func (x *FindWorkspaceRequest) GetWorkspace() string

func (*FindWorkspaceRequest) ProtoMessage

func (*FindWorkspaceRequest) ProtoMessage()

func (*FindWorkspaceRequest) ProtoReflect

func (x *FindWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*FindWorkspaceRequest) Reset

func (x *FindWorkspaceRequest) Reset()

func (*FindWorkspaceRequest) String

func (x *FindWorkspaceRequest) String() string

type GetBlueprintRequest added in v0.48.0

type GetBlueprintRequest struct {

	// name is the unique identifier of the blueprint.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// org optionally scopes the lookup to an organization. When set, an
	// org-scoped database blueprint named `name` in this org is returned in
	// preference to a file-based blueprint of the same name; when empty, only
	// file-based global blueprints are considered.
	Org string `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"`
	// contains filtered or unexported fields
}

GetBlueprintRequest identifies a single blueprint to look up.

func (*GetBlueprintRequest) Descriptor deprecated added in v0.48.0

func (*GetBlueprintRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBlueprintRequest.ProtoReflect.Descriptor instead.

func (*GetBlueprintRequest) GetName added in v0.48.0

func (x *GetBlueprintRequest) GetName() string

func (*GetBlueprintRequest) GetOrg added in v0.49.0

func (x *GetBlueprintRequest) GetOrg() string

func (*GetBlueprintRequest) ProtoMessage added in v0.48.0

func (*GetBlueprintRequest) ProtoMessage()

func (*GetBlueprintRequest) ProtoReflect added in v0.48.0

func (x *GetBlueprintRequest) ProtoReflect() protoreflect.Message

func (*GetBlueprintRequest) Reset added in v0.48.0

func (x *GetBlueprintRequest) Reset()

func (*GetBlueprintRequest) String added in v0.48.0

func (x *GetBlueprintRequest) String() string

type GetBlueprintResponse added in v0.48.0

type GetBlueprintResponse struct {
	Blueprint    []byte `protobuf:"bytes,1,opt,name=blueprint,proto3" json:"blueprint,omitempty"`                           // raw blueprint YAML content, merged with Template
	OwnBlueprint []byte `protobuf:"bytes,2,opt,name=own_blueprint,json=ownBlueprint,proto3" json:"own_blueprint,omitempty"` // raw YAML content defined directly on this blueprint
	Template     string `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"`                             // name of the immediate parent Template, if any
	// revision is a short content hash of blueprint (the merged content), see
	// common.v1.BlueprintSummary.revision. Pass it back as
	// UpdateBlueprintRequest.expected_revision to update with optimistic
	// concurrency control.
	Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

GetBlueprintResponse carries the raw (unevaluated) YAML content of the requested blueprint, both fully merged with its inherited Template and as defined directly on the blueprint itself. A field present in blueprint but absent from own_blueprint is inherited rather than set on this blueprint; clients editing a blueprint should only write back fields present in own_blueprint (plus whatever the user changed), so unmodified inherited values are not pinned onto the child blueprint.

func (*GetBlueprintResponse) Descriptor deprecated added in v0.48.0

func (*GetBlueprintResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBlueprintResponse.ProtoReflect.Descriptor instead.

func (*GetBlueprintResponse) GetBlueprint added in v0.48.0

func (x *GetBlueprintResponse) GetBlueprint() []byte

func (*GetBlueprintResponse) GetOwnBlueprint added in v0.48.0

func (x *GetBlueprintResponse) GetOwnBlueprint() []byte

func (*GetBlueprintResponse) GetRevision added in v0.63.7

func (x *GetBlueprintResponse) GetRevision() string

func (*GetBlueprintResponse) GetTemplate added in v0.48.0

func (x *GetBlueprintResponse) GetTemplate() string

func (*GetBlueprintResponse) ProtoMessage added in v0.48.0

func (*GetBlueprintResponse) ProtoMessage()

func (*GetBlueprintResponse) ProtoReflect added in v0.48.0

func (x *GetBlueprintResponse) ProtoReflect() protoreflect.Message

func (*GetBlueprintResponse) Reset added in v0.48.0

func (x *GetBlueprintResponse) Reset()

func (*GetBlueprintResponse) String added in v0.48.0

func (x *GetBlueprintResponse) String() string

type GetBlueprintsQuerySchemaRequest added in v0.49.0

type GetBlueprintsQuerySchemaRequest struct {
	// contains filtered or unexported fields
}

GetBlueprintsQuerySchemaRequest requests the query.v1.Descriptor for the blueprints resource. It carries no fields today; left as a message rather than google.protobuf.Empty so parameters can be added later without changing the RPC signature.

func (*GetBlueprintsQuerySchemaRequest) Descriptor deprecated added in v0.49.0

func (*GetBlueprintsQuerySchemaRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBlueprintsQuerySchemaRequest.ProtoReflect.Descriptor instead.

func (*GetBlueprintsQuerySchemaRequest) ProtoMessage added in v0.49.0

func (*GetBlueprintsQuerySchemaRequest) ProtoMessage()

func (*GetBlueprintsQuerySchemaRequest) ProtoReflect added in v0.49.0

func (*GetBlueprintsQuerySchemaRequest) Reset added in v0.49.0

func (*GetBlueprintsQuerySchemaRequest) String added in v0.49.0

type GetWorkspacesByUserStrRequest

type GetWorkspacesByUserStrRequest struct {

	// userstr is the serialised user context string to filter workspaces by.
	Userstr string `protobuf:"bytes,1,opt,name=userstr,proto3" json:"userstr,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWorkspacesByUserStrRequest) Descriptor deprecated

func (*GetWorkspacesByUserStrRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkspacesByUserStrRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspacesByUserStrRequest) GetUserstr

func (x *GetWorkspacesByUserStrRequest) GetUserstr() string

func (*GetWorkspacesByUserStrRequest) ProtoMessage

func (*GetWorkspacesByUserStrRequest) ProtoMessage()

func (*GetWorkspacesByUserStrRequest) ProtoReflect

func (*GetWorkspacesByUserStrRequest) Reset

func (x *GetWorkspacesByUserStrRequest) Reset()

func (*GetWorkspacesByUserStrRequest) String

type GetWorkspacesQuerySchemaRequest added in v0.36.0

type GetWorkspacesQuerySchemaRequest struct {
	// contains filtered or unexported fields
}

GetWorkspacesQuerySchemaRequest requests the query.v1.Descriptor for the workspaces resource. It carries no fields today; left as a message rather than google.protobuf.Empty so parameters can be added later without changing the RPC signature.

func (*GetWorkspacesQuerySchemaRequest) Descriptor deprecated added in v0.36.0

func (*GetWorkspacesQuerySchemaRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkspacesQuerySchemaRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspacesQuerySchemaRequest) ProtoMessage added in v0.36.0

func (*GetWorkspacesQuerySchemaRequest) ProtoMessage()

func (*GetWorkspacesQuerySchemaRequest) ProtoReflect added in v0.36.0

func (*GetWorkspacesQuerySchemaRequest) Reset added in v0.36.0

func (*GetWorkspacesQuerySchemaRequest) String added in v0.36.0

type GetWorkspacesRequest

type GetWorkspacesRequest struct {

	// workspace filters by workspace name (partial match allowed).
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// usernames filters by the owning user(s); pods matching any listed username are returned.
	Usernames []string `protobuf:"bytes,2,rep,name=usernames,proto3" json:"usernames,omitempty"`
	// organization filters by the owning organization.
	Organization string `protobuf:"bytes,3,opt,name=organization,proto3" json:"organization,omitempty"`
	// blueprint filters by the blueprint used to create the workspace.
	Blueprint string `protobuf:"bytes,4,opt,name=blueprint,proto3" json:"blueprint,omitempty"`
	// repo_name filters by the source repository name.
	RepoName string `protobuf:"bytes,5,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	// repo_owner filters by the source repository owner.
	RepoOwner string `protobuf:"bytes,6,opt,name=repo_owner,json=repoOwner,proto3" json:"repo_owner,omitempty"`
	// repo_ref filters by the source repository ref (branch, tag, or commit).
	RepoRef string `protobuf:"bytes,7,opt,name=repo_ref,json=repoRef,proto3" json:"repo_ref,omitempty"`
	// contains filtered or unexported fields
}

GetWorkspacesRequest filters the list of workspaces to return. All fields are optional; omitting a field disables that filter.

func (*GetWorkspacesRequest) Descriptor deprecated

func (*GetWorkspacesRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkspacesRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspacesRequest) GetBlueprint

func (x *GetWorkspacesRequest) GetBlueprint() string

func (*GetWorkspacesRequest) GetOrganization

func (x *GetWorkspacesRequest) GetOrganization() string

func (*GetWorkspacesRequest) GetRepoName

func (x *GetWorkspacesRequest) GetRepoName() string

func (*GetWorkspacesRequest) GetRepoOwner

func (x *GetWorkspacesRequest) GetRepoOwner() string

func (*GetWorkspacesRequest) GetRepoRef

func (x *GetWorkspacesRequest) GetRepoRef() string

func (*GetWorkspacesRequest) GetUsernames added in v0.30.14

func (x *GetWorkspacesRequest) GetUsernames() []string

func (*GetWorkspacesRequest) GetWorkspace

func (x *GetWorkspacesRequest) GetWorkspace() string

func (*GetWorkspacesRequest) ProtoMessage

func (*GetWorkspacesRequest) ProtoMessage()

func (*GetWorkspacesRequest) ProtoReflect

func (x *GetWorkspacesRequest) ProtoReflect() protoreflect.Message

func (*GetWorkspacesRequest) Reset

func (x *GetWorkspacesRequest) Reset()

func (*GetWorkspacesRequest) String

func (x *GetWorkspacesRequest) String() string

type GetWorkspacesResponse

type GetWorkspacesResponse struct {

	// workspaces holds the details of each matched workspace.
	Workspaces []*v1.WorkspaceDetails `protobuf:"bytes,1,rep,name=workspaces,proto3" json:"workspaces,omitempty"`
	// contains filtered or unexported fields
}

GetWorkspacesResponse contains the list of matching workspaces.

func (*GetWorkspacesResponse) Descriptor deprecated

func (*GetWorkspacesResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkspacesResponse.ProtoReflect.Descriptor instead.

func (*GetWorkspacesResponse) GetWorkspaces

func (x *GetWorkspacesResponse) GetWorkspaces() []*v1.WorkspaceDetails

func (*GetWorkspacesResponse) ProtoMessage

func (*GetWorkspacesResponse) ProtoMessage()

func (*GetWorkspacesResponse) ProtoReflect

func (x *GetWorkspacesResponse) ProtoReflect() protoreflect.Message

func (*GetWorkspacesResponse) Reset

func (x *GetWorkspacesResponse) Reset()

func (*GetWorkspacesResponse) String

func (x *GetWorkspacesResponse) String() string

type HandshakeResponse

type HandshakeResponse struct {

	// workspace is the name assigned to the workspace being provisioned.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// jobid is the unique identifier for this provisioning job.
	Jobid string `protobuf:"bytes,2,opt,name=jobid,proto3" json:"jobid,omitempty"`
	// error is non-empty when the server rejects the request before streaming begins.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

HandshakeResponse is the first message returned in a provisioning stream, confirming the job has been accepted.

func (*HandshakeResponse) Descriptor deprecated

func (*HandshakeResponse) Descriptor() ([]byte, []int)

Deprecated: Use HandshakeResponse.ProtoReflect.Descriptor instead.

func (*HandshakeResponse) GetError

func (x *HandshakeResponse) GetError() string

func (*HandshakeResponse) GetJobid

func (x *HandshakeResponse) GetJobid() string

func (*HandshakeResponse) GetWorkspace

func (x *HandshakeResponse) GetWorkspace() string

func (*HandshakeResponse) ProtoMessage

func (*HandshakeResponse) ProtoMessage()

func (*HandshakeResponse) ProtoReflect

func (x *HandshakeResponse) ProtoReflect() protoreflect.Message

func (*HandshakeResponse) Reset

func (x *HandshakeResponse) Reset()

func (*HandshakeResponse) String

func (x *HandshakeResponse) String() string

type InjectWorkload added in v0.38.0

type InjectWorkload struct {

	// namespace is the Kubernetes namespace holding the workload.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// kind is the workload kind: "deployment", "statefulset", or "daemonset".
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// name is the workload name. Together with namespace and kind it forms the
	// "workload=<kind>/<name>+ns=<namespace>" part of an inject-mode userstr.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// replicas is the workload's desired replica count. Injecting produces one
	// workspace per replica.
	Replicas int32 `protobuf:"varint,4,opt,name=replicas,proto3" json:"replicas,omitempty"`
	// injected is true when this workload already hosts an injected workspace.
	// A workload holds at most one, so a caller must treat an injected workload
	// as unavailable until it is ejected.
	Injected bool `protobuf:"varint,5,opt,name=injected,proto3" json:"injected,omitempty"`
	// workspace is the canonical id of the workspace currently injected into
	// this workload. Empty unless injected is true.
	Workspace string `protobuf:"bytes,6,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// username is the owner of the currently injected workspace, and
	// organization their tenant. Both are empty unless injected is true; they
	// are what distinguishes a workload the caller may re-enter from one
	// occupied by somebody else.
	Username     string `protobuf:"bytes,7,opt,name=username,proto3" json:"username,omitempty"`
	Organization string `protobuf:"bytes,8,opt,name=organization,proto3" json:"organization,omitempty"`
	// blueprint is the blueprint the injected workspace was created from.
	// Empty unless injected is true.
	Blueprint string `protobuf:"bytes,9,opt,name=blueprint,proto3" json:"blueprint,omitempty"`
	// repo_source is the URL of the repository the workload was built from and
	// repo_revision the revision it was built at, taken verbatim from the
	// workload's "org.opencontainers.image.source" and
	// "org.opencontainers.image.revision" annotations. They describe the
	// workload itself, not any workspace inside it, and so are set whether or
	// not injected is true.
	//
	// The strings are passed through exactly as the workload declares them and
	// are not validated or normalised; a workload declaring neither is still
	// injectable and simply reports these empty.
	RepoSource   string `protobuf:"bytes,10,opt,name=repo_source,json=repoSource,proto3" json:"repo_source,omitempty"`
	RepoRevision string `protobuf:"bytes,11,opt,name=repo_revision,json=repoRevision,proto3" json:"repo_revision,omitempty"`
	// blueprint_revision is the content revision of the blueprint the
	// injected workspace was created from (see
	// common.v1.BlueprintSummary.revision). Not to be confused with
	// repo_revision, which describes the workload's own source. Empty unless
	// injected is true, and for a workspace injected before revisions were
	// recorded.
	BlueprintRevision string `protobuf:"bytes,12,opt,name=blueprint_revision,json=blueprintRevision,proto3" json:"blueprint_revision,omitempty"`
	// contains filtered or unexported fields
}

InjectWorkload is a workload a workspace can be injected into, together with its current injection state.

func (*InjectWorkload) Descriptor deprecated added in v0.38.0

func (*InjectWorkload) Descriptor() ([]byte, []int)

Deprecated: Use InjectWorkload.ProtoReflect.Descriptor instead.

func (*InjectWorkload) GetBlueprint added in v0.38.0

func (x *InjectWorkload) GetBlueprint() string

func (*InjectWorkload) GetBlueprintRevision added in v0.63.7

func (x *InjectWorkload) GetBlueprintRevision() string

func (*InjectWorkload) GetInjected added in v0.38.0

func (x *InjectWorkload) GetInjected() bool

func (*InjectWorkload) GetKind added in v0.38.0

func (x *InjectWorkload) GetKind() string

func (*InjectWorkload) GetName added in v0.38.0

func (x *InjectWorkload) GetName() string

func (*InjectWorkload) GetNamespace added in v0.38.0

func (x *InjectWorkload) GetNamespace() string

func (*InjectWorkload) GetOrganization added in v0.38.0

func (x *InjectWorkload) GetOrganization() string

func (*InjectWorkload) GetReplicas added in v0.38.0

func (x *InjectWorkload) GetReplicas() int32

func (*InjectWorkload) GetRepoRevision added in v0.38.0

func (x *InjectWorkload) GetRepoRevision() string

func (*InjectWorkload) GetRepoSource added in v0.38.0

func (x *InjectWorkload) GetRepoSource() string

func (*InjectWorkload) GetUsername added in v0.38.0

func (x *InjectWorkload) GetUsername() string

func (*InjectWorkload) GetWorkspace added in v0.38.0

func (x *InjectWorkload) GetWorkspace() string

func (*InjectWorkload) ProtoMessage added in v0.38.0

func (*InjectWorkload) ProtoMessage()

func (*InjectWorkload) ProtoReflect added in v0.38.0

func (x *InjectWorkload) ProtoReflect() protoreflect.Message

func (*InjectWorkload) Reset added in v0.38.0

func (x *InjectWorkload) Reset()

func (*InjectWorkload) String added in v0.38.0

func (x *InjectWorkload) String() string

type ListBlueprintsRequest added in v0.49.0

type ListBlueprintsRequest struct {
	// contains filtered or unexported fields
}

ListBlueprintsRequest requests a summary of every blueprint the provisioner knows about.

func (*ListBlueprintsRequest) Descriptor deprecated added in v0.49.0

func (*ListBlueprintsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListBlueprintsRequest.ProtoReflect.Descriptor instead.

func (*ListBlueprintsRequest) ProtoMessage added in v0.49.0

func (*ListBlueprintsRequest) ProtoMessage()

func (*ListBlueprintsRequest) ProtoReflect added in v0.49.0

func (x *ListBlueprintsRequest) ProtoReflect() protoreflect.Message

func (*ListBlueprintsRequest) Reset added in v0.49.0

func (x *ListBlueprintsRequest) Reset()

func (*ListBlueprintsRequest) String added in v0.49.0

func (x *ListBlueprintsRequest) String() string

type ListBlueprintsResponse added in v0.49.0

type ListBlueprintsResponse struct {
	Blueprints []*v1.BlueprintSummary `protobuf:"bytes,1,rep,name=blueprints,proto3" json:"blueprints,omitempty"`
	// contains filtered or unexported fields
}

ListBlueprintsResponse carries a summary of every blueprint: the file-based, global blueprints and every org-scoped database blueprint.

func (*ListBlueprintsResponse) Descriptor deprecated added in v0.49.0

func (*ListBlueprintsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListBlueprintsResponse.ProtoReflect.Descriptor instead.

func (*ListBlueprintsResponse) GetBlueprints added in v0.49.0

func (x *ListBlueprintsResponse) GetBlueprints() []*v1.BlueprintSummary

func (*ListBlueprintsResponse) ProtoMessage added in v0.49.0

func (*ListBlueprintsResponse) ProtoMessage()

func (*ListBlueprintsResponse) ProtoReflect added in v0.49.0

func (x *ListBlueprintsResponse) ProtoReflect() protoreflect.Message

func (*ListBlueprintsResponse) Reset added in v0.49.0

func (x *ListBlueprintsResponse) Reset()

func (*ListBlueprintsResponse) String added in v0.49.0

func (x *ListBlueprintsResponse) String() string

type ListInjectNamespacesRequest added in v0.38.0

type ListInjectNamespacesRequest struct {
	// contains filtered or unexported fields
}

ListInjectNamespacesRequest requests the injectable namespaces. It carries no fields today; left as a message rather than google.protobuf.Empty so parameters can be added later without changing the RPC signature.

func (*ListInjectNamespacesRequest) Descriptor deprecated added in v0.38.0

func (*ListInjectNamespacesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInjectNamespacesRequest.ProtoReflect.Descriptor instead.

func (*ListInjectNamespacesRequest) ProtoMessage added in v0.38.0

func (*ListInjectNamespacesRequest) ProtoMessage()

func (*ListInjectNamespacesRequest) ProtoReflect added in v0.38.0

func (*ListInjectNamespacesRequest) Reset added in v0.38.0

func (x *ListInjectNamespacesRequest) Reset()

func (*ListInjectNamespacesRequest) String added in v0.38.0

func (x *ListInjectNamespacesRequest) String() string

type ListInjectNamespacesResponse added in v0.38.0

type ListInjectNamespacesResponse struct {

	// namespaces are the namespaces a workspace may be injected into. Empty
	// means injection is disabled for this provisioner.
	Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	// cluster_wide is true when the provisioner is configured to allow injection
	// into every namespace ("*"), in which case namespaces is the set of
	// namespaces that exist in the cluster right now rather than a fixed
	// allow-list, and may include system namespaces.
	ClusterWide bool `protobuf:"varint,2,opt,name=cluster_wide,json=clusterWide,proto3" json:"cluster_wide,omitempty"`
	// contains filtered or unexported fields
}

ListInjectNamespacesResponse lists the namespaces open to injection.

func (*ListInjectNamespacesResponse) Descriptor deprecated added in v0.38.0

func (*ListInjectNamespacesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInjectNamespacesResponse.ProtoReflect.Descriptor instead.

func (*ListInjectNamespacesResponse) GetClusterWide added in v0.38.0

func (x *ListInjectNamespacesResponse) GetClusterWide() bool

func (*ListInjectNamespacesResponse) GetNamespaces added in v0.38.0

func (x *ListInjectNamespacesResponse) GetNamespaces() []string

func (*ListInjectNamespacesResponse) ProtoMessage added in v0.38.0

func (*ListInjectNamespacesResponse) ProtoMessage()

func (*ListInjectNamespacesResponse) ProtoReflect added in v0.38.0

func (*ListInjectNamespacesResponse) Reset added in v0.38.0

func (x *ListInjectNamespacesResponse) Reset()

func (*ListInjectNamespacesResponse) String added in v0.38.0

type ListInjectWorkloadsRequest added in v0.38.0

type ListInjectWorkloadsRequest struct {

	// namespace restricts the listing to a single namespace. It must be one of
	// the namespaces returned by ListInjectNamespaces. Leave empty to list
	// across every injectable namespace.
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// kinds restricts the listing to the given workload kinds ("deployment",
	// "statefulset", "daemonset"). Empty means all supported kinds.
	Kinds []string `protobuf:"bytes,2,rep,name=kinds,proto3" json:"kinds,omitempty"`
	// contains filtered or unexported fields
}

ListInjectWorkloadsRequest selects which workloads to list.

func (*ListInjectWorkloadsRequest) Descriptor deprecated added in v0.38.0

func (*ListInjectWorkloadsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInjectWorkloadsRequest.ProtoReflect.Descriptor instead.

func (*ListInjectWorkloadsRequest) GetKinds added in v0.38.0

func (x *ListInjectWorkloadsRequest) GetKinds() []string

func (*ListInjectWorkloadsRequest) GetNamespace added in v0.38.0

func (x *ListInjectWorkloadsRequest) GetNamespace() string

func (*ListInjectWorkloadsRequest) ProtoMessage added in v0.38.0

func (*ListInjectWorkloadsRequest) ProtoMessage()

func (*ListInjectWorkloadsRequest) ProtoReflect added in v0.38.0

func (*ListInjectWorkloadsRequest) Reset added in v0.38.0

func (x *ListInjectWorkloadsRequest) Reset()

func (*ListInjectWorkloadsRequest) String added in v0.38.0

func (x *ListInjectWorkloadsRequest) String() string

type ListInjectWorkloadsResponse added in v0.38.0

type ListInjectWorkloadsResponse struct {

	// workloads are the matching workloads, ordered by namespace, then kind,
	// then name.
	Workloads []*InjectWorkload `protobuf:"bytes,1,rep,name=workloads,proto3" json:"workloads,omitempty"`
	// contains filtered or unexported fields
}

ListInjectWorkloadsResponse lists the injectable workloads found.

func (*ListInjectWorkloadsResponse) Descriptor deprecated added in v0.38.0

func (*ListInjectWorkloadsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInjectWorkloadsResponse.ProtoReflect.Descriptor instead.

func (*ListInjectWorkloadsResponse) GetWorkloads added in v0.38.0

func (x *ListInjectWorkloadsResponse) GetWorkloads() []*InjectWorkload

func (*ListInjectWorkloadsResponse) ProtoMessage added in v0.38.0

func (*ListInjectWorkloadsResponse) ProtoMessage()

func (*ListInjectWorkloadsResponse) ProtoReflect added in v0.38.0

func (*ListInjectWorkloadsResponse) Reset added in v0.38.0

func (x *ListInjectWorkloadsResponse) Reset()

func (*ListInjectWorkloadsResponse) String added in v0.38.0

func (x *ListInjectWorkloadsResponse) String() string

type OrgBlueprint added in v0.48.0

type OrgBlueprint struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Org         string `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"` // required
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// yaml is the raw blueprint YAML content: either a bare blueprint document
	// or one wrapped in a top-level `blueprint:` key, in the same shape
	// ValidateBlueprint/GetBlueprintResponse.blueprint accept/return. If it
	// references an existing Template via `template:`, that template's
	// already-registered definition is merged in exactly as it would be for a
	// blueprint loaded from disk. An org blueprint may inherit from a
	// file-based Template or from an org-scoped Template in its own org, but
	// never from another org's blueprint.
	Yaml       []byte                 `protobuf:"bytes,4,opt,name=yaml,proto3" json:"yaml,omitempty"`
	IsTemplate bool                   `protobuf:"varint,5,opt,name=is_template,json=isTemplate,proto3" json:"is_template,omitempty"`
	CreatedAt  *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt  *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// revision is a short content hash of the blueprint merged with its
	// inherited templates, see common.v1.BlueprintSummary.revision.
	Revision string `protobuf:"bytes,8,opt,name=revision,proto3" json:"revision,omitempty"`
	// contains filtered or unexported fields
}

OrgBlueprint is a blueprint definition stored in the database and scoped to a single organization, as opposed to the file-based, global blueprints. name and org together identify the blueprint; a blueprint of the same name may exist independently per org, and takes precedence over a file-based blueprint of that name when a user from this org requests it. Returned by CreateBlueprint and UpdateBlueprint.

func (*OrgBlueprint) Descriptor deprecated added in v0.48.0

func (*OrgBlueprint) Descriptor() ([]byte, []int)

Deprecated: Use OrgBlueprint.ProtoReflect.Descriptor instead.

func (*OrgBlueprint) GetCreatedAt added in v0.48.0

func (x *OrgBlueprint) GetCreatedAt() *timestamppb.Timestamp

func (*OrgBlueprint) GetDescription added in v0.48.0

func (x *OrgBlueprint) GetDescription() string

func (*OrgBlueprint) GetIsTemplate added in v0.48.0

func (x *OrgBlueprint) GetIsTemplate() bool

func (*OrgBlueprint) GetName added in v0.48.0

func (x *OrgBlueprint) GetName() string

func (*OrgBlueprint) GetOrg added in v0.48.0

func (x *OrgBlueprint) GetOrg() string

func (*OrgBlueprint) GetRevision added in v0.63.7

func (x *OrgBlueprint) GetRevision() string

func (*OrgBlueprint) GetUpdatedAt added in v0.48.0

func (x *OrgBlueprint) GetUpdatedAt() *timestamppb.Timestamp

func (*OrgBlueprint) GetYaml added in v0.48.0

func (x *OrgBlueprint) GetYaml() []byte

func (*OrgBlueprint) ProtoMessage added in v0.48.0

func (*OrgBlueprint) ProtoMessage()

func (*OrgBlueprint) ProtoReflect added in v0.48.0

func (x *OrgBlueprint) ProtoReflect() protoreflect.Message

func (*OrgBlueprint) Reset added in v0.48.0

func (x *OrgBlueprint) Reset()

func (*OrgBlueprint) String added in v0.48.0

func (x *OrgBlueprint) String() string

type ProvisionEvent

type ProvisionEvent struct {

	// type is the event category (e.g. "pod", "deployment", "job").
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// timestamp is the RFC 3339 time at which the event occurred.
	Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// object_name is the Kubernetes object name associated with this event.
	ObjectName string `protobuf:"bytes,3,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"`
	// status is the observed status of the object (e.g. "Running", "Failed").
	Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// message provides additional human-readable detail about the event.
	Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

ProvisionEvent represents a single lifecycle event emitted during workspace provisionings.

func (*ProvisionEvent) Descriptor deprecated

func (*ProvisionEvent) Descriptor() ([]byte, []int)

Deprecated: Use ProvisionEvent.ProtoReflect.Descriptor instead.

func (*ProvisionEvent) GetMessage

func (x *ProvisionEvent) GetMessage() string

func (*ProvisionEvent) GetObjectName

func (x *ProvisionEvent) GetObjectName() string

func (*ProvisionEvent) GetStatus

func (x *ProvisionEvent) GetStatus() string

func (*ProvisionEvent) GetTimestamp

func (x *ProvisionEvent) GetTimestamp() string

func (*ProvisionEvent) GetType

func (x *ProvisionEvent) GetType() string

func (*ProvisionEvent) ProtoMessage

func (*ProvisionEvent) ProtoMessage()

func (*ProvisionEvent) ProtoReflect

func (x *ProvisionEvent) ProtoReflect() protoreflect.Message

func (*ProvisionEvent) Reset

func (x *ProvisionEvent) Reset()

func (*ProvisionEvent) String

func (x *ProvisionEvent) String() string

type ProvisionWorkspaceRequest

type ProvisionWorkspaceRequest struct {

	// userstr is the serialised user context string used to configure the workspace.
	Userstr string `protobuf:"bytes,1,opt,name=userstr,proto3" json:"userstr,omitempty"`
	// timeout is the maximum number of seconds to wait for provisioning to complete.
	Timeout int32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// send_progress controls whether progress in percents are streamed.
	SendProgress bool `protobuf:"varint,3,opt,name=send_progress,json=sendProgress,proto3" json:"send_progress,omitempty"`
	// send_events controls whether Kubernetes object events are included in the stream.
	SendEvents bool `protobuf:"varint,4,opt,name=send_events,json=sendEvents,proto3" json:"send_events,omitempty"`
	// contains filtered or unexported fields
}

ProvisionWorkspaceRequest initiates provisioning of a new workspace.

func (*ProvisionWorkspaceRequest) Descriptor deprecated

func (*ProvisionWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use ProvisionWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*ProvisionWorkspaceRequest) GetSendEvents

func (x *ProvisionWorkspaceRequest) GetSendEvents() bool

func (*ProvisionWorkspaceRequest) GetSendProgress

func (x *ProvisionWorkspaceRequest) GetSendProgress() bool

func (*ProvisionWorkspaceRequest) GetTimeout

func (x *ProvisionWorkspaceRequest) GetTimeout() int32

func (*ProvisionWorkspaceRequest) GetUserstr

func (x *ProvisionWorkspaceRequest) GetUserstr() string

func (*ProvisionWorkspaceRequest) ProtoMessage

func (*ProvisionWorkspaceRequest) ProtoMessage()

func (*ProvisionWorkspaceRequest) ProtoReflect

func (*ProvisionWorkspaceRequest) Reset

func (x *ProvisionWorkspaceRequest) Reset()

func (*ProvisionWorkspaceRequest) String

func (x *ProvisionWorkspaceRequest) String() string

type ProvisionWorkspaceResponse

type ProvisionWorkspaceResponse struct {

	// Types that are valid to be assigned to Data:
	//
	//	*ProvisionWorkspaceResponse_Handshake
	//	*ProvisionWorkspaceResponse_Event
	Data isProvisionWorkspaceResponse_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

ProvisionWorkspaceResponse is a single message in the provisioning stream. It carries either the initial handshake or a subsequent provisioning event.

func (*ProvisionWorkspaceResponse) Descriptor deprecated

func (*ProvisionWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use ProvisionWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*ProvisionWorkspaceResponse) GetData

func (x *ProvisionWorkspaceResponse) GetData() isProvisionWorkspaceResponse_Data

func (*ProvisionWorkspaceResponse) GetEvent

func (*ProvisionWorkspaceResponse) GetHandshake

func (x *ProvisionWorkspaceResponse) GetHandshake() *HandshakeResponse

func (*ProvisionWorkspaceResponse) ProtoMessage

func (*ProvisionWorkspaceResponse) ProtoMessage()

func (*ProvisionWorkspaceResponse) ProtoReflect

func (*ProvisionWorkspaceResponse) Reset

func (x *ProvisionWorkspaceResponse) Reset()

func (*ProvisionWorkspaceResponse) String

func (x *ProvisionWorkspaceResponse) String() string

type ProvisionWorkspaceResponse_Event

type ProvisionWorkspaceResponse_Event struct {
	// event is a subsequent message carrying a provisioning lifecycle event.
	Event *ProvisionEvent `protobuf:"bytes,2,opt,name=event,proto3,oneof"`
}

type ProvisionWorkspaceResponse_Handshake

type ProvisionWorkspaceResponse_Handshake struct {
	// handshake is the first message in the stream, confirming the workspace
	// name and job ID assigned to this provisioning run.
	Handshake *HandshakeResponse `protobuf:"bytes,1,opt,name=handshake,proto3,oneof"`
}

type ProvisionerServiceClient

type ProvisionerServiceClient interface {
	// GetWorkspaces returns all workspaces matching the given filter criteria.
	GetWorkspaces(ctx context.Context, in *GetWorkspacesRequest, opts ...grpc.CallOption) (*GetWorkspacesResponse, error)
	// FindWorkspace returns the details of a single workspace by name.
	FindWorkspace(ctx context.Context, in *FindWorkspaceRequest, opts ...grpc.CallOption) (*v1.WorkspaceDetails, error)
	// FindWorkspaceByAlias returns the details of the workspace whose web-proxy
	// route holds the given alias within the organization. Returns NotFound
	// when no workspace holds it.
	FindWorkspaceByAlias(ctx context.Context, in *FindWorkspaceByAliasRequest, opts ...grpc.CallOption) (*v1.WorkspaceDetails, error)
	// GetWorkspacesByUserStr returns workspaces for the given userstr
	GetWorkspacesByUserStr(ctx context.Context, in *GetWorkspacesByUserStrRequest, opts ...grpc.CallOption) (*GetWorkspacesResponse, error)
	// GetWorkspacesQuerySchema returns the query.v1.Descriptor advertising
	// which workspace fields are queryable/sortable via QueryWorkspaces, and
	// which operators are valid on each.
	GetWorkspacesQuerySchema(ctx context.Context, in *GetWorkspacesQuerySchemaRequest, opts ...grpc.CallOption) (*v11.Descriptor, error)
	// QueryWorkspaces retrieves workspaces matching a generic query.v1.Payload,
	// as advertised by GetWorkspacesQuerySchema.
	QueryWorkspaces(ctx context.Context, in *QueryWorkspacesRequest, opts ...grpc.CallOption) (*GetWorkspacesResponse, error)
	// ListBlueprints returns a summary of every blueprint the provisioner
	// knows about, regardless of user: the file-based global blueprints and
	// every org-scoped database blueprint. Each summary carries its org (empty
	// when global) and is_global flag so a client can filter by organization.
	ListBlueprints(ctx context.Context, in *ListBlueprintsRequest, opts ...grpc.CallOption) (*ListBlueprintsResponse, error)
	// GetBlueprintsQuerySchema returns the query.v1.Descriptor advertising
	// which blueprint fields are queryable/sortable via QueryBlueprints, and
	// which operators are valid on each.
	GetBlueprintsQuerySchema(ctx context.Context, in *GetBlueprintsQuerySchemaRequest, opts ...grpc.CallOption) (*v11.Descriptor, error)
	// QueryBlueprints retrieves blueprint summaries matching a generic
	// query.v1.Payload, as advertised by GetBlueprintsQuerySchema. Like
	// ListBlueprints, it is transparent to whether a matched blueprint is
	// file-based or stored in the database.
	QueryBlueprints(ctx context.Context, in *QueryBlueprintsRequest, opts ...grpc.CallOption) (*QueryBlueprintsResponse, error)
	// GetBlueprint returns the full raw (unevaluated) spec of a single
	// blueprint by name. CEL expressions are returned as "!cel:"-prefixed
	// strings rather than evaluated, mirroring k8shelld.v1's GetBlueprint
	// shape. When org is set, an org-scoped database blueprint of that name
	// takes precedence over a file-based blueprint of the same name.
	GetBlueprint(ctx context.Context, in *GetBlueprintRequest, opts ...grpc.CallOption) (*GetBlueprintResponse, error)
	// ValidateBlueprint validates a blueprint YAML document without persisting
	// or registering it, returning every validation problem found. Problems
	// include YAML syntax errors, unknown fields, CEL template errors, and
	// blueprint schema violations, each carrying source line/column
	// information where the underlying validator provides one.
	ValidateBlueprint(ctx context.Context, in *ValidateBlueprintRequest, opts ...grpc.CallOption) (*ValidateBlueprintResponse, error)
	// CreateBlueprint stores a new org-scoped blueprint in the database from
	// the submitted YAML document. name, description and is_template are read
	// from the document itself; org is the only other input. The YAML is
	// validated exactly as ValidateBlueprint does before it is persisted.
	CreateBlueprint(ctx context.Context, in *CreateBlueprintRequest, opts ...grpc.CallOption) (*OrgBlueprint, error)
	// UpdateBlueprint replaces an existing org-scoped blueprint's content with
	// the submitted YAML document, identified by (org, name-from-document).
	// Fails with FAILED_PRECONDITION when name refers to a file-based
	// blueprint, which is read-only. The YAML is validated exactly as
	// ValidateBlueprint does before it is persisted.
	UpdateBlueprint(ctx context.Context, in *UpdateBlueprintRequest, opts ...grpc.CallOption) (*OrgBlueprint, error)
	// DeleteBlueprint removes an org-scoped blueprint from the database. Fails
	// with FAILED_PRECONDITION when name refers to a file-based blueprint,
	// which is read-only.
	DeleteBlueprint(ctx context.Context, in *DeleteBlueprintRequest, opts ...grpc.CallOption) (*DeleteBlueprintResponse, error)
	// ProvisionWorkspaceStream provisions a new workspace and streams progress
	// events back to the caller until the workspace is ready or an error occurs.
	ProvisionWorkspaceStream(ctx context.Context, in *ProvisionWorkspaceRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ProvisionWorkspaceResponse], error)
	// DeleteWorkspace deprovisions and permanently removes a workspace.
	DeleteWorkspace(ctx context.Context, in *DeleteWorkspaceRequest, opts ...grpc.CallOption) (*DeleteWorkspaceResponse, error)
	// DeleteUserWorkspaces hard-deletes every workspace (standalone and
	// injected) owned by a user. Intended as a cleanup step when a user is
	// removed from the system. Deletion runs asynchronously in the background;
	// a call made while a previous deletion for the same user is still running
	// is rejected rather than starting a second, concurrent cleanup.
	DeleteUserWorkspaces(ctx context.Context, in *DeleteUserWorkspacesRequest, opts ...grpc.CallOption) (*DeleteUserWorkspacesResponse, error)
	// StopWorkspace suspends a running workspace without removing its state.
	StopWorkspace(ctx context.Context, in *StopWorkspaceRequest, opts ...grpc.CallOption) (*StopWorkspaceResponse, error)
	// UpdateWorkspaceResources changes the CPU/memory limits and/or the network
	// policy class and egress rules of an existing workspace. The changes are
	// applied directly to the live Kubernetes objects, independently of the
	// workspace's Helm release: the pod is resized in place via the pods/resize
	// subresource and its NetworkPolicies are re-rendered and re-applied. The
	// Helm release is left untouched, so any later operation that re-applies it
	// (a re-provision, or a stop followed by a start) reverts the workspace to
	// the CPU/memory and network settings from its blueprint.
	UpdateWorkspaceResources(ctx context.Context, in *UpdateWorkspaceResourcesRequest, opts ...grpc.CallOption) (*UpdateWorkspaceResourcesResponse, error)
	// StartWorkspaceStream resumes a previously stopped workspace, recreating
	// its pod from the existing Helm release, and streams progress events back
	// to the caller until the workspace is ready or an error occurs.
	StartWorkspaceStream(ctx context.Context, in *StartWorkspaceRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ProvisionWorkspaceResponse], error)
	// EjectWorkspace removes a previously injected workspace from a workload
	// and deletes all supporting resources (ConfigMaps, PVCs, NetworkPolicies).
	EjectWorkspace(ctx context.Context, in *EjectWorkspaceRequest, opts ...grpc.CallOption) (*EjectWorkspaceResponse, error)
	// ListInjectNamespaces returns the namespaces the provisioner is configured
	// to allow workspace injection into. It is the first step in building an
	// inject-mode provisioning request: the namespace chosen here becomes the
	// "ns=" of the userstr passed to ProvisionWorkspaceStream.
	ListInjectNamespaces(ctx context.Context, in *ListInjectNamespacesRequest, opts ...grpc.CallOption) (*ListInjectNamespacesResponse, error)
	// ListInjectWorkloads returns the workloads a workspace can be injected
	// into, each reporting whether it already hosts an injected workspace and
	// who owns it. A workload hosts at most one workspace, so an occupied
	// workload must be ejected before anyone else can inject into it.
	ListInjectWorkloads(ctx context.Context, in *ListInjectWorkloadsRequest, opts ...grpc.CallOption) (*ListInjectWorkloadsResponse, error)
	// DiffWorkspaceBlueprint compares the blueprint a workspace was provisioned
	// from with what its blueprint resolves to now, as aligned side-by-side
	// rows a client can render directly. The left side is recovered from the
	// workspace's stored Helm values and the right side is the current
	// blueprint evaluated for the workspace's owner. Values that are not part
	// of the blueprint (provisioner-internal keys, injected environment
	// variables, defaulted DNS identity) are removed from both sides and
	// secret-looking values are redacted. Returns FailedPrecondition for a
	// workspace provisioned from a repository's k8shell file, and NotFound when
	// the workspace or its blueprint no longer exists.
	DiffWorkspaceBlueprint(ctx context.Context, in *DiffWorkspaceBlueprintRequest, opts ...grpc.CallOption) (*DiffWorkspaceBlueprintResponse, error)
	// GetVersionInfo returns build and version metadata for this service: its
	// released semantic version, the git commit it was built from, and a short
	// description of what the service does.
	GetVersionInfo(ctx context.Context, in *v1.GetVersionInfoRequest, opts ...grpc.CallOption) (*v1.GetVersionInfoResponse, error)
}

ProvisionerServiceClient is the client API for ProvisionerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

ProvisionerService manages the full lifecycle of user workspaces. Clients interact with this service to provision new workspaces query workspace state, and tear down workspaces.

type ProvisionerServiceServer

type ProvisionerServiceServer interface {
	// GetWorkspaces returns all workspaces matching the given filter criteria.
	GetWorkspaces(context.Context, *GetWorkspacesRequest) (*GetWorkspacesResponse, error)
	// FindWorkspace returns the details of a single workspace by name.
	FindWorkspace(context.Context, *FindWorkspaceRequest) (*v1.WorkspaceDetails, error)
	// FindWorkspaceByAlias returns the details of the workspace whose web-proxy
	// route holds the given alias within the organization. Returns NotFound
	// when no workspace holds it.
	FindWorkspaceByAlias(context.Context, *FindWorkspaceByAliasRequest) (*v1.WorkspaceDetails, error)
	// GetWorkspacesByUserStr returns workspaces for the given userstr
	GetWorkspacesByUserStr(context.Context, *GetWorkspacesByUserStrRequest) (*GetWorkspacesResponse, error)
	// GetWorkspacesQuerySchema returns the query.v1.Descriptor advertising
	// which workspace fields are queryable/sortable via QueryWorkspaces, and
	// which operators are valid on each.
	GetWorkspacesQuerySchema(context.Context, *GetWorkspacesQuerySchemaRequest) (*v11.Descriptor, error)
	// QueryWorkspaces retrieves workspaces matching a generic query.v1.Payload,
	// as advertised by GetWorkspacesQuerySchema.
	QueryWorkspaces(context.Context, *QueryWorkspacesRequest) (*GetWorkspacesResponse, error)
	// ListBlueprints returns a summary of every blueprint the provisioner
	// knows about, regardless of user: the file-based global blueprints and
	// every org-scoped database blueprint. Each summary carries its org (empty
	// when global) and is_global flag so a client can filter by organization.
	ListBlueprints(context.Context, *ListBlueprintsRequest) (*ListBlueprintsResponse, error)
	// GetBlueprintsQuerySchema returns the query.v1.Descriptor advertising
	// which blueprint fields are queryable/sortable via QueryBlueprints, and
	// which operators are valid on each.
	GetBlueprintsQuerySchema(context.Context, *GetBlueprintsQuerySchemaRequest) (*v11.Descriptor, error)
	// QueryBlueprints retrieves blueprint summaries matching a generic
	// query.v1.Payload, as advertised by GetBlueprintsQuerySchema. Like
	// ListBlueprints, it is transparent to whether a matched blueprint is
	// file-based or stored in the database.
	QueryBlueprints(context.Context, *QueryBlueprintsRequest) (*QueryBlueprintsResponse, error)
	// GetBlueprint returns the full raw (unevaluated) spec of a single
	// blueprint by name. CEL expressions are returned as "!cel:"-prefixed
	// strings rather than evaluated, mirroring k8shelld.v1's GetBlueprint
	// shape. When org is set, an org-scoped database blueprint of that name
	// takes precedence over a file-based blueprint of the same name.
	GetBlueprint(context.Context, *GetBlueprintRequest) (*GetBlueprintResponse, error)
	// ValidateBlueprint validates a blueprint YAML document without persisting
	// or registering it, returning every validation problem found. Problems
	// include YAML syntax errors, unknown fields, CEL template errors, and
	// blueprint schema violations, each carrying source line/column
	// information where the underlying validator provides one.
	ValidateBlueprint(context.Context, *ValidateBlueprintRequest) (*ValidateBlueprintResponse, error)
	// CreateBlueprint stores a new org-scoped blueprint in the database from
	// the submitted YAML document. name, description and is_template are read
	// from the document itself; org is the only other input. The YAML is
	// validated exactly as ValidateBlueprint does before it is persisted.
	CreateBlueprint(context.Context, *CreateBlueprintRequest) (*OrgBlueprint, error)
	// UpdateBlueprint replaces an existing org-scoped blueprint's content with
	// the submitted YAML document, identified by (org, name-from-document).
	// Fails with FAILED_PRECONDITION when name refers to a file-based
	// blueprint, which is read-only. The YAML is validated exactly as
	// ValidateBlueprint does before it is persisted.
	UpdateBlueprint(context.Context, *UpdateBlueprintRequest) (*OrgBlueprint, error)
	// DeleteBlueprint removes an org-scoped blueprint from the database. Fails
	// with FAILED_PRECONDITION when name refers to a file-based blueprint,
	// which is read-only.
	DeleteBlueprint(context.Context, *DeleteBlueprintRequest) (*DeleteBlueprintResponse, error)
	// ProvisionWorkspaceStream provisions a new workspace and streams progress
	// events back to the caller until the workspace is ready or an error occurs.
	ProvisionWorkspaceStream(*ProvisionWorkspaceRequest, grpc.ServerStreamingServer[ProvisionWorkspaceResponse]) error
	// DeleteWorkspace deprovisions and permanently removes a workspace.
	DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*DeleteWorkspaceResponse, error)
	// DeleteUserWorkspaces hard-deletes every workspace (standalone and
	// injected) owned by a user. Intended as a cleanup step when a user is
	// removed from the system. Deletion runs asynchronously in the background;
	// a call made while a previous deletion for the same user is still running
	// is rejected rather than starting a second, concurrent cleanup.
	DeleteUserWorkspaces(context.Context, *DeleteUserWorkspacesRequest) (*DeleteUserWorkspacesResponse, error)
	// StopWorkspace suspends a running workspace without removing its state.
	StopWorkspace(context.Context, *StopWorkspaceRequest) (*StopWorkspaceResponse, error)
	// UpdateWorkspaceResources changes the CPU/memory limits and/or the network
	// policy class and egress rules of an existing workspace. The changes are
	// applied directly to the live Kubernetes objects, independently of the
	// workspace's Helm release: the pod is resized in place via the pods/resize
	// subresource and its NetworkPolicies are re-rendered and re-applied. The
	// Helm release is left untouched, so any later operation that re-applies it
	// (a re-provision, or a stop followed by a start) reverts the workspace to
	// the CPU/memory and network settings from its blueprint.
	UpdateWorkspaceResources(context.Context, *UpdateWorkspaceResourcesRequest) (*UpdateWorkspaceResourcesResponse, error)
	// StartWorkspaceStream resumes a previously stopped workspace, recreating
	// its pod from the existing Helm release, and streams progress events back
	// to the caller until the workspace is ready or an error occurs.
	StartWorkspaceStream(*StartWorkspaceRequest, grpc.ServerStreamingServer[ProvisionWorkspaceResponse]) error
	// EjectWorkspace removes a previously injected workspace from a workload
	// and deletes all supporting resources (ConfigMaps, PVCs, NetworkPolicies).
	EjectWorkspace(context.Context, *EjectWorkspaceRequest) (*EjectWorkspaceResponse, error)
	// ListInjectNamespaces returns the namespaces the provisioner is configured
	// to allow workspace injection into. It is the first step in building an
	// inject-mode provisioning request: the namespace chosen here becomes the
	// "ns=" of the userstr passed to ProvisionWorkspaceStream.
	ListInjectNamespaces(context.Context, *ListInjectNamespacesRequest) (*ListInjectNamespacesResponse, error)
	// ListInjectWorkloads returns the workloads a workspace can be injected
	// into, each reporting whether it already hosts an injected workspace and
	// who owns it. A workload hosts at most one workspace, so an occupied
	// workload must be ejected before anyone else can inject into it.
	ListInjectWorkloads(context.Context, *ListInjectWorkloadsRequest) (*ListInjectWorkloadsResponse, error)
	// DiffWorkspaceBlueprint compares the blueprint a workspace was provisioned
	// from with what its blueprint resolves to now, as aligned side-by-side
	// rows a client can render directly. The left side is recovered from the
	// workspace's stored Helm values and the right side is the current
	// blueprint evaluated for the workspace's owner. Values that are not part
	// of the blueprint (provisioner-internal keys, injected environment
	// variables, defaulted DNS identity) are removed from both sides and
	// secret-looking values are redacted. Returns FailedPrecondition for a
	// workspace provisioned from a repository's k8shell file, and NotFound when
	// the workspace or its blueprint no longer exists.
	DiffWorkspaceBlueprint(context.Context, *DiffWorkspaceBlueprintRequest) (*DiffWorkspaceBlueprintResponse, error)
	// GetVersionInfo returns build and version metadata for this service: its
	// released semantic version, the git commit it was built from, and a short
	// description of what the service does.
	GetVersionInfo(context.Context, *v1.GetVersionInfoRequest) (*v1.GetVersionInfoResponse, error)
	// contains filtered or unexported methods
}

ProvisionerServiceServer is the server API for ProvisionerService service. All implementations must embed UnimplementedProvisionerServiceServer for forward compatibility.

ProvisionerService manages the full lifecycle of user workspaces. Clients interact with this service to provision new workspaces query workspace state, and tear down workspaces.

type ProvisionerService_ProvisionWorkspaceStreamClient

type ProvisionerService_ProvisionWorkspaceStreamClient = grpc.ServerStreamingClient[ProvisionWorkspaceResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ProvisionerService_ProvisionWorkspaceStreamServer

type ProvisionerService_ProvisionWorkspaceStreamServer = grpc.ServerStreamingServer[ProvisionWorkspaceResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ProvisionerService_StartWorkspaceStreamClient added in v0.35.0

type ProvisionerService_StartWorkspaceStreamClient = grpc.ServerStreamingClient[ProvisionWorkspaceResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ProvisionerService_StartWorkspaceStreamServer added in v0.35.0

type ProvisionerService_StartWorkspaceStreamServer = grpc.ServerStreamingServer[ProvisionWorkspaceResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type QueryBlueprintsRequest added in v0.49.0

type QueryBlueprintsRequest struct {
	Query *v11.Payload `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

QueryBlueprintsRequest carries a generic query against the fields advertised by GetBlueprintsQuerySchema.

func (*QueryBlueprintsRequest) Descriptor deprecated added in v0.49.0

func (*QueryBlueprintsRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryBlueprintsRequest.ProtoReflect.Descriptor instead.

func (*QueryBlueprintsRequest) GetQuery added in v0.49.0

func (x *QueryBlueprintsRequest) GetQuery() *v11.Payload

func (*QueryBlueprintsRequest) ProtoMessage added in v0.49.0

func (*QueryBlueprintsRequest) ProtoMessage()

func (*QueryBlueprintsRequest) ProtoReflect added in v0.49.0

func (x *QueryBlueprintsRequest) ProtoReflect() protoreflect.Message

func (*QueryBlueprintsRequest) Reset added in v0.49.0

func (x *QueryBlueprintsRequest) Reset()

func (*QueryBlueprintsRequest) String added in v0.49.0

func (x *QueryBlueprintsRequest) String() string

type QueryBlueprintsResponse added in v0.49.0

type QueryBlueprintsResponse struct {
	Blueprints []*v1.BlueprintSummary `protobuf:"bytes,1,rep,name=blueprints,proto3" json:"blueprints,omitempty"`
	// contains filtered or unexported fields
}

QueryBlueprintsResponse contains the list of matching blueprint summaries.

func (*QueryBlueprintsResponse) Descriptor deprecated added in v0.49.0

func (*QueryBlueprintsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryBlueprintsResponse.ProtoReflect.Descriptor instead.

func (*QueryBlueprintsResponse) GetBlueprints added in v0.49.0

func (x *QueryBlueprintsResponse) GetBlueprints() []*v1.BlueprintSummary

func (*QueryBlueprintsResponse) ProtoMessage added in v0.49.0

func (*QueryBlueprintsResponse) ProtoMessage()

func (*QueryBlueprintsResponse) ProtoReflect added in v0.49.0

func (x *QueryBlueprintsResponse) ProtoReflect() protoreflect.Message

func (*QueryBlueprintsResponse) Reset added in v0.49.0

func (x *QueryBlueprintsResponse) Reset()

func (*QueryBlueprintsResponse) String added in v0.49.0

func (x *QueryBlueprintsResponse) String() string

type QueryWorkspacesRequest added in v0.36.0

type QueryWorkspacesRequest struct {
	Query *v11.Payload `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

QueryWorkspacesRequest carries a generic query against the fields advertised by GetWorkspacesQuerySchema.

func (*QueryWorkspacesRequest) Descriptor deprecated added in v0.36.0

func (*QueryWorkspacesRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryWorkspacesRequest.ProtoReflect.Descriptor instead.

func (*QueryWorkspacesRequest) GetQuery added in v0.36.0

func (x *QueryWorkspacesRequest) GetQuery() *v11.Payload

func (*QueryWorkspacesRequest) ProtoMessage added in v0.36.0

func (*QueryWorkspacesRequest) ProtoMessage()

func (*QueryWorkspacesRequest) ProtoReflect added in v0.36.0

func (x *QueryWorkspacesRequest) ProtoReflect() protoreflect.Message

func (*QueryWorkspacesRequest) Reset added in v0.36.0

func (x *QueryWorkspacesRequest) Reset()

func (*QueryWorkspacesRequest) String added in v0.36.0

func (x *QueryWorkspacesRequest) String() string

type StartWorkspaceRequest added in v0.35.0

type StartWorkspaceRequest struct {

	// workspace is the name of the workspace to start.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// timeout is the maximum number of seconds to wait for the pod to become ready.
	Timeout int32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// send_progress controls whether progress in percents are streamed.
	SendProgress bool `protobuf:"varint,3,opt,name=send_progress,json=sendProgress,proto3" json:"send_progress,omitempty"`
	// send_events controls whether Kubernetes object events are included in the stream.
	SendEvents bool `protobuf:"varint,4,opt,name=send_events,json=sendEvents,proto3" json:"send_events,omitempty"`
	// contains filtered or unexported fields
}

StartWorkspaceRequest identifies the stopped workspace to start.

func (*StartWorkspaceRequest) Descriptor deprecated added in v0.35.0

func (*StartWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*StartWorkspaceRequest) GetSendEvents added in v0.35.0

func (x *StartWorkspaceRequest) GetSendEvents() bool

func (*StartWorkspaceRequest) GetSendProgress added in v0.35.0

func (x *StartWorkspaceRequest) GetSendProgress() bool

func (*StartWorkspaceRequest) GetTimeout added in v0.35.0

func (x *StartWorkspaceRequest) GetTimeout() int32

func (*StartWorkspaceRequest) GetWorkspace added in v0.35.0

func (x *StartWorkspaceRequest) GetWorkspace() string

func (*StartWorkspaceRequest) ProtoMessage added in v0.35.0

func (*StartWorkspaceRequest) ProtoMessage()

func (*StartWorkspaceRequest) ProtoReflect added in v0.35.0

func (x *StartWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*StartWorkspaceRequest) Reset added in v0.35.0

func (x *StartWorkspaceRequest) Reset()

func (*StartWorkspaceRequest) String added in v0.35.0

func (x *StartWorkspaceRequest) String() string

type StopWorkspaceRequest

type StopWorkspaceRequest struct {

	// workspace is the name of the workspace to stop.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// delay_seconds defers the stop by the given number of seconds. Use 0 for
	// an immediate stop.
	DelaySeconds uint32 `protobuf:"varint,2,opt,name=delay_seconds,json=delaySeconds,proto3" json:"delay_seconds,omitempty"`
	// contains filtered or unexported fields
}

StopWorkspaceRequest identifies the workspace to stop.

func (*StopWorkspaceRequest) Descriptor deprecated

func (*StopWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*StopWorkspaceRequest) GetDelaySeconds

func (x *StopWorkspaceRequest) GetDelaySeconds() uint32

func (*StopWorkspaceRequest) GetWorkspace

func (x *StopWorkspaceRequest) GetWorkspace() string

func (*StopWorkspaceRequest) ProtoMessage

func (*StopWorkspaceRequest) ProtoMessage()

func (*StopWorkspaceRequest) ProtoReflect

func (x *StopWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*StopWorkspaceRequest) Reset

func (x *StopWorkspaceRequest) Reset()

func (*StopWorkspaceRequest) String

func (x *StopWorkspaceRequest) String() string

type StopWorkspaceResponse

type StopWorkspaceResponse struct {

	// message provides a human-readable description of the result.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

StopWorkspaceResponse reports the outcome of the stop operation.

func (*StopWorkspaceResponse) Descriptor deprecated

func (*StopWorkspaceResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopWorkspaceResponse.ProtoReflect.Descriptor instead.

func (*StopWorkspaceResponse) GetMessage

func (x *StopWorkspaceResponse) GetMessage() string

func (*StopWorkspaceResponse) ProtoMessage

func (*StopWorkspaceResponse) ProtoMessage()

func (*StopWorkspaceResponse) ProtoReflect

func (x *StopWorkspaceResponse) ProtoReflect() protoreflect.Message

func (*StopWorkspaceResponse) Reset

func (x *StopWorkspaceResponse) Reset()

func (*StopWorkspaceResponse) String

func (x *StopWorkspaceResponse) String() string

type UnimplementedProvisionerServiceServer

type UnimplementedProvisionerServiceServer struct{}

UnimplementedProvisionerServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedProvisionerServiceServer) CreateBlueprint added in v0.49.0

func (UnimplementedProvisionerServiceServer) DeleteBlueprint added in v0.49.0

func (UnimplementedProvisionerServiceServer) DeleteUserWorkspaces added in v0.34.2

func (UnimplementedProvisionerServiceServer) DeleteWorkspace

func (UnimplementedProvisionerServiceServer) DiffWorkspaceBlueprint added in v0.63.7

func (UnimplementedProvisionerServiceServer) EjectWorkspace

func (UnimplementedProvisionerServiceServer) FindWorkspace

func (UnimplementedProvisionerServiceServer) FindWorkspaceByAlias added in v0.62.2

func (UnimplementedProvisionerServiceServer) GetBlueprint added in v0.48.0

func (UnimplementedProvisionerServiceServer) GetBlueprintsQuerySchema added in v0.49.0

func (UnimplementedProvisionerServiceServer) GetVersionInfo added in v0.49.0

func (UnimplementedProvisionerServiceServer) GetWorkspaces

func (UnimplementedProvisionerServiceServer) GetWorkspacesByUserStr

func (UnimplementedProvisionerServiceServer) GetWorkspacesQuerySchema added in v0.36.0

func (UnimplementedProvisionerServiceServer) ListBlueprints added in v0.49.0

func (UnimplementedProvisionerServiceServer) ListInjectNamespaces added in v0.38.0

func (UnimplementedProvisionerServiceServer) ListInjectWorkloads added in v0.38.0

func (UnimplementedProvisionerServiceServer) QueryBlueprints added in v0.49.0

func (UnimplementedProvisionerServiceServer) QueryWorkspaces added in v0.36.0

func (UnimplementedProvisionerServiceServer) StartWorkspaceStream added in v0.35.0

func (UnimplementedProvisionerServiceServer) StopWorkspace

func (UnimplementedProvisionerServiceServer) UpdateBlueprint added in v0.49.0

func (UnimplementedProvisionerServiceServer) UpdateWorkspaceResources added in v0.49.0

func (UnimplementedProvisionerServiceServer) ValidateBlueprint added in v0.48.0

type UnsafeProvisionerServiceServer

type UnsafeProvisionerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeProvisionerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProvisionerServiceServer will result in compilation errors.

type UpdateBlueprintRequest added in v0.49.0

type UpdateBlueprintRequest struct {
	Org  string `protobuf:"bytes,1,opt,name=org,proto3" json:"org,omitempty"`   // required
	Yaml []byte `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // required
	// expected_revision, when set, makes the update conditional: it is applied
	// only if the blueprint's current revision (see OrgBlueprint.revision)
	// still equals it, and fails with ABORTED otherwise. Empty updates
	// unconditionally.
	ExpectedRevision string `protobuf:"bytes,3,opt,name=expected_revision,json=expectedRevision,proto3" json:"expected_revision,omitempty"`
	// contains filtered or unexported fields
}

UpdateBlueprintRequest replaces the content of an existing org-scoped blueprint, identified by org plus the name read from the submitted YAML document. yaml is replaced wholesale.

func (*UpdateBlueprintRequest) Descriptor deprecated added in v0.49.0

func (*UpdateBlueprintRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBlueprintRequest.ProtoReflect.Descriptor instead.

func (*UpdateBlueprintRequest) GetExpectedRevision added in v0.63.7

func (x *UpdateBlueprintRequest) GetExpectedRevision() string

func (*UpdateBlueprintRequest) GetOrg added in v0.49.0

func (x *UpdateBlueprintRequest) GetOrg() string

func (*UpdateBlueprintRequest) GetYaml added in v0.49.0

func (x *UpdateBlueprintRequest) GetYaml() []byte

func (*UpdateBlueprintRequest) ProtoMessage added in v0.49.0

func (*UpdateBlueprintRequest) ProtoMessage()

func (*UpdateBlueprintRequest) ProtoReflect added in v0.49.0

func (x *UpdateBlueprintRequest) ProtoReflect() protoreflect.Message

func (*UpdateBlueprintRequest) Reset added in v0.49.0

func (x *UpdateBlueprintRequest) Reset()

func (*UpdateBlueprintRequest) String added in v0.49.0

func (x *UpdateBlueprintRequest) String() string

type UpdateWorkspaceResourcesRequest added in v0.49.0

type UpdateWorkspaceResourcesRequest struct {

	// workspace is the name of the workspace to update.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// resources, when set, changes the workspace's CPU/memory limits.
	Resources *WorkspaceResourceLimits `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"`
	// network, when set, changes the workspace's network policy class and/or
	// egress rules.
	Network *WorkspaceNetworkRules `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

UpdateWorkspaceResourcesRequest identifies the workspace to update and carries the resource and/or network changes to apply. At least one of resources or network must be set.

func (*UpdateWorkspaceResourcesRequest) Descriptor deprecated added in v0.49.0

func (*UpdateWorkspaceResourcesRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkspaceResourcesRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkspaceResourcesRequest) GetNetwork added in v0.49.0

func (*UpdateWorkspaceResourcesRequest) GetResources added in v0.49.0

func (*UpdateWorkspaceResourcesRequest) GetWorkspace added in v0.49.0

func (x *UpdateWorkspaceResourcesRequest) GetWorkspace() string

func (*UpdateWorkspaceResourcesRequest) ProtoMessage added in v0.49.0

func (*UpdateWorkspaceResourcesRequest) ProtoMessage()

func (*UpdateWorkspaceResourcesRequest) ProtoReflect added in v0.49.0

func (*UpdateWorkspaceResourcesRequest) Reset added in v0.49.0

func (*UpdateWorkspaceResourcesRequest) String added in v0.49.0

type UpdateWorkspaceResourcesResponse added in v0.49.0

type UpdateWorkspaceResourcesResponse struct {

	// message is a human-readable summary of what was changed.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// applied_cpu and applied_memory are the workspace's CPU and memory limits
	// after the update.
	AppliedCpu    string `protobuf:"bytes,2,opt,name=applied_cpu,json=appliedCpu,proto3" json:"applied_cpu,omitempty"`
	AppliedMemory string `protobuf:"bytes,3,opt,name=applied_memory,json=appliedMemory,proto3" json:"applied_memory,omitempty"`
	// applied_network_policy_class is the network policy class in effect after
	// the update. Empty when the network was not changed.
	AppliedNetworkPolicyClass string `` /* 140-byte string literal not displayed */
	// applied_web_proxy_port is the TCP port published through the web proxy
	// after the update. 0 when the route was cleared or not changed.
	AppliedWebProxyPort int32 `protobuf:"varint,5,opt,name=applied_web_proxy_port,json=appliedWebProxyPort,proto3" json:"applied_web_proxy_port,omitempty"`
	// applied_web_proxy_alias is the web-proxy alias after the update. Empty
	// when the alias was cleared or not changed.
	AppliedWebProxyAlias string `protobuf:"bytes,6,opt,name=applied_web_proxy_alias,json=appliedWebProxyAlias,proto3" json:"applied_web_proxy_alias,omitempty"`
	// contains filtered or unexported fields
}

UpdateWorkspaceResourcesResponse reports the settings in effect after the update.

func (*UpdateWorkspaceResourcesResponse) Descriptor deprecated added in v0.49.0

func (*UpdateWorkspaceResourcesResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkspaceResourcesResponse.ProtoReflect.Descriptor instead.

func (*UpdateWorkspaceResourcesResponse) GetAppliedCpu added in v0.49.0

func (x *UpdateWorkspaceResourcesResponse) GetAppliedCpu() string

func (*UpdateWorkspaceResourcesResponse) GetAppliedMemory added in v0.49.0

func (x *UpdateWorkspaceResourcesResponse) GetAppliedMemory() string

func (*UpdateWorkspaceResourcesResponse) GetAppliedNetworkPolicyClass added in v0.49.0

func (x *UpdateWorkspaceResourcesResponse) GetAppliedNetworkPolicyClass() string

func (*UpdateWorkspaceResourcesResponse) GetAppliedWebProxyAlias added in v0.62.2

func (x *UpdateWorkspaceResourcesResponse) GetAppliedWebProxyAlias() string

func (*UpdateWorkspaceResourcesResponse) GetAppliedWebProxyPort added in v0.50.0

func (x *UpdateWorkspaceResourcesResponse) GetAppliedWebProxyPort() int32

func (*UpdateWorkspaceResourcesResponse) GetMessage added in v0.49.0

func (x *UpdateWorkspaceResourcesResponse) GetMessage() string

func (*UpdateWorkspaceResourcesResponse) ProtoMessage added in v0.49.0

func (*UpdateWorkspaceResourcesResponse) ProtoMessage()

func (*UpdateWorkspaceResourcesResponse) ProtoReflect added in v0.49.0

func (*UpdateWorkspaceResourcesResponse) Reset added in v0.49.0

func (*UpdateWorkspaceResourcesResponse) String added in v0.49.0

type ValidateBlueprintRequest added in v0.48.0

type ValidateBlueprintRequest struct {

	// yaml is the raw blueprint YAML content: either a bare blueprint document
	// or one wrapped in a top-level `blueprint:` key.
	Yaml []byte `protobuf:"bytes,1,opt,name=yaml,proto3" json:"yaml,omitempty"`
	// org optionally scopes `template:` resolution: when set, an org-scoped
	// template of that name in this org is resolved before a global/file
	// template of the same name, matching how a stored org blueprint of this
	// org resolves its parent. Empty means global-only resolution.
	Org string `protobuf:"bytes,2,opt,name=org,proto3" json:"org,omitempty"`
	// contains filtered or unexported fields
}

ValidateBlueprintRequest carries a standalone blueprint YAML document to validate. It is not registered in the provisioner and does not need to be named uniquely. If it references an existing template via `template:`, that template's already-registered definition is merged in exactly as it would be for a blueprint loaded from disk.

func (*ValidateBlueprintRequest) Descriptor deprecated added in v0.48.0

func (*ValidateBlueprintRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValidateBlueprintRequest.ProtoReflect.Descriptor instead.

func (*ValidateBlueprintRequest) GetOrg added in v0.49.0

func (x *ValidateBlueprintRequest) GetOrg() string

func (*ValidateBlueprintRequest) GetYaml added in v0.48.0

func (x *ValidateBlueprintRequest) GetYaml() []byte

func (*ValidateBlueprintRequest) ProtoMessage added in v0.48.0

func (*ValidateBlueprintRequest) ProtoMessage()

func (*ValidateBlueprintRequest) ProtoReflect added in v0.48.0

func (x *ValidateBlueprintRequest) ProtoReflect() protoreflect.Message

func (*ValidateBlueprintRequest) Reset added in v0.48.0

func (x *ValidateBlueprintRequest) Reset()

func (*ValidateBlueprintRequest) String added in v0.48.0

func (x *ValidateBlueprintRequest) String() string

type ValidateBlueprintResponse added in v0.48.0

type ValidateBlueprintResponse struct {

	// valid is true when errors is empty.
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// errors lists every validation problem found, if any.
	Errors []*BlueprintValidationError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// resolved_blueprint is the raw (unevaluated) content of the submitted
	// document merged with its referenced Template, if any — the same shape
	// GetBlueprintResponse.blueprint returns for an already-registered
	// blueprint, but for this standalone, unregistered document. CEL
	// expressions are returned as "!cel:"-prefixed strings. Only set when
	// valid is true: a caller editing an invalid document should fix the
	// reported errors first rather than being handed a preview built from a
	// broken one. Empty whenever valid is false, for any reason (malformed
	// YAML, an unresolvable template, or a schema/CEL validation failure).
	ResolvedBlueprint []byte `protobuf:"bytes,3,opt,name=resolved_blueprint,json=resolvedBlueprint,proto3" json:"resolved_blueprint,omitempty"`
	// contains filtered or unexported fields
}

ValidateBlueprintResponse reports every problem found in the submitted blueprint.

func (*ValidateBlueprintResponse) Descriptor deprecated added in v0.48.0

func (*ValidateBlueprintResponse) Descriptor() ([]byte, []int)

Deprecated: Use ValidateBlueprintResponse.ProtoReflect.Descriptor instead.

func (*ValidateBlueprintResponse) GetErrors added in v0.48.0

func (*ValidateBlueprintResponse) GetResolvedBlueprint added in v0.48.0

func (x *ValidateBlueprintResponse) GetResolvedBlueprint() []byte

func (*ValidateBlueprintResponse) GetValid added in v0.48.0

func (x *ValidateBlueprintResponse) GetValid() bool

func (*ValidateBlueprintResponse) ProtoMessage added in v0.48.0

func (*ValidateBlueprintResponse) ProtoMessage()

func (*ValidateBlueprintResponse) ProtoReflect added in v0.48.0

func (*ValidateBlueprintResponse) Reset added in v0.48.0

func (x *ValidateBlueprintResponse) Reset()

func (*ValidateBlueprintResponse) String added in v0.48.0

func (x *ValidateBlueprintResponse) String() string

type WorkspaceNetworkRules added in v0.49.0

type WorkspaceNetworkRules struct {

	// network_policy_class selects a predefined network policy class: one of
	// "workspace", "system", "isolated", "user", "organization". Empty leaves
	// the current class unchanged.
	NetworkPolicyClass string `protobuf:"bytes,1,opt,name=network_policy_class,json=networkPolicyClass,proto3" json:"network_policy_class,omitempty"`
	// replace_egress must be true for allow_egress_to_cidrs and
	// allow_egress_to_pods to take effect. When true they replace the
	// workspace's egress rules wholesale, so passing them empty clears every
	// custom egress rule. When false both fields are ignored and only
	// network_policy_class is considered.
	ReplaceEgress bool `protobuf:"varint,2,opt,name=replace_egress,json=replaceEgress,proto3" json:"replace_egress,omitempty"`
	// allow_egress_to_cidrs is the set of CIDR ranges the workspace may reach.
	// Applied only when replace_egress is true.
	AllowEgressToCidrs []string `protobuf:"bytes,3,rep,name=allow_egress_to_cidrs,json=allowEgressToCidrs,proto3" json:"allow_egress_to_cidrs,omitempty"`
	// allow_egress_to_pods is the set of pod label selectors the workspace may
	// reach. Applied only when replace_egress is true.
	AllowEgressToPods []*WorkspacePodSelector `protobuf:"bytes,4,rep,name=allow_egress_to_pods,json=allowEgressToPods,proto3" json:"allow_egress_to_pods,omitempty"`
	// replace_web_proxy must be true for web_proxy_port and web_proxy_roles to
	// take effect. When true they replace the workspace's web-proxy route
	// wholesale, so passing web_proxy_port 0 clears the route. When false both
	// fields are ignored.
	ReplaceWebProxy bool `protobuf:"varint,5,opt,name=replace_web_proxy,json=replaceWebProxy,proto3" json:"replace_web_proxy,omitempty"`
	// web_proxy_port is the TCP port listening inside the workspace to publish
	// through the web proxy. Applied only when replace_web_proxy is true; 0
	// clears the route.
	WebProxyPort int32 `protobuf:"varint,6,opt,name=web_proxy_port,json=webProxyPort,proto3" json:"web_proxy_port,omitempty"`
	// web_proxy_roles is the set of user roles allowed to reach the web-proxy
	// route. Applied only when replace_web_proxy is true.
	WebProxyRoles []string `protobuf:"bytes,7,rep,name=web_proxy_roles,json=webProxyRoles,proto3" json:"web_proxy_roles,omitempty"`
	// web_proxy_alias changes the alias of the web-proxy route independently of
	// replace_web_proxy: unset leaves it unchanged, "" clears it. Setting it
	// requires the route in effect after the update: a route published in the
	// same request (replace_web_proxy with web_proxy_port > 0) satisfies this,
	// as does the workspace's current route when the request leaves it alone.
	// It fails with FailedPrecondition when there is no such route, including
	// when the same request clears it (web_proxy_port 0), and with
	// AlreadyExists when another workspace of the organization holds the
	// alias. Either failure leaves the workspace unchanged: the route is not
	// replaced or cleared either. The route and alias are written together.
	// It reverts to the blueprint's alias on the next re-provision. Clearing
	// the route (replace_web_proxy with web_proxy_port 0) clears the alias too.
	WebProxyAlias *string `protobuf:"bytes,8,opt,name=web_proxy_alias,json=webProxyAlias,proto3,oneof" json:"web_proxy_alias,omitempty"`
	// contains filtered or unexported fields
}

WorkspaceNetworkRules carries the desired network policy class and egress rules for a workspace.

func (*WorkspaceNetworkRules) Descriptor deprecated added in v0.49.0

func (*WorkspaceNetworkRules) Descriptor() ([]byte, []int)

Deprecated: Use WorkspaceNetworkRules.ProtoReflect.Descriptor instead.

func (*WorkspaceNetworkRules) GetAllowEgressToCidrs added in v0.49.0

func (x *WorkspaceNetworkRules) GetAllowEgressToCidrs() []string

func (*WorkspaceNetworkRules) GetAllowEgressToPods added in v0.49.0

func (x *WorkspaceNetworkRules) GetAllowEgressToPods() []*WorkspacePodSelector

func (*WorkspaceNetworkRules) GetNetworkPolicyClass added in v0.49.0

func (x *WorkspaceNetworkRules) GetNetworkPolicyClass() string

func (*WorkspaceNetworkRules) GetReplaceEgress added in v0.49.0

func (x *WorkspaceNetworkRules) GetReplaceEgress() bool

func (*WorkspaceNetworkRules) GetReplaceWebProxy added in v0.50.0

func (x *WorkspaceNetworkRules) GetReplaceWebProxy() bool

func (*WorkspaceNetworkRules) GetWebProxyAlias added in v0.62.2

func (x *WorkspaceNetworkRules) GetWebProxyAlias() string

func (*WorkspaceNetworkRules) GetWebProxyPort added in v0.50.0

func (x *WorkspaceNetworkRules) GetWebProxyPort() int32

func (*WorkspaceNetworkRules) GetWebProxyRoles added in v0.50.0

func (x *WorkspaceNetworkRules) GetWebProxyRoles() []string

func (*WorkspaceNetworkRules) ProtoMessage added in v0.49.0

func (*WorkspaceNetworkRules) ProtoMessage()

func (*WorkspaceNetworkRules) ProtoReflect added in v0.49.0

func (x *WorkspaceNetworkRules) ProtoReflect() protoreflect.Message

func (*WorkspaceNetworkRules) Reset added in v0.49.0

func (x *WorkspaceNetworkRules) Reset()

func (*WorkspaceNetworkRules) String added in v0.49.0

func (x *WorkspaceNetworkRules) String() string

type WorkspacePodSelector added in v0.49.0

type WorkspacePodSelector struct {
	MatchLabels map[string]string `` /* 168-byte string literal not displayed */
	// contains filtered or unexported fields
}

WorkspacePodSelector is a set of pod labels an egress rule is allowed to reach, matching the shorthand entries of a blueprint's network.allowEgressToPods list.

func (*WorkspacePodSelector) Descriptor deprecated added in v0.49.0

func (*WorkspacePodSelector) Descriptor() ([]byte, []int)

Deprecated: Use WorkspacePodSelector.ProtoReflect.Descriptor instead.

func (*WorkspacePodSelector) GetMatchLabels added in v0.49.0

func (x *WorkspacePodSelector) GetMatchLabels() map[string]string

func (*WorkspacePodSelector) ProtoMessage added in v0.49.0

func (*WorkspacePodSelector) ProtoMessage()

func (*WorkspacePodSelector) ProtoReflect added in v0.49.0

func (x *WorkspacePodSelector) ProtoReflect() protoreflect.Message

func (*WorkspacePodSelector) Reset added in v0.49.0

func (x *WorkspacePodSelector) Reset()

func (*WorkspacePodSelector) String added in v0.49.0

func (x *WorkspacePodSelector) String() string

type WorkspaceResourceLimits added in v0.49.0

type WorkspaceResourceLimits struct {

	// cpu is the CPU limit as a Kubernetes resource quantity, e.g. "500m" or "2".
	Cpu string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	// memory is the memory limit as a Kubernetes resource quantity, e.g. "512Mi" or "2Gi".
	Memory string `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

WorkspaceResourceLimits carries the desired CPU and memory limits for a workspace's main container. An empty field leaves that limit unchanged.

func (*WorkspaceResourceLimits) Descriptor deprecated added in v0.49.0

func (*WorkspaceResourceLimits) Descriptor() ([]byte, []int)

Deprecated: Use WorkspaceResourceLimits.ProtoReflect.Descriptor instead.

func (*WorkspaceResourceLimits) GetCpu added in v0.49.0

func (x *WorkspaceResourceLimits) GetCpu() string

func (*WorkspaceResourceLimits) GetMemory added in v0.49.0

func (x *WorkspaceResourceLimits) GetMemory() string

func (*WorkspaceResourceLimits) ProtoMessage added in v0.49.0

func (*WorkspaceResourceLimits) ProtoMessage()

func (*WorkspaceResourceLimits) ProtoReflect added in v0.49.0

func (x *WorkspaceResourceLimits) ProtoReflect() protoreflect.Message

func (*WorkspaceResourceLimits) Reset added in v0.49.0

func (x *WorkspaceResourceLimits) Reset()

func (*WorkspaceResourceLimits) String added in v0.49.0

func (x *WorkspaceResourceLimits) String() string

Jump to

Keyboard shortcuts

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