Documentation ¶
Index ¶
- type DefaultPrompter
- func (p *DefaultPrompter) PromptLocation(ctx context.Context, subId string, msg string, filter LocationFilterPredicate) (string, error)
- func (p *DefaultPrompter) PromptResourceGroup(ctx context.Context) (string, error)
- func (p *DefaultPrompter) PromptSubscription(ctx context.Context, msg string) (subscriptionId string, err error)
- type LocationFilterPredicate
- type Prompter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultPrompter ¶
type DefaultPrompter struct {
// contains filtered or unexported fields
}
func (*DefaultPrompter) PromptLocation ¶
func (p *DefaultPrompter) PromptLocation( ctx context.Context, subId string, msg string, filter LocationFilterPredicate, ) (string, error)
func (*DefaultPrompter) PromptResourceGroup ¶
func (p *DefaultPrompter) PromptResourceGroup(ctx context.Context) (string, error)
func (*DefaultPrompter) PromptSubscription ¶
type LocationFilterPredicate ¶
type Prompter ¶
type Prompter interface { PromptSubscription(ctx context.Context, msg string) (subscriptionId string, err error) PromptLocation(ctx context.Context, subId string, msg string, filter LocationFilterPredicate) (string, error) PromptResourceGroup(ctx context.Context) (string, error) }
func NewDefaultPrompter ¶
func NewDefaultPrompter( env *environment.Environment, console input.Console, accountManager account.Manager, resourceService *azapi.ResourceService, cloud *cloud.Cloud, ) Prompter
Click to show internal directories.
Click to hide internal directories.