Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OpenOptions ¶
type OpenOptions struct {
IO *iostreams.IOStreams
List bool
Shortcut string
PrintFlags *cmdutil.PrintFlags
Authenticate func(*iostreams.IOStreams, *dashboard.Client) (string, error)
SelectApplication func() (*dashboard.Application, error)
ListApplications func(*dashboard.Client, string) ([]dashboard.Application, error)
NewDashboardClient func(clientID string) *dashboard.Client
Browser func(string) error
// contains filtered or unexported fields
}
OpenOptions represents the options for the open command. The function fields are injected so the flow can be exercised without a real OAuth session or browser.
Click to show internal directories.
Click to hide internal directories.