minio
No long description provided.
Installation
dagger install github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6eEntrypoint
Return Type
Minio Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
func (m *MyModule) Example() *dagger.Minio {
return dag.
Minio()
}@function
def example() -> dagger.Minio:
return (
dag.minio()
)@func()
example(): Minio {
return dag
.minio()
}Types
Mc 🔗
ctr() 🔗
Return Type
Container ! Example
Function MinioMc.Ctr is not accessible from the minio moduleFunction MinioMc.Ctr is not accessible from the minio moduleFunction MinioMc.Ctr is not accessible from the minio moduleFunction MinioMc.Ctr is not accessible from the minio modulecontainer() 🔗
Container returns the Minio Container.
Return Type
Container ! Example
Function MinioMc.container is not accessible from the minio moduleFunction MinioMc.container is not accessible from the minio moduleFunction MinioMc.container is not accessible from the minio moduleFunction MinioMc.container is not accessible from the minio modulealiasSet() 🔗
AliasSet adds an alias to the minio client.
Return Type
Mc !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| alias | StringKind ! | - | No description provided |
| host | StringKind ! | - | No description provided |
| username | Secret ! | - | No description provided |
| password | Secret ! | - | No description provided |
Example
Function MinioMc.aliasSet is not accessible from the minio moduleFunction MinioMc.aliasSet is not accessible from the minio moduleFunction MinioMc.aliasSet is not accessible from the minio moduleFunction MinioMc.aliasSet is not accessible from the minio modulealiasRemove() 🔗
AliasRemove deletes an alias from the minio client.
Return Type
Mc !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| alias | StringKind ! | - | No description provided |
Example
Function MinioMc.aliasRemove is not accessible from the minio moduleFunction MinioMc.aliasRemove is not accessible from the minio moduleFunction MinioMc.aliasRemove is not accessible from the minio moduleFunction MinioMc.aliasRemove is not accessible from the minio modulelist() 🔗
List returns a list of all object gave at the target.
Return Type
StringKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| target | StringKind | - | No description provided |
Example
Function MinioMc.list is not accessible from the minio moduleFunction MinioMc.list is not accessible from the minio moduleFunction MinioMc.list is not accessible from the minio moduleFunction MinioMc.list is not accessible from the minio modulemakeBucket() 🔗
MakeBucket creates a bucket in the given target at the given path.
Return Type
Mc !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| target | StringKind ! | - | No description provided |
| path | StringKind ! | - | No description provided |
Example
Function MinioMc.makeBucket is not accessible from the minio moduleFunction MinioMc.makeBucket is not accessible from the minio moduleFunction MinioMc.makeBucket is not accessible from the minio moduleFunction MinioMc.makeBucket is not accessible from the minio modulecopyFile() 🔗
CopyFile adds the given file to the path given in the target.
Return Type
Mc !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| file | File ! | - | No description provided |
| target | StringKind ! | - | No description provided |
| path | StringKind ! | - | No description provided |
Example
Function MinioMc.copyFile is not accessible from the minio moduleFunction MinioMc.copyFile is not accessible from the minio moduleFunction MinioMc.copyFile is not accessible from the minio moduleFunction MinioMc.copyFile is not accessible from the minio modulecopyDir() 🔗
CopyDir adds the given directory to the path given in the target.
Return Type
Mc !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| dir | Directory ! | - | No description provided |
| target | StringKind ! | - | No description provided |
| path | StringKind ! | - | No description provided |
Example
Function MinioMc.copyDir is not accessible from the minio moduleFunction MinioMc.copyDir is not accessible from the minio moduleFunction MinioMc.copyDir is not accessible from the minio moduleFunction MinioMc.copyDir is not accessible from the minio moduleexec() 🔗
Exec returns the result of the given command.
Return Type
StringKind !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| command | [StringKind ! ] ! | - | No description provided |
Example
Function MinioMc.exec is not accessible from the minio moduleFunction MinioMc.exec is not accessible from the minio moduleFunction MinioMc.exec is not accessible from the minio moduleFunction MinioMc.exec is not accessible from the minio moduleMinio 🔗
version() 🔗
Return Type
StringKind ! Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
versionfunc (m *MyModule) Example() {
return dag.
Minio().
Version()
}@function
def example() -> :
return (
dag.minio()
.version()
)@func()
example(): {
return dag
.minio()
.version()
}serverPort() 🔗
Return Type
IntegerKind ! Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
server-portfunc (m *MyModule) Example() {
return dag.
Minio().
ServerPort()
}@function
def example() -> :
return (
dag.minio()
.server_port()
)@func()
example(): {
return dag
.minio()
.serverPort()
}consolePort() 🔗
Return Type
IntegerKind ! Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
console-portfunc (m *MyModule) Example() {
return dag.
Minio().
ConsolePort()
}@function
def example() -> :
return (
dag.minio()
.console_port()
)@func()
example(): {
return dag
.minio()
.consolePort()
}username() 🔗
Return Type
Secret ! Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
usernamefunc (m *MyModule) Example() {
return dag.
Minio().
Username()
}@function
def example() -> :
return (
dag.minio()
.username()
)@func()
example(): {
return dag
.minio()
.username()
}password() 🔗
Return Type
Secret ! Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
passwordfunc (m *MyModule) Example() {
return dag.
Minio().
Password()
}@function
def example() -> :
return (
dag.minio()
.password()
)@func()
example(): {
return dag
.minio()
.password()
}cache() 🔗
Return Type
BooleanKind ! Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
cachefunc (m *MyModule) Example() {
return dag.
Minio().
Cache()
}@function
def example() -> :
return (
dag.minio()
.cache()
)@func()
example(): {
return dag
.minio()
.cache()
}server() 🔗
Server returns a Container with a Minio server ready to be started. If set, the server adds authentication with username/password (access/secret keys).
By default, the server listens on port 9000 and console on port 9001, but it can be sets to another value with methods.
Return Type
Container ! Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
serverfunc (m *MyModule) Example() {
return dag.
Minio().
Server()
}@function
def example() -> :
return (
dag.minio()
.server()
)@func()
example(): {
return dag
.minio()
.server()
}mc() 🔗
MC returns a Minio Client.
Return Type
Mc ! Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
mcfunc (m *MyModule) Example() {
return dag.
Minio().
Mc()
}@function
def example() -> :
return (
dag.minio()
.mc()
)@func()
example(): {
return dag
.minio()
.mc()
}mcfromContainer() 🔗
MCFromContainer use the given container as Minio client.
This is useful to configure your own minio client or execute special operation.
Return Type
Mc !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ctr | Container ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
mcfrom-containerfunc (m *MyModule) Example(ctr ) {
return dag.
Minio().
McfromContainer(ctr)
}@function
def example(ctr: ) -> :
return (
dag.minio()
.mcfrom_container(ctr)
)@func()
example(ctr: ): {
return dag
.minio()
.mcfromContainer(ctr)
}withVersion() 🔗
WithVersion sets a version for Minio.
Return Type
Minio !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | StringKind ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
with-versionfunc (m *MyModule) Example(version ) {
return dag.
Minio().
WithVersion(version)
}@function
def example(version: ) -> :
return (
dag.minio()
.with_version(version)
)@func()
example(version: ): {
return dag
.minio()
.withVersion(version)
}withConsolePort() 🔗
WithConsolePort sets a port to listen to the console.
Return Type
Minio !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| port | IntegerKind ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
with-console-portfunc (m *MyModule) Example(port ) {
return dag.
Minio().
WithConsolePort(port)
}@function
def example(port: ) -> :
return (
dag.minio()
.with_console_port(port)
)@func()
example(port: ): {
return dag
.minio()
.withConsolePort(port)
}withServerPort() 🔗
WithServerPort sets a port to listen to the server.
Return Type
Minio !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| port | IntegerKind ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
with-server-portfunc (m *MyModule) Example(port ) {
return dag.
Minio().
WithServerPort(port)
}@function
def example(port: ) -> :
return (
dag.minio()
.with_server_port(port)
)@func()
example(port: ): {
return dag
.minio()
.withServerPort(port)
}withCredential() 🔗
WithCredential sets access and secret key in the CLI.
Return Type
Minio !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| username | Secret ! | - | No description provided |
| password | Secret ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
with-credentialfunc (m *MyModule) Example(username , password ) {
return dag.
Minio().
WithCredential(username, password)
}@function
def example(username: , password: ) -> :
return (
dag.minio()
.with_credential(username, password)
)@func()
example(username: , password: ): {
return dag
.minio()
.withCredential(username, password)
}withCache() 🔗
WithCache enables long living storage on the server.
Return Type
Minio !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| cache | BooleanKind ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
with-cachefunc (m *MyModule) Example(cache ) {
return dag.
Minio().
WithCache(cache)
}@function
def example(cache: ) -> :
return (
dag.minio()
.with_cache(cache)
)@func()
example(cache: ): {
return dag
.minio()
.withCache(cache)
}