Documentation ¶
Index ¶
- type DefaultModCache
- type MemoryStore
- func (s *MemoryStore) CreateDeployment(deploy *types.Deployment) error
- func (s *MemoryStore) CreateEndpoint(e *types.Endpoint) error
- func (s *MemoryStore) CreateRuntimeMetric(_ *types.RuntimeMetric) error
- func (s *MemoryStore) GetDeployment(id uuid.UUID) (*types.Deployment, error)
- func (s *MemoryStore) GetEndpoint(id uuid.UUID) (*types.Endpoint, error)
- func (s *MemoryStore) GetRuntimeMetrics(_ uuid.UUID) ([]types.RuntimeMetric, error)
- func (s *MemoryStore) UpdateEndpoint(id uuid.UUID, params UpdateEndpointParams) error
- type MetricStore
- type ModCacher
- type SQLStore
- func (s *SQLStore) CreateDeployment(deploy *types.Deployment) error
- func (s *SQLStore) CreateEndpoint(endpoint *types.Endpoint) error
- func (s *SQLStore) CreateRuntimeMetric(metric *types.RuntimeMetric) error
- func (s *SQLStore) GetDeployment(id uuid.UUID) (*types.Deployment, error)
- func (s *SQLStore) GetEndpoint(id uuid.UUID) (*types.Endpoint, error)
- func (s *SQLStore) GetEndpoints() ([]types.Endpoint, error)
- func (s *SQLStore) GetRuntimeMetrics(id uuid.UUID) ([]types.RuntimeMetric, error)
- func (s *SQLStore) UpdateEndpoint(id uuid.UUID, params UpdateEndpointParams) error
- type Scanner
- type Store
- type UpdateEndpointParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultModCache ¶
type DefaultModCache struct {
// contains filtered or unexported fields
}
func NewDefaultModCache ¶
func NewDefaultModCache() *DefaultModCache
func (*DefaultModCache) Get ¶
func (c *DefaultModCache) Get(id uuid.UUID) (wazero.CompilationCache, bool)
func (*DefaultModCache) Put ¶
func (c *DefaultModCache) Put(id uuid.UUID, mod wazero.CompilationCache)
type MemoryStore ¶
type MemoryStore struct {
// contains filtered or unexported fields
}
func NewMemoryStore ¶
func NewMemoryStore() *MemoryStore
func (*MemoryStore) CreateDeployment ¶
func (s *MemoryStore) CreateDeployment(deploy *types.Deployment) error
func (*MemoryStore) CreateEndpoint ¶
func (s *MemoryStore) CreateEndpoint(e *types.Endpoint) error
func (*MemoryStore) CreateRuntimeMetric ¶
func (s *MemoryStore) CreateRuntimeMetric(_ *types.RuntimeMetric) error
func (*MemoryStore) GetDeployment ¶
func (s *MemoryStore) GetDeployment(id uuid.UUID) (*types.Deployment, error)
func (*MemoryStore) GetEndpoint ¶
func (*MemoryStore) GetRuntimeMetrics ¶
func (s *MemoryStore) GetRuntimeMetrics(_ uuid.UUID) ([]types.RuntimeMetric, error)
func (*MemoryStore) UpdateEndpoint ¶
func (s *MemoryStore) UpdateEndpoint(id uuid.UUID, params UpdateEndpointParams) error
type MetricStore ¶
type MetricStore interface { CreateRuntimeMetric(*types.RuntimeMetric) error GetRuntimeMetrics(uuid.UUID) ([]types.RuntimeMetric, error) }
type SQLStore ¶
type SQLStore struct {
// contains filtered or unexported fields
}
func NewSQLStore ¶
func (*SQLStore) CreateDeployment ¶
func (s *SQLStore) CreateDeployment(deploy *types.Deployment) error
func (*SQLStore) CreateRuntimeMetric ¶
func (s *SQLStore) CreateRuntimeMetric(metric *types.RuntimeMetric) error
func (*SQLStore) GetDeployment ¶
func (*SQLStore) GetEndpoint ¶
func (*SQLStore) GetRuntimeMetrics ¶
func (*SQLStore) UpdateEndpoint ¶
func (s *SQLStore) UpdateEndpoint(id uuid.UUID, params UpdateEndpointParams) error
type UpdateEndpointParams ¶
Click to show internal directories.
Click to hide internal directories.