types

package
v0.0.5-dev1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	Name        string  `json:"name"`
	Description string  `json:"description"`
	Meta        Meta    `json:"meta"`
	DataType    *string `json:"data_type"`
}

type Filter

type Filter struct {
	Name       string   `json:"name"`
	PolicyRule string   `json:"policy_rule"`
	Owners     []string `json:"owners,omitempty"`
}

type Grant

type Grant struct {
	Name              string   `json:"name"`
	Permissions       []string `json:"permissions"`
	GlobalPermissions []string `json:"global_permissions"`
	Owners            []string `json:"owners,omitempty"`
}

type Manifest

type Manifest struct {
	Metadata Metadata        `json:"metadata"`
	Nodes    map[string]Node `json:"nodes"`
}

type Mask

type Mask struct {
	Name   string   `json:"name"`
	Type   *string  `json:"type,omitempty"`
	Owners []string `json:"owners,omitempty"`
}

type Meta

type Meta struct {
	Raito RaitoMeta `json:"raito"`
}

type Metadata

type Metadata struct {
	DbtSchemaVersion string `json:"dbt_schema_version"`
	DbtVersion       string `json:"dbt_version"`
	ProjectName      string `json:"project_name"`
	ProjectId        string `json:"project_id"`
}

type Node

type Node struct {
	Database         string                 `json:"database"`
	Schema           string                 `json:"schema"`
	Name             string                 `json:"name"`
	ResourceType     string                 `json:"resource_type"`
	PackageName      string                 `json:"package_name"`
	Path             string                 `json:"path"`
	OriginalFilePath string                 `json:"original_file_path"`
	UniqueId         string                 `json:"unique_id"`
	Fqn              []string               `json:"fqn"`
	Alias            string                 `json:"alias"`
	Config           NodeConfig             `json:"config"`
	Description      string                 `json:"description"`
	Columns          map[string]Column      `json:"columns"`
	Meta             Meta                   `json:"meta"`
	PatchPath        string                 `json:"patch_path"`
	BuildPath        string                 `json:"build_path"`
	Deferred         bool                   `json:"deferred"`
	UnrenderedConfig map[string]interface{} `json:"unrendered_config"`
	RelationName     string                 `json:"relation_name"`
	Language         string                 `json:"language"`
	DependsOn        NodeDependsOn          `json:"depends_on"`
	Access           string                 `json:"access"`
}

type NodeConfig

type NodeConfig struct {
	Enabled      bool                   `json:"enabled"`
	Alias        *string                `json:"alias"`
	Schema       *string                `json:"schema"`
	Database     *string                `json:"database"`
	Meta         map[string]interface{} `json:"meta"`
	Group        *string                `json:"group"`
	Materialized *string                `json:"materialized"`
}

type NodeDependsOn

type NodeDependsOn struct {
	Macros []string `json:"macros"`
	Nodes  []string `json:"nodes"`
}

type RaitoMeta

type RaitoMeta struct {
	Grant  []Grant  `json:"grant,omitempty"`
	Filter []Filter `json:"filter,omitempty"`
	Mask   *Mask    `json:"mask,omitempty"`
}

Jump to

Keyboard shortcuts

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