Documentation
¶
Index ¶
- Variables
- type ConfidentialWorkflowRequest
- func (*ConfidentialWorkflowRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfidentialWorkflowRequest) GetExecution() *WorkflowExecution
- func (x *ConfidentialWorkflowRequest) GetVaultDonSecrets() []*SecretIdentifier
- func (*ConfidentialWorkflowRequest) ProtoMessage()
- func (x *ConfidentialWorkflowRequest) ProtoReflect() protoreflect.Message
- func (x *ConfidentialWorkflowRequest) Reset()
- func (x *ConfidentialWorkflowRequest) String() string
- type ConfidentialWorkflowResponse
- func (*ConfidentialWorkflowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConfidentialWorkflowResponse) GetExecutionResult() []byte
- func (*ConfidentialWorkflowResponse) ProtoMessage()
- func (x *ConfidentialWorkflowResponse) ProtoReflect() protoreflect.Message
- func (x *ConfidentialWorkflowResponse) Reset()
- func (x *ConfidentialWorkflowResponse) String() string
- type SecretIdentifier
- func (*SecretIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *SecretIdentifier) GetKey() string
- func (x *SecretIdentifier) GetNamespace() string
- func (*SecretIdentifier) ProtoMessage()
- func (x *SecretIdentifier) ProtoReflect() protoreflect.Message
- func (x *SecretIdentifier) Reset()
- func (x *SecretIdentifier) String() string
- type WorkflowExecution
- func (*WorkflowExecution) Descriptor() ([]byte, []int)deprecated
- func (x *WorkflowExecution) GetBinaryHash() []byte
- func (x *WorkflowExecution) GetBinaryUrl() string
- func (x *WorkflowExecution) GetExecuteRequest() []byte
- func (x *WorkflowExecution) GetWorkflowId() string
- func (*WorkflowExecution) ProtoMessage()
- func (x *WorkflowExecution) ProtoReflect() protoreflect.Message
- func (x *WorkflowExecution) Reset()
- func (x *WorkflowExecution) String() string
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 (x *ConfidentialWorkflowRequest) GetExecution() *WorkflowExecution
func (*ConfidentialWorkflowRequest) GetVaultDonSecrets ¶
func (x *ConfidentialWorkflowRequest) GetVaultDonSecrets() []*SecretIdentifier
func (*ConfidentialWorkflowRequest) ProtoMessage ¶
func (*ConfidentialWorkflowRequest) ProtoMessage()
func (*ConfidentialWorkflowRequest) ProtoReflect ¶
func (x *ConfidentialWorkflowRequest) ProtoReflect() protoreflect.Message
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 (x *ConfidentialWorkflowResponse) ProtoReflect() protoreflect.Message
func (*ConfidentialWorkflowResponse) Reset ¶
func (x *ConfidentialWorkflowResponse) Reset()
func (*ConfidentialWorkflowResponse) String ¶
func (x *ConfidentialWorkflowResponse) 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.
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
Click to show internal directories.
Click to hide internal directories.