Dagger
Search

agent-sdk

No long description provided.

Installation

dagger install github.com/shykes/x/agent-sdk@e9555692bd91b6497a831c5aa7e59db2b94aeacf

Entrypoint

Return Type
AgentSdk !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
Example
dagger -m github.com/shykes/x/agent-sdk@e9555692bd91b6497a831c5aa7e59db2b94aeacf call \
func (m *myModule) example() *dagger.AgentSdk  {
	return dag.
			AgentSdk()
}
@function
def example() -> dagger.AgentSdk:
	return (
		dag.agent_sdk()
	)
@func()
example(): AgentSdk {
	return dag
		.agentSdk()
}

Types

AgentSdk 🔗

source() 🔗

Return Type
Directory !
Example
dagger -m github.com/shykes/x/agent-sdk@e9555692bd91b6497a831c5aa7e59db2b94aeacf call \
 source
func (m *myModule) example() *dagger.Directory  {
	return dag.
			AgentSdk().
			Source()
}
@function
def example() -> dagger.Directory:
	return (
		dag.agent_sdk()
		.source()
	)
@func()
example(): Directory {
	return dag
		.agentSdk()
		.source()
}

codegen() 🔗

Return Type
GeneratedCode !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonFile !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modSource *dagger.ModuleSource, introspectionJson *dagger.File) *dagger.GeneratedCode  {
	return dag.
			AgentSdk().
			Codegen(modSource, introspectionJson)
}
@function
def example(mod_source: dagger.ModuleSource, introspection_json: dagger.File) -> dagger.GeneratedCode:
	return (
		dag.agent_sdk()
		.codegen(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: File): GeneratedCode {
	return dag
		.agentSdk()
		.codegen(modSource, introspectionJson)
}

moduleRuntime() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
modSourceModuleSource !-No description provided
introspectionJsonFile !-No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example(modSource *dagger.ModuleSource, introspectionJson *dagger.File) *dagger.Container  {
	return dag.
			AgentSdk().
			ModuleRuntime(modSource, introspectionJson)
}
@function
def example(mod_source: dagger.ModuleSource, introspection_json: dagger.File) -> dagger.Container:
	return (
		dag.agent_sdk()
		.module_runtime(mod_source, introspection_json)
	)
@func()
example(modSource: ModuleSource, introspectionJson: File): Container {
	return dag
		.agentSdk()
		.moduleRuntime(modSource, introspectionJson)
}