state

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppState

type AppState struct {
	Repositories map[string]*repository.Repository `json:"repositories"`
	Settings     settings.Settings                 `json:"settings"`
	Scheduler    *scheduler.Scheduler
	Mu           sync.RWMutex
	Logger       logr.Logger
	GenAI        *GenAIProviders
	Remote       *RemoteProviders
	Agents       map[int]*agent.Agent
}
var State *AppState

func NewState

func NewState(logger logr.Logger, settings settings.Settings) *AppState

type GenAIProviders

type GenAIProviders struct {
	Ollama *genai.Provider
	Gemini *genai.Provider
}

type RemoteProviders

type RemoteProviders struct {
	GitHub remote.Provider
	Local  remote.Provider
}

Jump to

Keyboard shortcuts

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