client

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// TokenEnvironmentName Name of environment variable to load token from
	TokenEnvironmentName = "APP_SERVICE_ACCOUNT_TOKEN"
)

Variables

This section is empty.

Functions

func GetForCommand

func GetForCommand(cmd *cobra.Command) (*apiclient.Radixapi, error)

GetForCommand Gets client for command

func LoginCommand added in v1.0.7

func LoginCommand(cmd *cobra.Command, useDeviceCode bool) error

LoginCommand Login client for command

func LoginContext added in v1.0.7

func LoginContext(useDeviceCode bool) error

LoginContext Performs login

func LogoutCommand added in v1.0.7

func LogoutCommand() error

LogoutCommand Logout command

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