envsetup

package
v2.53.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (

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

	MessageIdes = "📦 If you're using VS Code, IntelliJ IDEA, WebStorm, PyCharm, Android Studio or GoLand\n" +
		"   Open the IDE 👉 Install the JFrog extension or plugin 👉 View the JFrog panel"
	MessageDockerDesktop = "📦 Open Docker Desktop and install the JFrog Extension to scan any of your \n" +
		"   local docker images"
	MessageDockerScan = "📦 Scan local Docker images from the terminal by running\n" +
		"   jf docker scan <image name>:<image tag>"
)

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 ioUtils.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() (err error)

type OutputFormat added in v2.13.5

type OutputFormat string

Jump to

Keyboard shortcuts

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