v0

package
v0.2.103 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 14 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const (
	Provider_GetProviderInformation_FullMethodName = "/codefly.services.provider.v0.Provider/GetProviderInformation"
	Provider_Validate_FullMethodName               = "/codefly.services.provider.v0.Provider/Validate"
	Provider_Observe_FullMethodName                = "/codefly.services.provider.v0.Provider/Observe"
	Provider_Plan_FullMethodName                   = "/codefly.services.provider.v0.Provider/Plan"
	Provider_ApplyAction_FullMethodName            = "/codefly.services.provider.v0.Provider/ApplyAction"
	Provider_Doctor_FullMethodName                 = "/codefly.services.provider.v0.Provider/Doctor"
	Provider_UpgradeState_FullMethodName           = "/codefly.services.provider.v0.Provider/UpgradeState"
)
View Source
const (
	ProviderHost_ExecuteRequest_FullMethodName   = "/codefly.services.provider.v0.ProviderHost/ExecuteRequest"
	ProviderHost_RecordCheckpoint_FullMethodName = "/codefly.services.provider.v0.ProviderHost/RecordCheckpoint"
	ProviderHost_ResolveCapture_FullMethodName   = "/codefly.services.provider.v0.ProviderHost/ResolveCapture"
	ProviderHost_ProposeOutput_FullMethodName    = "/codefly.services.provider.v0.ProviderHost/ProposeOutput"
)

Variables ¶

View Source
var (
	MethodNetworkMode_name = map[int32]string{
		0: "METHOD_NETWORK_MODE_UNSPECIFIED",
		1: "METHOD_NETWORK_MODE_OFFLINE",
		2: "METHOD_NETWORK_MODE_READ_ONLY",
		3: "METHOD_NETWORK_MODE_ADMITTED",
		4: "METHOD_NETWORK_MODE_HOST_LOCAL",
	}
	MethodNetworkMode_value = map[string]int32{
		"METHOD_NETWORK_MODE_UNSPECIFIED": 0,
		"METHOD_NETWORK_MODE_OFFLINE":     1,
		"METHOD_NETWORK_MODE_READ_ONLY":   2,
		"METHOD_NETWORK_MODE_ADMITTED":    3,
		"METHOD_NETWORK_MODE_HOST_LOCAL":  4,
	}
)

Enum value maps for MethodNetworkMode.

View Source
var (
	MethodEffect_name = map[int32]string{
		0: "METHOD_EFFECT_UNSPECIFIED",
		1: "METHOD_EFFECT_NONE",
		2: "METHOD_EFFECT_READ_ONLY",
		3: "METHOD_EFFECT_ONE_PLAN_ACTION",
		4: "METHOD_EFFECT_HOST_BOOKKEEPING",
	}
	MethodEffect_value = map[string]int32{
		"METHOD_EFFECT_UNSPECIFIED":      0,
		"METHOD_EFFECT_NONE":             1,
		"METHOD_EFFECT_READ_ONLY":        2,
		"METHOD_EFFECT_ONE_PLAN_ACTION":  3,
		"METHOD_EFFECT_HOST_BOOKKEEPING": 4,
	}
)

Enum value maps for MethodEffect.

View Source
var (
	Ownership_name = map[int32]string{
		0: "OWNERSHIP_UNSPECIFIED",
		1: "OWNERSHIP_OBSERVED",
		2: "OWNERSHIP_OWNED",
		3: "OWNERSHIP_ADOPTED",
		4: "OWNERSHIP_UNMANAGED",
	}
	Ownership_value = map[string]int32{
		"OWNERSHIP_UNSPECIFIED": 0,
		"OWNERSHIP_OBSERVED":    1,
		"OWNERSHIP_OWNED":       2,
		"OWNERSHIP_ADOPTED":     3,
		"OWNERSHIP_UNMANAGED":   4,
	}
)

Enum value maps for Ownership.

View Source
var (
	ActionType_name = map[int32]string{
		0: "ACTION_TYPE_UNSPECIFIED",
		1: "ACTION_TYPE_CREATE",
		2: "ACTION_TYPE_UPDATE",
		3: "ACTION_TYPE_REPLACE",
		4: "ACTION_TYPE_DELETE",
		5: "ACTION_TYPE_IMPORT",
		6: "ACTION_TYPE_MANUAL",
		7: "ACTION_TYPE_BLOCKED",
		8: "ACTION_TYPE_NO_OP",
		9: "ACTION_TYPE_PROJECT_OUTPUT",
	}
	ActionType_value = map[string]int32{
		"ACTION_TYPE_UNSPECIFIED":    0,
		"ACTION_TYPE_CREATE":         1,
		"ACTION_TYPE_UPDATE":         2,
		"ACTION_TYPE_REPLACE":        3,
		"ACTION_TYPE_DELETE":         4,
		"ACTION_TYPE_IMPORT":         5,
		"ACTION_TYPE_MANUAL":         6,
		"ACTION_TYPE_BLOCKED":        7,
		"ACTION_TYPE_NO_OP":          8,
		"ACTION_TYPE_PROJECT_OUTPUT": 9,
	}
)

Enum value maps for ActionType.

View Source
var (
	DeliveryState_name = map[int32]string{
		0: "DELIVERY_STATE_UNSPECIFIED",
		1: "DELIVERY_STATE_NOT_SENT",
		2: "DELIVERY_STATE_SENT_OUTCOME_UNKNOWN",
		3: "DELIVERY_STATE_RESPONSE_RECEIVED",
	}
	DeliveryState_value = map[string]int32{
		"DELIVERY_STATE_UNSPECIFIED":          0,
		"DELIVERY_STATE_NOT_SENT":             1,
		"DELIVERY_STATE_SENT_OUTCOME_UNKNOWN": 2,
		"DELIVERY_STATE_RESPONSE_RECEIVED":    3,
	}
)

Enum value maps for DeliveryState.

View Source
var (
	OutcomeCertainty_name = map[int32]string{
		0: "OUTCOME_CERTAINTY_UNSPECIFIED",
		1: "OUTCOME_CERTAINTY_COMPLETE",
		2: "OUTCOME_CERTAINTY_PARTIAL",
		3: "OUTCOME_CERTAINTY_UNCERTAIN",
	}
	OutcomeCertainty_value = map[string]int32{
		"OUTCOME_CERTAINTY_UNSPECIFIED": 0,
		"OUTCOME_CERTAINTY_COMPLETE":    1,
		"OUTCOME_CERTAINTY_PARTIAL":     2,
		"OUTCOME_CERTAINTY_UNCERTAIN":   3,
	}
)

Enum value maps for OutcomeCertainty.

View Source
var (
	HostMode_name = map[int32]string{
		0: "HOST_MODE_UNSPECIFIED",
		1: "HOST_MODE_DEVELOPMENT",
		2: "HOST_MODE_STAGING",
		3: "HOST_MODE_PRODUCTION",
	}
	HostMode_value = map[string]int32{
		"HOST_MODE_UNSPECIFIED": 0,
		"HOST_MODE_DEVELOPMENT": 1,
		"HOST_MODE_STAGING":     2,
		"HOST_MODE_PRODUCTION":  3,
	}
)

Enum value maps for HostMode.

View Source
var (
	CredentialPurpose_name = map[int32]string{
		0: "CREDENTIAL_PURPOSE_UNSPECIFIED",
		1: "CREDENTIAL_PURPOSE_MANAGEMENT",
		2: "CREDENTIAL_PURPOSE_RUNTIME",
		3: "CREDENTIAL_PURPOSE_BUILD",
		4: "CREDENTIAL_PURPOSE_WEBHOOK_VERIFICATION",
	}
	CredentialPurpose_value = map[string]int32{
		"CREDENTIAL_PURPOSE_UNSPECIFIED":          0,
		"CREDENTIAL_PURPOSE_MANAGEMENT":           1,
		"CREDENTIAL_PURPOSE_RUNTIME":              2,
		"CREDENTIAL_PURPOSE_BUILD":                3,
		"CREDENTIAL_PURPOSE_WEBHOOK_VERIFICATION": 4,
	}
)

Enum value maps for CredentialPurpose.

View Source
var (
	PrivateNetworkClass_name = map[int32]string{
		0: "PRIVATE_NETWORK_CLASS_UNSPECIFIED",
		1: "PRIVATE_NETWORK_CLASS_PUBLIC",
		2: "PRIVATE_NETWORK_CLASS_LOOPBACK",
		3: "PRIVATE_NETWORK_CLASS_LINK_LOCAL",
		4: "PRIVATE_NETWORK_CLASS_PRIVATE",
	}
	PrivateNetworkClass_value = map[string]int32{
		"PRIVATE_NETWORK_CLASS_UNSPECIFIED": 0,
		"PRIVATE_NETWORK_CLASS_PUBLIC":      1,
		"PRIVATE_NETWORK_CLASS_LOOPBACK":    2,
		"PRIVATE_NETWORK_CLASS_LINK_LOCAL":  3,
		"PRIVATE_NETWORK_CLASS_PRIVATE":     4,
	}
)

Enum value maps for PrivateNetworkClass.

View Source
var (
	HTTPMethod_name = map[int32]string{
		0: "HTTP_METHOD_UNSPECIFIED",
		1: "HTTP_METHOD_GET",
		2: "HTTP_METHOD_HEAD",
		3: "HTTP_METHOD_POST",
		4: "HTTP_METHOD_PUT",
		5: "HTTP_METHOD_PATCH",
		6: "HTTP_METHOD_DELETE",
	}
	HTTPMethod_value = map[string]int32{
		"HTTP_METHOD_UNSPECIFIED": 0,
		"HTTP_METHOD_GET":         1,
		"HTTP_METHOD_HEAD":        2,
		"HTTP_METHOD_POST":        3,
		"HTTP_METHOD_PUT":         4,
		"HTTP_METHOD_PATCH":       5,
		"HTTP_METHOD_DELETE":      6,
	}
)

Enum value maps for HTTPMethod.

