Documentation
¶
Index ¶
Constants ¶
View Source
const ToolKind string = "spanner-sql"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Name string `yaml:"name"`
Kind string `yaml:"kind"`
Source string `yaml:"source"`
Description string `yaml:"description"`
Statement string `yaml:"statement"`
Parameters tools.Parameters `yaml:"parameters"`
}
func (Config) Initialize ¶
func (Config) ToolConfigKind ¶
type Tool ¶
type Tool struct {
Name string `yaml:"name"`
Kind string `yaml:"kind"`
Parameters tools.Parameters `yaml:"parameters"`
Client *spanner.Client
Statement string
// contains filtered or unexported fields
}
func NewGenericTool ¶
func (Tool) ParseParams ¶
Click to show internal directories.
Click to hide internal directories.