archive
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/archive@5429a12ed7cad99697fb680b7acaff9d9074e169
Entrypoint
Return Type
Archive
Example
dagger -m github.com/sagikazarmark/daggerverse/archive@5429a12ed7cad99697fb680b7acaff9d9074e169 call \
func (m *myModule) example() *Archive {
return dag.
Archive()
}
@function
def example() -> dag.Archive:
return (
dag.archive()
)
@func()
example(): Archive {
return dag
.archive()
}
Types
Archive 🔗
create() 🔗
Create an archive from a directory of files.
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | StringKind ! | - | No description provided |
source | Directory ! | - | No description provided |
format | StringKind | - | No description provided |
platform | StringKind | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/archive@5429a12ed7cad99697fb680b7acaff9d9074e169 call \
create
func (m *myModule) example(name , source ) {
return dag.
Archive().
Create(name, source)
}
@function
def example(name: , source: ) -> :
return (
dag.archive()
.create(name, source)
)
@func()
example(name: , source: ): {
return dag
.archive()
.create(name, source)
}