Versions in this module Expand all Collapse all v0 v0.4.50 May 11, 2026 v0.4.49 May 7, 2026 Changes in this version + func GetAvailableMPGRegionCodes(ctx context.Context, orgSlug string) ([]string, error) + func GetAvailableMPGRegions(ctx context.Context, orgSlug string) ([]fly.Region, error) + func IsValidMPGRegion(ctx context.Context, orgSlug string, regionCode string) (bool, error) + type DefaultRegionProvider struct + func (p *DefaultRegionProvider) GetPlatformRegions(ctx context.Context) ([]fly.Region, error) + type MPGService struct + func NewMPGService(ctx context.Context) (*MPGService, error) + func NewMPGServiceWithDependencies(mpgClient mpgv2.ClientV2, regionProvider RegionProvider) *MPGService + func (s *MPGService) GetAvailableMPGRegionCodes(ctx context.Context, orgSlug string) ([]string, error) + func (s *MPGService) GetAvailableMPGRegions(ctx context.Context, orgSlug string) ([]fly.Region, error) + func (s *MPGService) IsValidMPGRegion(ctx context.Context, orgSlug string, regionCode string) (bool, error) + type RegionProvider interface + GetPlatformRegions func(ctx context.Context) ([]fly.Region, error)