confidentialworkflow

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_capabilities_compute_confidentialworkflow_v1alpha_client_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConfidentialWorkflowRequest

type ConfidentialWorkflowRequest struct {
	VaultDonSecrets []*SecretIdentifier `protobuf:"bytes,1,rep,name=vault_don_secrets,json=vaultDonSecrets,proto3" json:"vault_don_secrets,omitempty"`
	Execution       *WorkflowExecution  `protobuf:"bytes,2,opt,name=execution,proto3" json:"execution,omitempty"`
	// Deprecated: the per-node pre-signed URL approach is superseded. binary_url
	// now travels inside WorkflowExecution (PublicData) as a canonical locator,
	// with authentication to the storage service handled out of band by the fetch
	// sidecar. Retained for back-compat; no longer populated.
	//
	// Deprecated: Marked as deprecated in capabilities/compute/confidentialworkflow/v1alpha/client.proto.
	BinaryUrl string `protobuf:"bytes,3,opt,name=binary_url,json=binaryUrl,proto3" json:"binary_url,omitempty"`
	// contains filtered or unexported fields
}

ConfidentialWorkflowRequest is the input provided to the confidential workflows capability. It combines a WorkflowExecution with secrets from VaultDON.

func (*ConfidentialWorkflowRequest) Descriptor deprecated

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

Deprecated: Use ConfidentialWorkflowRequest.ProtoReflect.Descriptor instead.

func (*ConfidentialWorkflowRequest) GetBinaryUrl deprecated added in v1.3.0

func (x *ConfidentialWorkflowRequest) GetBinaryUrl() string

Deprecated: Marked as deprecated in capabilities/compute/confidentialworkflow/v1alpha/client.proto.

func (*ConfidentialWorkflowRequest) GetExecution

func (*ConfidentialWorkflowRequest) GetVaultDonSecrets

func (x *ConfidentialWorkflowRequest) GetVaultDonSecrets() []*SecretIdentifier

func (*ConfidentialWorkflowRequest) ProtoMessage

func (*ConfidentialWorkflowRequest) ProtoMessage()

func (*ConfidentialWorkflowRequest) ProtoReflect

func (*ConfidentialWorkflowRequest) Reset

func (x *ConfidentialWorkflowRequest) Reset()

func (*ConfidentialWorkflowRequest) String

func (x *ConfidentialWorkflowRequest) String() string

type ConfidentialWorkflowResponse

type ConfidentialWorkflowResponse struct {

	// execution_result is a serialized sdk.v1alpha.ExecutionResult proto.
	ExecutionResult []byte `protobuf:"bytes,1,opt,name=execution_result,json=executionResult,proto3" json:"execution_result,omitempty"`
	// sdk_execution_result is the structured form of execution_result. It carries
	// the same sdk.v1alpha.ExecutionResult as the serialized execution_result
	// bytes field; the two are independent on the wire.
	SdkExecutionResult *sdk.ExecutionResult `protobuf:"bytes,2,opt,name=sdk_execution_result,json=sdkExecutionResult,proto3" json:"sdk_execution_result,omitempty"`
	// contains filtered or unexported fields
}

ConfidentialWorkflowResponse is the output from the confidential workflows capability.

func (*ConfidentialWorkflowResponse) Descriptor deprecated

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

Deprecated: Use ConfidentialWorkflowResponse.ProtoReflect.Descriptor instead.

func (*ConfidentialWorkflowResponse) GetExecutionResult

func (x *ConfidentialWorkflowResponse) GetExecutionResult() []byte

func (*ConfidentialWorkflowResponse) GetSdkExecutionResult added in v1.3.0

func (x *ConfidentialWorkflowResponse) GetSdkExecutionResult() *sdk.ExecutionResult

func (*ConfidentialWorkflowResponse) ProtoMessage

func (*ConfidentialWorkflowResponse) ProtoMessage()

func (*ConfidentialWorkflowResponse) ProtoReflect

func (*ConfidentialWorkflowResponse) Reset

func (x *ConfidentialWorkflowResponse) Reset()

func (*ConfidentialWorkflowResponse) String

type ProvidedTeesResponse added in v1.3.0

