Dagger
Search

jfrogcli

No long description provided.

Installation

dagger install github.com/vbehar/daggerverse/jfrogcli@ce5a3424f150281b25d1b5f6956e76ef6799233b

Entrypoint

Return Type
Jfrogcli !
Arguments
NameTypeDefault ValueDescription
versionString -version of the JFrog CLI to install. If empty, the latest version will be installed.
Example
dagger -m github.com/vbehar/daggerverse/jfrogcli@ce5a3424f150281b25d1b5f6956e76ef6799233b call \
func (m *myModule) example() *Jfrogcli  {
	return dag.
			Jfrogcli()
}
@function
def example() -> dag.Jfrogcli:
	return (
		dag.jfrogcli()
	)
@func()
example(): Jfrogcli {
	return dag
		.jfrogcli()
}

Types

Jfrogcli 🔗

version() 🔗

Return Type
String !
Example
dagger -m github.com/vbehar/daggerverse/jfrogcli@ce5a3424f150281b25d1b5f6956e76ef6799233b call \
 version
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Jfrogcli().
			Version(ctx)
}
@function
async def example() -> str:
	return await (
		dag.jfrogcli()
		.version()
	)
@func()
async example(): Promise<string> {
	return dag
		.jfrogcli()
		.version()
}

getLatestVersion() 🔗

GetLatestVersion returns the latest version of the JFrog CLI.

Return Type
String !
Example
dagger -m github.com/vbehar/daggerverse/jfrogcli@ce5a3424f150281b25d1b5f6956e76ef6799233b call \
 get-latest-version
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Jfrogcli().
			GetLatestVersion(ctx)
}
@function
async def example() -> str:
	return await (
		dag.jfrogcli()
		.get_latest_version()
	)
@func()
async example(): Promise<string> {
	return dag
		.jfrogcli()
		.getLatestVersion()
}

install() 🔗

Install installs the JFrog CLI into the given container.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
baseContainer -No description provided
Example
dagger -m github.com/vbehar/daggerverse/jfrogcli@ce5a3424f150281b25d1b5f6956e76ef6799233b call \
 install
func (m *myModule) example() *Container  {
	return dag.
			Jfrogcli().
			Install()
}
@function
def example() -> dagger.Container:
	return (
		dag.jfrogcli()
		.install()
	)
@func()
example(): Container {
	return dag
		.jfrogcli()
		.install()
}