xcaddy
Build Caddy with plugins.
Installation
dagger install github.com/sagikazarmark/daggerverse/xcaddy@v0.1.0Entrypoint
Return Type
Xcaddy !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String | "0.4.2" | xcaddy version. |
| goVersion | String | - | Go version. |
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy@6b88c1651f613d6d105ece617db7760c708fd3c9 call \
func (m *MyModule) Example() *dagger.Xcaddy {
return dag.
Xcaddy()
}@function
def example() -> dagger.Xcaddy:
return (
dag.xcaddy()
)@func()
example(): Xcaddy {
return dag
.xcaddy()
}Types
Xcaddy 🔗
version() 🔗
xcaddy version.
Return Type
String ! Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy@6b88c1651f613d6d105ece617db7760c708fd3c9 call \
versionfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Xcaddy().
Version(ctx)
}@function
async def example() -> str:
return await (
dag.xcaddy()
.version()
)@func()
async example(): Promise<string> {
return dag
.xcaddy()
.version()
}build() 🔗
Build builds Caddy with plugins.
Return Type
Build !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String | - | Caddy version. |
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy@6b88c1651f613d6d105ece617db7760c708fd3c9 call \
buildfunc (m *MyModule) Example() *dagger.XcaddyBuild {
return dag.
Xcaddy().
Build()
}@function
def example() -> dagger.XcaddyBuild:
return (
dag.xcaddy()
.build()
)@func()
example(): XcaddyBuild {
return dag
.xcaddy()
.build()
}Build 🔗
version() 🔗
Return Type
String ! Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy@6b88c1651f613d6d105ece617db7760c708fd3c9 call \
build \
versionfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Xcaddy().
Build().
Version(ctx)
}@function
async def example() -> str:
return await (
dag.xcaddy()
.build()
.version()
)@func()
async example(): Promise<string> {
return dag
.xcaddy()
.build()
.version()
}withModules() 🔗
Return Type
[WithModule ! ] ! Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy@6b88c1651f613d6d105ece617db7760c708fd3c9 call \
build \
with-modulesfunc (m *MyModule) Example() []*dagger.XcaddyWithModule {
return dag.
Xcaddy().
Build().
WithModules()
}@function
def example() -> List[dagger.XcaddyWithModule]:
return (
dag.xcaddy()
.build()
.with_modules()
)@func()
example(): XcaddyWithModule[] {
return dag
.xcaddy()
.build()
.withModules()
}withVersion() 🔗
Return Type
Build !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String ! | - | Caddy version. |
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy@6b88c1651f613d6d105ece617db7760c708fd3c9 call \
build \
with-version --version stringfunc (m *MyModule) Example(version string) *dagger.XcaddyBuild {
return dag.
Xcaddy().
Build().
WithVersion(version)
}@function
def example(version: str) -> dagger.XcaddyBuild:
return (
dag.xcaddy()
.build()
.with_version(version)
)@func()
example(version: string): XcaddyBuild {
return dag
.xcaddy()
.build()
.withVersion(version)
}withModule() 🔗
Return Type
Build !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| module | String ! | - | No description provided |
| version | String | - | No description provided |
| replacement | Directory | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy@6b88c1651f613d6d105ece617db7760c708fd3c9 call \
build \
with-module --module stringfunc (m *MyModule) Example(module string) *dagger.XcaddyBuild {
return dag.
Xcaddy().
Build().
WithModule(module)
}@function
def example(module: str) -> dagger.XcaddyBuild:
return (
dag.xcaddy()
.build()
.with_module(module)
)@func()
example(module: string): XcaddyBuild {
return dag
.xcaddy()
.build()
.withModule(module)
}binary() 🔗
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| platform | Scalar | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy@6b88c1651f613d6d105ece617db7760c708fd3c9 call \
build \
binaryfunc (m *MyModule) Example() *dagger.File {
return dag.
Xcaddy().
Build().
Binary()
}@function
def example() -> dagger.File:
return (
dag.xcaddy()
.build()
.binary()
)@func()
example(): File {
return dag
.xcaddy()
.build()
.binary()
}inspect() 🔗
Return Type
Terminal !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| platform | Scalar | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy@6b88c1651f613d6d105ece617db7760c708fd3c9 call \
build \
inspectfunc (m *MyModule) Example() *dagger.Terminal {
return dag.
Xcaddy().
Build().
Inspect()
}@function
def example() -> dagger.Terminal:
return (
dag.xcaddy()
.build()
.inspect()
)@func()
example(): Terminal {
return dag
.xcaddy()
.build()
.inspect()
}WithModule 🔗
module() 🔗
Return Type
String ! Example
Function XcaddyWithModule.module is not accessible from the xcaddy moduleFunction XcaddyWithModule.module is not accessible from the xcaddy moduleFunction XcaddyWithModule.module is not accessible from the xcaddy moduleFunction XcaddyWithModule.module is not accessible from the xcaddy moduleversion() 🔗
Return Type
String ! Example
Function XcaddyWithModule.version is not accessible from the xcaddy moduleFunction XcaddyWithModule.version is not accessible from the xcaddy moduleFunction XcaddyWithModule.version is not accessible from the xcaddy moduleFunction XcaddyWithModule.version is not accessible from the xcaddy modulereplacement() 🔗
Return Type
Directory ! Example
Function XcaddyWithModule.replacement is not accessible from the xcaddy moduleFunction XcaddyWithModule.replacement is not accessible from the xcaddy moduleFunction XcaddyWithModule.replacement is not accessible from the xcaddy moduleFunction XcaddyWithModule.replacement is not accessible from the xcaddy module