dagger/dsl/address
Types
pub type Opts {
Opts(
exclude: option.Option(List(String)),
include: option.Option(List(String)),
gitignore: option.Option(Bool),
no_cache: option.Option(Bool),
)
}
Constructors
-
Opts( exclude: option.Option(List(String)), include: option.Option(List(String)), gitignore: option.Option(Bool), no_cache: option.Option(Bool), )
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) -> Opts,
) -> types.Directory
Load a directory from the address.
pub fn file(
parent: types.Address,
with with_fn: fn(Opts) -> Opts,
) -> 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 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