Dagger
Search

spin

No long description provided.

Installation

dagger install github.com/fluent-ci-templates/spin-pipeline@8b453fb628b5fd2e023fc54c7b7df35536a45080

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(src )   {
	return dag.
			Spin().
			Build(src)
}
@function
def example(src: ) -> :
	return (
		dag.spin()
		.build(src)
	)
@func()
example(src: ):  {
	return dag
		.spin()
		.build(src)
}

deploy() 🔗

Package and upload your application to the Fermyon Cloud

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