minio
No long description provided.
Installation
dagger install github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e
Entrypoint
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 module
Function MinioMc.Ctr is not accessible from the minio module
Function MinioMc.Ctr is not accessible from the minio module
Function MinioMc.Ctr is not accessible from the minio module
container() 🔗
Container returns the Minio Container.
Return Type
Container !
Example
Function MinioMc.container is not accessible from the minio module
Function MinioMc.container is not accessible from the minio module
Function MinioMc.container is not accessible from the minio module
Function MinioMc.container is not accessible from the minio module
aliasSet() 🔗
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 module
Function MinioMc.aliasSet is not accessible from the minio module
Function MinioMc.aliasSet is not accessible from the minio module
Function MinioMc.aliasSet is not accessible from the minio module
aliasRemove() 🔗
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 module
Function MinioMc.aliasRemove is not accessible from the minio module
Function MinioMc.aliasRemove is not accessible from the minio module
Function MinioMc.aliasRemove is not accessible from the minio module
list() 🔗
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 module
Function MinioMc.list is not accessible from the minio module
Function MinioMc.list is not accessible from the minio module
Function MinioMc.list is not accessible from the minio module
makeBucket() 🔗
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 module
Function MinioMc.makeBucket is not accessible from the minio module
Function MinioMc.makeBucket is not accessible from the minio module
Function MinioMc.makeBucket is not accessible from the minio module
copyFile() 🔗
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 module
Function MinioMc.copyFile is not accessible from the minio module
Function MinioMc.copyFile is not accessible from the minio module
Function MinioMc.copyFile is not accessible from the minio module
copyDir() 🔗
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 module
Function MinioMc.copyDir is not accessible from the minio module
Function MinioMc.copyDir is not accessible from the minio module
Function MinioMc.copyDir is not accessible from the minio module
exec() 🔗
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 module
Function MinioMc.exec is not accessible from the minio module
Function MinioMc.exec is not accessible from the minio module
Function MinioMc.exec is not accessible from the minio module
Minio 🔗
version() 🔗
Return Type
StringKind !
Example
dagger -m github.com/quartz-technology/daggerverse/minio@cc83026c45013438aa27421fd12f7b9cdf574c6e call \
version
func (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-port
func (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-port
func (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 \
username
func (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 \
password
func (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 \
cache
func (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 \
server
func (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 \
mc
func (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-container
func (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-version
func (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-port
func (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-port
func (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-credential
func (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-cache
func (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)
}