artifactory
No long description provided.
Installation
dagger install github.com/vbehar/daggerverse/artifactory@835c165c8c90063c8e99dd7453ad504f5bdf6684
Entrypoint
Return Type
Artifactory
Example
func (m *myModule) example() *Artifactory {
return dag.
Artifactory()
}
@function
def example() -> dag.Artifactory:
return (
dag.artifactory()
)
@func()
example(): Artifactory {
return dag
.artifactory()
}
Types
Artifactory 🔗
instanceName() 🔗
Return Type
StringKind !
Example
Function Artifactory.instanceName is not accessible from the artifactory module
func (m *myModule) example() {
return dag.
Artifactory().
InstanceName()
}
@function
def example() -> :
return (
dag.artifactory()
.instance_name()
)
@func()
example(): {
return dag
.artifactory()
.instanceName()
}
instanceUrl() 🔗
Return Type
StringKind !
Example
Function Artifactory.instanceUrl is not accessible from the artifactory module
func (m *myModule) example() {
return dag.
Artifactory().
InstanceUrl()
}
@function
def example() -> :
return (
dag.artifactory()
.instance_url()
)
@func()
example(): {
return dag
.artifactory()
.instanceUrl()
}
username() 🔗
Return Type
StringKind !
Example
Function Artifactory.username is not accessible from the artifactory module
func (m *myModule) example() {
return dag.
Artifactory().
Username()
}
@function
def example() -> :
return (
dag.artifactory()
.username()
)
@func()
example(): {
return dag
.artifactory()
.username()
}
password() 🔗
Return Type
Secret !
Example
Function Artifactory.password is not accessible from the artifactory module
func (m *myModule) example() {
return dag.
Artifactory().
Password()
}
@function
def example() -> :
return (
dag.artifactory()
.password()
)
@func()
example(): {
return dag
.artifactory()
.password()
}
jfrogCliVersion() 🔗
Return Type
StringKind !
Example
Function Artifactory.jfrogCliVersion is not accessible from the artifactory module
func (m *myModule) example() {
return dag.
Artifactory().
JfrogCliVersion()
}
@function
def example() -> :
return (
dag.artifactory()
.jfrog_cli_version()
)
@func()
example(): {
return dag
.artifactory()
.jfrogCliVersion()
}
configure() 🔗
Configure configures the given container to use the Artifactory instance.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
ctr | Container ! | - | No description provided |
Example
Function Artifactory.configure is not accessible from the artifactory module
func (m *myModule) example(ctr ) {
return dag.
Artifactory().
Configure(ctr)
}
@function
def example(ctr: ) -> :
return (
dag.artifactory()
.configure(ctr)
)
@func()
example(ctr: ): {
return dag
.artifactory()
.configure(ctr)
}
command() 🔗
Command runs the given artifactory (jf) command in the given container.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
cmd | [StringKind ! ] ! | - | No description provided |
ctr | Container | - | No description provided |
logLevel | StringKind | - | No description provided |
Example
Function Artifactory.command is not accessible from the artifactory module
func (m *myModule) example(cmd ) {
return dag.
Artifactory().
Command(cmd)
}
@function
def example(cmd: ) -> :
return (
dag.artifactory()
.command(cmd)
)
@func()
example(cmd: ): {
return dag
.artifactory()
.command(cmd)
}
publishGoLib() 🔗
PublishGoLib publishes a Go library to the given repository.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
version | StringKind ! | - | No description provided |
repo | StringKind ! | - | No description provided |
logLevel | StringKind | - | No description provided |
Example
Function Artifactory.publishGoLib is not accessible from the artifactory module
func (m *myModule) example(src , version , repo ) {
return dag.
Artifactory().
PublishGoLib(src, version, repo)
}
@function
def example(src: , version: , repo: ) -> :
return (
dag.artifactory()
.publish_go_lib(src, version, repo)
)
@func()
example(src: , version: , repo: ): {
return dag
.artifactory()
.publishGoLib(src, version, repo)
}