sass
Get Sass CSS preprocessor.Installation
dagger install github.com/camptocamp/daggerverse/sass@v0.2.3
Entrypoint
Return Type
Sass !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String ! | - | Sass version to get |
Example
dagger -m github.com/camptocamp/daggerverse/sass@0e28aae64ada291f070187fdd370d83653ae12a7 call \
--version string
func (m *myModule) example(version string) *Sass {
return dag.
Sass(version)
}
@function
def example(version: str) -> dag.Sass:
return (
dag.sass(version)
)
@func()
example(version: string): Sass {
return dag
.sass(version)
}
Types
Sass 🔗
Sass
binaries() 🔗
Get Sass binaries (Dart runtime and Sass snapshot)
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
platform | Scalar | - | Platform to get Sass for |
Example
dagger -m github.com/camptocamp/daggerverse/sass@0e28aae64ada291f070187fdd370d83653ae12a7 call \
--version string binaries
func (m *myModule) example(version string) *Directory {
return dag.
Sass(version).
Binaries()
}
@function
def example(version: str) -> dagger.Directory:
return (
dag.sass(version)
.binaries()
)
@func()
example(version: string): Directory {
return dag
.sass(version)
.binaries()
}
overlay() 🔗
Get a root filesystem overlay with Sass
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
platform | Scalar | - | Platform to get Hugo for |
prefix | String | - | Filesystem prefix under which to install Sass |
Example
dagger -m github.com/camptocamp/daggerverse/sass@0e28aae64ada291f070187fdd370d83653ae12a7 call \
--version string overlay
func (m *myModule) example(version string) *Directory {
return dag.
Sass(version).
Overlay()
}
@function
def example(version: str) -> dagger.Directory:
return (
dag.sass(version)
.overlay()
)
@func()
example(version: string): Directory {
return dag
.sass(version)
.overlay()
}
installation() 🔗
Install Sass in a container
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | Container in which to install Sass |
Example
dagger -m github.com/camptocamp/daggerverse/sass@0e28aae64ada291f070187fdd370d83653ae12a7 call \
--version string installation --container IMAGE:TAG
func (m *myModule) example(version string, container *Container) *Container {
return dag.
Sass(version).
Installation(container)
}
@function
def example(version: str, container: dagger.Container) -> dagger.Container:
return (
dag.sass(version)
.installation(container)
)
@func()
example(version: string, container: Container): Container {
return dag
.sass(version)
.installation(container)
}
container() 🔗
Get a Sass container from a base container
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | Base container |
Example
dagger -m github.com/camptocamp/daggerverse/sass@0e28aae64ada291f070187fdd370d83653ae12a7 call \
--version string container --container IMAGE:TAG
func (m *myModule) example(version string, container *Container) *Container {
return dag.
Sass(version).
Container(container)
}
@function
def example(version: str, container: dagger.Container) -> dagger.Container:
return (
dag.sass(version)
.container(container)
)
@func()
example(version: string, container: Container): Container {
return dag
.sass(version)
.container(container)
}
redhatContainer() 🔗
Get a Red Hat Universal Base Image container with Sass
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
platform | Scalar | - | Platform to get container for |
Example
dagger -m github.com/camptocamp/daggerverse/sass@0e28aae64ada291f070187fdd370d83653ae12a7 call \
--version string redhat-container
func (m *myModule) example(version string) *Container {
return dag.
Sass(version).
RedhatContainer()
}
@function
def example(version: str) -> dagger.Container:
return (
dag.sass(version)
.redhat_container()
)
@func()
example(version: string): Container {
return dag
.sass(version)
.redhatContainer()
}
redhatMinimalContainer() 🔗
Get a Red Hat Minimal Universal Base Image container with Sass
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
platform | Scalar | - | Platform to get container for |
Example
dagger -m github.com/camptocamp/daggerverse/sass@0e28aae64ada291f070187fdd370d83653ae12a7 call \
--version string redhat-minimal-container
func (m *myModule) example(version string) *Container {
return dag.
Sass(version).
RedhatMinimalContainer()
}
@function
def example(version: str) -> dagger.Container:
return (
dag.sass(version)
.redhat_minimal_container()
)
@func()
example(version: string): Container {
return dag
.sass(version)
.redhatMinimalContainer()
}
redhatMicroContainer() 🔗
Get a Red Hat Micro Universal Base Image container with Sass
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
platform | Scalar | - | Platform to get container for |
Example
dagger -m github.com/camptocamp/daggerverse/sass@0e28aae64ada291f070187fdd370d83653ae12a7 call \
--version string redhat-micro-container
func (m *myModule) example(version string) *Container {
return dag.
Sass(version).
RedhatMicroContainer()
}
@function
def example(version: str) -> dagger.Container:
return (
dag.sass(version)
.redhat_micro_container()
)
@func()
example(version: string): Container {
return dag
.sass(version)
.redhatMicroContainer()
}