eksctl
No long description provided.
Installation
dagger install github.com/matipan/daggerverse/eksctl@7dafaf057c4524654903414fc3a7b5e2374f5695Entrypoint
Return Type
Eksctl !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String | "latest" | No description provided |
| awsCreds | File ! | - | No description provided |
| awsProfile | String ! | - | No description provided |
| cluster | File ! | - | No description provided |
Example
dagger -m github.com/matipan/daggerverse/eksctl@7dafaf057c4524654903414fc3a7b5e2374f5695 call \
--aws-creds file:path --aws-profile string --cluster file:pathfunc (m *MyModule) Example(awsCreds *dagger.File, awsProfile string, cluster *dagger.File) *dagger.Eksctl {
return dag.
Eksctl(awsCreds, awsProfile, cluster)
}@function
def example(aws_creds: dagger.File, aws_profile: str, cluster: dagger.File) -> dagger.Eksctl:
return (
dag.eksctl(aws_creds, aws_profile, cluster)
)@func()
example(awsCreds: File, awsProfile: string, cluster: File): Eksctl {
return dag
.eksctl(awsCreds, awsProfile, cluster)
}Types
Eksctl 🔗
cluster() 🔗
Return Type
File ! Example
dagger -m github.com/matipan/daggerverse/eksctl@7dafaf057c4524654903414fc3a7b5e2374f5695 call \
--aws-creds file:path --aws-profile string --cluster file:path clusterfunc (m *MyModule) Example(awsCreds *dagger.File, awsProfile string, cluster *dagger.File) *dagger.File {
return dag.
Eksctl(awsCreds, awsProfile, cluster).
Cluster()
}@function
def example(aws_creds: dagger.File, aws_profile: str, cluster: dagger.File) -> dagger.File:
return (
dag.eksctl(aws_creds, aws_profile, cluster)
.cluster()
)@func()
example(awsCreds: File, awsProfile: string, cluster: File): File {
return dag
.eksctl(awsCreds, awsProfile, cluster)
.cluster()
}container() 🔗
Return Type
Container ! Example
dagger -m github.com/matipan/daggerverse/eksctl@7dafaf057c4524654903414fc3a7b5e2374f5695 call \
--aws-creds file:path --aws-profile string --cluster file:path containerfunc (m *MyModule) Example(awsCreds *dagger.File, awsProfile string, cluster *dagger.File) *dagger.Container {
return dag.
Eksctl(awsCreds, awsProfile, cluster).
Container()
}@function
def example(aws_creds: dagger.File, aws_profile: str, cluster: dagger.File) -> dagger.Container:
return (
dag.eksctl(aws_creds, aws_profile, cluster)
.container()
)@func()
example(awsCreds: File, awsProfile: string, cluster: File): Container {
return dag
.eksctl(awsCreds, awsProfile, cluster)
.container()
}withContainer() 🔗
WithContainer allows you to modify the container used to run eksctl.
You should always use the existing eksctl.Container and add things on
top of it. This is the unsafe alternative to something like accepting a
function as a parameter that modifies the existing container.
See https://github.com/dagger/dagger/issues/6213 for more details.
Return Type
Eksctl !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ctr | Container ! | - | No description provided |
Example
dagger -m github.com/matipan/daggerverse/eksctl@7dafaf057c4524654903414fc3a7b5e2374f5695 call \
--aws-creds file:path --aws-profile string --cluster file:path with-container --ctr IMAGE:TAGfunc (m *MyModule) Example(awsCreds *dagger.File, awsProfile string, cluster *dagger.File, ctr *dagger.Container) *dagger.Eksctl {
return dag.
Eksctl(awsCreds, awsProfile, cluster).
WithContainer(ctr)
}@function
def example(aws_creds: dagger.File, aws_profile: str, cluster: dagger.File, ctr: dagger.Container) -> dagger.Eksctl:
return (
dag.eksctl(aws_creds, aws_profile, cluster)
.with_container(ctr)
)@func()
example(awsCreds: File, awsProfile: string, cluster: File, ctr: Container): Eksctl {
return dag
.eksctl(awsCreds, awsProfile, cluster)
.withContainer(ctr)
}exec() 🔗
Exec executes the eksctl command.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| command | [String ! ] ! | - | No description provided |
Example
dagger -m github.com/matipan/daggerverse/eksctl@7dafaf057c4524654903414fc3a7b5e2374f5695 call \
--aws-creds file:path --aws-profile string --cluster file:path exec --command string1 --command string2func (m *MyModule) Example(ctx context.Context, awsCreds *dagger.File, awsProfile string, cluster *dagger.File, command []string) string {
return dag.
Eksctl(awsCreds, awsProfile, cluster).
Exec(ctx, command)
}@function
async def example(aws_creds: dagger.File, aws_profile: str, cluster: dagger.File, command: List[str]) -> str:
return await (
dag.eksctl(aws_creds, aws_profile, cluster)
.exec(command)
)@func()
async example(awsCreds: File, awsProfile: string, cluster: File, command: string[]): Promise<string> {
return dag
.eksctl(awsCreds, awsProfile, cluster)
.exec(command)
}create() 🔗
Create calls eksctl create with the cluster config. Additional
flags can be provided in exec form.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| flags | [String ! ] | - | No description provided |
Example
dagger -m github.com/matipan/daggerverse/eksctl@7dafaf057c4524654903414fc3a7b5e2374f5695 call \
--aws-creds file:path --aws-profile string --cluster file:path createfunc (m *MyModule) Example(ctx context.Context, awsCreds *dagger.File, awsProfile string, cluster *dagger.File) string {
return dag.
Eksctl(awsCreds, awsProfile, cluster).
Create(ctx)
}@function
async def example(aws_creds: dagger.File, aws_profile: str, cluster: dagger.File) -> str:
return await (
dag.eksctl(aws_creds, aws_profile, cluster)
.create()
)@func()
async example(awsCreds: File, awsProfile: string, cluster: File): Promise<string> {
return dag
.eksctl(awsCreds, awsProfile, cluster)
.create()
}delete() 🔗
DeleteCluster calls eksctl delete on the cluster config. Additional
flags can be provided in exec form.
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| flags | [String ! ] | - | No description provided |
Example
dagger -m github.com/matipan/daggerverse/eksctl@7dafaf057c4524654903414fc3a7b5e2374f5695 call \
--aws-creds file:path --aws-profile string --cluster file:path deletefunc (m *MyModule) Example(ctx context.Context, awsCreds *dagger.File, awsProfile string, cluster *dagger.File) string {
return dag.
Eksctl(awsCreds, awsProfile, cluster).
Delete(ctx)
}@function
async def example(aws_creds: dagger.File, aws_profile: str, cluster: dagger.File) -> str:
return await (
dag.eksctl(aws_creds, aws_profile, cluster)
.delete()
)@func()
async example(awsCreds: File, awsProfile: string, cluster: File): Promise<string> {
return dag
.eksctl(awsCreds, awsProfile, cluster)
.delete()
}kubeconfig() 🔗
Kubeconfig returns the kubeconfig of the cluster. To download it using Dagger’s
CLI you can call dagger download.
Return Type
File ! Example
dagger -m github.com/matipan/daggerverse/eksctl@7dafaf057c4524654903414fc3a7b5e2374f5695 call \
--aws-creds file:path --aws-profile string --cluster file:path kubeconfigfunc (m *MyModule) Example(awsCreds *dagger.File, awsProfile string, cluster *dagger.File) *dagger.File {
return dag.
Eksctl(awsCreds, awsProfile, cluster).
Kubeconfig()
}@function
def example(aws_creds: dagger.File, aws_profile: str, cluster: dagger.File) -> dagger.File:
return (
dag.eksctl(aws_creds, aws_profile, cluster)
.kubeconfig()
)@func()
example(awsCreds: File, awsProfile: string, cluster: File): File {
return dag
.eksctl(awsCreds, awsProfile, cluster)
.kubeconfig()
}