envsetup

package
v2.15.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateNewLongTermRefreshableAccessToken added in v2.14.0

func GenerateNewLongTermRefreshableAccessToken(server *config.ServerDetails) (err error)

Take the short-lived token and generate a long term (1 year expiry) refreshable accessToken.

Types

type EnvSetupCommand

type EnvSetupCommand struct {
	// contains filtered or unexported fields
}

func NewEnvSetupCommand

func NewEnvSetupCommand() *EnvSetupCommand

func (*EnvSetupCommand) CommandName

func (ftc *EnvSetupCommand) CommandName() string

func (*EnvSetupCommand) Run

func (ftc *EnvSetupCommand) Run() (err error)

func (*EnvSetupCommand) ServerDetails

func (ftc *EnvSetupCommand) ServerDetails() (*config.ServerDetails, error)

func (*EnvSetupCommand) SetEncodedConnectionDetails added in v2.14.0

func (ftc *EnvSetupCommand) SetEncodedConnectionDetails(encodedConnectionDetails string) *EnvSetupCommand

func (*EnvSetupCommand) SetOutputFormat added in v2.13.5

func (ftc *EnvSetupCommand) SetOutputFormat(format OutputFormat) *EnvSetupCommand

func (*EnvSetupCommand) SetProgress

func (ftc *EnvSetupCommand) SetProgress(progress clientioutils.ProgressMgr)

func (*EnvSetupCommand) SetRegistrationURL added in v2.14.0

func (ftc *EnvSetupCommand) SetRegistrationURL(registrationURL string) *EnvSetupCommand

func (*EnvSetupCommand) SetupAndConfigServer added in v2.14.0

func (ftc *EnvSetupCommand) SetupAndConfigServer() (introSuffix string, err error)

type OutputFormat added in v2.13.5

type OutputFormat string
const (

	// OutputFormat values
	Human   OutputFormat = "human"
	Machine OutputFormat = "machine"
)

Jump to

Keyboard shortcuts

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