Documentation ¶
Overview ¶
Package asset defines the structures necessary to orchestrate a federated learning network. Most of these files are generated from protobuf definitions. This package also define validation rules for those assets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // OrganizationKind is the type of Organization assets OrganizationKind Kind = "organization" // MetricKind is the type of Metric assets MetricKind = "metric" // DataSampleKind is the type of DataSample assets DataSampleKind = "datasample" // FunctionKind is the type of Function assets FunctionKind = "function" // DataManagerKind is the type of DataManager assets DataManagerKind = "datamanager" // ComputeTaskKind is the type of ComputeTask assets ComputeTaskKind = "computetask" // ComputePlanKind is the type of ComputePlan assets ComputePlanKind = "computeplan" // ModelKind is the type of Model assets ModelKind = "model" // PerformanceKind is the type of Performance assets PerformanceKind = "performance" // ProfilingStepKind is the type of Performance assets ProfilingStepKind = "profiling_step" // FailureReportKind is the type of FailureReport assets FailureReportKind = "failurereport" ComputeTaskOutputAssetKind = "computetask_output_asset" )
Functions ¶
func MarshalEventAsset ¶
MarshalEventAsset returns the JSON encoding of the Asset of the provided Event.
func UnmarshalEventAsset ¶
UnmarshalEventAsset parses the JSON-encoded data according to the assetKind and stores the result in the Asset field of the provided event.
Types ¶
Source Files ¶
- common_validation.go
- computeplan.go
- computeplan_validation.go
- computetask_validation.go
- datamanager_validation.go
- datasample_validation.go
- doc.go
- event.go
- failure_report_validation.go
- function_validation.go
- kind.go
- model_validation.go
- organization_validation.go
- performance.go
- performance_validation.go
- profiling_validation.go
- sql.go
Click to show internal directories.
Click to hide internal directories.