Dagger
Search

sass

Get Sass CSS preprocessor.

Installation

dagger install github.com/camptocamp/daggerverse/sass@v0.1.0

Entrypoint

Return Type
Sass !
Arguments
NameTypeDescription
versionString !Sass version to get
platformScalar Platform to get Sass for
Example
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 !
Example
dagger -m github.com/camptocamp/daggerverse/sass@611a443cba65984d8a935a2b15c90986348d87d8 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
NameTypeDefault ValueDescription
prefixString -Filesystem prefix under which to install Sass
Example
dagger -m github.com/camptocamp/daggerverse/sass@611a443cba65984d8a935a2b15c90986348d87d8 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
NameTypeDefault ValueDescription
containerContainer !-Container in which to install Sass
Example
dagger -m github.com/camptocamp/daggerverse/sass@611a443cba65984d8a935a2b15c90986348d87d8 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
NameTypeDefault ValueDescription
containerContainer !-Base container
Example
dagger -m github.com/camptocamp/daggerverse/sass@611a443cba65984d8a935a2b15c90986348d87d8 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 !
Example
dagger -m github.com/camptocamp/daggerverse/sass@611a443cba65984d8a935a2b15c90986348d87d8 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 !
Example
dagger -m github.com/camptocamp/daggerverse/sass@611a443cba65984d8a935a2b15c90986348d87d8 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 !
Example
dagger -m github.com/camptocamp/daggerverse/sass@611a443cba65984d8a935a2b15c90986348d87d8 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()
}