mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 09:17:49 +08:00
chore: add docs reminder comments for driver opts
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> (cherry picked from commit 1326634c7d116c036b855af139c1f7af8bdfa6b4)
This commit is contained in:
parent
95062ce8df
commit
2271096e46
@ -40,6 +40,9 @@ const (
|
|||||||
type Driver struct {
|
type Driver struct {
|
||||||
driver.InitConfig
|
driver.InitConfig
|
||||||
factory driver.Factory
|
factory driver.Factory
|
||||||
|
|
||||||
|
// if you add fields, remember to update docs:
|
||||||
|
// https://github.com/docker/docs/blob/main/content/build/drivers/docker-container.md
|
||||||
netMode string
|
netMode string
|
||||||
image string
|
image string
|
||||||
memory opts.MemBytes
|
memory opts.MemBytes
|
||||||
|
@ -17,6 +17,8 @@ type Driver struct {
|
|||||||
factory driver.Factory
|
factory driver.Factory
|
||||||
driver.InitConfig
|
driver.InitConfig
|
||||||
|
|
||||||
|
// if you add fields, remember to update docs:
|
||||||
|
// https://github.com/docker/docs/blob/main/content/build/drivers/docker.md
|
||||||
features features
|
features features
|
||||||
hostGateway hostGateway
|
hostGateway hostGateway
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,9 @@ const (
|
|||||||
type Driver struct {
|
type Driver struct {
|
||||||
driver.InitConfig
|
driver.InitConfig
|
||||||
factory driver.Factory
|
factory driver.Factory
|
||||||
|
|
||||||
|
// if you add fields, remember to update docs:
|
||||||
|
// https://github.com/docker/docs/blob/main/content/build/drivers/kubernetes.md
|
||||||
minReplicas int
|
minReplicas int
|
||||||
deployment *appsv1.Deployment
|
deployment *appsv1.Deployment
|
||||||
configMaps []*corev1.ConfigMap
|
configMaps []*corev1.ConfigMap
|
||||||
|
@ -14,6 +14,9 @@ import (
|
|||||||
type Driver struct {
|
type Driver struct {
|
||||||
factory driver.Factory
|
factory driver.Factory
|
||||||
driver.InitConfig
|
driver.InitConfig
|
||||||
|
|
||||||
|
// if you add fields, remember to update docs:
|
||||||
|
// https://github.com/docker/docs/blob/main/content/build/drivers/remote.md
|
||||||
*tlsOpts
|
*tlsOpts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user