dagger/dsl/address
Types
pub type DirectoryFns {
Directory
File
}
Constructors
-
Directory -
File
Values
pub fn address(value value: String) -> types.Address
pub fn container(parent: types.Address) -> types.Container
Load a container from the address.
pub fn directory(
parent: types.Address,
with with_fn: fn(Opts(DirectoryFns)) -> Opts(DirectoryFns),
) -> types.Directory
Load a directory from the address.
pub fn file(
parent: types.Address,
with with_fn: fn(Opts(DirectoryFns)) -> Opts(DirectoryFns),
) -> types.File
Load a file from the address.
pub fn git_ref(parent: types.Address) -> types.GitRef
Load a git ref (branch, tag or commit) from the address.
pub fn git_repository(
parent: types.Address,
) -> types.GitRepository
Load a git repository from the address.
pub fn opt_exclude(
opts: Opts(DirectoryFns),
val: List(String),
) -> Opts(DirectoryFns)
pub fn opt_gitignore(
opts: Opts(DirectoryFns),
val: Bool,
) -> Opts(DirectoryFns)
pub fn opt_include(
opts: Opts(DirectoryFns),
val: List(String),
) -> Opts(DirectoryFns)
pub fn opt_no_cache(
opts: Opts(DirectoryFns),
val: Bool,
) -> Opts(DirectoryFns)
pub fn socket(parent: types.Address) -> types.Socket
Load a local socket from the address.
pub fn value(
parent: types.Address,
client client: types.Client,
then handler: fn(Result(String, types.QueryError)) -> a,
) -> a
The address value