Dagger
Search

dagger-registry

No long description provided.

Installation

dagger install github.com/dagger/registry-redirect@58144244892902564d61c82fd26ca791a9ef66b4

Entrypoint

Return Type
DaggerRegistry !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
Example
dagger -m github.com/dagger/registry-redirect@58144244892902564d61c82fd26ca791a9ef66b4 call \
func (m *MyModule) Example() *dagger.DaggerRegistry  {
	return dag.
			Daggerregistry()
}
@function
def example() -> dagger.DaggerRegistry:
	return (
		dag.dagger_registry()
	)
@func()
example(): DaggerRegistry {
	return dag
		.daggerRegistry()
}

Types

DaggerRegistry 🔗

source() 🔗

Return Type
Directory !
Example
dagger -m github.com/dagger/registry-redirect@58144244892902564d61c82fd26ca791a9ef66b4 call \
 source
func (m *MyModule) Example() *dagger.Directory  {
	return dag.
			Daggerregistry().
			Source()
}
@function
def example() -> dagger.Directory:
	return (
		dag.dagger_registry()
		.source()
	)
@func()
example(): Directory {
	return dag
		.daggerRegistry()
		.source()
}

build() 🔗

Return Type
Container !
Example
dagger -m github.com/dagger/registry-redirect@58144244892902564d61c82fd26ca791a9ef66b4 call \
 build
func (m *MyModule) Example() *dagger.Container  {
	return dag.
			Daggerregistry().
			Build()
}
@function
def example() -> dagger.Container:
	return (
		dag.dagger_registry()
		.build()
	)
@func()
example(): Container {
	return dag
		.daggerRegistry()
		.build()
}

burstTest() 🔗

BurstTest runs the real binary and asserts on the same Prometheus series the production :9090 scrape exposes: a burst of cache hits is never rate limited, cold pulls still are, blobs stay exempt, and concurrent anonymous pulls share one token fetch. Like Test, it reaches ghcr.io.

Return Type
String !
Example
dagger -m github.com/dagger/registry-redirect@58144244892902564d61c82fd26ca791a9ef66b4 call \
 burst-test
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Daggerregistry().
			Bursttest(ctx)
}
@function
async def example() -> str:
	return await (
		dag.dagger_registry()
		.bursttest()
	)
@func()
async example(): Promise<string> {
	return dag
		.daggerRegistry()
		.burstTest()
}

lint() 🔗

Return Type
String !
Example
dagger -m github.com/dagger/registry-redirect@58144244892902564d61c82fd26ca791a9ef66b4 call \
 lint
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Daggerregistry().
			Lint(ctx)
}
@function
async def example() -> str:
	return await (
		dag.dagger_registry()
		.lint()
	)
@func()
async example(): Promise<string> {
	return dag
		.daggerRegistry()
		.lint()
}

publish() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
flyTokenSecret !-No description provided
gitShaString -No description provided
gitAuthorString -No description provided
buildUrlString -No description provided
imageUrlString -No description provided
Example
dagger -m github.com/dagger/registry-redirect@58144244892902564d61c82fd26ca791a9ef66b4 call \
 publish --fly-token env:MYSECRET
func (m *MyModule) Example(ctx context.Context, flyToken *dagger.Secret) string  {
	return dag.
			Daggerregistry().
			Publish(ctx, flyToken)
}
@function
async def example(flytoken: dagger.Secret) -> str:
	return await (
		dag.dagger_registry()
		.publish(flytoken)
	)
@func()
async example(flyToken: Secret): Promise<string> {
	return dag
		.daggerRegistry()
		.publish(flyToken)
}

test() 🔗

Return Type
String !
Example
dagger -m github.com/dagger/registry-redirect@58144244892902564d61c82fd26ca791a9ef66b4 call \
 test
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Daggerregistry().
			Test(ctx)
}
@function
async def example() -> str:
	return await (
		dag.dagger_registry()
		.test()
	)
@func()
async example(): Promise<string> {
	return dag
		.daggerRegistry()
		.test()
}

updateGitHubActionsRateLimitConfig() 🔗

Return Type
Directory !
Example
dagger -m github.com/dagger/registry-redirect@58144244892902564d61c82fd26ca791a9ef66b4 call \
 update-git-hub-actions-rate-limit-config
func (m *MyModule) Example() *dagger.Directory  {
	return dag.
			Daggerregistry().
			Updategithubactionsratelimitconfig()
}
@function
def example() -> dagger.Directory:
	return (
		dag.dagger_registry()
		.updategithubactionsratelimitconfig()
	)
@func()
example(): Directory {
	return dag
		.daggerRegistry()
		.updateGitHubActionsRateLimitConfig()
}