Dagger
Search

jq

Get jq command-line JSON processor.

Installation

dagger install github.com/camptocamp/daggerverse/jq@v0.1.3

Entrypoint

Return Type
Jq !
Arguments
NameTypeDefault ValueDescription
versionString !-jq version to get
Example
dagger -m github.com/camptocamp/daggerverse/jq@7a5576d1a9f6c885f82b994ab70c4570ac1a92f6 call \
 --version string
func (m *myModule) example(version string) *Jq  {
	return dag.
			Jq(version)
}
@function
def example(version: str) -> dag.Jq:
	return (
		dag.jq(version)
	)
@func()
example(version: string): Jq {
	return dag
		.jq(version)
}

Types

Jq 🔗

jq

binary() 🔗

Get jq executable binary

Return Type
File !
Arguments
NameTypeDefault ValueDescription
platformScalar -Platform to get jq for
Example
dagger -m github.com/camptocamp/daggerverse/jq@7a5576d1a9f6c885f82b994ab70c4570ac1a92f6 call \
 --version string binary
func (m *myModule) example(version string) *File  {
	return dag.
			Jq(version).
			Binary()
}
@function
def example(version: str) -> dagger.File:
	return (
		dag.jq(version)
		.binary()
	)
@func()
example(version: string): File {
	return dag
		.jq(version)
		.binary()
}

overlay() 🔗

Get a root filesystem overlay with jq

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
platformScalar -Platform to get jq for
prefixString -Filesystem prefix under which to install jq
Example
dagger -m github.com/camptocamp/daggerverse/jq@7a5576d1a9f6c885f82b994ab70c4570ac1a92f6 call \
 --version string overlay
func (m *myModule) example(version string) *Directory  {
	return dag.
			Jq(version).
			Overlay()
}
@function
def example(version: str) -> dagger.Directory:
	return (
		dag.jq(version)
		.overlay()
	)
@func()
example(version: string): Directory {
	return dag
		.jq(version)
		.overlay()
}

installation() 🔗

Install jq in a container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Container in which to install jq
Example
dagger -m github.com/camptocamp/daggerverse/jq@7a5576d1a9f6c885f82b994ab70c4570ac1a92f6 call \
 --version string installation --container IMAGE:TAG
func (m *myModule) example(version string, container *Container) *Container  {
	return dag.
			Jq(version).
			Installation(container)
}
@function
def example(version: str, container: dagger.Container) -> dagger.Container:
	return (
		dag.jq(version)
		.installation(container)
	)
@func()
example(version: string, container: Container): Container {
	return dag
		.jq(version)
		.installation(container)
}

container() 🔗

Get a jq container from a base container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-Base container
Example
dagger -m github.com/camptocamp/daggerverse/jq@7a5576d1a9f6c885f82b994ab70c4570ac1a92f6 call \
 --version string container --container IMAGE:TAG
func (m *myModule) example(version string, container *Container) *Container  {
	return dag.
			Jq(version).
			Container(container)
}
@function
def example(version: str, container: dagger.Container) -> dagger.Container:
	return (
		dag.jq(version)
		.container(container)
	)
@func()
example(version: string, container: Container): Container {
	return dag
		.jq(version)
		.container(container)
}

redhatContainer() 🔗

Get a Red Hat Universal Base Image container with jq

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
platformScalar -Platform to get container for
Example
dagger -m github.com/camptocamp/daggerverse/jq@7a5576d1a9f6c885f82b994ab70c4570ac1a92f6 call \
 --version string redhat-container
func (m *myModule) example(version string) *Container  {
	return dag.
			Jq(version).
			RedhatContainer()
}
@function
def example(version: str) -> dagger.Container:
	return (
		dag.jq(version)
		.redhat_container()
	)
@func()
example(version: string): Container {
	return dag
		.jq(version)
		.redhatContainer()
}

redhatMinimalContainer() 🔗

Get a Red Hat Minimal Universal Base Image container with jq

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
platformScalar -Platform to get container for
Example
dagger -m github.com/camptocamp/daggerverse/jq@7a5576d1a9f6c885f82b994ab70c4570ac1a92f6 call \
 --version string redhat-minimal-container
func (m *myModule) example(version string) *Container  {
	return dag.
			Jq(version).
			RedhatMinimalContainer()
}
@function
def example(version: str) -> dagger.Container:
	return (
		dag.jq(version)
		.redhat_minimal_container()
	)
@func()
example(version: string): Container {
	return dag
		.jq(version)
		.redhatMinimalContainer()
}

redhatMicroContainer() 🔗

Get a Red Hat Micro Universal Base Image container with jq

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
platformScalar -Platform to get container for
Example
dagger -m github.com/camptocamp/daggerverse/jq@7a5576d1a9f6c885f82b994ab70c4570ac1a92f6 call \
 --version string redhat-micro-container
func (m *myModule) example(version string) *Container  {
	return dag.
			Jq(version).
			RedhatMicroContainer()
}
@function
def example(version: str) -> dagger.Container:
	return (
		dag.jq(version)
		.redhat_micro_container()
	)
@func()
example(version: string): Container {
	return dag
		.jq(version)
		.redhatMicroContainer()
}