Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // CreateEnvironmentRegion create a environmentRegion CreateEnvironmentRegion(ctx context.Context, er *models.EnvironmentRegion) ( *models.EnvironmentRegion, error) // ListByEnvironment list regions by env ListByEnvironment(ctx context.Context, env string) ([]*models.EnvironmentRegion, error) ListEnabledRegionsByEnvironment(ctx context.Context, env string) (regionmodels.RegionParts, error) GetEnvironmentRegionByID(ctx context.Context, id uint) (*models.EnvironmentRegion, error) GetByEnvironmentAndRegion(ctx context.Context, env, region string) (*models.EnvironmentRegion, error) GetDefaultRegionByEnvironment(ctx context.Context, env string) (*models.EnvironmentRegion, error) SetEnvironmentRegionToDefaultByID(ctx context.Context, id uint) error // ListAllEnvironmentRegions list all environmentRegions ListAllEnvironmentRegions(ctx context.Context) ([]*models.EnvironmentRegion, error) DeleteByID(ctx context.Context, id uint) error }
Click to show internal directories.
Click to hide internal directories.