Lwpkg.Sources

Module Members

artifactory

(Function)

Type Signature

 fun { url: String,
       repo: String,
       apiKey: Optional<String>,
       user: Optional<String>,
       password: Optional<String> } -> Source
Argument: url
Type: String
Argument: repo
Type: String
Argument: apiKey
Type: Optional<String>
Argument: user
Type: Optional<String>
Argument: password
Type: Optional<String>
Returns:
Type: Source

directory

(Function)

Type Signature

 fun (String) -> Source
Argument: dir
Type: String
Returns:
Type: Source

git

(Function)

A git repository. In this case, you also need to specify the name of the package living in the git repository. lwpkg will look for tags in the form of v1.2.3 to determine which versions are available from the repository.

Type Signature

 fun { package: String,
       remote: String} -> Source
Argument: package
Type: String
Argument: remote
Type: String
Returns:
Type: Source

new

(Function)

Type Signature

 fun { sources: List<Source> } -> Sources
Argument: sources
Type: List<Source>
Returns:
Type: Sources

Source

(Type)

type Source:
  | Directory String
  | Artifactory
      url: String
      repo: String
      apiKey: Optional<String>
      user: Optional<String>
      password: Optional<String>
  | Git
      package: String
      remote: String

Artifactory

(Constructor)

Argument:

Record {

Field: url
Type: String
Field: repo
Type: String
Field: apiKey
Type: Optional<String>
Field: user
Type: Optional<String>
Field: password
Type: Optional<String>

}

Directory

(Constructor)

Argument:
Ludwig.String

Git

(Constructor)

Argument:

Record {

Field: package
Type: String
Field: remote
Type: String

}

Sources

(Type)

type Sources:
  | Sources
      sources: List<Source>

Sources

(Constructor)

Argument:

Record {

Field: sources
Type: List<Source>

}