jfrogcli
No long description provided.
Installation
dagger install github.com/vbehar/daggerverse/jfrogcli@ce5a3424f150281b25d1b5f6956e76ef6799233b
Entrypoint
Return Type
Jfrogcli !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
base | Container | - | 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()
}