Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Addon ¶
type Addon struct {
ID string `json:"id,omitempty"`
EnvironmentID string `json:"environment_id,omitempty"`
LookupKey string `json:"lookup_key,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Type types.AddonType `json:"type,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
types.BaseModel
}
func FromEntList ¶
type Repository ¶
type Repository interface {
// Addon CRUD operations
Create(ctx context.Context, addon *Addon) error
GetByID(ctx context.Context, id string) (*Addon, error)
GetByLookupKey(ctx context.Context, lookupKey string) (*Addon, error)
Update(ctx context.Context, addon *Addon) error
Delete(ctx context.Context, id string) error
List(ctx context.Context, filter *types.AddonFilter) ([]*Addon, error)
Count(ctx context.Context, filter *types.AddonFilter) (int, error)
}
Repository defines the interface for addon repository operations
Click to show internal directories.
Click to hide internal directories.