Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentSelector ¶
type ProjectSelector ¶
type SelectProjectOptions ¶
type SelectProjectOptions struct {
// CreatePreferred selects "Create New Project…" by default,
// and not auto-select the only project.
CreatePreferred bool
}
type SelectProjectOptionsApplyer ¶
type SelectProjectOptionsApplyer func(*SelectProjectOptions)
func WithCreatePreferred ¶
func WithCreatePreferred() SelectProjectOptionsApplyer
type SelectServiceOptions ¶
type SelectServiceOptions struct {
// ProjectID is the project id to select service from
ProjectID string
// Auto select the only service in the project
Auto bool
// CreateNew shows an option to create a new service
CreateNew bool
// FilterFunc filters the services
FilterFunc func(service *model.Service) bool
}
type Selector ¶
type Selector interface {
ProjectSelector
ServiceSelector
EnvironmentSelector
}
type ServiceSelector ¶
Click to show internal directories.
Click to hide internal directories.