Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { Create(ctx context.Context, request *CreateEnvironmentRequest) (uint, error) UpdateByID(ctx context.Context, id uint, request *UpdateEnvironmentRequest) error ListEnvironments(ctx context.Context) (Environments, error) DeleteByID(ctx context.Context, id uint) error GetByID(ctx context.Context, id uint) (*Environment, error) GetByName(ctx context.Context, name string) (*Environment, error) // ListEnabledRegionsByEnvironment will be removed later. list regions by the environment that are enabled // Deprecated ListEnabledRegionsByEnvironment(ctx context.Context, environment string) (regionmodels.RegionParts, error) }
func NewController ¶
func NewController(param *param.Param) Controller
type Environment ¶
type Environments ¶
type Environments []*Environment
type UpdateEnvironmentRequest ¶
type UpdateEnvironmentRequest struct {
DisplayName string `json:"displayName"`
}
Click to show internal directories.
Click to hide internal directories.