confidentialworkflow

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 6 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"`
	// 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) 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"`
	// 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) ProtoMessage

func (*ConfidentialWorkflowResponse) ProtoMessage()

func (*ConfidentialWorkflowResponse) ProtoReflect

func (*ConfidentialWorkflowResponse) Reset

func (x *ConfidentialWorkflowResponse) Reset()

func (*ConfidentialWorkflowResponse) 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.
	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"`
	// contains filtered or unexported fields
}

WorkflowExecution is the public data sent to the enclave. Becomes ComputeRequest.PublicData after proto serialization.

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) 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