var _ … type DockerValidator … type dockerInfo … // Name is part of the system.Validator interface. func (d *DockerValidator) Name() string { … } const dockerConfigPrefix … const latestValidatedDockerVersion … // Validate is part of the system.Validator interface. // TODO(random-liu): Add more validating items. func (d *DockerValidator) Validate(spec SysSpec) ([]error, []error) { … } func (d *DockerValidator) unmarshalDockerInfo(b []byte, info *dockerInfo) error { … } func (d *DockerValidator) validateDockerInfo(spec *DockerSpec, info dockerInfo) ([]error, []error) { … }