Dagger
Search

spectral

No long description provided.

Installation

dagger install github.com/sagikazarmark/daggerverse/spectral@0b8282cde176aff0ab37df7f6d7bc118cc5727d2

Entrypoint

Return Type
Spectral
Example
func (m *myModule) example() *Spectral  {
	return dag.
			Spectral()
}
@function
def example() -> dag.Spectral:
	return (
		dag.spectral()
	)
@func()
example(): Spectral {
	return dag
		.spectral()
}

Types

Spectral 🔗

withVersion() 🔗

Specify which version of Spectral to use.

Return Type
SpectralContainer !
Arguments
NameTypeDefault ValueDescription
versionStringKind !-No description provided
Example
Function Spectral.withVersion is not accessible from the spectral module
func (m *myModule) example(version )   {
	return dag.
			Spectral().
			WithVersion(version)
}
@function
def example(version: ) -> :
	return (
		dag.spectral()
		.with_version(version)
	)
@func()
example(version: ):  {
	return dag
		.spectral()
		.withVersion(version)
}

withImageRef() 🔗

Specify a custom image reference in “repository:tag” format.

Return Type
SpectralContainer !
Arguments
NameTypeDefault ValueDescription
refStringKind !-No description provided
Example
Function Spectral.withImageRef is not accessible from the spectral module
func (m *myModule) example(ref )   {
	return dag.
			Spectral().
			WithImageRef(ref)
}
@function
def example(ref: ) -> :
	return (
		dag.spectral()
		.with_image_ref(ref)
	)
@func()
example(ref: ):  {
	return dag
		.spectral()
		.withImageRef(ref)
}

withContainer() 🔗

Specify a custom container.

Return Type
SpectralContainer !
Arguments
NameTypeDefault ValueDescription
ctrContainer !-No description provided
Example
Function Spectral.withContainer is not accessible from the spectral module
func (m *myModule) example(ctr )   {
	return dag.
			Spectral().
			WithContainer(ctr)
}
@function
def example(ctr: ) -> :
	return (
		dag.spectral()
		.with_container(ctr)
	)
@func()
example(ctr: ):  {
	return dag
		.spectral()
		.withContainer(ctr)
}

withSource() 🔗

Mount a source directory.

Return Type
SpectralContainerWithSource !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
Function Spectral.withSource is not accessible from the spectral module
func (m *myModule) example(src )   {
	return dag.
			Spectral().
			WithSource(src)
}
@function
def example(src: ) -> :
	return (
		dag.spectral()
		.with_source(src)
	)
@func()
example(src: ):  {
	return dag
		.spectral()
		.withSource(src)
}

container() 🔗

Return the default container.

Return Type
Container !
Example
Function Spectral.container is not accessible from the spectral module
func (m *myModule) example()   {
	return dag.
			Spectral().
			Container()
}
@function
def example() -> :
	return (
		dag.spectral()
		.container()
	)
@func()
example():  {
	return dag
		.spectral()
		.container()
}

SpectralContainer 🔗

ctr() 🔗

Return Type
Container !
Example
Function SpectralSpectralContainer.Ctr is not accessible from the spectral module
Function SpectralSpectralContainer.Ctr is not accessible from the spectral module
Function SpectralSpectralContainer.Ctr is not accessible from the spectral module
Function SpectralSpectralContainer.Ctr is not accessible from the spectral module

container() 🔗

Return the default container.

Return Type
Container !
Example
Function SpectralSpectralContainer.container is not accessible from the spectral module
Function SpectralSpectralContainer.container is not accessible from the spectral module
Function SpectralSpectralContainer.container is not accessible from the spectral module
Function SpectralSpectralContainer.container is not accessible from the spectral module

withSource() 🔗

Mount a source directory.

Return Type
SpectralContainerWithSource !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
Function SpectralSpectralContainer.withSource is not accessible from the spectral module
Function SpectralSpectralContainer.withSource is not accessible from the spectral module
Function SpectralSpectralContainer.withSource is not accessible from the spectral module
Function SpectralSpectralContainer.withSource is not accessible from the spectral module

SpectralContainerWithSource 🔗

spectralContainer() 🔗

Return Type
SpectralContainer !
Example
Function SpectralSpectralContainerWithSource.SpectralContainer is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.SpectralContainer is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.SpectralContainer is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.SpectralContainer is not accessible from the spectral module

container() 🔗

Return the default container.

Return Type
Container !
Example
Function SpectralSpectralContainerWithSource.container is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.container is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.container is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.container is not accessible from the spectral module

withSource() 🔗

Mount a source directory.

Return Type
SpectralContainerWithSource !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
Function SpectralSpectralContainerWithSource.withSource is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.withSource is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.withSource is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.withSource is not accessible from the spectral module

lint() 🔗

example usage: “dagger call with-source –src . lint –document openapi.yaml”

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
documentStringKind !-No description provided
Example
Function SpectralSpectralContainerWithSource.lint is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.lint is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.lint is not accessible from the spectral module
Function SpectralSpectralContainerWithSource.lint is not accessible from the spectral module