Documentation ¶
Index ¶
- Constants
- Variables
- func ApplyCLIPluginTransform(dataServerBaseURL *url.URL, connPkgs []ndchub.ConnectorPackaging) error
- func CreateAssetFolders() error
- func DownloadConnectorTarballs(connPkgs []ndchub.ConnectorPackaging) error
- func ExtractConnectorTarballs(connPkgs []ndchub.ConnectorPackaging) error
- func OutputConnectorTarballs(connPkgs []ndchub.ConnectorPackaging) error
- func StoreCLIPluginFiles(connPkgs []ndchub.ConnectorPackaging) error
- func WriteIndexJSON(index *Index) error
- type BinaryCLIPluginPlatform
- type BinaryExternalCLIPluginDefinition
- type BinaryInlineCLIPluginDefinition
- type CLIPluginDefinition
- type CLIPluginType
- type Connector
- type ConnectorMetadataYAML
- type DockerCLIPluginDefinition
- type Index
Constants ¶
View Source
const (
AssetFolderPath = "assets"
)
Variables ¶
View Source
var ( DownloadsFolderPath = filepath.Join(AssetFolderPath, "downloads") ExtractsFolderPath = filepath.Join(AssetFolderPath, "extracts") OutputFolderPath = filepath.Join(AssetFolderPath, "outputs") IndexJsonPath = filepath.Join(OutputFolderPath, "index.json") )
Functions ¶
func ApplyCLIPluginTransform ¶ added in v0.2.0
func ApplyCLIPluginTransform(dataServerBaseURL *url.URL, connPkgs []ndchub.ConnectorPackaging) error
func CreateAssetFolders ¶ added in v0.2.1
func CreateAssetFolders() error
func DownloadConnectorTarballs ¶ added in v0.2.0
func DownloadConnectorTarballs(connPkgs []ndchub.ConnectorPackaging) error
func ExtractConnectorTarballs ¶ added in v0.2.0
func ExtractConnectorTarballs(connPkgs []ndchub.ConnectorPackaging) error
func OutputConnectorTarballs ¶ added in v0.2.0
func OutputConnectorTarballs(connPkgs []ndchub.ConnectorPackaging) error
func StoreCLIPluginFiles ¶ added in v0.2.0
func StoreCLIPluginFiles(connPkgs []ndchub.ConnectorPackaging) error
func WriteIndexJSON ¶
Types ¶
type BinaryCLIPluginPlatform ¶ added in v0.2.0
type BinaryExternalCLIPluginDefinition ¶ added in v0.2.0
type BinaryExternalCLIPluginDefinition struct { Name string `yaml:"name"` Version string `yaml:"version"` }
func (*BinaryExternalCLIPluginDefinition) GetType ¶ added in v0.2.0
func (*BinaryExternalCLIPluginDefinition) GetType() CLIPluginType
type BinaryInlineCLIPluginDefinition ¶ added in v0.2.0
type BinaryInlineCLIPluginDefinition struct {
Platforms []BinaryCLIPluginPlatform `yaml:"platforms"`
}
func (*BinaryInlineCLIPluginDefinition) GetType ¶ added in v0.2.0
func (*BinaryInlineCLIPluginDefinition) GetType() CLIPluginType
type CLIPluginDefinition ¶ added in v0.2.0
type CLIPluginDefinition interface {
GetType() CLIPluginType
}
type CLIPluginType ¶ added in v0.2.0
type CLIPluginType string
var ( Binary CLIPluginType = "Binary" BinaryInline CLIPluginType = "BinaryInline" Docker CLIPluginType = "Docker" )
type ConnectorMetadataYAML ¶ added in v0.2.0
type ConnectorMetadataYAML struct {
CLIPlugin CLIPluginDefinition `yaml:"cliPlugin"`
}
func (*ConnectorMetadataYAML) UnmarshalYAML ¶ added in v0.2.0
func (cmy *ConnectorMetadataYAML) UnmarshalYAML(value *yaml.Node) error
type DockerCLIPluginDefinition ¶ added in v0.2.0
type DockerCLIPluginDefinition struct {
DockerImage string `yaml:"dockerImage"`
}
func (*DockerCLIPluginDefinition) GetType ¶ added in v0.2.0
func (*DockerCLIPluginDefinition) GetType() CLIPluginType
Click to show internal directories.
Click to hide internal directories.