MCPcopy Create free account
hub / github.com/devfile/api / DockerfileSrc

Struct DockerfileSrc

pkg/apis/workspaces/v1alpha2/component_image_dockerfile.go:39–58  ·  view source on GitHub ↗

+union

Source from the content-addressed store, hash-verified

37
38// +union
39type 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
61type Dockerfile struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected