Dagger
Search

shiryu

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/fvonbergen/shiryu@46b35c5ebeac16055d2e2a75e8e1b18168d43b44

Entrypoint

Return Type
Shiryu !
Example
dagger -m github.com/fvonbergen/shiryu@46b35c5ebeac16055d2e2a75e8e1b18168d43b44 call \
func (m *myModule) example() *Shiryu  {
	return dag.
			Shiryu()
}
@function
def example() -> dag.Shiryu:
	return (
		dag.shiryu()
	)
@func()
example(): Shiryu {
	return dag
		.shiryu()
}

Types

DaggerSdkinterface 🔗

SDKInterface class.

sdkLanguage() 🔗

Software Development Kit programming language.

Return Type
Enum !
Example
dagger -m github.com/fvonbergen/shiryu@46b35c5ebeac16055d2e2a75e8e1b18168d43b44 call \
 sdk \
 sdk-language
func (m *myModule) example(language )   {
	return dag.
			Shiryu().
			Sdk(language).
			SdkLanguage()
}
@function
def example(language: ) -> :
	return (
		dag.shiryu()
		.sdk(language)
		.sdk_language()
	)
@func()
example(language: ):  {
	return dag
		.shiryu()
		.sdk(language)
		.sdkLanguage()
}

build() 🔗

Run build in the project of the provided source Directory.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
projectDirectory -Project location
platformString !"linux/amd64"Platform config OS and architecture in a Container
Example
dagger -m github.com/fvonbergen/shiryu@46b35c5ebeac16055d2e2a75e8e1b18168d43b44 call \
 sdk \
 build --platform string
func (m *myModule) example(language , platform string) *Directory  {
	return dag.
			Shiryu().
			Sdk(language).
			Build(platform)
}
@function
def example(language: , platform: str) -> dagger.Directory:
	return (
		dag.shiryu()
		.sdk(language)
		.build(platform)
	)
@func()
example(language: , platform: string): Directory {
	return dag
		.shiryu()
		.sdk(language)
		.build(platform)
}

check() 🔗

Run type checks in the project of the provided source Directory.

Return Type
String !
Arguments
NameTypeDefault ValueDescription
projectDirectory -Project location
platformString !"linux/amd64"Platform config OS and architecture in a Container
Example
dagger -m github.com/fvonbergen/shiryu@46b35c5ebeac16055d2e2a75e8e1b18168d43b44 call \
 sdk \
 check --platform string
func (m *myModule) example(ctx context.Context, language , platform string) string  {
	return dag.
			Shiryu().
			Sdk(language).
			Check(ctxplatform)
}
@function
async def example(language: , platform: str) -> str:
	return await (
		dag.shiryu()
		.sdk(language)
		.check(platform)
	)
@func()
async example(language: , platform: string): Promise<string> {
	return dag
		.shiryu()
		.sdk(language)
		.check(platform)
}

init() 🔗

Returns a directory with a new project initialized.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
projectNameString !-Project name
platformString !"linux/amd64"Platform config OS and architecture in a Container
Example
dagger -m github.com/fvonbergen/shiryu@46b35c5ebeac16055d2e2a75e8e1b18168d43b44 call \
 sdk \
 init --project-name string --platform string
func (m *myModule) example(language , projectName string, platform string) *Directory  {
	return dag.
			Shiryu().
			Sdk(language).
			Init(projectName, platform)
}
@function
def example(language: , project_name: str, platform: str) -> dagger.Directory:
	return (
		dag.shiryu()
		.sdk(language)
		.init(project_name, platform)
	)
@func()
example(language: , projectName: string, platform: string): Directory {
	return dag
		.shiryu()
		.sdk(language)
		.init(projectName, platform)
}

lint() 🔗

Run lint checks in the project of the provided source Directory.

Return Type
String !
Arguments
NameTypeDefault ValueDescription
projectDirectory -Project location
platformString !"linux/amd64"Platform config OS and architecture in a Container
Example
dagger -m github.com/fvonbergen/shiryu@46b35c5ebeac16055d2e2a75e8e1b18168d43b44 call \
 sdk \
 lint --platform string
func (m *myModule) example(ctx context.Context, language , platform string) string  {
	return dag.
			Shiryu().
			Sdk(language).
			Lint(ctxplatform)
}
@function
async def example(language: , platform: str) -> str:
	return await (
		dag.shiryu()
		.sdk(language)
		.lint(platform)
	)
@func()
async example(language: , platform: string): Promise<string> {
	return dag
		.shiryu()
		.sdk(language)
		.lint(platform)
}

lintFix() 🔗

Run lint fixes in the project of the provided source Directory.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
projectDirectory -Project location
platformString !"linux/amd64"Platform config OS and architecture in a Container
Example
dagger -m github.com/fvonbergen/shiryu@46b35c5ebeac16055d2e2a75e8e1b18168d43b44 call \
 sdk \
 lint-fix --platform string
func (m *myModule) example(language , platform string) *Directory  {
	return dag.
			Shiryu().
			Sdk(language).
			LintFix(platform)
}
@function
def example(language: , platform: str) -> dagger.Directory:
	return (
		dag.shiryu()
		.sdk(language)
		.lint_fix(platform)
	)
@func()
example(language: , platform: string): Directory {
	return dag
		.shiryu()
		.sdk(language)
		.lintFix(platform)
}

quality() 🔗

Run quality checks in the project of the provided source Directory.

Return Type
String !
Arguments
NameTypeDefault ValueDescription
projectDirectory -Project location
platformString !"linux/amd64"Platform config OS and architecture in a Container
Example
dagger -m github.com/fvonbergen/shiryu@46b35c5ebeac16055d2e2a75e8e1b18168d43b44 call \
 sdk \
 quality --platform string
func (m *myModule) example(ctx context.Context, language , platform string) string  {
	return dag.
			Shiryu().
			Sdk(language).
			Quality(ctxplatform)
}
@function
async def example(language: , platform: str) -> str:
	return await (
		dag.shiryu()
		.sdk(language)
		.quality(platform)
	)
@func()
async example(language: , platform: string): Promise<string> {
	return dag
		.shiryu()
		.sdk(language)
		.quality(platform)
}

Shiryu 🔗

Shiryu class.

sdk() 🔗

Shiryu SDK.

Return Type
DaggerSdkinterface !
Arguments
NameTypeDefault ValueDescription
languageEnum !"python"Software Development Kit programming language.
Example
dagger -m github.com/fvonbergen/shiryu@46b35c5ebeac16055d2e2a75e8e1b18168d43b44 call \
 sdk
func (m *myModule) example(language ) *ShiryuDaggerSdkinterface  {
	return dag.
			Shiryu().
			Sdk(language)
}
@function
def example(language: ) -> dag.ShiryuDaggerSdkinterface:
	return (
		dag.shiryu()
		.sdk(language)
	)
@func()
example(language: ): ShiryuDaggerSdkinterface {
	return dag
		.shiryu()
		.sdk(language)
}