Dagger
Search

spin

No long description provided.

Installation

dagger install github.com/fluent-ci-templates/spin-pipeline@407654d31abefc209aec1218c6d02d4d3f8ef71c

Entrypoint

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

Types

Spin 🔗

build() 🔗

Build your application (only Rust is supported at the moment)

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
Function Spin.build is not accessible from the spin module
func (m *myModule) example()   {
	return dag.
			Spin().
			Build()
}
@function
def example() -> :
	return (
		dag.spin()
		.build()
	)
@func()
example():  {
	return dag
		.spin()
		.build()
}

deploy() 🔗

Package and upload your application to the Fermyon Cloud

Return Type
StringKind !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
cachePathStringKind -No description provided
cacheKeyStringKind -No description provided
authTokenSecret -No description provided
Example
Function Spin.deploy is not accessible from the spin module
func (m *myModule) example()   {
	return dag.
			Spin().
			Deploy()
}
@function
def example() -> :
	return (
		dag.spin()
		.deploy()
	)
@func()
example():  {
	return dag
		.spin()
		.deploy()
}