commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand

func GetCommand(cfg *config.Config, client *otc.Client, unscopedToken, resourceType, resourceID, projectID string, options map[string]interface{}, raw bool) error

GetCommand handles all get operations

func ListCommand

func ListCommand(cfg *config.Config, client *otc.Client, unscopedToken, resourceType, projectID string, options map[string]interface{}, raw bool) error

ListCommand handles all list operations

func Login

func Login(cfg *config.Config) error

func LoginIAM

func LoginIAM(cfg *config.Config, username, password string) error

LoginIAM handles IAM username/password authentication

func PromptPassword

func PromptPassword() string

PromptPassword prompts for password (hidden) with env var fallback

func PromptUsername

func PromptUsername() string

PromptUsername prompts for username with env var fallback

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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