Documentation
¶
Index ¶
- Variables
- func Add(repoURL string, data map[string]interface{}) *exec.Cmd
- func ExecAdd(repoURL string, data map[string]interface{}) error
- func ExecUpdate(yamlFile string, data map[string]interface{}, flags UpdateFlags) error
- func Update(yamlFile string, data map[string]interface{}, flags UpdateFlags) *exec.Cmd
- type AddFlags
- type Answers
- type Details
- type UpdateFlags
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ComponentDetailsByURL = map[string]Details{} ComponentDetailsByShortName = map[string]Details{} EnabledComponents = make([]Details, 0, len(ComponentDetails)) EnabledShortNames = make([]string, 0, len(ComponentDetails)) )
Map the repo listed in an "answer file" to relevant info for component To Note: Not all of the README contents have been added
View Source
var ComponentDetails = []Details{ { Name: "Agent", ShortName: "agent", RepoURL: "https://github.com/datarobot-community/af-component-agent.git", Enabled: true, // contains filtered or unexported fields }, { Name: "Base", ShortName: "base", RepoURL: "https://github.com/datarobot/af-component-base.git", // contains filtered or unexported fields }, { Name: "FastAPI backend", ShortName: "fastapi", RepoURL: "https://github.com/datarobot/af-component-fastapi-backend.git", // contains filtered or unexported fields }, { Name: "FastMCP backend", ShortName: "fastmcp", RepoURL: "https://github.com/datarobot/af-component-fastmcp-backend.git", // contains filtered or unexported fields }, { Name: "LLM", ShortName: "llm", RepoURL: "https://github.com/datarobot/af-component-llm.git", // contains filtered or unexported fields }, { Name: "React", ShortName: "react", RepoURL: "https://github.com/datarobot/af-component-react.git", // contains filtered or unexported fields }, }
Functions ¶
func ExecUpdate ¶
func ExecUpdate(yamlFile string, data map[string]interface{}, flags UpdateFlags) error
ExecUpdate executes a copier update command with optional --data arguments
Types ¶
Click to show internal directories.
Click to hide internal directories.