chore: add docs reminder comments for driver opts

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2023-11-16 16:03:48 +01:00
parent 7a724ac445
commit 1326634c7d
4 changed files with 13 additions and 2 deletions

View File

@ -40,7 +40,10 @@ const (
type Driver struct {
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
image string
memory opts.MemBytes

View File

@ -17,6 +17,8 @@ type Driver struct {
factory driver.Factory
driver.InitConfig
// if you add fields, remember to update docs:
// https://github.com/docker/docs/blob/main/content/build/drivers/docker.md
features features
hostGateway hostGateway
}

View File

@ -38,7 +38,10 @@ const (
type Driver struct {
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
deployment *appsv1.Deployment
configMaps []*corev1.ConfigMap

View File

@ -14,6 +14,9 @@ import (
type Driver struct {
factory driver.Factory
driver.InitConfig
// if you add fields, remember to update docs:
// https://github.com/docker/docs/blob/main/content/build/drivers/remote.md
*tlsOpts
}