metadatautil

package
v0.0.0-...-0907076 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DatabaseChooserUI

func DatabaseChooserUI(exportMetadata func() (io.Reader, error)) (string, error)

func GetSourceKind

func GetSourceKind(exportMetadata func() (io.Reader, error), sourceName string) (*hasura.SourceKind, error)

func GetSources

func GetSources(exportMetadata func() (io.Reader, error)) ([]string, error)

Types

type Source

type Source struct {
	Name string            `yaml: "name"`
	Kind hasura.SourceKind `yaml:"kind"`
}

func GetSourcesAndKind

func GetSourcesAndKind(exportMetadata func() (io.Reader, error)) ([]Source, error)

Jump to

Keyboard shortcuts

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