Dagger
Search

elixir-sdk

No long description provided.

Installation

dagger install github.com/wingyplus/dagger/sdk/elixir@cd57e7695920225c76be1e86c14e2d96d73a8772

Entrypoint

Return Type
ElixirSdk !
Arguments
NameTypeDefault ValueDescription
sdkSourceDirDirectory -No description provided
Example
func (m *myModule) example() *ElixirSdk  {
	return dag.
			ElixirSdk()
}

Types

ElixirSdk 🔗

sdkSourceDir() 🔗

Return Type
Directory !
Example
func (m *myModule) example() *Directory  {
	return dag.
			ElixirSdk().
			SdkSourceDir()
}

requiredPaths() 🔗

Return Type
[String ! ] !
Example
func (m *myModule) example(ctx context.Context) []string  {
	return dag.
			ElixirSdk().
			RequiredPaths(ctx)
}

container() 🔗

Return Type
Container !
Example
func (m *myModule) example() *Container  {
	return dag.
			ElixirSdk().
			Container()
}

moduleRuntime() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonFile !-No description provided
Example
func (m *myModule) example(modSource *ModuleSource, introspectionJson *File) *Container  {
	return dag.
			ElixirSdk().
			ModuleRuntime(modSource, introspectionJson)
}

codegen() 🔗

Return Type
GeneratedCode !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonFile !-No description provided
Example
func (m *myModule) example(modSource *ModuleSource, introspectionJson *File) *GeneratedCode  {
	return dag.
			ElixirSdk().
			Codegen(modSource, introspectionJson)
}

common() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonFile !-No description provided
Example
func (m *myModule) example(modSource *ModuleSource, introspectionJson *File) *Container  {
	return dag.
			ElixirSdk().
			Common(modSource, introspectionJson)
}

base() 🔗

Return Type
ElixirSdk !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
subPathString !-No description provided
Example
func (m *myModule) example(modSource *ModuleSource, subPath string) *ElixirSdk  {
	return dag.
			ElixirSdk().
			Base(modSource, subPath)
}

withNewElixirPackage() 🔗

Generate a new Elixir package named by modName. This step will ignored if the package already generated.

Return Type
ElixirSdk !
Arguments
NameTypeDefault ValueDescription
modNameString !-No description provided
Example
func (m *myModule) example(modName string) *ElixirSdk  {
	return dag.
			ElixirSdk().
			WithNewElixirPackage(modName)
}

withSdk() 🔗

Generate the SDK into the container.

Return Type
ElixirSdk !
Arguments
NameTypeDefault ValueDescription
introspectionJsonFile !-No description provided
Example
func (m *myModule) example(introspectionJson *File) *ElixirSdk  {
	return dag.
			ElixirSdk().
			WithSdk(introspectionJson)
}

withDaggerCodegen() 🔗

Return Type
Container !
Example
func (m *myModule) example() *Container  {
	return dag.
			ElixirSdk().
			WithDaggerCodegen()
}

generateCode() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
introspectionJsonFile !-No description provided
Example
func (m *myModule) example(introspectionJson *File) *Directory  {
	return dag.
			ElixirSdk().
			GenerateCode(introspectionJson)
}