prompt

package
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForEnumString

func ForEnumString(message string, options []string) (string, error)

Interactively prompts for an arbitrary string

Types

type AccessRole

type AccessRole = api.AccessRole

func ForRole

func ForRole(kionClient ApiClient, account Account) (AccessRole, error)

Interactively prompts for project, returning the user selected project struct

type Account

type Account = api.Account

func ForAccount

func ForAccount(kionClient ApiClient, project Project) (Account, error)

Interactively prompts for account, returning the user selected project struct

type ApiClient

type ApiClient = kion.Client

type Credential

type Credential = api.Credential

type Project

type Project = api.Project

func ForProject

func ForProject(kionClient ApiClient) (Project, error)

Interactively prompts for project, returning the user selected project struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL