rest_api

package
v0.0.0-...-c0c544a Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAgent

func CreateAgent(api *connectors.RestAPI, project string, body map[string]string) ([]byte, error)

func CreateDatabase

func CreateDatabase(api *connectors.RestAPI, body map[string]string) ([]byte, error)

func CreateSkill

func CreateSkill(api *connectors.RestAPI, project string, body map[string]string) ([]byte, error)

func CreateTable

func CreateTable(api *connectors.RestAPI, database string, body map[string]string) ([]byte, error)

func CreateView

func CreateView(api *connectors.RestAPI, project string, body map[string]string) ([]byte, error)

func DeleteAgent

func DeleteAgent(api *connectors.RestAPI, project, skill string) ([]byte, error)

func DeleteDatabase

func DeleteDatabase(api *connectors.RestAPI, database string) ([]byte, error)

func DeleteModel

func DeleteModel(api *connectors.RestAPI, project, model string) ([]byte, error)

func DeleteSkill

func DeleteSkill(api *connectors.RestAPI, project, skill string) ([]byte, error)

func DeleteTable

func DeleteTable(api *connectors.RestAPI, database, name string) ([]byte, error)

func DeleteView

func DeleteView(api *connectors.RestAPI, project, view string) ([]byte, error)

func DescribeModel

func DescribeModel(api *connectors.RestAPI, project, name string) ([]byte, error)

func GetAgent

func GetAgent(api *connectors.RestAPI, project, skill string) ([]byte, error)

func GetAgents

func GetAgents(api *connectors.RestAPI, project string) ([]byte, error)

func GetDatabase

func GetDatabase(api *connectors.RestAPI, database string) ([]byte, error)

func GetDatabases

func GetDatabases(api *connectors.RestAPI) ([]byte, error)

func GetModel

func GetModel(api *connectors.RestAPI, project, name string) ([]byte, error)

func GetModels

func GetModels(api *connectors.RestAPI, project string) ([]byte, error)

func GetProject

func GetProject(api *connectors.RestAPI, name string) ([]byte, error)

func GetProjects

func GetProjects(api *connectors.RestAPI) ([]byte, error)

func GetSkill

func GetSkill(api *connectors.RestAPI, project, skill string) ([]byte, error)

func GetSkills

func GetSkills(api *connectors.RestAPI, project string) ([]byte, error)

func GetTable

func GetTable(api *connectors.RestAPI, database, name string) ([]byte, error)

func GetTables

func GetTables(api *connectors.RestAPI, database string) ([]byte, error)

func GetView

func GetView(api *connectors.RestAPI, project, name string) ([]byte, error)

func GetViews

func GetViews(api *connectors.RestAPI, project string) ([]byte, error)

func QueryModel

func QueryModel(api *connectors.RestAPI, project, model string, body map[string]string) ([]byte, error)

func SqlQuery

func SqlQuery(api *connectors.RestAPI, query string) ([]byte, error)

func TrainModel

func TrainModel(api *connectors.RestAPI, project string, query map[string]string) ([]byte, error)

func UpdateAgents

func UpdateAgents(api *connectors.RestAPI, project, skill string, body map[string]string) ([]byte, error)

func UpdateDatabase

func UpdateDatabase(api *connectors.RestAPI, database string, body map[string]string) ([]byte, error)

func UpdateSkills

func UpdateSkills(api *connectors.RestAPI, project, skill string, body map[string]string) ([]byte, error)

func UpdateView

func UpdateView(api *connectors.RestAPI, project, view map[string]string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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