component

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgSelector

func OrgSelector(ctx context.Context, drv *ui.Driver, anc *api.Session, prompt string) (chan api.Organization, error)

func RealmSelector

func RealmSelector(ctx context.Context, drv *ui.Driver, anc *api.Session, orgApid string, prompt string) (chan api.Realm, error)

func ServiceSelector

func ServiceSelector(ctx context.Context, drv *ui.Driver, anc *api.Session, orgApid string, prompt string) (chan api.Service, error)

Types

type OrgChoices

type OrgChoices []api.Organization

func (OrgChoices) Flag

func (OrgChoices) Flag() string

func (OrgChoices) ListItems

func (c OrgChoices) ListItems() []ui.ListItem[api.Organization]

func (OrgChoices) Plural

func (OrgChoices) Plural() string

func (OrgChoices) Singular

func (OrgChoices) Singular() string

type RealmChoices

type RealmChoices []api.Realm

func (RealmChoices) Flag

func (RealmChoices) Flag() string

func (RealmChoices) ListItems

func (c RealmChoices) ListItems() []ui.ListItem[api.Realm]

func (RealmChoices) Plural

func (RealmChoices) Plural() string

func (RealmChoices) Singular

func (RealmChoices) Singular() string

type ServiceChoices

type ServiceChoices []api.Service

func (ServiceChoices) Flag

func (ServiceChoices) Flag() string

func (ServiceChoices) ListItems

func (c ServiceChoices) ListItems() []ui.ListItem[api.Service]

func (ServiceChoices) Plural

func (ServiceChoices) Plural() string

func (ServiceChoices) Singular

func (ServiceChoices) Singular() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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