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

@ -41,6 +41,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

View File

@ -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
} }

View File

@ -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

View File

@ -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
} }