type ProvidedTeesResponse struct {
	Tee []*sdk.TeeTypeAndRegions `protobuf:"bytes,1,rep,name=tee,proto3" json:"tee,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvidedTeesResponse) Descriptor deprecated added in v1.3.0

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

Deprecated: Use ProvidedTeesResponse.ProtoReflect.Descriptor instead.

func (*ProvidedTeesResponse) GetTee added in v1.3.0

func (*ProvidedTeesResponse) ProtoMessage added in v1.3.0

func (*ProvidedTeesResponse) ProtoMessage()

func (*ProvidedTeesResponse) ProtoReflect added in v1.3.0

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

func (*ProvidedTeesResponse) Reset added in v1.3.0

func (x *ProvidedTeesResponse) Reset()

func (*ProvidedTeesResponse) String added in v1.3.0

func (x *ProvidedTeesResponse) String() string

type SecretIdentifier

type SecretIdentifier struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// namespace defaults to "main" when unset.
	Namespace *string `protobuf:"bytes,2,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretIdentifier) Descriptor deprecated

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

Deprecated: Use SecretIdentifier.ProtoReflect.Descriptor instead.

func (*SecretIdentifier) GetKey

func (x *SecretIdentifier) GetKey() string

func (*SecretIdentifier) GetNamespace

func (x *SecretIdentifier) GetNamespace() string

func (*SecretIdentifier) ProtoMessage

func (*SecretIdentifier) ProtoMessage()

func (*SecretIdentifier) ProtoReflect

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

func (*SecretIdentifier) Reset

func (x *SecretIdentifier) Reset()

func (*SecretIdentifier) String

func (x *SecretIdentifier) String() string

type WorkflowExecution

type WorkflowExecution struct {

	// workflow_id identifies the workflow to execute.
	WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	// binary_url is the URL from which the enclave fetches the compiled WASM
	// binary. It lives inside WorkflowExecution (PublicData), covered by
	// ComputeRequest.Hash() for F+1 quorum, so every node agrees on the same
	// canonical locator. Authentication to the storage service is handled out of
	// band by the fetch sidecar, so this is a stable, node-agnostic locator
	// rather than a per-node pre-signed URL.
	BinaryUrl string `protobuf:"bytes,2,opt,name=binary_url,json=binaryUrl,proto3" json:"binary_url,omitempty"`
	// binary_hash is the expected SHA-256 hash of the WASM binary, for integrity verification.
	BinaryHash []byte `protobuf:"bytes,3,opt,name=binary_hash,json=binaryHash,proto3" json:"binary_hash,omitempty"`
	// execute_request is a serialized sdk.v1alpha.ExecuteRequest proto.
	// Contains either a subscribe request or a trigger execution request.
	ExecuteRequest []byte `protobuf:"bytes,4,opt,name=execute_request,json=executeRequest,proto3" json:"execute_request,omitempty"`
	// owner is the on-chain owner address of the workflow (hex, 0x-prefixed).
	// Used by the enclave for runtime secret fetching from VaultDON.
	Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
	// execution_id is the unique execution identifier (64 hex chars, 32 bytes).
	// Used by the enclave for runtime secret fetching from VaultDON.
	ExecutionId string `protobuf:"bytes,6,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// org_id is the organization identifier for the workflow owner.
	// Used by the enclave when fetching secrets from VaultDON with org-based ownership.
	OrgId string `protobuf:"bytes,7,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// requirements describes what is needed to run this workflow (e.g. TEE type
	// and regions).
	Requirements *sdk.Requirements `protobuf:"bytes,8,opt,name=requirements,proto3" json:"requirements,omitempty"`
	// sdk_execute_request is the structured form of execute_request. It carries
	// the same sdk.v1alpha.ExecuteRequest as the serialized execute_request bytes
	// field; the two are independent on the wire (setting one does not populate
	// the other). Consumers that want the typed message read this; legacy
	// consumers continue to unmarshal execute_request.
	SdkExecuteRequest *sdk.ExecuteRequest `protobuf:"bytes,9,opt,name=sdk_execute_request,json=sdkExecuteRequest,proto3" json:"sdk_execute_request,omitempty"`
	// restrictions on the capabilities and the secrets.bool
	// This is sent to avoid overhead when a TEE is not compromised, the DON will verify the restrictions on its end as well.
	Restrictions *sdk.Restrictions `protobuf:"bytes,10,opt,name=restrictions,proto3" json:"restrictions,omitempty"`
	// contains filtered or unexported fields
}

WorkflowExecution is the public data sent to the enclave. Becomes ComputeRequest.PublicData after proto serialization, which is covered by ComputeRequest.Hash() for F+1 quorum matching at the enclave.

func (*WorkflowExecution) Descriptor deprecated

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

Deprecated: Use WorkflowExecution.ProtoReflect.Descriptor instead.

func (*WorkflowExecution) GetBinaryHash

func (x *WorkflowExecution) GetBinaryHash() []byte

func (*WorkflowExecution) GetBinaryUrl

func (x *WorkflowExecution) GetBinaryUrl() string

func (*WorkflowExecution) GetExecuteRequest

func (x *WorkflowExecution) GetExecuteRequest() []byte

func (*WorkflowExecution) GetExecutionId added in v0.11.1

func (x *WorkflowExecution) GetExecutionId() string

func (*WorkflowExecution) GetOrgId added in v1.3.0

func (x *WorkflowExecution) GetOrgId() string

func (*WorkflowExecution) GetOwner added in v0.11.1

func (x *WorkflowExecution) GetOwner() string

func (*WorkflowExecution) GetRequirements added in v1.3.0

func (x *WorkflowExecution) GetRequirements() *sdk.Requirements

func (*WorkflowExecution) GetRestrictions added in v1.3.0

func (x *WorkflowExecution) GetRestrictions() *sdk.Restrictions

func (*WorkflowExecution) GetSdkExecuteRequest added in v1.3.0

func (x *WorkflowExecution) GetSdkExecuteRequest() *sdk.ExecuteRequest

func (*WorkflowExecution) GetWorkflowId

func (x *WorkflowExecution) GetWorkflowId() string

func (*WorkflowExecution) ProtoMessage

func (*WorkflowExecution) ProtoMessage()

func (*WorkflowExecution) ProtoReflect

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

func (*WorkflowExecution) Reset

func (x *WorkflowExecution) Reset()

func (*WorkflowExecution) String

func (x *WorkflowExecution) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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