xcaddy
Build Caddy with plugins.
Installation
dagger install github.com/sagikazarmark/daggerverse/xcaddy@v0.1.0
Entrypoint
Return Type
Xcaddy !
Arguments
Name | Type | Description |
---|---|---|
version | String | xcaddy version. |
goVersion | String | Go version. |
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy@6b88c1651f613d6d105ece617db7760c708fd3c9 call \
func (m *myModule) example() *Xcaddy {
return dag.
Xcaddy()
}
@function
def example() -> dag.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 \
version
func (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 \
build
func (m *myModule) example() *XcaddyBuild {
return dag.
Xcaddy().
Build()
}
@function
def example() -> dag.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 \
version
func (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-modules
func (m *myModule) example() []*XcaddyWithModule {
return dag.
Xcaddy().
Build().
WithModules()
}
@function
def example() -> List[dag.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 string
func (m *myModule) example(version string) *XcaddyBuild {
return dag.
Xcaddy().
Build().
WithVersion(version)
}
@function
def example(version: str) -> dag.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 string
func (m *myModule) example(module string) *XcaddyBuild {
return dag.
Xcaddy().
Build().
WithModule(module)
}
@function
def example(module: str) -> dag.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 \
binary
func (m *myModule) example() *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 \
inspect
func (m *myModule) example() *Terminal {
return dag.
Xcaddy().
Build().
Inspect()
}
@function
def example() -> dag.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 module
Function XcaddyWithModule.module is not accessible from the xcaddy module
Function XcaddyWithModule.module is not accessible from the xcaddy module
Function XcaddyWithModule.module is not accessible from the xcaddy module
version() 🔗
Return Type
String !
Example
Function XcaddyWithModule.version is not accessible from the xcaddy module
Function XcaddyWithModule.version is not accessible from the xcaddy module
Function XcaddyWithModule.version is not accessible from the xcaddy module
Function XcaddyWithModule.version is not accessible from the xcaddy module
replacement() 🔗
Return Type
Directory !
Example
Function XcaddyWithModule.replacement is not accessible from the xcaddy module
Function XcaddyWithModule.replacement is not accessible from the xcaddy module
Function XcaddyWithModule.replacement is not accessible from the xcaddy module
Function XcaddyWithModule.replacement is not accessible from the xcaddy module