+union
| 37 | |
| 38 | // +union |
| 39 | type DockerfileSrc struct { |
| 40 | // Type of Dockerfile src |
| 41 | // + |
| 42 | // +unionDiscriminator |
| 43 | // +optional |
| 44 | SrcType DockerfileSrcType `json:"srcType,omitempty"` |
| 45 | |
| 46 | // URI Reference of a Dockerfile. |
| 47 | // It can be a full URL or a relative URI from the current devfile as the base URI. |
| 48 | // +optional |
| 49 | Uri string `json:"uri,omitempty"` |
| 50 | |
| 51 | // Dockerfile's Devfile Registry source |
| 52 | // +optional |
| 53 | DevfileRegistry *DockerfileDevfileRegistrySource `json:"devfileRegistry,omitempty"` |
| 54 | |
| 55 | // Dockerfile's Git source |
| 56 | // +optional |
| 57 | Git *DockerfileGitProjectSource `json:"git,omitempty"` |
| 58 | } |
| 59 | |
| 60 | // +devfile:getter:generate |
| 61 | type Dockerfile struct { |
nothing calls this directly
no outgoing calls
no test coverage detected