View Source
var (
	// provider_method_policy binds enforceable network and effect policy to an RPC.
	//
	// optional codefly.services.provider.v0.ProviderMethodPolicy provider_method_policy = 51001;
	E_ProviderMethodPolicy = &file_codefly_services_provider_v0_provider_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_codefly_services_provider_v0_provider_proto protoreflect.FileDescriptor
View Source
var ProviderHost_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "codefly.services.provider.v0.ProviderHost",
	HandlerType: (*ProviderHostServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ExecuteRequest",
			Handler:    _ProviderHost_ExecuteRequest_Handler,
		},
		{
			MethodName: "RecordCheckpoint",
			Handler:    _ProviderHost_RecordCheckpoint_Handler,
		},
		{
			MethodName: "ResolveCapture",
			Handler:    _ProviderHost_ResolveCapture_Handler,
		},
		{
			MethodName: "ProposeOutput",
			Handler:    _ProviderHost_ProposeOutput_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "codefly/services/provider/v0/provider.proto",
}

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

View Source
var Provider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "codefly.services.provider.v0.Provider",
	HandlerType: (*ProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetProviderInformation",
			Handler:    _Provider_GetProviderInformation_Handler,
		},
		{
			MethodName: "Validate",
			Handler:    _Provider_Validate_Handler,
		},
		{
			MethodName: "Observe",
			Handler:    _Provider_Observe_Handler,
		},
		{
			MethodName: "Plan",
			Handler:    _Provider_Plan_Handler,
		},
		{
			MethodName: "ApplyAction",
			Handler:    _Provider_ApplyAction_Handler,
		},
		{
			MethodName: "Doctor",
			Handler:    _Provider_Doctor_Handler,
		},
		{
			MethodName: "UpgradeState",
			Handler:    _Provider_UpgradeState_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "codefly/services/provider/v0/provider.proto",
}

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

Functions ¶

func RegisterProviderHostServer ¶

func RegisterProviderHostServer(s grpc.ServiceRegistrar, srv ProviderHostServer)

func RegisterProviderServer ¶

func RegisterProviderServer(s grpc.ServiceRegistrar, srv ProviderServer)

Types ¶

type ActionCheckpoint ¶

type ActionCheckpoint struct {

	// checkpoint_id is the durable checkpoint identity.
	CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
	// operation is the host-owned operation identity.
	Operation *OperationIdentity `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// delivery is the pre-send delivery state.
	Delivery DeliveryState `protobuf:"varint,3,opt,name=delivery,proto3,enum=codefly.services.provider.v0.DeliveryState" json:"delivery,omitempty"`
	// idempotency_key is stable across retries.
	IdempotencyKey string `protobuf:"bytes,4,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	// prospective_remote_id survives uncertain create outcomes.
	ProspectiveRemoteId string `protobuf:"bytes,5,opt,name=prospective_remote_id,json=prospectiveRemoteId,proto3" json:"prospective_remote_id,omitempty"`
	// recorded_at is the durable checkpoint time.
	RecordedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=recorded_at,json=recordedAt,proto3" json:"recorded_at,omitempty"`
	// recovery_fields are safe provider-neutral recovery facts.
	RecoveryFields map[string]*PublicValue `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

ActionCheckpoint is durable action recovery state.

func (*ActionCheckpoint) Descriptor deprecated

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

Deprecated: Use ActionCheckpoint.ProtoReflect.Descriptor instead.

func (*ActionCheckpoint) GetCheckpointId ¶

func (x *ActionCheckpoint) GetCheckpointId() string

func (*ActionCheckpoint) GetDelivery ¶

func (x *ActionCheckpoint) GetDelivery() DeliveryState

func (*ActionCheckpoint) GetIdempotencyKey ¶

func (x *ActionCheckpoint) GetIdempotencyKey() string

func (*ActionCheckpoint) GetOperation ¶

func (x *ActionCheckpoint) GetOperation() *OperationIdentity

func (*ActionCheckpoint) GetProspectiveRemoteId ¶

func (x *ActionCheckpoint) GetProspectiveRemoteId() string

func (*ActionCheckpoint) GetRecordedAt ¶

func (x *ActionCheckpoint) GetRecordedAt() *timestamppb.Timestamp

func (*ActionCheckpoint) GetRecoveryFields ¶

func (x *ActionCheckpoint) GetRecoveryFields() map[string]*PublicValue

func (*ActionCheckpoint) ProtoMessage ¶

func (*ActionCheckpoint) ProtoMessage()

func (*ActionCheckpoint) ProtoReflect ¶

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

func (*ActionCheckpoint) Reset ¶

func (x *ActionCheckpoint) Reset()

func (*ActionCheckpoint) String ¶

func (x *ActionCheckpoint) String() string

type ActionPrecondition ¶

type ActionPrecondition struct {

	// name is the stable precondition name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// expected is the canonical expected value.
	Expected *PublicValue `protobuf:"bytes,2,opt,name=expected,proto3" json:"expected,omitempty"`
	// contains filtered or unexported fields
}

ActionPrecondition is one exact action precondition.

func (*ActionPrecondition) Descriptor deprecated

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

Deprecated: Use ActionPrecondition.ProtoReflect.Descriptor instead.

func (*ActionPrecondition) GetExpected ¶

func (x *ActionPrecondition) GetExpected() *PublicValue

func (*ActionPrecondition) GetName ¶

func (x *ActionPrecondition) GetName() string

func (*ActionPrecondition) ProtoMessage ¶

func (*ActionPrecondition) ProtoMessage()

func (*ActionPrecondition) ProtoReflect ¶

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

func (*ActionPrecondition) Reset ¶

func (x *ActionPrecondition) Reset()

func (*ActionPrecondition) String ¶

func (x *ActionPrecondition) String() string

type ActionReceipt ¶

type ActionReceipt struct {

	// receipt_id is the host-generated receipt identity.
	ReceiptId string `protobuf:"bytes,1,opt,name=receipt_id,json=receiptId,proto3" json:"receipt_id,omitempty"`
	// operation is the host-owned operation identity.
	Operation *OperationIdentity `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// action is the exact action that was attempted.
	Action *PlanAction `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
	// delivery records the request delivery boundary.
	Delivery DeliveryState `protobuf:"varint,4,opt,name=delivery,proto3,enum=codefly.services.provider.v0.DeliveryState" json:"delivery,omitempty"`
	// certainty records complete, partial, or uncertain outcome.
	Certainty OutcomeCertainty `protobuf:"varint,5,opt,name=certainty,proto3,enum=codefly.services.provider.v0.OutcomeCertainty" json:"certainty,omitempty"`
	// started_at is the host-attested action start.
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// completed_at is the host-attested action completion when known.
	CompletedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"`
	// artifact_digest binds the executing provider package.
	ArtifactDigest string `protobuf:"bytes,8,opt,name=artifact_digest,json=artifactDigest,proto3" json:"artifact_digest,omitempty"`
	// safe_result contains only filtered safe result fields.
	SafeResult map[string]*PublicValue `` /* 165-byte string literal not displayed */
	// capture_references are opaque durable sink references.
	CaptureReferences []*OpaqueReference `protobuf:"bytes,10,rep,name=capture_references,json=captureReferences,proto3" json:"capture_references,omitempty"`
	// diagnostics are bounded neutral diagnostics.
	Diagnostics []*v0.FailureDiagnostic `protobuf:"bytes,11,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

ActionReceipt is the durable result of one exact action.

func (*ActionReceipt) Descriptor deprecated

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

Deprecated: Use ActionReceipt.ProtoReflect.Descriptor instead.

func (*ActionReceipt) GetAction ¶

func (x *ActionReceipt) GetAction() *PlanAction

func (*ActionReceipt) GetArtifactDigest ¶

func (x *ActionReceipt) GetArtifactDigest() string

func (*ActionReceipt) GetCaptureReferences ¶

func (x *ActionReceipt) GetCaptureReferences() []*OpaqueReference

func (*ActionReceipt) GetCertainty ¶

func (x *ActionReceipt) GetCertainty() OutcomeCertainty

func (*ActionReceipt) GetCompletedAt ¶

func (x *ActionReceipt) GetCompletedAt() *timestamppb.Timestamp

func (*ActionReceipt) GetDelivery ¶

func (x *ActionReceipt) GetDelivery() DeliveryState

func (*ActionReceipt) GetDiagnostics ¶

func (x *ActionReceipt) GetDiagnostics() []*v0.FailureDiagnostic

func (*ActionReceipt) GetOperation ¶

func (x *ActionReceipt) GetOperation() *OperationIdentity

func (*ActionReceipt) GetReceiptId ¶

func (x *ActionReceipt) GetReceiptId() string

func (*ActionReceipt) GetSafeResult ¶

func (x *ActionReceipt) GetSafeResult() map[string]*PublicValue

func (*ActionReceipt) GetStartedAt ¶

func (x *ActionReceipt) GetStartedAt() *timestamppb.Timestamp

func (*ActionReceipt) ProtoMessage ¶

func (*ActionReceipt) ProtoMessage()

func (*ActionReceipt) ProtoReflect ¶

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

func (*ActionReceipt) Reset ¶

func (x *ActionReceipt) Reset()

func (*ActionReceipt) String ¶

func (x *ActionReceipt) String() string

type ActionType ¶

type ActionType int32

ActionType is the closed provider-neutral lifecycle action vocabulary.

const (
	// ACTION_TYPE_UNSPECIFIED is never admitted.
	ActionType_ACTION_TYPE_UNSPECIFIED ActionType = 0
	// ACTION_TYPE_CREATE creates a remote object.
	ActionType_ACTION_TYPE_CREATE ActionType = 1
	// ACTION_TYPE_UPDATE mutates an existing remote object in place.
	ActionType_ACTION_TYPE_UPDATE ActionType = 2
	// ACTION_TYPE_REPLACE replaces a remote object.
	ActionType_ACTION_TYPE_REPLACE ActionType = 3
	// ACTION_TYPE_DELETE deletes a remote object.
	ActionType_ACTION_TYPE_DELETE ActionType = 4
	// ACTION_TYPE_IMPORT adopts an existing remote object.
	ActionType_ACTION_TYPE_IMPORT ActionType = 5
	// ACTION_TYPE_MANUAL requires an operator action outside Codefly.
	ActionType_ACTION_TYPE_MANUAL ActionType = 6
	// ACTION_TYPE_BLOCKED cannot proceed until a declared condition changes.
	ActionType_ACTION_TYPE_BLOCKED ActionType = 7
	// ACTION_TYPE_NO_OP records that no material remote change is needed.
	ActionType_ACTION_TYPE_NO_OP ActionType = 8
	// ACTION_TYPE_PROJECT_OUTPUT asks the host to project configuration output.
	ActionType_ACTION_TYPE_PROJECT_OUTPUT ActionType = 9
)

func (ActionType) Descriptor ¶

func (ActionType) Descriptor() protoreflect.EnumDescriptor

func (ActionType) Enum ¶

func (x ActionType) Enum() *ActionType

func (ActionType) EnumDescriptor deprecated

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

Deprecated: Use ActionType.Descriptor instead.

func (ActionType) Number ¶

func (x ActionType) Number() protoreflect.EnumNumber

func (ActionType) String ¶

func (x ActionType) String() string

func (ActionType) Type ¶

type AdmittedOrigin ¶

type AdmittedOrigin struct {

	// origin_rule_id binds this origin to the manifest ceiling.
	OriginRuleId string `protobuf:"bytes,1,opt,name=origin_rule_id,json=originRuleId,proto3" json:"origin_rule_id,omitempty"`
	// scheme is the admitted lowercase scheme.
	Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"`
	// host is the admitted canonical host.
	Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	// port is the admitted concrete port.
	Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	// private_network_class is attested after host resolution.
	PrivateNetworkClass PrivateNetworkClass `` /* 175-byte string literal not displayed */
	// admission_digest binds the rule, endpoint, and concrete origin.
	AdmissionDigest string `protobuf:"bytes,6,opt,name=admission_digest,json=admissionDigest,proto3" json:"admission_digest,omitempty"`
	// contains filtered or unexported fields
}

AdmittedOrigin is the concrete host-attested request origin.

func (*AdmittedOrigin) Descriptor deprecated

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

Deprecated: Use AdmittedOrigin.ProtoReflect.Descriptor instead.

func (*AdmittedOrigin) GetAdmissionDigest ¶

func (x *AdmittedOrigin) GetAdmissionDigest() string

func (*AdmittedOrigin) GetHost ¶

func (x *AdmittedOrigin) GetHost() string

func (*AdmittedOrigin) GetOriginRuleId ¶

func (x *AdmittedOrigin) GetOriginRuleId() string

func (*AdmittedOrigin) GetPort ¶

func (x *AdmittedOrigin) GetPort() uint32

func (*AdmittedOrigin) GetPrivateNetworkClass ¶

func (x *AdmittedOrigin) GetPrivateNetworkClass() PrivateNetworkClass

func (*AdmittedOrigin) GetScheme ¶

func (x *AdmittedOrigin) GetScheme() string

func (*AdmittedOrigin) ProtoMessage ¶

func (*AdmittedOrigin) ProtoMessage()

func (*AdmittedOrigin) ProtoReflect ¶

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

func (*AdmittedOrigin) Reset ¶

func (x *AdmittedOrigin) Reset()

func (*AdmittedOrigin) String ¶

func (x *AdmittedOrigin) String() string

type AgentArtifactIdentity ¶

type AgentArtifactIdentity struct {

	// publisher is the agent publisher namespace.
	Publisher string `protobuf:"bytes,1,opt,name=publisher,proto3" json:"publisher,omitempty"`
	// name is the provider agent name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// version is the concrete agent version.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// artifact_digest is the verified package digest.
	ArtifactDigest string `protobuf:"bytes,4,opt,name=artifact_digest,json=artifactDigest,proto3" json:"artifact_digest,omitempty"`
	// manifest_digest is the packaged provider manifest digest.
	ManifestDigest string `protobuf:"bytes,5,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"`
	// contains filtered or unexported fields
}

AgentArtifactIdentity binds one concrete provider binary to its package.

func (*AgentArtifactIdentity) Descriptor deprecated

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

Deprecated: Use AgentArtifactIdentity.ProtoReflect.Descriptor instead.

func (*AgentArtifactIdentity) GetArtifactDigest ¶

func (x *AgentArtifactIdentity) GetArtifactDigest() string

func (*AgentArtifactIdentity) GetManifestDigest ¶

func (x *AgentArtifactIdentity) GetManifestDigest() string

func (*AgentArtifactIdentity) GetName ¶

func (x *AgentArtifactIdentity) GetName() string

func (*AgentArtifactIdentity) GetPublisher ¶

func (x *AgentArtifactIdentity) GetPublisher() string

func (*AgentArtifactIdentity) GetVersion ¶

func (x *AgentArtifactIdentity) GetVersion() string

func (*AgentArtifactIdentity) ProtoMessage ¶

func (*AgentArtifactIdentity) ProtoMessage()

func (*AgentArtifactIdentity) ProtoReflect ¶

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

func (*AgentArtifactIdentity) Reset ¶

func (x *AgentArtifactIdentity) Reset()

func (*AgentArtifactIdentity) String ¶

func (x *AgentArtifactIdentity) String() string

type ApplyActionRequest ¶

type ApplyActionRequest struct {

	// context carries admitted handles, identities, and budget.
	Context *ProviderContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// plan is the exact bound plan.
	Plan *OrderedPlan `protobuf:"bytes,2,opt,name=plan,proto3" json:"plan,omitempty"`
	// action is the single host-selected action.
	Action *PlanAction `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
	// prior_checkpoint carries durable recovery state.
	PriorCheckpoint *ActionCheckpoint `protobuf:"bytes,4,opt,name=prior_checkpoint,json=priorCheckpoint,proto3" json:"prior_checkpoint,omitempty"`
	// state is the current safe provider state.
	State *ProviderState `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

ApplyActionRequest selects one exact action from one exact plan.

func (*ApplyActionRequest) Descriptor deprecated

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

Deprecated: Use ApplyActionRequest.ProtoReflect.Descriptor instead.

func (*ApplyActionRequest) GetAction ¶

func (x *ApplyActionRequest) GetAction() *PlanAction

func (*ApplyActionRequest) GetContext ¶

func (x *ApplyActionRequest) GetContext() *ProviderContext

func (*ApplyActionRequest) GetPlan ¶

func (x *ApplyActionRequest) GetPlan() *OrderedPlan

func (*ApplyActionRequest) GetPriorCheckpoint ¶

func (x *ApplyActionRequest) GetPriorCheckpoint() *ActionCheckpoint

func (*ApplyActionRequest) GetState ¶

func (x *ApplyActionRequest) GetState() *ProviderState

func (*ApplyActionRequest) ProtoMessage ¶

func (*ApplyActionRequest) ProtoMessage()

func (*ApplyActionRequest) ProtoReflect ¶

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

func (*ApplyActionRequest) Reset ¶

func (x *ApplyActionRequest) Reset()

func (*ApplyActionRequest) String ¶

func (x *ApplyActionRequest) String() string

type ApplyActionResponse ¶

type ApplyActionResponse struct {

	// receipt is the durable action result.
	Receipt *ActionReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
	// next_state is safe provider state after this action.
	NextState *ProviderState `protobuf:"bytes,2,opt,name=next_state,json=nextState,proto3" json:"next_state,omitempty"`
	// contains filtered or unexported fields
}

ApplyActionResponse returns the exact action receipt and next state.

func (*ApplyActionResponse) Descriptor deprecated

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

Deprecated: Use ApplyActionResponse.ProtoReflect.Descriptor instead.

func (*ApplyActionResponse) GetNextState ¶

func (x *ApplyActionResponse) GetNextState() *ProviderState

func (*ApplyActionResponse) GetReceipt ¶

func (x *ApplyActionResponse) GetReceipt() *ActionReceipt

func (*ApplyActionResponse) ProtoMessage ¶

func (*ApplyActionResponse) ProtoMessage()

func (*ApplyActionResponse) ProtoReflect ¶

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

func (*ApplyActionResponse) Reset ¶

func (x *ApplyActionResponse) Reset()

func (*ApplyActionResponse) String ¶

func (x *ApplyActionResponse) String() string

type BindingAddress ¶

type BindingAddress struct {

	// workspace_id is the stable workspace identity.
	WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	// environment_id is the stable environment identity.
	EnvironmentId string `protobuf:"bytes,2,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	// binding_id is the stable binding identity.
	BindingId string `protobuf:"bytes,3,opt,name=binding_id,json=bindingId,proto3" json:"binding_id,omitempty"`
	// contains filtered or unexported fields
}

BindingAddress is the environment-scoped provider binding identity.

func (*BindingAddress) Descriptor deprecated

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

Deprecated: Use BindingAddress.ProtoReflect.Descriptor instead.

func (*BindingAddress) GetBindingId ¶

func (x *BindingAddress) GetBindingId() string

func (*BindingAddress) GetEnvironmentId ¶

func (x *BindingAddress) GetEnvironmentId() string

func (*BindingAddress) GetWorkspaceId ¶

func (x *BindingAddress) GetWorkspaceId() string

func (*BindingAddress) ProtoMessage ¶

func (*BindingAddress) ProtoMessage()

func (*BindingAddress) ProtoReflect ¶

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

func (*BindingAddress) Reset ¶

func (x *BindingAddress) Reset()

func (*BindingAddress) String ¶

func (x *BindingAddress) String() string

type BindingDesiredState ¶

type BindingDesiredState struct {

	// binding is the exact binding address.
	Binding *BindingAddress `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`
	// deletion_policy defaults to retain at the manifest boundary.
	DeletionPolicy string `protobuf:"bytes,2,opt,name=deletion_policy,json=deletionPolicy,proto3" json:"deletion_policy,omitempty"`
	// input is normalized non-secret desired input.
	Input map[string]*PublicValue `` /* 137-byte string literal not displayed */
	// credential_references bind purpose to inactive opaque references.
	CredentialReferences []*OpaqueReference `protobuf:"bytes,4,rep,name=credential_references,json=credentialReferences,proto3" json:"credential_references,omitempty"`
	// contains filtered or unexported fields
}

BindingDesiredState is canonical environment-scoped desired state.

func (*BindingDesiredState) Descriptor deprecated

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

Deprecated: Use BindingDesiredState.ProtoReflect.Descriptor instead.

func (*BindingDesiredState) GetBinding ¶

func (x *BindingDesiredState) GetBinding() *BindingAddress

func (*BindingDesiredState) GetCredentialReferences ¶

func (x *BindingDesiredState) GetCredentialReferences() []*OpaqueReference

func (*BindingDesiredState) GetDeletionPolicy ¶

func (x *BindingDesiredState) GetDeletionPolicy() string

func (*BindingDesiredState) GetInput ¶

func (x *BindingDesiredState) GetInput() map[string]*PublicValue

func (*BindingDesiredState) ProtoMessage ¶

func (*BindingDesiredState) ProtoMessage()

func (*BindingDesiredState) ProtoReflect ¶

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

func (*BindingDesiredState) Reset ¶

func (x *BindingDesiredState) Reset()

func (*BindingDesiredState) String ¶

func (x *BindingDesiredState) String() string

type CaptureResult ¶

type CaptureResult struct {

	// capture_id is the host capture identity.
	CaptureId string `protobuf:"bytes,1,opt,name=capture_id,json=captureId,proto3" json:"capture_id,omitempty"`
	// selector is the manifest capture selector.
	Selector string `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`
	// sink_reference is opaque and never reveals captured bytes.
	SinkReference *OpaqueReference `protobuf:"bytes,3,opt,name=sink_reference,json=sinkReference,proto3" json:"sink_reference,omitempty"`
	// captured reports whether Put became durable.
	Captured bool `protobuf:"varint,4,opt,name=captured,proto3" json:"captured,omitempty"`
	// contains filtered or unexported fields
}

CaptureResult is a durable-at-Put one-time capture result.

func (*CaptureResult) Descriptor deprecated

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

Deprecated: Use CaptureResult.ProtoReflect.Descriptor instead.

func (*CaptureResult) GetCaptureId ¶

func (x *CaptureResult) GetCaptureId() string

func (*CaptureResult) GetCaptured ¶

func (x *CaptureResult) GetCaptured() bool

func (*CaptureResult) GetSelector ¶

func (x *CaptureResult) GetSelector() string

func (*CaptureResult) GetSinkReference ¶

func (x *CaptureResult) GetSinkReference() *OpaqueReference

func (*CaptureResult) ProtoMessage ¶

func (*CaptureResult) ProtoMessage()

func (*CaptureResult) ProtoReflect ¶

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

func (*CaptureResult) Reset ¶

func (x *CaptureResult) Reset()

func (*CaptureResult) String ¶

func (x *CaptureResult) String() string

type CredentialHandle ¶

type CredentialHandle struct {

	// handle is meaningful only to the host broker.
	Handle string `protobuf:"bytes,1,opt,name=handle,proto3" json:"handle,omitempty"`
	// purpose is the host-admitted credential purpose.
	Purpose CredentialPurpose `protobuf:"varint,2,opt,name=purpose,proto3,enum=codefly.services.provider.v0.CredentialPurpose" json:"purpose,omitempty"`
	// contains filtered or unexported fields
}

CredentialHandle is an opaque host-minted credential reference.

func (*CredentialHandle) Descriptor deprecated

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

Deprecated: Use CredentialHandle.ProtoReflect.Descriptor instead.

func (*CredentialHandle) GetHandle ¶

func (x *CredentialHandle) GetHandle() string

func (*CredentialHandle) GetPurpose ¶

func (x *CredentialHandle) GetPurpose() CredentialPurpose

func (*CredentialHandle) ProtoMessage ¶

func (*CredentialHandle) ProtoMessage()

func (*CredentialHandle) ProtoReflect ¶

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

func (*CredentialHandle) Reset ¶

func (x *CredentialHandle) Reset()

func (*CredentialHandle) String ¶

func (x *CredentialHandle) String() string

type CredentialPurpose ¶

type CredentialPurpose int32

CredentialPurpose is the closed purpose vocabulary for opaque handles.

const (
	// CREDENTIAL_PURPOSE_UNSPECIFIED is never admitted.
	CredentialPurpose_CREDENTIAL_PURPOSE_UNSPECIFIED CredentialPurpose = 0
	// CREDENTIAL_PURPOSE_MANAGEMENT authorizes provider management operations.
	CredentialPurpose_CREDENTIAL_PURPOSE_MANAGEMENT CredentialPurpose = 1
	// CREDENTIAL_PURPOSE_RUNTIME is consumed by an application at runtime.
	CredentialPurpose_CREDENTIAL_PURPOSE_RUNTIME CredentialPurpose = 2
	// CREDENTIAL_PURPOSE_BUILD is consumed only while building an application.
	CredentialPurpose_CREDENTIAL_PURPOSE_BUILD CredentialPurpose = 3
	// CREDENTIAL_PURPOSE_WEBHOOK_VERIFICATION verifies inbound webhook signatures.
	CredentialPurpose_CREDENTIAL_PURPOSE_WEBHOOK_VERIFICATION CredentialPurpose = 4
)

func (CredentialPurpose) Descriptor ¶

func (CredentialPurpose) Enum ¶

func (CredentialPurpose) EnumDescriptor deprecated

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

Deprecated: Use CredentialPurpose.Descriptor instead.

func (CredentialPurpose) Number ¶

func (CredentialPurpose) String ¶

func (x CredentialPurpose) String() string

func (CredentialPurpose) Type ¶

type DeliveryState ¶

type DeliveryState int32

DeliveryState records whether an admitted remote request crossed the boundary.

const (
	// DELIVERY_STATE_UNSPECIFIED is never persisted.
	DeliveryState_DELIVERY_STATE_UNSPECIFIED DeliveryState = 0
	// DELIVERY_STATE_NOT_SENT means no request bytes were sent.
	DeliveryState_DELIVERY_STATE_NOT_SENT DeliveryState = 1
	// DELIVERY_STATE_SENT_OUTCOME_UNKNOWN means delivery occurred without a known response.
	DeliveryState_DELIVERY_STATE_SENT_OUTCOME_UNKNOWN DeliveryState = 2
	// DELIVERY_STATE_RESPONSE_RECEIVED means the host received a response.
	DeliveryState_DELIVERY_STATE_RESPONSE_RECEIVED DeliveryState = 3
)

func (DeliveryState) Descriptor ¶

func (DeliveryState) Enum ¶

func (x DeliveryState) Enum() *DeliveryState

func (DeliveryState) EnumDescriptor deprecated

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

Deprecated: Use DeliveryState.Descriptor instead.

func (DeliveryState) Number ¶

func (DeliveryState) String ¶

func (x DeliveryState) String() string

func (DeliveryState) Type ¶

type DoctorRequest ¶

type DoctorRequest struct {

	// context carries admitted read-only handles and budget.
	Context *ProviderContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// state is the current safe provider state.
	State *ProviderState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

DoctorRequest asks for admitted read-only provider diagnostics.

func (*DoctorRequest) Descriptor deprecated

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

Deprecated: Use DoctorRequest.ProtoReflect.Descriptor instead.

func (*DoctorRequest) GetContext ¶

func (x *DoctorRequest) GetContext() *ProviderContext

func (*DoctorRequest) GetState ¶

func (x *DoctorRequest) GetState() *ProviderState

func (*DoctorRequest) ProtoMessage ¶

func (*DoctorRequest) ProtoMessage()

func (*DoctorRequest) ProtoReflect ¶

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

func (*DoctorRequest) Reset ¶

func (x *DoctorRequest) Reset()

func (*DoctorRequest) String ¶

func (x *DoctorRequest) String() string

type DoctorResponse ¶

type DoctorResponse struct {

	// healthy reports whether provider prerequisites are ready.
	Healthy bool `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`
	// diagnostics are bounded neutral diagnostics.
	Diagnostics []*v0.FailureDiagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

DoctorResponse returns bounded diagnostics only.

func (*DoctorResponse) Descriptor deprecated

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

Deprecated: Use DoctorResponse.ProtoReflect.Descriptor instead.

func (*DoctorResponse) GetDiagnostics ¶

func (x *DoctorResponse) GetDiagnostics() []*v0.FailureDiagnostic

func (*DoctorResponse) GetHealthy ¶

func (x *DoctorResponse) GetHealthy() bool

func (*DoctorResponse) ProtoMessage ¶

func (*DoctorResponse) ProtoMessage()

func (*DoctorResponse) ProtoReflect ¶

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

func (*DoctorResponse) Reset ¶

func (x *DoctorResponse) Reset()

func (*DoctorResponse) String ¶

func (x *DoctorResponse) String() string

type ExecuteRequestRequest ¶

type ExecuteRequestRequest struct {

	// context binds the request to the operation and admitted origin.
	Context *ProviderContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// request_id is the provider-generated callback identity.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// request is byte-for-byte material from the admitted plan.
	Request *PlannedRequest `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	// origin is the host-admitted concrete origin.
	Origin *AdmittedOrigin `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"`
	// credential_handles select host-admitted credential purposes.
	CredentialHandles []*CredentialHandle `protobuf:"bytes,5,rep,name=credential_handles,json=credentialHandles,proto3" json:"credential_handles,omitempty"`
	// requested_at is the provider request timestamp.
	RequestedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=requested_at,json=requestedAt,proto3" json:"requested_at,omitempty"`
	// contains filtered or unexported fields
}

ExecuteRequestRequest is one structured manifest-declared broker request.

func (*ExecuteRequestRequest) Descriptor deprecated

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

Deprecated: Use ExecuteRequestRequest.ProtoReflect.Descriptor instead.

func (*ExecuteRequestRequest) GetContext ¶

func (x *ExecuteRequestRequest) GetContext() *ProviderContext

func (*ExecuteRequestRequest) GetCredentialHandles ¶

func (x *ExecuteRequestRequest) GetCredentialHandles() []*CredentialHandle

func (*ExecuteRequestRequest) GetOrigin ¶

func (x *ExecuteRequestRequest) GetOrigin() *AdmittedOrigin

func (*ExecuteRequestRequest) GetRequest ¶

func (x *ExecuteRequestRequest) GetRequest() *PlannedRequest

func (*ExecuteRequestRequest) GetRequestId ¶

func (x *ExecuteRequestRequest) GetRequestId() string

func (*ExecuteRequestRequest) GetRequestedAt ¶

func (x *ExecuteRequestRequest) GetRequestedAt() *timestamppb.Timestamp

func (*ExecuteRequestRequest) ProtoMessage ¶

func (*ExecuteRequestRequest) ProtoMessage()

func (*ExecuteRequestRequest) ProtoReflect ¶

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

func (*ExecuteRequestRequest) Reset ¶

func (x *ExecuteRequestRequest) Reset()

func (*ExecuteRequestRequest) String ¶

func (x *ExecuteRequestRequest) String() string

type ExecuteRequestResponse ¶

type ExecuteRequestResponse struct {

	// request_id matches the callback identity.
	RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// delivery records whether request bytes crossed the boundary.
	Delivery DeliveryState `protobuf:"varint,2,opt,name=delivery,proto3,enum=codefly.services.provider.v0.DeliveryState" json:"delivery,omitempty"`
	// status_code is the remote HTTP response code when received.
	StatusCode uint32 `protobuf:"varint,3,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
	// forwarded contains only FORWARD_SAFE filtered fields.
	Forwarded []*FilteredField `protobuf:"bytes,4,rep,name=forwarded,proto3" json:"forwarded,omitempty"`
	// suppressed_presence reports presence without forwarding a value.
	SuppressedPresence []string `protobuf:"bytes,5,rep,name=suppressed_presence,json=suppressedPresence,proto3" json:"suppressed_presence,omitempty"`
	// captures are durable sink results.
	Captures []*CaptureResult `protobuf:"bytes,6,rep,name=captures,proto3" json:"captures,omitempty"`
	// certainty records complete, partial, or uncertain outcome.
	Certainty OutcomeCertainty `protobuf:"varint,7,opt,name=certainty,proto3,enum=codefly.services.provider.v0.OutcomeCertainty" json:"certainty,omitempty"`
	// response_received_at is host-attested when a response arrived.
	ResponseReceivedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=response_received_at,json=responseReceivedAt,proto3" json:"response_received_at,omitempty"`
	// diagnostics are bounded neutral diagnostics.
	Diagnostics []*v0.FailureDiagnostic `protobuf:"bytes,9,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

ExecuteRequestResponse contains no unfiltered response body.

func (*ExecuteRequestResponse) Descriptor deprecated

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

Deprecated: Use ExecuteRequestResponse.ProtoReflect.Descriptor instead.

func (*ExecuteRequestResponse) GetCaptures ¶

func (x *ExecuteRequestResponse) GetCaptures() []*CaptureResult

func (*ExecuteRequestResponse) GetCertainty ¶

func (x *ExecuteRequestResponse) GetCertainty() OutcomeCertainty

func (*ExecuteRequestResponse) GetDelivery ¶

func (x *ExecuteRequestResponse) GetDelivery() DeliveryState

func (*ExecuteRequestResponse) GetDiagnostics ¶

func (x *ExecuteRequestResponse) GetDiagnostics() []*v0.FailureDiagnostic

func (*ExecuteRequestResponse) GetForwarded ¶

func (x *ExecuteRequestResponse) GetForwarded() []*FilteredField

func (*ExecuteRequestResponse) GetRequestId ¶

func (x *ExecuteRequestResponse) GetRequestId() string

func (*ExecuteRequestResponse) GetResponseReceivedAt ¶

func (x *ExecuteRequestResponse) GetResponseReceivedAt() *timestamppb.Timestamp

func (*ExecuteRequestResponse) GetStatusCode ¶

func (x *ExecuteRequestResponse) GetStatusCode() uint32

func (*ExecuteRequestResponse) GetSuppressedPresence ¶

func (x *ExecuteRequestResponse) GetSuppressedPresence() []string

func (*ExecuteRequestResponse) ProtoMessage ¶

func (*ExecuteRequestResponse) ProtoMessage()

func (*ExecuteRequestResponse) ProtoReflect ¶

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

func (*ExecuteRequestResponse) Reset ¶

func (x *ExecuteRequestResponse) Reset()

func (*ExecuteRequestResponse) String ¶

func (x *ExecuteRequestResponse) String() string

type FilteredField ¶

type FilteredField struct {

	// selector is the manifest response selector.
	Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"`
	// value is the filtered safe value.
	Value *PublicValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

FilteredField is one response field safe to forward.

func (*FilteredField) Descriptor deprecated

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

Deprecated: Use FilteredField.ProtoReflect.Descriptor instead.

func (*FilteredField) GetSelector ¶

func (x *FilteredField) GetSelector() string

func (*FilteredField) GetValue ¶

func (x *FilteredField) GetValue() *PublicValue

func (*FilteredField) ProtoMessage ¶

func (*FilteredField) ProtoMessage()

func (*FilteredField) ProtoReflect ¶

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

func (*FilteredField) Reset ¶

func (x *FilteredField) Reset()

func (*FilteredField) String ¶

func (x *FilteredField) String() string

type GetProviderInformationRequest ¶

type GetProviderInformationRequest struct {

	// artifact is the verified agent package identity.
	Artifact *AgentArtifactIdentity `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"`
	// contains filtered or unexported fields
}

GetProviderInformationRequest identifies the verified binary asking to advertise.

func (*GetProviderInformationRequest) Descriptor deprecated

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

Deprecated: Use GetProviderInformationRequest.ProtoReflect.Descriptor instead.

func (*GetProviderInformationRequest) GetArtifact ¶

func (*GetProviderInformationRequest) ProtoMessage ¶

func (*GetProviderInformationRequest) ProtoMessage()

func (*GetProviderInformationRequest) ProtoReflect ¶

func (*GetProviderInformationRequest) Reset ¶

func (x *GetProviderInformationRequest) Reset()

func (*GetProviderInformationRequest) String ¶

type GetProviderInformationResponse ¶

type GetProviderInformationResponse struct {

	// artifact must exactly match the request identity.
	Artifact *AgentArtifactIdentity `protobuf:"bytes,1,opt,name=artifact,proto3" json:"artifact,omitempty"`
	// catalog is the runtime subset of the packaged manifest.
	Catalog *RuntimeCatalog `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"`
	// capabilities are provider-neutral supported operations.
	Capabilities *ProviderCapabilities `protobuf:"bytes,3,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
	// readiness separates production observation and mutation.
	Readiness *ProviderReadiness `protobuf:"bytes,4,opt,name=readiness,proto3" json:"readiness,omitempty"`
	// diagnostics are bounded neutral diagnostics.
	Diagnostics []*v0.FailureDiagnostic `protobuf:"bytes,5,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

GetProviderInformationResponse returns immutable provider advertisement.

func (*GetProviderInformationResponse) Descriptor deprecated

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

Deprecated: Use GetProviderInformationResponse.ProtoReflect.Descriptor instead.

func (*GetProviderInformationResponse) GetArtifact ¶

func (*GetProviderInformationResponse) GetCapabilities ¶

func (*GetProviderInformationResponse) GetCatalog ¶

func (*GetProviderInformationResponse) GetDiagnostics ¶

func (x *GetProviderInformationResponse) GetDiagnostics() []*v0.FailureDiagnostic

func (*GetProviderInformationResponse) GetReadiness ¶

func (*GetProviderInformationResponse) ProtoMessage ¶

func (*GetProviderInformationResponse) ProtoMessage()

func (*GetProviderInformationResponse) ProtoReflect ¶

func (*GetProviderInformationResponse) Reset ¶

func (x *GetProviderInformationResponse) Reset()

func (*GetProviderInformationResponse) String ¶

type HTTPMethod ¶

type HTTPMethod int32

HTTPMethod is the closed broker HTTP method vocabulary.

const (
	// HTTP_METHOD_UNSPECIFIED is never admitted.
	HTTPMethod_HTTP_METHOD_UNSPECIFIED HTTPMethod = 0
	// HTTP_METHOD_GET is a GET request.
	HTTPMethod_HTTP_METHOD_GET HTTPMethod = 1
	// HTTP_METHOD_HEAD is a HEAD request.
	HTTPMethod_HTTP_METHOD_HEAD HTTPMethod = 2
	// HTTP_METHOD_POST is a POST request.
	HTTPMethod_HTTP_METHOD_POST HTTPMethod = 3
	// HTTP_METHOD_PUT is a PUT request.
	HTTPMethod_HTTP_METHOD_PUT HTTPMethod = 4
	// HTTP_METHOD_PATCH is a PATCH request.
	HTTPMethod_HTTP_METHOD_PATCH HTTPMethod = 5
	// HTTP_METHOD_DELETE is a DELETE request.
	HTTPMethod_HTTP_METHOD_DELETE HTTPMethod = 6
)

func (HTTPMethod) Descriptor ¶

func (HTTPMethod) Descriptor() protoreflect.EnumDescriptor

func (HTTPMethod) Enum ¶

func (x HTTPMethod) Enum() *HTTPMethod

func (HTTPMethod) EnumDescriptor deprecated

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

Deprecated: Use HTTPMethod.Descriptor instead.

func (HTTPMethod) Number ¶

func (x HTTPMethod) Number() protoreflect.EnumNumber

func (HTTPMethod) String ¶

func (x HTTPMethod) String() string

func (HTTPMethod) Type ¶

type HostMode ¶

type HostMode int32

HostMode is a host-attested environment mode.

const (
	// HOST_MODE_UNSPECIFIED is never admitted.
	HostMode_HOST_MODE_UNSPECIFIED HostMode = 0
	// HOST_MODE_DEVELOPMENT is a non-production environment.
	HostMode_HOST_MODE_DEVELOPMENT HostMode = 1
	// HOST_MODE_STAGING is a pre-production environment.
	HostMode_HOST_MODE_STAGING HostMode = 2
	// HOST_MODE_PRODUCTION is a production environment.
	HostMode_HOST_MODE_PRODUCTION HostMode = 3
)

func (HostMode) Descriptor ¶

func (HostMode) Descriptor() protoreflect.EnumDescriptor

func (HostMode) Enum ¶

func (x HostMode) Enum() *HostMode

func (HostMode) EnumDescriptor deprecated

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

Deprecated: Use HostMode.Descriptor instead.

func (HostMode) Number ¶

func (x HostMode) Number() protoreflect.EnumNumber

func (HostMode) String ¶

func (x HostMode) String() string

func (HostMode) Type ¶

type MaterialObservation ¶

type MaterialObservation struct {

	// account_identity is the exact safe account identity.
	AccountIdentity string `protobuf:"bytes,1,opt,name=account_identity,json=accountIdentity,proto3" json:"account_identity,omitempty"`
	// mode is host-attested.
	Mode HostMode `protobuf:"varint,2,opt,name=mode,proto3,enum=codefly.services.provider.v0.HostMode" json:"mode,omitempty"`
	// complete is explicit even for single-page observations.
	Complete bool `protobuf:"varint,3,opt,name=complete,proto3" json:"complete,omitempty"`
	// next_cursor is present only when the observation is incomplete.
	NextCursor string `protobuf:"bytes,4,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
	// resources are canonicalized independently of retrieval order.
	Resources []*MaterialResourceObservation `protobuf:"bytes,5,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

MaterialObservation is the canonical digest-bearing observation.

func (*MaterialObservation) Descriptor deprecated

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

Deprecated: Use MaterialObservation.ProtoReflect.Descriptor instead.

func (*MaterialObservation) GetAccountIdentity ¶

func (x *MaterialObservation) GetAccountIdentity() string

func (*MaterialObservation) GetComplete ¶

func (x *MaterialObservation) GetComplete() bool

func (*MaterialObservation) GetMode ¶

func (x *MaterialObservation) GetMode() HostMode

func (*MaterialObservation) GetNextCursor ¶

func (x *MaterialObservation) GetNextCursor() string

func (*MaterialObservation) GetResources ¶

func (x *MaterialObservation) GetResources() []*MaterialResourceObservation

func (*MaterialObservation) ProtoMessage ¶

func (*MaterialObservation) ProtoMessage()

func (*MaterialObservation) ProtoReflect ¶

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

func (*MaterialObservation) Reset ¶

func (x *MaterialObservation) Reset()

func (*MaterialObservation) String ¶

func (x *MaterialObservation) String() string

type MaterialResourceObservation ¶

type MaterialResourceObservation struct {

	// identity is the exact remote identity.
	Identity *RemoteIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
	// ownership is the provider relationship to this object.
	Ownership Ownership `protobuf:"varint,2,opt,name=ownership,proto3,enum=codefly.services.provider.v0.Ownership" json:"ownership,omitempty"`
	// revision is a material remote revision or ETag.
	Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
	// provider_owned_fields are safe fields managed by this provider.
	ProviderOwnedFields map[string]*PublicValue `` /* 194-byte string literal not displayed */
	// secret_reference_status records only reference or presence state.
	SecretReferenceStatus map[string]string `` /* 200-byte string literal not displayed */
	// action_preconditions are stable preconditions for planning.
	ActionPreconditions map[string]*PublicValue `` /* 192-byte string literal not displayed */
	// contains filtered or unexported fields
}

MaterialResourceObservation contains digest-bearing remote facts.

func (*MaterialResourceObservation) Descriptor deprecated

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

Deprecated: Use MaterialResourceObservation.ProtoReflect.Descriptor instead.

func (*MaterialResourceObservation) GetActionPreconditions ¶

func (x *MaterialResourceObservation) GetActionPreconditions() map[string]*PublicValue

func (*MaterialResourceObservation) GetIdentity ¶

func (x *MaterialResourceObservation) GetIdentity() *RemoteIdentity

func (*MaterialResourceObservation) GetOwnership ¶

func (x *MaterialResourceObservation) GetOwnership() Ownership

func (*MaterialResourceObservation) GetProviderOwnedFields ¶

func (x *MaterialResourceObservation) GetProviderOwnedFields() map[string]*PublicValue

func (*MaterialResourceObservation) GetRevision ¶

func (x *MaterialResourceObservation) GetRevision() string

func (*MaterialResourceObservation) GetSecretReferenceStatus ¶

func (x *MaterialResourceObservation) GetSecretReferenceStatus() map[string]string

func (*MaterialResourceObservation) ProtoMessage ¶

func (*MaterialResourceObservation) ProtoMessage()

func (*MaterialResourceObservation) ProtoReflect ¶

func (*MaterialResourceObservation) Reset ¶

func (x *MaterialResourceObservation) Reset()

func (*MaterialResourceObservation) String ¶

func (x *MaterialResourceObservation) String() string

type MethodEffect ¶

type MethodEffect int32

MethodEffect declares the maximum state effect of one RPC.

const (
	// METHOD_EFFECT_UNSPECIFIED is never admitted.
	MethodEffect_METHOD_EFFECT_UNSPECIFIED MethodEffect = 0
	// METHOD_EFFECT_NONE does not inspect or mutate remote state.
	MethodEffect_METHOD_EFFECT_NONE MethodEffect = 1
	// METHOD_EFFECT_READ_ONLY may observe remote state but cannot mutate it.
	MethodEffect_METHOD_EFFECT_READ_ONLY MethodEffect = 2
	// METHOD_EFFECT_ONE_PLAN_ACTION applies exactly one host-selected action.
	MethodEffect_METHOD_EFFECT_ONE_PLAN_ACTION MethodEffect = 3
	// METHOD_EFFECT_HOST_BOOKKEEPING mutates only host-owned bookkeeping.
	MethodEffect_METHOD_EFFECT_HOST_BOOKKEEPING MethodEffect = 4
)

func (MethodEffect) Descriptor ¶

func (MethodEffect) Enum ¶

func (x MethodEffect) Enum() *MethodEffect

func (MethodEffect) EnumDescriptor deprecated

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

Deprecated: Use MethodEffect.Descriptor instead.

func (MethodEffect) Number ¶

func (MethodEffect) String ¶

func (x MethodEffect) String() string

func (MethodEffect) Type ¶

type MethodNetworkMode ¶

type MethodNetworkMode int32

MethodNetworkMode declares the only host interaction an RPC may use.

const (
	// METHOD_NETWORK_MODE_UNSPECIFIED is never admitted.
	MethodNetworkMode_METHOD_NETWORK_MODE_UNSPECIFIED MethodNetworkMode = 0
	// METHOD_NETWORK_MODE_OFFLINE forbids all provider-to-host callbacks.
	MethodNetworkMode_METHOD_NETWORK_MODE_OFFLINE MethodNetworkMode = 1
	// METHOD_NETWORK_MODE_READ_ONLY permits only admitted read callbacks.
	MethodNetworkMode_METHOD_NETWORK_MODE_READ_ONLY MethodNetworkMode = 2
	// METHOD_NETWORK_MODE_ADMITTED permits the exact admitted plan action.
	MethodNetworkMode_METHOD_NETWORK_MODE_ADMITTED MethodNetworkMode = 3
	// METHOD_NETWORK_MODE_HOST_LOCAL permits host bookkeeping callbacks only.
	MethodNetworkMode_METHOD_NETWORK_MODE_HOST_LOCAL MethodNetworkMode = 4
)

func (MethodNetworkMode) Descriptor ¶

func (MethodNetworkMode) Enum ¶

func (MethodNetworkMode) EnumDescriptor deprecated

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

Deprecated: Use MethodNetworkMode.Descriptor instead.

func (MethodNetworkMode) Number ¶

func (MethodNetworkMode) String ¶

func (x MethodNetworkMode) String() string

func (MethodNetworkMode) Type ¶

type ObserveRequest ¶

type ObserveRequest struct {

	// context carries admitted read-only handles and budget.
	Context *ProviderContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// state is the current safe provider state.
	State *ProviderState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// cursor continues an explicitly incomplete observation.
	Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

ObserveRequest asks for one admitted read-only observation page.

func (*ObserveRequest) Descriptor deprecated

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

Deprecated: Use ObserveRequest.ProtoReflect.Descriptor instead.

func (*ObserveRequest) GetContext ¶

func (x *ObserveRequest) GetContext() *ProviderContext

func (*ObserveRequest) GetCursor ¶

func (x *ObserveRequest) GetCursor() string

func (*ObserveRequest) GetState ¶

func (x *ObserveRequest) GetState() *ProviderState

func (*ObserveRequest) ProtoMessage ¶

func (*ObserveRequest) ProtoMessage()

func (*ObserveRequest) ProtoReflect ¶

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

func (*ObserveRequest) Reset ¶

func (x *ObserveRequest) Reset()

func (*ObserveRequest) String ¶

func (x *ObserveRequest) String() string

type ObserveResponse ¶

type ObserveResponse struct {

	// material is the digest-bearing observation.
	Material *MaterialObservation `protobuf:"bytes,1,opt,name=material,proto3" json:"material,omitempty"`
	// volatile is excluded from material identity.
	Volatile *VolatileObservation `protobuf:"bytes,2,opt,name=volatile,proto3" json:"volatile,omitempty"`
	// contains filtered or unexported fields
}

ObserveResponse separates material state from volatile metadata.

func (*ObserveResponse) Descriptor deprecated

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

Deprecated: Use ObserveResponse.ProtoReflect.Descriptor instead.

func (*ObserveResponse) GetMaterial ¶

func (x *ObserveResponse) GetMaterial() *MaterialObservation

func (*ObserveResponse) GetVolatile ¶

func (x *ObserveResponse) GetVolatile() *VolatileObservation

func (*ObserveResponse) ProtoMessage ¶

func (*ObserveResponse) ProtoMessage()

func (*ObserveResponse) ProtoReflect ¶

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

func (*ObserveResponse) Reset ¶

func (x *ObserveResponse) Reset()

func (*ObserveResponse) String ¶

func (x *ObserveResponse) String() string

type OfflineProviderContext ¶

type OfflineProviderContext struct {

	// binding is the environment-scoped binding address.
	Binding *BindingAddress `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`
	// artifact is the concrete verified agent package.
	Artifact *AgentArtifactIdentity `protobuf:"bytes,2,opt,name=artifact,proto3" json:"artifact,omitempty"`
	// input is normalized non-secret desired input.
	Input map[string]*PublicValue `` /* 137-byte string literal not displayed */
	// mode is host-attested and cannot be selected by provider code.
	Mode HostMode `protobuf:"varint,4,opt,name=mode,proto3,enum=codefly.services.provider.v0.HostMode" json:"mode,omitempty"`
	// account_identity is a safe host-known account identity when available.
	AccountIdentity string `protobuf:"bytes,5,opt,name=account_identity,json=accountIdentity,proto3" json:"account_identity,omitempty"`
	// contains filtered or unexported fields
}

OfflineProviderContext carries identity and non-secret input only.

func (*OfflineProviderContext) Descriptor deprecated

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

Deprecated: Use OfflineProviderContext.ProtoReflect.Descriptor instead.

func (*OfflineProviderContext) GetAccountIdentity ¶

func (x *OfflineProviderContext) GetAccountIdentity() string

func (*OfflineProviderContext) GetArtifact ¶

func (*OfflineProviderContext) GetBinding ¶

func (x *OfflineProviderContext) GetBinding() *BindingAddress

func (*OfflineProviderContext) GetInput ¶

func (x *OfflineProviderContext) GetInput() map[string]*PublicValue

func (*OfflineProviderContext) GetMode ¶

func (x *OfflineProviderContext) GetMode() HostMode

func (*OfflineProviderContext) ProtoMessage ¶

func (*OfflineProviderContext) ProtoMessage()

func (*OfflineProviderContext) ProtoReflect ¶

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

func (*OfflineProviderContext) Reset ¶

func (x *OfflineProviderContext) Reset()

func (*OfflineProviderContext) String ¶

func (x *OfflineProviderContext) String() string

type OpaqueReference ¶

type OpaqueReference struct {

	// reference is meaningful only to the host subsystem that issued it.
	Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
	// purpose is the declared reference purpose.
	Purpose CredentialPurpose `protobuf:"varint,2,opt,name=purpose,proto3,enum=codefly.services.provider.v0.CredentialPurpose" json:"purpose,omitempty"`
	// safe_fingerprint is non-reversible and safe for drift comparison.
	SafeFingerprint string `protobuf:"bytes,3,opt,name=safe_fingerprint,json=safeFingerprint,proto3" json:"safe_fingerprint,omitempty"`
	// contains filtered or unexported fields
}

OpaqueReference is a host-owned reference that cannot expose underlying bytes.

func (*OpaqueReference) Descriptor deprecated

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

Deprecated: Use OpaqueReference.ProtoReflect.Descriptor instead.

func (*OpaqueReference) GetPurpose ¶

func (x *OpaqueReference) GetPurpose() CredentialPurpose

func (*OpaqueReference) GetReference ¶

func (x *OpaqueReference) GetReference() string

func (*OpaqueReference) GetSafeFingerprint ¶

func (x *OpaqueReference) GetSafeFingerprint() string

func (*OpaqueReference) ProtoMessage ¶

func (*OpaqueReference) ProtoMessage()

func (*OpaqueReference) ProtoReflect ¶

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

func (*OpaqueReference) Reset ¶

func (x *OpaqueReference) Reset()

func (*OpaqueReference) String ¶

func (x *OpaqueReference) String() string

type OperationIdentity ¶

type OperationIdentity struct {

	// operation_id is stable across coordinator retries.
	OperationId string `protobuf:"bytes,1,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	// attempt_id identifies the host-owned attempt.
	AttemptId string `protobuf:"bytes,2,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"`
	// action_id identifies one exact plan action.
	ActionId string `protobuf:"bytes,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	// plan_id identifies the exact ordered plan.
	PlanId string `protobuf:"bytes,4,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	// approval_id identifies host admission when required.
	ApprovalId string `protobuf:"bytes,5,opt,name=approval_id,json=approvalId,proto3" json:"approval_id,omitempty"`
	// checkpoint_id identifies the latest durable checkpoint.
	CheckpointId string `protobuf:"bytes,6,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
	// contains filtered or unexported fields
}

OperationIdentity binds retries, actions, approvals, and checkpoints.

func (*OperationIdentity) Descriptor deprecated

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

Deprecated: Use OperationIdentity.ProtoReflect.Descriptor instead.

func (*OperationIdentity) GetActionId ¶

func (x *OperationIdentity) GetActionId() string

func (*OperationIdentity) GetApprovalId ¶

func (x *OperationIdentity) GetApprovalId() string

func (*OperationIdentity) GetAttemptId ¶

func (x *OperationIdentity) GetAttemptId() string

func (*OperationIdentity) GetCheckpointId ¶

func (x *OperationIdentity) GetCheckpointId() string

func (*OperationIdentity) GetOperationId ¶

func (x *OperationIdentity) GetOperationId() string

func (*OperationIdentity) GetPlanId ¶

func (x *OperationIdentity) GetPlanId() string

func (*OperationIdentity) ProtoMessage ¶

func (*OperationIdentity) ProtoMessage()

func (*OperationIdentity) ProtoReflect ¶

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

func (*OperationIdentity) Reset ¶

func (x *OperationIdentity) Reset()

func (*OperationIdentity) String ¶

func (x *OperationIdentity) String() string

type OrderedPlan ¶

type OrderedPlan struct {

	// plan_id is the host-visible plan identity.
	PlanId string `protobuf:"bytes,1,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	// artifact_digest binds the concrete provider package.
	ArtifactDigest string `protobuf:"bytes,2,opt,name=artifact_digest,json=artifactDigest,proto3" json:"artifact_digest,omitempty"`
	// manifest_digest binds the packaged ceiling.
	ManifestDigest string `protobuf:"bytes,3,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"`
	// catalog_digest binds the runtime subset.
	CatalogDigest string `protobuf:"bytes,4,opt,name=catalog_digest,json=catalogDigest,proto3" json:"catalog_digest,omitempty"`
	// desired_digest binds normalized desired state.
	DesiredDigest string `protobuf:"bytes,5,opt,name=desired_digest,json=desiredDigest,proto3" json:"desired_digest,omitempty"`
	// observation_digest binds material observation only.
	ObservationDigest string `protobuf:"bytes,6,opt,name=observation_digest,json=observationDigest,proto3" json:"observation_digest,omitempty"`
	// output_target_digest binds output generation.
	OutputTargetDigest string `protobuf:"bytes,7,opt,name=output_target_digest,json=outputTargetDigest,proto3" json:"output_target_digest,omitempty"`
	// state_generation_digest binds prior durable state.
	StateGenerationDigest string `` /* 126-byte string literal not displayed */
	// policy_input_digest binds host policy and approval.
	PolicyInputDigest string `protobuf:"bytes,9,opt,name=policy_input_digest,json=policyInputDigest,proto3" json:"policy_input_digest,omitempty"`
	// actions retain exact execution order.
	Actions []*PlanAction `protobuf:"bytes,10,rep,name=actions,proto3" json:"actions,omitempty"`
	// plan_digest is computed with this field cleared.
	PlanDigest string `protobuf:"bytes,11,opt,name=plan_digest,json=planDigest,proto3" json:"plan_digest,omitempty"`
	// contains filtered or unexported fields
}

OrderedPlan is the canonical exact action sequence.

func (*OrderedPlan) Descriptor deprecated

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

Deprecated: Use OrderedPlan.ProtoReflect.Descriptor instead.

func (*OrderedPlan) GetActions ¶

func (x *OrderedPlan) GetActions() []*PlanAction

func (*OrderedPlan) GetArtifactDigest ¶

func (x *OrderedPlan) GetArtifactDigest() string

func (*OrderedPlan) GetCatalogDigest ¶

func (x *OrderedPlan) GetCatalogDigest() string

func (*OrderedPlan) GetDesiredDigest ¶

func (x *OrderedPlan) GetDesiredDigest() string

func (*OrderedPlan) GetManifestDigest ¶

func (x *OrderedPlan) GetManifestDigest() string

func (*OrderedPlan) GetObservationDigest ¶

func (x *OrderedPlan) GetObservationDigest() string

func (*OrderedPlan) GetOutputTargetDigest ¶

func (x *OrderedPlan) GetOutputTargetDigest() string

func (*OrderedPlan) GetPlanDigest ¶

func (x *OrderedPlan) GetPlanDigest() string

func (*OrderedPlan) GetPlanId ¶

func (x *OrderedPlan) GetPlanId() string

func (*OrderedPlan) GetPolicyInputDigest ¶

func (x *OrderedPlan) GetPolicyInputDigest() string

func (*OrderedPlan) GetStateGenerationDigest ¶

func (x *OrderedPlan) GetStateGenerationDigest() string

func (*OrderedPlan) ProtoMessage ¶

func (*OrderedPlan) ProtoMessage()

func (*OrderedPlan) ProtoReflect ¶

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

func (*OrderedPlan) Reset ¶

func (x *OrderedPlan) Reset()

func (*OrderedPlan) String ¶

func (x *OrderedPlan) String() string

type OutcomeCertainty ¶

type OutcomeCertainty int32

OutcomeCertainty classifies action completion.

const (
	// OUTCOME_CERTAINTY_UNSPECIFIED means no outcome was supplied.
	OutcomeCertainty_OUTCOME_CERTAINTY_UNSPECIFIED OutcomeCertainty = 0
	// OUTCOME_CERTAINTY_COMPLETE means the material result is known.
	OutcomeCertainty_OUTCOME_CERTAINTY_COMPLETE OutcomeCertainty = 1
	// OUTCOME_CERTAINTY_PARTIAL means only part of the action completed.
	OutcomeCertainty_OUTCOME_CERTAINTY_PARTIAL OutcomeCertainty = 2
	// OUTCOME_CERTAINTY_UNCERTAIN means remote completion is unknown.
	OutcomeCertainty_OUTCOME_CERTAINTY_UNCERTAIN OutcomeCertainty = 3
)

func (OutcomeCertainty) Descriptor ¶

func (OutcomeCertainty) Enum ¶

func (OutcomeCertainty) EnumDescriptor deprecated

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

Deprecated: Use OutcomeCertainty.Descriptor instead.

func (OutcomeCertainty) Number ¶

func (OutcomeCertainty) String ¶

func (x OutcomeCertainty) String() string

func (OutcomeCertainty) Type ¶

type OutputProposal ¶

type OutputProposal struct {

	// contract is the exact versioned generic configuration contract.
	Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	// target_generation is the host-selected target generation.
	TargetGeneration uint64 `protobuf:"varint,2,opt,name=target_generation,json=targetGeneration,proto3" json:"target_generation,omitempty"`
	// values are declared contract keys only.
	Values map[string]*OutputValue `` /* 139-byte string literal not displayed */
	// digest binds the contract, generation, and values.
	Digest string `protobuf:"bytes,4,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

OutputProposal is a generic configuration projection proposal.

func (*OutputProposal) Descriptor deprecated

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

Deprecated: Use OutputProposal.ProtoReflect.Descriptor instead.

func (*OutputProposal) GetContract ¶

func (x *OutputProposal) GetContract() string

func (*OutputProposal) GetDigest ¶

func (x *OutputProposal) GetDigest() string

func (*OutputProposal) GetTargetGeneration ¶

func (x *OutputProposal) GetTargetGeneration() uint64

func (*OutputProposal) GetValues ¶

func (x *OutputProposal) GetValues() map[string]*OutputValue

func (*OutputProposal) ProtoMessage ¶

func (*OutputProposal) ProtoMessage()

func (*OutputProposal) ProtoReflect ¶

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

func (*OutputProposal) Reset ¶

func (x *OutputProposal) Reset()

func (*OutputProposal) String ¶

func (x *OutputProposal) String() string

type OutputTarget ¶

type OutputTarget struct {

	// contract is the generic configuration contract identity.
	Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	// target_generation is the desired host output generation.
	TargetGeneration uint64 `protobuf:"varint,2,opt,name=target_generation,json=targetGeneration,proto3" json:"target_generation,omitempty"`
	// current_generation is the currently durable output generation.
	CurrentGeneration uint64 `protobuf:"varint,3,opt,name=current_generation,json=currentGeneration,proto3" json:"current_generation,omitempty"`
	// current_digest is the currently durable output digest.
	CurrentDigest string `protobuf:"bytes,4,opt,name=current_digest,json=currentDigest,proto3" json:"current_digest,omitempty"`
	// contains filtered or unexported fields
}

OutputTarget binds an output contract to its target generation.

func (*OutputTarget) Descriptor deprecated

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

Deprecated: Use OutputTarget.ProtoReflect.Descriptor instead.

func (*OutputTarget) GetContract ¶

func (x *OutputTarget) GetContract() string

func (*OutputTarget) GetCurrentDigest ¶

func (x *OutputTarget) GetCurrentDigest() string

func (*OutputTarget) GetCurrentGeneration ¶

func (x *OutputTarget) GetCurrentGeneration() uint64

func (*OutputTarget) GetTargetGeneration ¶

func (x *OutputTarget) GetTargetGeneration() uint64

func (*OutputTarget) ProtoMessage ¶

func (*OutputTarget) ProtoMessage()

func (*OutputTarget) ProtoReflect ¶

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

func (*OutputTarget) Reset ¶

func (x *OutputTarget) Reset()

func (*OutputTarget) String ¶

func (x *OutputTarget) String() string

type OutputValue ¶

type OutputValue struct {

	// kind is the only output representation available to providers.
	//
	// Types that are valid to be assigned to Kind:
	//
	//	*OutputValue_PublicValue
	//	*OutputValue_OpaqueReference
	Kind isOutputValue_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

OutputValue is either public data or an opaque reference.

func (*OutputValue) Descriptor deprecated

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

Deprecated: Use OutputValue.ProtoReflect.Descriptor instead.

func (*OutputValue) GetKind ¶

func (x *OutputValue) GetKind() isOutputValue_Kind

func (*OutputValue) GetOpaqueReference ¶

func (x *OutputValue) GetOpaqueReference() *OpaqueReference

func (*OutputValue) GetPublicValue ¶

func (x *OutputValue) GetPublicValue() *PublicValue

func (*OutputValue) ProtoMessage ¶

func (*OutputValue) ProtoMessage()

func (*OutputValue) ProtoReflect ¶

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

func (*OutputValue) Reset ¶

func (x *OutputValue) Reset()

func (*OutputValue) String ¶

func (x *OutputValue) String() string

type OutputValue_OpaqueReference ¶

type OutputValue_OpaqueReference struct {
	// opaque_reference is a host-owned reference.
	OpaqueReference *OpaqueReference `protobuf:"bytes,2,opt,name=opaque_reference,json=opaqueReference,proto3,oneof"`
}

type OutputValue_PublicValue ¶

type OutputValue_PublicValue struct {
	// public_value is a schema-admitted public value.
	PublicValue *PublicValue `protobuf:"bytes,1,opt,name=public_value,json=publicValue,proto3,oneof"`
}

type Ownership ¶

type Ownership int32

Ownership classifies the provider's relationship to a remote object.

const (
	// OWNERSHIP_UNSPECIFIED is never persisted or planned.
	Ownership_OWNERSHIP_UNSPECIFIED Ownership = 0
	// OWNERSHIP_OBSERVED is read without management authority.
	Ownership_OWNERSHIP_OBSERVED Ownership = 1
	// OWNERSHIP_OWNED was created and is managed by this binding.
	Ownership_OWNERSHIP_OWNED Ownership = 2
	// OWNERSHIP_ADOPTED was imported and is managed by this binding.
	Ownership_OWNERSHIP_ADOPTED Ownership = 3
	// OWNERSHIP_UNMANAGED is explicitly outside provider management.
	Ownership_OWNERSHIP_UNMANAGED Ownership = 4
)

func (Ownership) Descriptor ¶

func (Ownership) Descriptor() protoreflect.EnumDescriptor

func (Ownership) Enum ¶

func (x Ownership) Enum() *Ownership

func (Ownership) EnumDescriptor deprecated

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

Deprecated: Use Ownership.Descriptor instead.

func (Ownership) Number ¶

func (x Ownership) Number() protoreflect.EnumNumber

func (Ownership) String ¶

func (x Ownership) String() string

func (Ownership) Type ¶

type PlanAction ¶

type PlanAction struct {

	// action_id is unique within the plan.
	ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"`
	// position is the zero-based exact plan position.
	Position uint32 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
	// type is the closed lifecycle action.
	Type ActionType `protobuf:"varint,3,opt,name=type,proto3,enum=codefly.services.provider.v0.ActionType" json:"type,omitempty"`
	// resource_type is the manifest resource type.
	ResourceType string `protobuf:"bytes,4,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// remote_identity is known for existing objects.
	RemoteIdentity *RemoteIdentity `protobuf:"bytes,5,opt,name=remote_identity,json=remoteIdentity,proto3" json:"remote_identity,omitempty"`
	// prospective_remote_id survives create lost-response recovery.
	ProspectiveRemoteId string `protobuf:"bytes,6,opt,name=prospective_remote_id,json=prospectiveRemoteId,proto3" json:"prospective_remote_id,omitempty"`
	// ownership is the resulting ownership.
	Ownership Ownership `protobuf:"varint,7,opt,name=ownership,proto3,enum=codefly.services.provider.v0.Ownership" json:"ownership,omitempty"`
	// requests are the exact broker requests admitted for this action.
	Requests []*PlannedRequest `protobuf:"bytes,8,rep,name=requests,proto3" json:"requests,omitempty"`
	// output is the exact host-executed projection for PROJECT_OUTPUT.
	Output *OutputProposal `protobuf:"bytes,9,opt,name=output,proto3" json:"output,omitempty"`
	// preconditions are exact material action preconditions.
	Preconditions []*ActionPrecondition `protobuf:"bytes,10,rep,name=preconditions,proto3" json:"preconditions,omitempty"`
	// summary is a safe human-readable action summary.
	Summary string `protobuf:"bytes,11,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

PlanAction is one exact ordered host-applied action.

func (*PlanAction) Descriptor deprecated

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

Deprecated: Use PlanAction.ProtoReflect.Descriptor instead.

func (*PlanAction) GetActionId ¶

func (x *PlanAction) GetActionId() string

func (*PlanAction) GetOutput ¶

func (x *PlanAction) GetOutput() *OutputProposal

func (*PlanAction) GetOwnership ¶

func (x *PlanAction) GetOwnership() Ownership

func (*PlanAction) GetPosition ¶

func (x *PlanAction) GetPosition() uint32

func (*PlanAction) GetPreconditions ¶

func (x *PlanAction) GetPreconditions() []*ActionPrecondition

func (*PlanAction) GetProspectiveRemoteId ¶

func (x *PlanAction) GetProspectiveRemoteId() string

func (*PlanAction) GetRemoteIdentity ¶

func (x *PlanAction) GetRemoteIdentity() *RemoteIdentity

func (*PlanAction) GetRequests ¶

func (x *PlanAction) GetRequests() []*PlannedRequest

func (*PlanAction) GetResourceType ¶

func (x *PlanAction) GetResourceType() string

func (*PlanAction) GetSummary ¶

func (x *PlanAction) GetSummary() string

func (*PlanAction) GetType ¶

func (x *PlanAction) GetType() ActionType

func (*PlanAction) ProtoMessage ¶

func (*PlanAction) ProtoMessage()

func (*PlanAction) ProtoReflect ¶

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

func (*PlanAction) Reset ¶

func (x *PlanAction) Reset()

func (*PlanAction) String ¶

func (x *PlanAction) String() string

type PlanRequest ¶

type PlanRequest struct {

	// context contains identity and normalized non-secret input.
	Context *OfflineProviderContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// desired is canonical binding desired state.
	Desired *BindingDesiredState `protobuf:"bytes,2,opt,name=desired,proto3" json:"desired,omitempty"`
	// observation is material observation only.
	Observation *MaterialObservation `protobuf:"bytes,3,opt,name=observation,proto3" json:"observation,omitempty"`
	// output_target is the host output generation target.
	OutputTarget *OutputTarget `protobuf:"bytes,4,opt,name=output_target,json=outputTarget,proto3" json:"output_target,omitempty"`
	// state_generation binds prior state.
	StateGeneration *StateGeneration `protobuf:"bytes,5,opt,name=state_generation,json=stateGeneration,proto3" json:"state_generation,omitempty"`
	// policy_input is the host policy and approval input.
	PolicyInput *PolicyApprovalInput `protobuf:"bytes,6,opt,name=policy_input,json=policyInput,proto3" json:"policy_input,omitempty"`
	// state is the current safe provider state.
	State *ProviderState `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

PlanRequest contains only offline planning inputs.

func (*PlanRequest) Descriptor deprecated

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

Deprecated: Use PlanRequest.ProtoReflect.Descriptor instead.

func (*PlanRequest) GetContext ¶

func (x *PlanRequest) GetContext() *OfflineProviderContext

func (*PlanRequest) GetDesired ¶

func (x *PlanRequest) GetDesired() *BindingDesiredState

func (*PlanRequest) GetObservation ¶

func (x *PlanRequest) GetObservation() *MaterialObservation

func (*PlanRequest) GetOutputTarget ¶

func (x *PlanRequest) GetOutputTarget() *OutputTarget

func (*PlanRequest) GetPolicyInput ¶

func (x *PlanRequest) GetPolicyInput() *PolicyApprovalInput

func (*PlanRequest) GetState ¶

func (x *PlanRequest) GetState() *ProviderState

func (*PlanRequest) GetStateGeneration ¶

func (x *PlanRequest) GetStateGeneration() *StateGeneration

func (*PlanRequest) ProtoMessage ¶

func (*PlanRequest) ProtoMessage()

func (*PlanRequest) ProtoReflect ¶

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

func (*PlanRequest) Reset ¶

func (x *PlanRequest) Reset()

func (*PlanRequest) String ¶

func (x *PlanRequest) String() string

type PlanResponse ¶

type PlanResponse struct {

	// plan is the exact canonical action sequence.
	Plan *OrderedPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
	// diagnostics are bounded neutral diagnostics.
	Diagnostics []*v0.FailureDiagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

PlanResponse returns one exact ordered plan.

func (*PlanResponse) Descriptor deprecated

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

Deprecated: Use PlanResponse.ProtoReflect.Descriptor instead.

func (*PlanResponse) GetDiagnostics ¶

func (x *PlanResponse) GetDiagnostics() []*v0.FailureDiagnostic

func (*PlanResponse) GetPlan ¶

func (x *PlanResponse) GetPlan() *OrderedPlan

func (*PlanResponse) ProtoMessage ¶

func (*PlanResponse) ProtoMessage()

func (*PlanResponse) ProtoReflect ¶

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

func (*PlanResponse) Reset ¶

func (x *PlanResponse) Reset()

func (*PlanResponse) String ¶

func (x *PlanResponse) String() string

type PlannedRequest ¶

type PlannedRequest struct {

	// request_descriptor_id selects one packaged descriptor.
	RequestDescriptorId string `protobuf:"bytes,1,opt,name=request_descriptor_id,json=requestDescriptorId,proto3" json:"request_descriptor_id,omitempty"`
	// request_descriptor_digest binds the exact descriptor.
	RequestDescriptorDigest string `` /* 132-byte string literal not displayed */
	// method must match the descriptor.
	Method HTTPMethod `protobuf:"varint,3,opt,name=method,proto3,enum=codefly.services.provider.v0.HTTPMethod" json:"method,omitempty"`
	// admitted_origin_digest binds the exact host-attested origin.
	AdmittedOriginDigest string `protobuf:"bytes,4,opt,name=admitted_origin_digest,json=admittedOriginDigest,proto3" json:"admitted_origin_digest,omitempty"`
	// path_parameters bind every concrete path placeholder.
	PathParameters map[string]*PublicValue `` /* 177-byte string literal not displayed */
	// query contains only descriptor-allowed fields.
	Query map[string]*PublicValue `` /* 137-byte string literal not displayed */
	// body contains only descriptor-allowed structured fields.
	Body map[string]*PublicValue `` /* 135-byte string literal not displayed */
	// credential_purposes bind the purposes of the handles supplied at execution.
	CredentialPurposes []CredentialPurpose `` /* 175-byte string literal not displayed */
	// response_policy_digest binds filtering and capture policy.
	ResponsePolicyDigest string `protobuf:"bytes,9,opt,name=response_policy_digest,json=responsePolicyDigest,proto3" json:"response_policy_digest,omitempty"`
	// idempotency_key is stable across coordinator retries.
	IdempotencyKey string `protobuf:"bytes,10,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	// request_digest is computed over every field above with this field cleared.
	RequestDigest string `protobuf:"bytes,11,opt,name=request_digest,json=requestDigest,proto3" json:"request_digest,omitempty"`
	// contains filtered or unexported fields
}

PlannedRequest is the immutable request material admitted in an ordered plan.

func (*PlannedRequest) Descriptor deprecated

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

Deprecated: Use PlannedRequest.ProtoReflect.Descriptor instead.

func (*PlannedRequest) GetAdmittedOriginDigest ¶

func (x *PlannedRequest) GetAdmittedOriginDigest() string

func (*PlannedRequest) GetBody ¶

func (x *PlannedRequest) GetBody() map[string]*PublicValue

func (*PlannedRequest) GetCredentialPurposes ¶

func (x *PlannedRequest) GetCredentialPurposes() []CredentialPurpose

func (*PlannedRequest) GetIdempotencyKey ¶

func (x *PlannedRequest) GetIdempotencyKey() string

func (*PlannedRequest) GetMethod ¶

func (x *PlannedRequest) GetMethod() HTTPMethod

func (*PlannedRequest) GetPathParameters ¶

func (x *PlannedRequest) GetPathParameters() map[string]*PublicValue

func (*PlannedRequest) GetQuery ¶

func (x *PlannedRequest) GetQuery() map[string]*PublicValue

func (*PlannedRequest) GetRequestDescriptorDigest ¶

func (x *PlannedRequest) GetRequestDescriptorDigest() string

func (*PlannedRequest) GetRequestDescriptorId ¶

func (x *PlannedRequest) GetRequestDescriptorId() string

func (*PlannedRequest) GetRequestDigest ¶

func (x *PlannedRequest) GetRequestDigest() string

func (*PlannedRequest) GetResponsePolicyDigest ¶

func (x *PlannedRequest) GetResponsePolicyDigest() string

func (*PlannedRequest) ProtoMessage ¶

func (*PlannedRequest) ProtoMessage()

func (*PlannedRequest) ProtoReflect ¶

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

func (*PlannedRequest) Reset ¶

func (x *PlannedRequest) Reset()

func (*PlannedRequest) String ¶

func (x *PlannedRequest) String() string

type PolicyApprovalInput ¶

type PolicyApprovalInput struct {

	// principal_id is the host-selected principal.
	PrincipalId string `protobuf:"bytes,1,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
	// permission is the admitted action permission.
	Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"`
	// concrete_resource is the expanded concrete resource.
	ConcreteResource string `protobuf:"bytes,3,opt,name=concrete_resource,json=concreteResource,proto3" json:"concrete_resource,omitempty"`
	// credential_purpose is the admitted credential purpose.
	CredentialPurpose CredentialPurpose `` /* 165-byte string literal not displayed */
	// response_policy_digest binds filtering and capture policy.
	ResponsePolicyDigest string `protobuf:"bytes,5,opt,name=response_policy_digest,json=responsePolicyDigest,proto3" json:"response_policy_digest,omitempty"`
	// approval_id is the host-issued approval identity.
	ApprovalId string `protobuf:"bytes,6,opt,name=approval_id,json=approvalId,proto3" json:"approval_id,omitempty"`
	// contains filtered or unexported fields
}

PolicyApprovalInput is the material host policy and approval input.

func (*PolicyApprovalInput) Descriptor deprecated

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

Deprecated: Use PolicyApprovalInput.ProtoReflect.Descriptor instead.

func (*PolicyApprovalInput) GetApprovalId ¶

func (x *PolicyApprovalInput) GetApprovalId() string

func (*PolicyApprovalInput) GetConcreteResource ¶

func (x *PolicyApprovalInput) GetConcreteResource() string

func (*PolicyApprovalInput) GetCredentialPurpose ¶

func (x *PolicyApprovalInput) GetCredentialPurpose() CredentialPurpose

func (*PolicyApprovalInput) GetPermission ¶

func (x *PolicyApprovalInput) GetPermission() string

func (*PolicyApprovalInput) GetPrincipalId ¶

func (x *PolicyApprovalInput) GetPrincipalId() string

func (*PolicyApprovalInput) GetResponsePolicyDigest ¶

func (x *PolicyApprovalInput) GetResponsePolicyDigest() string

func (*PolicyApprovalInput) ProtoMessage ¶

func (*PolicyApprovalInput) ProtoMessage()

func (*PolicyApprovalInput) ProtoReflect ¶

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

func (*PolicyApprovalInput) Reset ¶

func (x *PolicyApprovalInput) Reset()

func (*PolicyApprovalInput) String ¶

func (x *PolicyApprovalInput) String() string

type PrivateNetworkClass ¶

type PrivateNetworkClass int32

PrivateNetworkClass classifies an admitted concrete origin.

const (
	// PRIVATE_NETWORK_CLASS_UNSPECIFIED is never admitted.
	PrivateNetworkClass_PRIVATE_NETWORK_CLASS_UNSPECIFIED PrivateNetworkClass = 0
	// PRIVATE_NETWORK_CLASS_PUBLIC is publicly routed.
	PrivateNetworkClass_PRIVATE_NETWORK_CLASS_PUBLIC PrivateNetworkClass = 1
	// PRIVATE_NETWORK_CLASS_LOOPBACK resolves to a loopback address.
	PrivateNetworkClass_PRIVATE_NETWORK_CLASS_LOOPBACK PrivateNetworkClass = 2
	// PRIVATE_NETWORK_CLASS_LINK_LOCAL resolves to link-local space.
	PrivateNetworkClass_PRIVATE_NETWORK_CLASS_LINK_LOCAL PrivateNetworkClass = 3
	// PRIVATE_NETWORK_CLASS_PRIVATE resolves to private address space.
	PrivateNetworkClass_PRIVATE_NETWORK_CLASS_PRIVATE PrivateNetworkClass = 4
)

func (PrivateNetworkClass) Descriptor ¶

func (PrivateNetworkClass) Enum ¶

func (PrivateNetworkClass) EnumDescriptor deprecated

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

Deprecated: Use PrivateNetworkClass.Descriptor instead.

func (PrivateNetworkClass) Number ¶

func (PrivateNetworkClass) String ¶

func (x PrivateNetworkClass) String() string

func (PrivateNetworkClass) Type ¶

type ProposeOutputRequest ¶

type ProposeOutputRequest struct {

	// operation binds the proposal to one exact plan action.
	Operation *OperationIdentity `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// proposal is the schema-bound generic output.
	Proposal *OutputProposal `protobuf:"bytes,2,opt,name=proposal,proto3" json:"proposal,omitempty"`
	// contains filtered or unexported fields
}

ProposeOutputRequest asks the host to execute PROJECT_OUTPUT.

func (*ProposeOutputRequest) Descriptor deprecated

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

Deprecated: Use ProposeOutputRequest.ProtoReflect.Descriptor instead.

func (*ProposeOutputRequest) GetOperation ¶

func (x *ProposeOutputRequest) GetOperation() *OperationIdentity

func (*ProposeOutputRequest) GetProposal ¶

func (x *ProposeOutputRequest) GetProposal() *OutputProposal

func (*ProposeOutputRequest) ProtoMessage ¶

func (*ProposeOutputRequest) ProtoMessage()

func (*ProposeOutputRequest) ProtoReflect ¶

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

func (*ProposeOutputRequest) Reset ¶

func (x *ProposeOutputRequest) Reset()

func (*ProposeOutputRequest) String ¶

func (x *ProposeOutputRequest) String() string

type ProposeOutputResponse ¶

type ProposeOutputResponse struct {

	// durable reports whether the projection committed.
	Durable bool `protobuf:"varint,1,opt,name=durable,proto3" json:"durable,omitempty"`
	// generation is the committed output generation.
	Generation uint64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
	// digest is the committed output digest.
	Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

ProposeOutputResponse returns the durable output generation.

func (*ProposeOutputResponse) Descriptor deprecated

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

Deprecated: Use ProposeOutputResponse.ProtoReflect.Descriptor instead.

func (*ProposeOutputResponse) GetDigest ¶

func (x *ProposeOutputResponse) GetDigest() string

func (*ProposeOutputResponse) GetDurable ¶

func (x *ProposeOutputResponse) GetDurable() bool

func (*ProposeOutputResponse) GetGeneration ¶

func (x *ProposeOutputResponse) GetGeneration() uint64

func (*ProposeOutputResponse) ProtoMessage ¶

func (*ProposeOutputResponse) ProtoMessage()

func (*ProposeOutputResponse) ProtoReflect ¶

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

func (*ProposeOutputResponse) Reset ¶

func (x *ProposeOutputResponse) Reset()

func (*ProposeOutputResponse) String ¶

func (x *ProposeOutputResponse) String() string

type ProviderCapabilities ¶

type ProviderCapabilities struct {

	// supports_import declares import support.
	SupportsImport bool `protobuf:"varint,1,opt,name=supports_import,json=supportsImport,proto3" json:"supports_import,omitempty"`
	// supports_replace declares replacement support.
	SupportsReplace bool `protobuf:"varint,2,opt,name=supports_replace,json=supportsReplace,proto3" json:"supports_replace,omitempty"`
	// supports_delete declares deletion support.
	SupportsDelete bool `protobuf:"varint,3,opt,name=supports_delete,json=supportsDelete,proto3" json:"supports_delete,omitempty"`
	// supports_state_upgrade declares stepwise state upgrade support.
	SupportsStateUpgrade bool `protobuf:"varint,4,opt,name=supports_state_upgrade,json=supportsStateUpgrade,proto3" json:"supports_state_upgrade,omitempty"`
	// contains filtered or unexported fields
}

ProviderCapabilities advertises provider-neutral lifecycle support.

func (*ProviderCapabilities) Descriptor deprecated

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

Deprecated: Use ProviderCapabilities.ProtoReflect.Descriptor instead.

func (*ProviderCapabilities) GetSupportsDelete ¶

func (x *ProviderCapabilities) GetSupportsDelete() bool

func (*ProviderCapabilities) GetSupportsImport ¶

func (x *ProviderCapabilities) GetSupportsImport() bool

func (*ProviderCapabilities) GetSupportsReplace ¶

func (x *ProviderCapabilities) GetSupportsReplace() bool

func (*ProviderCapabilities) GetSupportsStateUpgrade ¶

func (x *ProviderCapabilities) GetSupportsStateUpgrade() bool

func (*ProviderCapabilities) ProtoMessage ¶

func (*ProviderCapabilities) ProtoMessage()

func (*ProviderCapabilities) ProtoReflect ¶

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

func (*ProviderCapabilities) Reset ¶

func (x *ProviderCapabilities) Reset()

func (*ProviderCapabilities) String ¶

func (x *ProviderCapabilities) String() string

type ProviderClient ¶

type ProviderClient interface {
	// GetProviderInformation returns immutable advertisement and catalog identity.
	GetProviderInformation(ctx context.Context, in *GetProviderInformationRequest, opts ...grpc.CallOption) (*GetProviderInformationResponse, error)
	// Validate checks normalized desired input without broker access.
	Validate(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateResponse, error)
	// Observe reads admitted remote state.
	Observe(ctx context.Context, in *ObserveRequest, opts ...grpc.CallOption) (*ObserveResponse, error)
	// Plan produces an exact ordered plan without broker access.
	Plan(ctx context.Context, in *PlanRequest, opts ...grpc.CallOption) (*PlanResponse, error)
	// ApplyAction applies exactly one action selected from the bound plan.
	ApplyAction(ctx context.Context, in *ApplyActionRequest, opts ...grpc.CallOption) (*ApplyActionResponse, error)
	// Doctor performs admitted read-only diagnostics.
	Doctor(ctx context.Context, in *DoctorRequest, opts ...grpc.CallOption) (*DoctorResponse, error)
	// UpgradeState performs one offline state-schema upgrade step.
	UpgradeState(ctx context.Context, in *UpgradeStateRequest, opts ...grpc.CallOption) (*UpgradeStateResponse, error)
}

ProviderClient is the client API for Provider 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.

Provider is the host-to-provider reconciliation protocol.

type ProviderContext ¶

type ProviderContext struct {

	// offline is the identity and normalized non-secret input.
	Offline *OfflineProviderContext `protobuf:"bytes,1,opt,name=offline,proto3" json:"offline,omitempty"`
	// credentials are opaque host-minted handles only.
	Credentials []*CredentialHandle `protobuf:"bytes,2,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// endpoints are semantic endpoint references.
	Endpoints []*SemanticEndpointReference `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// admitted_origins are concrete host-attested origins.
	AdmittedOrigins []*AdmittedOrigin `protobuf:"bytes,4,rep,name=admitted_origins,json=admittedOrigins,proto3" json:"admitted_origins,omitempty"`
	// operation binds this invocation to host-owned identities.
	Operation *OperationIdentity `protobuf:"bytes,5,opt,name=operation,proto3" json:"operation,omitempty"`
	// budget is the host-enforced callback and deadline budget.
	Budget *RequestBudget `protobuf:"bytes,6,opt,name=budget,proto3" json:"budget,omitempty"`
	// contains filtered or unexported fields
}

ProviderContext adds online handles and admitted endpoint data.

func (*ProviderContext) Descriptor deprecated

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

Deprecated: Use ProviderContext.ProtoReflect.Descriptor instead.

func (*ProviderContext) GetAdmittedOrigins ¶

func (x *ProviderContext) GetAdmittedOrigins() []*AdmittedOrigin

func (*ProviderContext) GetBudget ¶

func (x *ProviderContext) GetBudget() *RequestBudget

func (*ProviderContext) GetCredentials ¶

func (x *ProviderContext) GetCredentials() []*CredentialHandle

func (*ProviderContext) GetEndpoints ¶

func (x *ProviderContext) GetEndpoints() []*SemanticEndpointReference

func (*ProviderContext) GetOffline ¶

func (x *ProviderContext) GetOffline() *OfflineProviderContext

func (*ProviderContext) GetOperation ¶

func (x *ProviderContext) GetOperation() *OperationIdentity

func (*ProviderContext) ProtoMessage ¶

func (*ProviderContext) ProtoMessage()

func (*ProviderContext) ProtoReflect ¶

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

func (*ProviderContext) Reset ¶

func (x *ProviderContext) Reset()

func (*ProviderContext) String ¶

func (x *ProviderContext) String() string

type ProviderHostClient ¶

type ProviderHostClient interface {
	// ExecuteRequest executes one manifest-declared and host-admitted request.
	ExecuteRequest(ctx context.Context, in *ExecuteRequestRequest, opts ...grpc.CallOption) (*ExecuteRequestResponse, error)
	// RecordCheckpoint durably records pre-send or recovery state.
	RecordCheckpoint(ctx context.Context, in *RecordCheckpointRequest, opts ...grpc.CallOption) (*RecordCheckpointResponse, error)
	// ResolveCapture returns an opaque reference for a durable capture.
	ResolveCapture(ctx context.Context, in *ResolveCaptureRequest, opts ...grpc.CallOption) (*ResolveCaptureResponse, error)
	// ProposeOutput asks the host to execute one PROJECT_OUTPUT action.
	ProposeOutput(ctx context.Context, in *ProposeOutputRequest, opts ...grpc.CallOption) (*ProposeOutputResponse, error)
}

ProviderHostClient is the client API for ProviderHost 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.

ProviderHost is the provider-to-host callback protocol.

type ProviderHostServer ¶

type ProviderHostServer interface {
	// ExecuteRequest executes one manifest-declared and host-admitted request.
	ExecuteRequest(context.Context, *ExecuteRequestRequest) (*ExecuteRequestResponse, error)
	// RecordCheckpoint durably records pre-send or recovery state.
	RecordCheckpoint(context.Context, *RecordCheckpointRequest) (*RecordCheckpointResponse, error)
	// ResolveCapture returns an opaque reference for a durable capture.
	ResolveCapture(context.Context, *ResolveCaptureRequest) (*ResolveCaptureResponse, error)
	// ProposeOutput asks the host to execute one PROJECT_OUTPUT action.
	ProposeOutput(context.Context, *ProposeOutputRequest) (*ProposeOutputResponse, error)
	// contains filtered or unexported methods
}

ProviderHostServer is the server API for ProviderHost service. All implementations must embed UnimplementedProviderHostServer for forward compatibility.

ProviderHost is the provider-to-host callback protocol.

type ProviderMethodPolicy ¶

type ProviderMethodPolicy struct {

	// network is the maximum callback class available to the method.
	Network MethodNetworkMode `protobuf:"varint,1,opt,name=network,proto3,enum=codefly.services.provider.v0.MethodNetworkMode" json:"network,omitempty"`
	// effect is the maximum effect available to the method.
	Effect MethodEffect `protobuf:"varint,2,opt,name=effect,proto3,enum=codefly.services.provider.v0.MethodEffect" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

ProviderMethodPolicy is descriptor metadata enforced by the host broker.

func (*ProviderMethodPolicy) Descriptor deprecated

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

Deprecated: Use ProviderMethodPolicy.ProtoReflect.Descriptor instead.

func (*ProviderMethodPolicy) GetEffect ¶

func (x *ProviderMethodPolicy) GetEffect() MethodEffect

func (*ProviderMethodPolicy) GetNetwork ¶

func (x *ProviderMethodPolicy) GetNetwork() MethodNetworkMode

func (*ProviderMethodPolicy) ProtoMessage ¶

func (*ProviderMethodPolicy) ProtoMessage()

func (*ProviderMethodPolicy) ProtoReflect ¶

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

func (*ProviderMethodPolicy) Reset ¶

func (x *ProviderMethodPolicy) Reset()

func (*ProviderMethodPolicy) String ¶

func (x *ProviderMethodPolicy) String() string

type ProviderReadiness ¶

type ProviderReadiness struct {

	// production_observe declares production read readiness.
	ProductionObserve bool `protobuf:"varint,1,opt,name=production_observe,json=productionObserve,proto3" json:"production_observe,omitempty"`
	// production_mutation declares production mutation readiness.
	ProductionMutation bool `protobuf:"varint,2,opt,name=production_mutation,json=productionMutation,proto3" json:"production_mutation,omitempty"`
	// contains filtered or unexported fields
}

ProviderReadiness separates production observation and mutation gates.

func (*ProviderReadiness) Descriptor deprecated

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

Deprecated: Use ProviderReadiness.ProtoReflect.Descriptor instead.

func (*ProviderReadiness) GetProductionMutation ¶

func (x *ProviderReadiness) GetProductionMutation() bool

func (*ProviderReadiness) GetProductionObserve ¶

func (x *ProviderReadiness) GetProductionObserve() bool

func (*ProviderReadiness) ProtoMessage ¶

func (*ProviderReadiness) ProtoMessage()

func (*ProviderReadiness) ProtoReflect ¶

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

func (*ProviderReadiness) Reset ¶

func (x *ProviderReadiness) Reset()

func (*ProviderReadiness) String ¶

func (x *ProviderReadiness) String() string

type ProviderServer ¶

type ProviderServer interface {
	// GetProviderInformation returns immutable advertisement and catalog identity.
	GetProviderInformation(context.Context, *GetProviderInformationRequest) (*GetProviderInformationResponse, error)
	// Validate checks normalized desired input without broker access.
	Validate(context.Context, *ValidateRequest) (*ValidateResponse, error)
	// Observe reads admitted remote state.
	Observe(context.Context, *ObserveRequest) (*ObserveResponse, error)
	// Plan produces an exact ordered plan without broker access.
	Plan(context.Context, *PlanRequest) (*PlanResponse, error)
	// ApplyAction applies exactly one action selected from the bound plan.
	ApplyAction(context.Context, *ApplyActionRequest) (*ApplyActionResponse, error)
	// Doctor performs admitted read-only diagnostics.
	Doctor(context.Context, *DoctorRequest) (*DoctorResponse, error)
	// UpgradeState performs one offline state-schema upgrade step.
	UpgradeState(context.Context, *UpgradeStateRequest) (*UpgradeStateResponse, error)
	// contains filtered or unexported methods
}

ProviderServer is the server API for Provider service. All implementations must embed UnimplementedProviderServer for forward compatibility.

Provider is the host-to-provider reconciliation protocol.

type ProviderState ¶

type ProviderState struct {

	// schema_version selects the exact state schema and fails closed when unsupported.
	SchemaVersion uint32 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	// schema contains only the payload for schema_version.
	//
	// Types that are valid to be assigned to Schema:
	//
	//	*ProviderState_V1
	Schema isProviderState_Schema `protobuf_oneof:"schema"`
	// contains filtered or unexported fields
}

ProviderState is the version-discriminated durable state envelope.

func (*ProviderState) Descriptor deprecated

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

Deprecated: Use ProviderState.ProtoReflect.Descriptor instead.

func (*ProviderState) GetSchema ¶

func (x *ProviderState) GetSchema() isProviderState_Schema

func (*ProviderState) GetSchemaVersion ¶

func (x *ProviderState) GetSchemaVersion() uint32

func (*ProviderState) GetV1 ¶

func (x *ProviderState) GetV1() *ProviderStateV1

func (*ProviderState) ProtoMessage ¶

func (*ProviderState) ProtoMessage()

func (*ProviderState) ProtoReflect ¶

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

func (*ProviderState) Reset ¶

func (x *ProviderState) Reset()

func (*ProviderState) String ¶

func (x *ProviderState) String() string

type ProviderStateV1 ¶

type ProviderStateV1 struct {

	// state_schema_version is exactly one for this message.
	StateSchemaVersion uint32 `protobuf:"varint,1,opt,name=state_schema_version,json=stateSchemaVersion,proto3" json:"state_schema_version,omitempty"`
	// generation is the monotonic state generation.
	Generation uint64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
	// binding is the exact environment-scoped binding address.
	Binding *BindingAddress `protobuf:"bytes,3,opt,name=binding,proto3" json:"binding,omitempty"`
	// provider_id is the stable provider identity.
	ProviderId string `protobuf:"bytes,4,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	// provider_version is the concrete agent version.
	ProviderVersion string `protobuf:"bytes,5,opt,name=provider_version,json=providerVersion,proto3" json:"provider_version,omitempty"`
	// manifest_schema_version is the packaged manifest schema version.
	ManifestSchemaVersion string `` /* 126-byte string literal not displayed */
	// manifest_digest binds the packaged ceiling.
	ManifestDigest string `protobuf:"bytes,7,opt,name=manifest_digest,json=manifestDigest,proto3" json:"manifest_digest,omitempty"`
	// artifact_digest binds the executing package.
	ArtifactDigest string `protobuf:"bytes,8,opt,name=artifact_digest,json=artifactDigest,proto3" json:"artifact_digest,omitempty"`
	// remote_identity is the exact owned or observed remote object.
	RemoteIdentity *RemoteIdentity `protobuf:"bytes,9,opt,name=remote_identity,json=remoteIdentity,proto3" json:"remote_identity,omitempty"`
	// ownership is the binding ownership.
	Ownership Ownership `protobuf:"varint,10,opt,name=ownership,proto3,enum=codefly.services.provider.v0.Ownership" json:"ownership,omitempty"`
	// ownership_stamp is a host-verifiable ownership stamp.
	OwnershipStamp string `protobuf:"bytes,11,opt,name=ownership_stamp,json=ownershipStamp,proto3" json:"ownership_stamp,omitempty"`
	// safe_observed_fields are safe persisted remote facts.
	SafeObservedFields map[string]*PublicValue `` /* 192-byte string literal not displayed */
	// provider_owned_fields are safe fields managed by this provider.
	ProviderOwnedFields map[string]*PublicValue `` /* 195-byte string literal not displayed */
	// material_observation_digest binds the last material observation.
	MaterialObservationDigest string `` /* 139-byte string literal not displayed */
	// plan_digest binds the last exact ordered plan.
	PlanDigest string `protobuf:"bytes,15,opt,name=plan_digest,json=planDigest,proto3" json:"plan_digest,omitempty"`
	// secret_references contain only opaque references and fingerprints.
	SecretReferences []*OpaqueReference `protobuf:"bytes,16,rep,name=secret_references,json=secretReferences,proto3" json:"secret_references,omitempty"`
	// output_contract is the versioned generic output contract.
	OutputContract string `protobuf:"bytes,17,opt,name=output_contract,json=outputContract,proto3" json:"output_contract,omitempty"`
	// output_generation is the durable output generation.
	OutputGeneration uint64 `protobuf:"varint,18,opt,name=output_generation,json=outputGeneration,proto3" json:"output_generation,omitempty"`
	// output_digest is the durable output digest.
	OutputDigest string `protobuf:"bytes,19,opt,name=output_digest,json=outputDigest,proto3" json:"output_digest,omitempty"`
	// operation is the latest host-owned operation identity.
	Operation *OperationIdentity `protobuf:"bytes,20,opt,name=operation,proto3" json:"operation,omitempty"`
	// checkpoint is the latest durable pre-send or recovery checkpoint.
	Checkpoint *ActionCheckpoint `protobuf:"bytes,21,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
	// receipt is the latest durable action receipt.
	Receipt *ActionReceipt `protobuf:"bytes,22,opt,name=receipt,proto3" json:"receipt,omitempty"`
	// recovery_data contains safe partial or uncertain recovery facts.
	RecoveryData map[string]*PublicValue `` /* 172-byte string literal not displayed */
	// upgrade_history records exact stepwise upgrades.
	UpgradeHistory []*UpgradeRecord `protobuf:"bytes,24,rep,name=upgrade_history,json=upgradeHistory,proto3" json:"upgrade_history,omitempty"`
	// contains filtered or unexported fields
}

ProviderStateV1 is the provider-neutral durable state schema.

func (*ProviderStateV1) Descriptor deprecated

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

Deprecated: Use ProviderStateV1.ProtoReflect.Descriptor instead.

func (*ProviderStateV1) GetArtifactDigest ¶

func (x *ProviderStateV1) GetArtifactDigest() string

func (*ProviderStateV1) GetBinding ¶

func (x *ProviderStateV1) GetBinding() *BindingAddress

func (*ProviderStateV1) GetCheckpoint ¶

func (x *ProviderStateV1) GetCheckpoint() *ActionCheckpoint

func (*ProviderStateV1) GetGeneration ¶

func (x *ProviderStateV1) GetGeneration() uint64

func (*ProviderStateV1) GetManifestDigest ¶

func (x *ProviderStateV1) GetManifestDigest() string

func (*ProviderStateV1) GetManifestSchemaVersion ¶

func (x *ProviderStateV1) GetManifestSchemaVersion() string

func (*ProviderStateV1) GetMaterialObservationDigest ¶

func (x *ProviderStateV1) GetMaterialObservationDigest() string

func (*ProviderStateV1) GetOperation ¶

func (x *ProviderStateV1) GetOperation() *OperationIdentity

func (*ProviderStateV1) GetOutputContract ¶

func (x *ProviderStateV1) GetOutputContract() string

func (*ProviderStateV1) GetOutputDigest ¶

func (x *ProviderStateV1) GetOutputDigest() string

func (*ProviderStateV1) GetOutputGeneration ¶

func (x *ProviderStateV1) GetOutputGeneration() uint64

func (*ProviderStateV1) GetOwnership ¶

func (x *ProviderStateV1) GetOwnership() Ownership

func (*ProviderStateV1) GetOwnershipStamp ¶

func (x *ProviderStateV1) GetOwnershipStamp() string

func (*ProviderStateV1) GetPlanDigest ¶

func (x *ProviderStateV1) GetPlanDigest() string

func (*ProviderStateV1) GetProviderId ¶

func (x *ProviderStateV1) GetProviderId() string

func (*ProviderStateV1) GetProviderOwnedFields ¶

func (x *ProviderStateV1) GetProviderOwnedFields() map[string]*PublicValue

func (*ProviderStateV1) GetProviderVersion ¶

func (x *ProviderStateV1) GetProviderVersion() string

func (*ProviderStateV1) GetReceipt ¶

func (x *ProviderStateV1) GetReceipt() *ActionReceipt

func (*ProviderStateV1) GetRecoveryData ¶

func (x *ProviderStateV1) GetRecoveryData() map[string]*PublicValue

func (*ProviderStateV1) GetRemoteIdentity ¶

func (x *ProviderStateV1) GetRemoteIdentity() *RemoteIdentity

func (*ProviderStateV1) GetSafeObservedFields ¶

func (x *ProviderStateV1) GetSafeObservedFields() map[string]*PublicValue

func (*ProviderStateV1) GetSecretReferences ¶

func (x *ProviderStateV1) GetSecretReferences() []*OpaqueReference

func (*ProviderStateV1) GetStateSchemaVersion ¶

func (x *ProviderStateV1) GetStateSchemaVersion() uint32

func (*ProviderStateV1) GetUpgradeHistory ¶

func (x *ProviderStateV1) GetUpgradeHistory() []*UpgradeRecord

func (*ProviderStateV1) ProtoMessage ¶

func (*ProviderStateV1) ProtoMessage()

func (*ProviderStateV1) ProtoReflect ¶

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

func (*ProviderStateV1) Reset ¶

func (x *ProviderStateV1) Reset()

func (*ProviderStateV1) String ¶

func (x *ProviderStateV1) String() string

type ProviderState_V1 ¶

type ProviderState_V1 struct {
	// v1 is provider-neutral state schema version one.
	V1 *ProviderStateV1 `protobuf:"bytes,2,opt,name=v1,proto3,oneof"`
}

type PublicList ¶

type PublicList struct {

	// values retain semantic order.
	Values []*PublicValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

PublicList is an ordered list of non-secret values.

func (*PublicList) Descriptor deprecated

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

Deprecated: Use PublicList.ProtoReflect.Descriptor instead.

func (*PublicList) GetValues ¶

func (x *PublicList) GetValues() []*PublicValue

func (*PublicList) ProtoMessage ¶

func (*PublicList) ProtoMessage()

func (*PublicList) ProtoReflect ¶

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

func (*PublicList) Reset ¶

func (x *PublicList) Reset()

func (*PublicList) String ¶

func (x *PublicList) String() string

type PublicObject ¶

type PublicObject struct {

	// fields are keyed by normalized schema property name.
	Fields map[string]*PublicValue `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

PublicObject is a keyed collection of non-secret values.

func (*PublicObject) Descriptor deprecated

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

Deprecated: Use PublicObject.ProtoReflect.Descriptor instead.

func (*PublicObject) GetFields ¶

func (x *PublicObject) GetFields() map[string]*PublicValue

func (*PublicObject) ProtoMessage ¶

func (*PublicObject) ProtoMessage()

func (*PublicObject) ProtoReflect ¶

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

func (*PublicObject) Reset ¶

func (x *PublicObject) Reset()

func (*PublicObject) String ¶

func (x *PublicObject) String() string

type PublicValue ¶

type PublicValue struct {

	// kind carries one deterministic structured value.
	//
	// Types that are valid to be assigned to Kind:
	//
	//	*PublicValue_StringValue
	//	*PublicValue_BoolValue
	//	*PublicValue_IntegerValue
	//	*PublicValue_DecimalValue
	//	*PublicValue_ListValue
	//	*PublicValue_ObjectValue
	//	*PublicValue_NullValue
	Kind isPublicValue_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

PublicValue is a normalized non-secret value.

func (*PublicValue) Descriptor deprecated

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

Deprecated: Use PublicValue.ProtoReflect.Descriptor instead.

func (*PublicValue) GetBoolValue ¶

func (x *PublicValue) GetBoolValue() bool

func (*PublicValue) GetDecimalValue ¶

func (x *PublicValue) GetDecimalValue() string

func (*PublicValue) GetIntegerValue ¶

func (x *PublicValue) GetIntegerValue() int64

func (*PublicValue) GetKind ¶

func (x *PublicValue) GetKind() isPublicValue_Kind

func (*PublicValue) GetListValue ¶

func (x *PublicValue) GetListValue() *PublicList

func (*PublicValue) GetNullValue ¶

func (x *PublicValue) GetNullValue() bool

func (*PublicValue) GetObjectValue ¶

func (x *PublicValue) GetObjectValue() *PublicObject

func (*PublicValue) GetStringValue ¶

func (x *PublicValue) GetStringValue() string

func (*PublicValue) ProtoMessage ¶

func (*PublicValue) ProtoMessage()

func (*PublicValue) ProtoReflect ¶

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

func (*PublicValue) Reset ¶

func (x *PublicValue) Reset()

func (*PublicValue) String ¶

func (x *PublicValue) String() string

type PublicValue_BoolValue ¶

type PublicValue_BoolValue struct {
	// bool_value is a boolean.
	BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type PublicValue_DecimalValue ¶

type PublicValue_DecimalValue struct {
	// decimal_value is a canonical base-ten decimal string.
	DecimalValue string `protobuf:"bytes,4,opt,name=decimal_value,json=decimalValue,proto3,oneof"`
}

type PublicValue_IntegerValue ¶

type PublicValue_IntegerValue struct {
	// integer_value is a signed integer.
	IntegerValue int64 `protobuf:"zigzag64,3,opt,name=integer_value,json=integerValue,proto3,oneof"`
}

type PublicValue_ListValue ¶

type PublicValue_ListValue struct {
	// list_value is an ordered list.
	ListValue *PublicList `protobuf:"bytes,5,opt,name=list_value,json=listValue,proto3,oneof"`
}

type PublicValue_NullValue ¶

type PublicValue_NullValue struct {
	// null_value represents an explicit null.
	NullValue bool `protobuf:"varint,7,opt,name=null_value,json=nullValue,proto3,oneof"`
}

type PublicValue_ObjectValue ¶

type PublicValue_ObjectValue struct {
	// object_value is a keyed object.
	ObjectValue *PublicObject `protobuf:"bytes,6,opt,name=object_value,json=objectValue,proto3,oneof"`
}

type PublicValue_StringValue ¶

type PublicValue_StringValue struct {
	// string_value is a public or safely classified string.
	StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type RecordCheckpointRequest ¶

type RecordCheckpointRequest struct {

	// checkpoint is the exact durable recovery state.
	Checkpoint *ActionCheckpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
	// contains filtered or unexported fields
}

RecordCheckpointRequest asks the host to durably Put a checkpoint.

func (*RecordCheckpointRequest) Descriptor deprecated

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

Deprecated: Use RecordCheckpointRequest.ProtoReflect.Descriptor instead.

func (*RecordCheckpointRequest) GetCheckpoint ¶

func (x *RecordCheckpointRequest) GetCheckpoint() *ActionCheckpoint

func (*RecordCheckpointRequest) ProtoMessage ¶

func (*RecordCheckpointRequest) ProtoMessage()

func (*RecordCheckpointRequest) ProtoReflect ¶

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

func (*RecordCheckpointRequest) Reset ¶

func (x *RecordCheckpointRequest) Reset()

func (*RecordCheckpointRequest) String ¶

func (x *RecordCheckpointRequest) String() string

type RecordCheckpointResponse ¶

type RecordCheckpointResponse struct {

	// durable confirms the checkpoint is committed.
	Durable bool `protobuf:"varint,1,opt,name=durable,proto3" json:"durable,omitempty"`
	// state_generation is the committed host generation.
	StateGeneration uint64 `protobuf:"varint,2,opt,name=state_generation,json=stateGeneration,proto3" json:"state_generation,omitempty"`
	// contains filtered or unexported fields
}

RecordCheckpointResponse confirms durable-at-Put semantics.

func (*RecordCheckpointResponse) Descriptor deprecated

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

Deprecated: Use RecordCheckpointResponse.ProtoReflect.Descriptor instead.

func (*RecordCheckpointResponse) GetDurable ¶

func (x *RecordCheckpointResponse) GetDurable() bool

func (*RecordCheckpointResponse) GetStateGeneration ¶

func (x *RecordCheckpointResponse) GetStateGeneration() uint64

func (*RecordCheckpointResponse) ProtoMessage ¶

func (*RecordCheckpointResponse) ProtoMessage()

func (*RecordCheckpointResponse) ProtoReflect ¶

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

func (*RecordCheckpointResponse) Reset ¶

func (x *RecordCheckpointResponse) Reset()

func (*RecordCheckpointResponse) String ¶

func (x *RecordCheckpointResponse) String() string

type RemoteIdentity ¶

type RemoteIdentity struct {

	// provider is the provider identity.
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	// account_id is the safe remote account identity.
	AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// resource_type is the manifest resource type.
	ResourceType string `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// remote_id is the exact provider-native stable identifier.
	RemoteId string `protobuf:"bytes,4,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"`
	// contains filtered or unexported fields
}

RemoteIdentity is the exact stable identity of one remote object.

func (*RemoteIdentity) Descriptor deprecated

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

Deprecated: Use RemoteIdentity.ProtoReflect.Descriptor instead.

func (*RemoteIdentity) GetAccountId ¶

func (x *RemoteIdentity) GetAccountId() string

func (*RemoteIdentity) GetProvider ¶

func (x *RemoteIdentity) GetProvider() string

func (*RemoteIdentity) GetRemoteId ¶

func (x *RemoteIdentity) GetRemoteId() string

func (*RemoteIdentity) GetResourceType ¶

func (x *RemoteIdentity) GetResourceType() string

func (*RemoteIdentity) ProtoMessage ¶

func (*RemoteIdentity) ProtoMessage()

func (*RemoteIdentity) ProtoReflect ¶

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

func (*RemoteIdentity) Reset ¶

func (x *RemoteIdentity) Reset()

func (*RemoteIdentity) String ¶

func (x *RemoteIdentity) String() string

type RequestBudget ¶

type RequestBudget struct {

	// request_count is the remaining callback count.
	RequestCount uint32 `protobuf:"varint,1,opt,name=request_count,json=requestCount,proto3" json:"request_count,omitempty"`
	// request_bytes is the maximum encoded outbound request size.
	RequestBytes uint64 `protobuf:"varint,2,opt,name=request_bytes,json=requestBytes,proto3" json:"request_bytes,omitempty"`
	// response_bytes is the maximum filtered response size.
	ResponseBytes uint64 `protobuf:"varint,3,opt,name=response_bytes,json=responseBytes,proto3" json:"response_bytes,omitempty"`
	// deadline is the absolute host-enforced deadline.
	Deadline *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=deadline,proto3" json:"deadline,omitempty"`
	// contains filtered or unexported fields
}

RequestBudget bounds callback count and byte volume.

func (*RequestBudget) Descriptor deprecated

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

Deprecated: Use RequestBudget.ProtoReflect.Descriptor instead.

func (*RequestBudget) GetDeadline ¶

func (x *RequestBudget) GetDeadline() *timestamppb.Timestamp

func (*RequestBudget) GetRequestBytes ¶

func (x *RequestBudget) GetRequestBytes() uint64

func (*RequestBudget) GetRequestCount ¶

func (x *RequestBudget) GetRequestCount() uint32

func (*RequestBudget) GetResponseBytes ¶

func (x *RequestBudget) GetResponseBytes() uint64

func (*RequestBudget) ProtoMessage ¶

func (*RequestBudget) ProtoMessage()

func (*RequestBudget) ProtoReflect ¶

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

func (*RequestBudget) Reset ¶

func (x *RequestBudget) Reset()

func (*RequestBudget) String ¶

func (x *RequestBudget) String() string

type ResolveCaptureRequest ¶

type ResolveCaptureRequest struct {

	// operation binds the capture to one action.
	Operation *OperationIdentity `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// capture_id is the prior capture identity.
	CaptureId string `protobuf:"bytes,2,opt,name=capture_id,json=captureId,proto3" json:"capture_id,omitempty"`
	// contains filtered or unexported fields
}

ResolveCaptureRequest identifies one prior durable capture.

func (*ResolveCaptureRequest) Descriptor deprecated

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

Deprecated: Use ResolveCaptureRequest.ProtoReflect.Descriptor instead.

func (*ResolveCaptureRequest) GetCaptureId ¶

func (x *ResolveCaptureRequest) GetCaptureId() string

func (*ResolveCaptureRequest) GetOperation ¶

func (x *ResolveCaptureRequest) GetOperation() *OperationIdentity

func (*ResolveCaptureRequest) ProtoMessage ¶

func (*ResolveCaptureRequest) ProtoMessage()

func (*ResolveCaptureRequest) ProtoReflect ¶

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

func (*ResolveCaptureRequest) Reset ¶

func (x *ResolveCaptureRequest) Reset()

func (*ResolveCaptureRequest) String ¶

func (x *ResolveCaptureRequest) String() string

type ResolveCaptureResponse ¶

type ResolveCaptureResponse struct {

	// reference is the opaque durable sink reference.
	Reference *OpaqueReference `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

ResolveCaptureResponse returns only the opaque sink reference.

func (*ResolveCaptureResponse) Descriptor deprecated

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

Deprecated: Use ResolveCaptureResponse.ProtoReflect.Descriptor instead.

func (*ResolveCaptureResponse) GetReference ¶

func (x *ResolveCaptureResponse) GetReference() *OpaqueReference

func (*ResolveCaptureResponse) ProtoMessage ¶

func (*ResolveCaptureResponse) ProtoMessage()

func (*ResolveCaptureResponse) ProtoReflect ¶

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

func (*ResolveCaptureResponse) Reset ¶

func (x *ResolveCaptureResponse) Reset()

func (*ResolveCaptureResponse) String ¶

func (x *ResolveCaptureResponse) String() string

type RuntimeCatalog ¶

type RuntimeCatalog struct {

	// protocol_version is the implemented provider protocol version.
	ProtocolVersion string `protobuf:"bytes,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
	// manifest_schema_version is the implemented manifest schema version.
	ManifestSchemaVersion string `` /* 126-byte string literal not displayed */
	// state_schema_versions are accepted state versions.
	StateSchemaVersions []uint32 `` /* 128-byte string literal not displayed */
	// requests are executable manifest request descriptors and digests.
	Requests []*RuntimeCatalogRequest `protobuf:"bytes,4,rep,name=requests,proto3" json:"requests,omitempty"`
	// resource_types are executable manifest resource types and actions.
	ResourceTypes []*RuntimeCatalogResource `protobuf:"bytes,5,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	// projection_contracts are executable generic configuration contracts.
	ProjectionContracts []string `protobuf:"bytes,6,rep,name=projection_contracts,json=projectionContracts,proto3" json:"projection_contracts,omitempty"`
	// diagnostic_codes are executable codes under the manifest namespace.
	DiagnosticCodes []string `protobuf:"bytes,7,rep,name=diagnostic_codes,json=diagnosticCodes,proto3" json:"diagnostic_codes,omitempty"`
	// digest changes whenever the catalog changes.
	Digest string `protobuf:"bytes,8,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

RuntimeCatalog is the binary-advertised subset of its packaged manifest.

func (*RuntimeCatalog) Descriptor deprecated

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

Deprecated: Use RuntimeCatalog.ProtoReflect.Descriptor instead.

func (*RuntimeCatalog) GetDiagnosticCodes ¶

func (x *RuntimeCatalog) GetDiagnosticCodes() []string

func (*RuntimeCatalog) GetDigest ¶

func (x *RuntimeCatalog) GetDigest() string

func (*RuntimeCatalog) GetManifestSchemaVersion ¶

func (x *RuntimeCatalog) GetManifestSchemaVersion() string

func (*RuntimeCatalog) GetProjectionContracts ¶

func (x *RuntimeCatalog) GetProjectionContracts() []string

func (*RuntimeCatalog) GetProtocolVersion ¶

func (x *RuntimeCatalog) GetProtocolVersion() string

func (*RuntimeCatalog) GetRequests ¶

func (x *RuntimeCatalog) GetRequests() []*RuntimeCatalogRequest

func (*RuntimeCatalog) GetResourceTypes ¶

func (x *RuntimeCatalog) GetResourceTypes() []*RuntimeCatalogResource

func (*RuntimeCatalog) GetStateSchemaVersions ¶

func (x *RuntimeCatalog) GetStateSchemaVersions() []uint32

func (*RuntimeCatalog) ProtoMessage ¶

func (*RuntimeCatalog) ProtoMessage()

func (*RuntimeCatalog) ProtoReflect ¶

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

func (*RuntimeCatalog) Reset ¶

func (x *RuntimeCatalog) Reset()

func (*RuntimeCatalog) String ¶

func (x *RuntimeCatalog) String() string

type RuntimeCatalogRequest ¶

type RuntimeCatalogRequest struct {

	// id is the packaged request descriptor identity.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// digest is the packaged request descriptor digest.
	Digest string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// contains filtered or unexported fields
}

RuntimeCatalogRequest binds one executable request descriptor.

func (*RuntimeCatalogRequest) Descriptor deprecated

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

Deprecated: Use RuntimeCatalogRequest.ProtoReflect.Descriptor instead.

func (*RuntimeCatalogRequest) GetDigest ¶

func (x *RuntimeCatalogRequest) GetDigest() string

func (*RuntimeCatalogRequest) GetId ¶

func (x *RuntimeCatalogRequest) GetId() string

func (*RuntimeCatalogRequest) ProtoMessage ¶

func (*RuntimeCatalogRequest) ProtoMessage()

func (*RuntimeCatalogRequest) ProtoReflect ¶

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

func (*RuntimeCatalogRequest) Reset ¶

func (x *RuntimeCatalogRequest) Reset()

func (*RuntimeCatalogRequest) String ¶

func (x *RuntimeCatalogRequest) String() string

type RuntimeCatalogResource ¶

type RuntimeCatalogResource struct {

	// id is the packaged resource type identity.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// actions are lifecycle actions implemented for this resource type.
	Actions []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

RuntimeCatalogResource binds one executable resource action subset.

func (*RuntimeCatalogResource) Descriptor deprecated

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

Deprecated: Use RuntimeCatalogResource.ProtoReflect.Descriptor instead.

func (*RuntimeCatalogResource) GetActions ¶

func (x *RuntimeCatalogResource) GetActions() []string

func (*RuntimeCatalogResource) GetId ¶

func (x *RuntimeCatalogResource) GetId() string

func (*RuntimeCatalogResource) ProtoMessage ¶

func (*RuntimeCatalogResource) ProtoMessage()

func (*RuntimeCatalogResource) ProtoReflect ¶

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

func (*RuntimeCatalogResource) Reset ¶

func (x *RuntimeCatalogResource) Reset()

func (*RuntimeCatalogResource) String ¶

func (x *RuntimeCatalogResource) String() string

type SemanticEndpointReference ¶

type SemanticEndpointReference struct {

	// endpoint_id is the provider-defined semantic endpoint.
	EndpointId string `protobuf:"bytes,1,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"`
	// origin_rule_id is the manifest origin rule.
	OriginRuleId string `protobuf:"bytes,2,opt,name=origin_rule_id,json=originRuleId,proto3" json:"origin_rule_id,omitempty"`
	// contains filtered or unexported fields
}

SemanticEndpointReference identifies a manifest-declared endpoint without choosing an origin.

func (*SemanticEndpointReference) Descriptor deprecated

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

Deprecated: Use SemanticEndpointReference.ProtoReflect.Descriptor instead.

func (*SemanticEndpointReference) GetEndpointId ¶

func (x *SemanticEndpointReference) GetEndpointId() string

func (*SemanticEndpointReference) GetOriginRuleId ¶

func (x *SemanticEndpointReference) GetOriginRuleId() string

func (*SemanticEndpointReference) ProtoMessage ¶

func (*SemanticEndpointReference) ProtoMessage()

func (*SemanticEndpointReference) ProtoReflect ¶

func (*SemanticEndpointReference) Reset ¶

func (x *SemanticEndpointReference) Reset()

func (*SemanticEndpointReference) String ¶

func (x *SemanticEndpointReference) String() string

type StateGeneration ¶

type StateGeneration struct {

	// schema_version is the state schema version.
	SchemaVersion uint32 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	// generation is the monotonic state generation.
	Generation uint64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
	// state_digest is the prior durable state digest.
	StateDigest string `protobuf:"bytes,3,opt,name=state_digest,json=stateDigest,proto3" json:"state_digest,omitempty"`
	// contains filtered or unexported fields
}

StateGeneration binds state schema and generation identity.

func (*StateGeneration) Descriptor deprecated

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

Deprecated: Use StateGeneration.ProtoReflect.Descriptor instead.

func (*StateGeneration) GetGeneration ¶

func (x *StateGeneration) GetGeneration() uint64

func (*StateGeneration) GetSchemaVersion ¶

func (x *StateGeneration) GetSchemaVersion() uint32

func (*StateGeneration) GetStateDigest ¶

func (x *StateGeneration) GetStateDigest() string

func (*StateGeneration) ProtoMessage ¶

func (*StateGeneration) ProtoMessage()

func (*StateGeneration) ProtoReflect ¶

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

func (*StateGeneration) Reset ¶

func (x *StateGeneration) Reset()

func (*StateGeneration) String ¶

func (x *StateGeneration) String() string

type UnimplementedProviderHostServer ¶

type UnimplementedProviderHostServer struct{}

UnimplementedProviderHostServer 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 (UnimplementedProviderHostServer) ExecuteRequest ¶

func (UnimplementedProviderHostServer) ProposeOutput ¶

func (UnimplementedProviderHostServer) RecordCheckpoint ¶

func (UnimplementedProviderHostServer) ResolveCapture ¶

type UnimplementedProviderServer ¶

type UnimplementedProviderServer struct{}

UnimplementedProviderServer 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 (UnimplementedProviderServer) ApplyAction ¶

func (UnimplementedProviderServer) Doctor ¶

func (UnimplementedProviderServer) Observe ¶

func (UnimplementedProviderServer) Plan ¶

func (UnimplementedProviderServer) UpgradeState ¶

func (UnimplementedProviderServer) Validate ¶

type UnsafeProviderHostServer ¶

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

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

type UnsafeProviderServer ¶

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

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

type UpgradeRecord ¶

type UpgradeRecord struct {

	// from_version is the prior schema version.
	FromVersion uint32 `protobuf:"varint,1,opt,name=from_version,json=fromVersion,proto3" json:"from_version,omitempty"`
	// to_version is exactly from_version plus one.
	ToVersion uint32 `protobuf:"varint,2,opt,name=to_version,json=toVersion,proto3" json:"to_version,omitempty"`
	// agent_version is the concrete upgrading agent.
	AgentVersion string `protobuf:"bytes,3,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	// artifact_digest binds the upgrading package.
	ArtifactDigest string `protobuf:"bytes,4,opt,name=artifact_digest,json=artifactDigest,proto3" json:"artifact_digest,omitempty"`
	// upgraded_at is the host-attested upgrade time.
	UpgradedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=upgraded_at,json=upgradedAt,proto3" json:"upgraded_at,omitempty"`
	// prior_digest binds the prior state.
	PriorDigest string `protobuf:"bytes,6,opt,name=prior_digest,json=priorDigest,proto3" json:"prior_digest,omitempty"`
	// result_digest binds the upgraded state.
	ResultDigest string `protobuf:"bytes,7,opt,name=result_digest,json=resultDigest,proto3" json:"result_digest,omitempty"`
	// contains filtered or unexported fields
}

UpgradeRecord records one completed state upgrade step.

func (*UpgradeRecord) Descriptor deprecated

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

Deprecated: Use UpgradeRecord.ProtoReflect.Descriptor instead.

func (*UpgradeRecord) GetAgentVersion ¶

func (x *UpgradeRecord) GetAgentVersion() string

func (*UpgradeRecord) GetArtifactDigest ¶

func (x *UpgradeRecord) GetArtifactDigest() string

func (*UpgradeRecord) GetFromVersion ¶

func (x *UpgradeRecord) GetFromVersion() uint32

func (*UpgradeRecord) GetPriorDigest ¶

func (x *UpgradeRecord) GetPriorDigest() string

func (*UpgradeRecord) GetResultDigest ¶

func (x *UpgradeRecord) GetResultDigest() string

func (*UpgradeRecord) GetToVersion ¶

func (x *UpgradeRecord) GetToVersion() uint32

func (*UpgradeRecord) GetUpgradedAt ¶

func (x *UpgradeRecord) GetUpgradedAt() *timestamppb.Timestamp

func (*UpgradeRecord) ProtoMessage ¶

func (*UpgradeRecord) ProtoMessage()

func (*UpgradeRecord) ProtoReflect ¶

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

func (*UpgradeRecord) Reset ¶

func (x *UpgradeRecord) Reset()

func (*UpgradeRecord) String ¶

func (x *UpgradeRecord) String() string

type UpgradeStateRequest ¶

type UpgradeStateRequest struct {

	// context contains identity and non-secret input only.
	Context *OfflineProviderContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// from_version is the current state schema version.
	FromVersion uint32 `protobuf:"varint,2,opt,name=from_version,json=fromVersion,proto3" json:"from_version,omitempty"`
	// to_version must equal from_version plus one.
	ToVersion uint32 `protobuf:"varint,3,opt,name=to_version,json=toVersion,proto3" json:"to_version,omitempty"`
	// state is the safe current state.
	State *ProviderState `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

UpgradeStateRequest asks for exactly one offline schema upgrade step.

func (*UpgradeStateRequest) Descriptor deprecated

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

Deprecated: Use UpgradeStateRequest.ProtoReflect.Descriptor instead.

func (*UpgradeStateRequest) GetContext ¶

func (*UpgradeStateRequest) GetFromVersion ¶

func (x *UpgradeStateRequest) GetFromVersion() uint32

func (*UpgradeStateRequest) GetState ¶

func (x *UpgradeStateRequest) GetState() *ProviderState

func (*UpgradeStateRequest) GetToVersion ¶

func (x *UpgradeStateRequest) GetToVersion() uint32

func (*UpgradeStateRequest) ProtoMessage ¶

func (*UpgradeStateRequest) ProtoMessage()

func (*UpgradeStateRequest) ProtoReflect ¶

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

func (*UpgradeStateRequest) Reset ¶

func (x *UpgradeStateRequest) Reset()

func (*UpgradeStateRequest) String ¶

func (x *UpgradeStateRequest) String() string

type UpgradeStateResponse ¶

type UpgradeStateResponse struct {

	// state is the upgraded safe state.
	State *ProviderState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// record is the exact upgrade history entry.
	Record *UpgradeRecord `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	// diagnostics are bounded neutral diagnostics.
	Diagnostics []*v0.FailureDiagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

UpgradeStateResponse returns the next safe schema step.

func (*UpgradeStateResponse) Descriptor deprecated

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

Deprecated: Use UpgradeStateResponse.ProtoReflect.Descriptor instead.

func (*UpgradeStateResponse) GetDiagnostics ¶

func (x *UpgradeStateResponse) GetDiagnostics() []*v0.FailureDiagnostic

func (*UpgradeStateResponse) GetRecord ¶

func (x *UpgradeStateResponse) GetRecord() *UpgradeRecord

func (*UpgradeStateResponse) GetState ¶

func (x *UpgradeStateResponse) GetState() *ProviderState

func (*UpgradeStateResponse) ProtoMessage ¶

func (*UpgradeStateResponse) ProtoMessage()

func (*UpgradeStateResponse) ProtoReflect ¶

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

func (*UpgradeStateResponse) Reset ¶

func (x *UpgradeStateResponse) Reset()

func (*UpgradeStateResponse) String ¶

func (x *UpgradeStateResponse) String() string

type ValidateRequest ¶

type ValidateRequest struct {

	// context contains identity and normalized non-secret input.
	Context *OfflineProviderContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	// previous_state is safe provider state when validation needs schema context.
	PreviousState *ProviderState `protobuf:"bytes,2,opt,name=previous_state,json=previousState,proto3" json:"previous_state,omitempty"`
	// contains filtered or unexported fields
}

ValidateRequest contains only offline-capable desired input.

func (*ValidateRequest) Descriptor deprecated

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

Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead.

func (*ValidateRequest) GetContext ¶

func (x *ValidateRequest) GetContext() *OfflineProviderContext

func (*ValidateRequest) GetPreviousState ¶

func (x *ValidateRequest) GetPreviousState() *ProviderState

func (*ValidateRequest) ProtoMessage ¶

func (*ValidateRequest) ProtoMessage()

func (*ValidateRequest) ProtoReflect ¶

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

func (*ValidateRequest) Reset ¶

func (x *ValidateRequest) Reset()

func (*ValidateRequest) String ¶

func (x *ValidateRequest) String() string

type ValidateResponse ¶

type ValidateResponse struct {

	// valid reports whether desired input is acceptable.
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// diagnostics are bounded neutral diagnostics.
	Diagnostics []*v0.FailureDiagnostic `protobuf:"bytes,2,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

ValidateResponse reports normalized diagnostics.

func (*ValidateResponse) Descriptor deprecated

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

Deprecated: Use ValidateResponse.ProtoReflect.Descriptor instead.

func (*ValidateResponse) GetDiagnostics ¶

func (x *ValidateResponse) GetDiagnostics() []*v0.FailureDiagnostic

func (*ValidateResponse) GetValid ¶

func (x *ValidateResponse) GetValid() bool

func (*ValidateResponse) ProtoMessage ¶

func (*ValidateResponse) ProtoMessage()

func (*ValidateResponse) ProtoReflect ¶

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

func (*ValidateResponse) Reset ¶

func (x *ValidateResponse) Reset()

func (*ValidateResponse) String ¶

func (x *ValidateResponse) String() string

type VolatileObservation ¶

type VolatileObservation struct {

	// request_ids are remote diagnostic request identifiers.
	RequestIds []string `protobuf:"bytes,1,rep,name=request_ids,json=requestIds,proto3" json:"request_ids,omitempty"`
	// rate_limit_remaining is remote diagnostic capacity.
	RateLimitRemaining uint64 `protobuf:"varint,2,opt,name=rate_limit_remaining,json=rateLimitRemaining,proto3" json:"rate_limit_remaining,omitempty"`
	// retry_after is remote throttling advice owned by the coordinator.
	RetryAfter *durationpb.Duration `protobuf:"bytes,3,opt,name=retry_after,json=retryAfter,proto3" json:"retry_after,omitempty"`
	// retrieved_at is the non-material retrieval timestamp.
	RetrievedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=retrieved_at,json=retrievedAt,proto3" json:"retrieved_at,omitempty"`
	// diagnostics are excluded from material digest ordering.
	Diagnostics []*v0.FailureDiagnostic `protobuf:"bytes,5,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

VolatileObservation contains non-material refresh metadata.

func (*VolatileObservation) Descriptor deprecated

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

Deprecated: Use VolatileObservation.ProtoReflect.Descriptor instead.

func (*VolatileObservation) GetDiagnostics ¶

func (x *VolatileObservation) GetDiagnostics() []*v0.FailureDiagnostic

func (*VolatileObservation) GetRateLimitRemaining ¶

func (x *VolatileObservation) GetRateLimitRemaining() uint64

func (*VolatileObservation) GetRequestIds ¶

func (x *VolatileObservation) GetRequestIds() []string

func (*VolatileObservation) GetRetrievedAt ¶

func (x *VolatileObservation) GetRetrievedAt() *timestamppb.Timestamp

func (*VolatileObservation) GetRetryAfter ¶

func (x *VolatileObservation) GetRetryAfter() *durationpb.Duration

func (*VolatileObservation) ProtoMessage ¶

func (*VolatileObservation) ProtoMessage()

func (*VolatileObservation) ProtoReflect ¶

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

func (*VolatileObservation) Reset ¶

func (x *VolatileObservation) Reset()

func (*VolatileObservation) String ¶

func (x *VolatileObservation) String() string

Directories ¶

Path Synopsis

Jump to

Keyboard shortcuts

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