cmd

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClientVersion = "0.1.0"
	ServerVersion = "0.1.0"
)

Functions

func Execute

func Execute() error

Types

type AssetResult added in v0.3.0

type AssetResult struct {
	Name     string      `json:"name"`
	Type     string      `json:"type"`
	Provider string      `json:"provider"`
	MRN      string      `json:"mrn"`
	Asset    interface{} `json:"asset"`
	Status   string      `json:"status"`
	Error    string      `json:"error,omitempty"`
}

type BatchCreateRequest added in v0.3.0

type BatchCreateRequest struct {
	Assets        []CreateAssetRequest     `json:"assets"`
	Lineage       []CreateLineageRequest   `json:"lineage"`
	Documentation []CreateDocRequest       `json:"documentation"`
	Statistics    []CreateStatisticRequest `json:"statistics"`
	Config        plugin.RawPluginConfig   `json:"config"`
	PipelineName  string                   `json:"pipeline_name"`
	SourceName    string                   `json:"source_name"`
	RunID         string                   `json:"run_id"`
}

type BatchCreateResponse added in v0.3.0

type BatchCreateResponse struct {
	Assets               []AssetResult         `json:"assets"`
	Lineage              []LineageResult       `json:"lineage"`
	Documentation        []DocumentationResult `json:"documentation"`
	StaleEntitiesRemoved []string              `json:"stale_entities_removed,omitempty"`
}

type CompleteRunRequest added in v0.3.0

type CompleteRunRequest struct {
	RunID   string             `json:"run_id"`
	Status  plugin.RunStatus   `json:"status"`
	Summary *plugin.RunSummary `json:"summary"`
	Error   string             `json:"error,omitempty"`
}

type CreateAssetRequest added in v0.3.0

type CreateAssetRequest struct {
	Name          string                 `json:"name"`
	Type          string                 `json:"type"`
	Providers     []string               `json:"providers"`
	Description   *string                `json:"description"`
	Metadata      map[string]interface{} `json:"metadata"`
	Schema        map[string]interface{} `json:"schema"`
	Tags          []string               `json:"tags"`
	Sources       []string               `json:"sources"`
	ExternalLinks []map[string]string    `json:"external_links"`
}

type CreateDocRequest added in v0.3.0

type CreateDocRequest struct {
	AssetMRN string `json:"asset_mrn"`
	Content  string `json:"content"`
	Type     string `json:"type"`
}

type CreateLineageRequest added in v0.3.0

type CreateLineageRequest struct {
	Source string `json:"source"`
	Target string `json:"target"`
	Type   string `json:"type"`
}

type CreateStatisticRequest added in v0.3.1

type CreateStatisticRequest struct {
	AssetMRN   string  `json:"asset_mrn"`
	MetricName string  `json:"metric_name"`
	Value      float64 `json:"value"`
}

type DestroyRunResponse added in v0.3.0

type DestroyRunResponse struct {
	AssetsDeleted        int      `json:"assets_deleted"`
	LineageDeleted       int      `json:"lineage_deleted"`
	DocumentationDeleted int      `json:"documentation_deleted"`
	DeletedEntityMRNs    []string `json:"deleted_entity_mrns"`
}

type DocumentationResult added in v0.3.0

type DocumentationResult struct {
	AssetMRN string `json:"asset_mrn"`
	Type     string `json:"type"`
	Status   string `json:"status"`
	Error    string `json:"error,omitempty"`
}

type LineageResult added in v0.3.0

type LineageResult struct {
	Source string `json:"source"`
	Target string `json:"target"`
	Type   string `json:"type"`
	Status string `json:"status"`
	Error  string `json:"error,omitempty"`
}

type StartRunRequest added in v0.3.0

type StartRunRequest struct {
	PipelineName string                 `json:"pipeline_name"`
	SourceName   string                 `json:"source_name"`
	Config       plugin.RawPluginConfig `json:"config"`
}

type Summary added in v0.3.0

type Summary struct {
	AssetsCreated      int
	AssetsUpdated      int
	AssetsDeleted      int
	AssetsUnchanged    int
	LineageCreated     int
	LineageUpdated     int
	DocumentationAdded int
	ErrorsEncountered  int
}

Jump to

Keyboard shortcuts

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