Documentation ¶
Index ¶
- func CollectAuditLog(output *sqlmeshv1.IngestExecutionRequest, filename string) error
- func CollectMetadata(url url.URL, fileContentGlobFilter GlobFilter) (*ingestsqlmeshv1.IngestMetadataRequest, error)
- func ModelNames(models json.RawMessage) ([]string, error)
- func NewSQLMeshMetadata() *ingestsqlmeshv1.IngestMetadataRequest
- func WaitForSQLMeshToStart(url url.URL)
- type Api
- type ApiImpl
- func (a ApiImpl) GetEnvironments() (json.RawMessage, error)
- func (a ApiImpl) GetFileContent(filePath string) (json.RawMessage, error)
- func (a ApiImpl) GetFiles() (json.RawMessage, error)
- func (a ApiImpl) GetLineage(modelName string) (json.RawMessage, error)
- func (a ApiImpl) GetMeta() (json.RawMessage, error)
- func (a ApiImpl) GetModel(modelName string) (json.RawMessage, error)
- func (a ApiImpl) GetModels() (json.RawMessage, error)
- func (a ApiImpl) Health() (json.RawMessage, error)
- type Directory
- type File
- type GlobFilter
- type GlobFilterImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectAuditLog ¶ added in v0.2.3
func CollectAuditLog(output *sqlmeshv1.IngestExecutionRequest, filename string) error
func CollectMetadata ¶
func CollectMetadata(url url.URL, fileContentGlobFilter GlobFilter) (*ingestsqlmeshv1.IngestMetadataRequest, error)
func ModelNames ¶
func ModelNames(models json.RawMessage) ([]string, error)
func NewSQLMeshMetadata ¶ added in v0.2.1
func NewSQLMeshMetadata() *ingestsqlmeshv1.IngestMetadataRequest
func WaitForSQLMeshToStart ¶ added in v0.2.1
Types ¶
type Api ¶
type Api interface { GetMeta() (json.RawMessage, error) GetModels() (json.RawMessage, error) GetModel(modelName string) (json.RawMessage, error) GetLineage(modelName string) (json.RawMessage, error) GetEnvironments() (json.RawMessage, error) GetFiles() (json.RawMessage, error) GetFileContent(filePath string) (json.RawMessage, error) Health() (json.RawMessage, error) }
func NewAPIClient ¶
type ApiImpl ¶
type ApiImpl struct {
// contains filtered or unexported fields
}
func (ApiImpl) GetEnvironments ¶
func (a ApiImpl) GetEnvironments() (json.RawMessage, error)
func (ApiImpl) GetFileContent ¶ added in v0.2.2
func (a ApiImpl) GetFileContent(filePath string) (json.RawMessage, error)
func (ApiImpl) GetLineage ¶
func (a ApiImpl) GetLineage(modelName string) (json.RawMessage, error)
type GlobFilter ¶ added in v0.2.2
func NewExcludeEverythingGlobFilter ¶ added in v0.2.2
func NewExcludeEverythingGlobFilter() GlobFilter
func NewGlobFilter ¶ added in v0.2.2
func NewGlobFilter(includePattern string, excludePattern string) GlobFilter
type GlobFilterImpl ¶ added in v0.2.2
type GlobFilterImpl struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.