Documentation ¶
Index ¶
- Constants
- func GenerateNewLongTermRefreshableAccessToken(server *config.ServerDetails) (err error)
- type EnvSetupCommand
- func (ftc *EnvSetupCommand) CommandName() string
- func (ftc *EnvSetupCommand) Run() (err error)
- func (ftc *EnvSetupCommand) ServerDetails() (*config.ServerDetails, error)
- func (ftc *EnvSetupCommand) SetEncodedConnectionDetails(encodedConnectionDetails string) *EnvSetupCommand
- func (ftc *EnvSetupCommand) SetOutputFormat(format OutputFormat) *EnvSetupCommand
- func (ftc *EnvSetupCommand) SetProgress(progress ioUtils.ProgressMgr)
- func (ftc *EnvSetupCommand) SetRegistrationURL(registrationURL string) *EnvSetupCommand
- func (ftc *EnvSetupCommand) SetupAndConfigServer() (err error)
- type OutputFormat
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
Click to show internal directories.
Click to hide internal directories.