(u uri.URI, version int32, input []byte)
| 33 | } |
| 34 | |
| 35 | func NewBakeHCLDocument(u uri.URI, version int32, input []byte) BakeHCLDocument { |
| 36 | doc := &bakeHCLDocument{ |
| 37 | document: document{ |
| 38 | uri: u, |
| 39 | identifier: protocol.DockerBakeLanguage, |
| 40 | version: version, |
| 41 | input: input, |
| 42 | }, |
| 43 | } |
| 44 | doc.copyFn = doc.copy |
| 45 | doc.parseFn = doc.parse |
| 46 | doc.parseFn(true) |
| 47 | return doc |
| 48 | } |
| 49 | |
| 50 | type bakeHCLDocument struct { |
| 51 | document |
no outgoing calls