diff options
Diffstat (limited to 'stream/rhcos/rhcos.go')
-rw-r--r-- | stream/rhcos/rhcos.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/stream/rhcos/rhcos.go b/stream/rhcos/rhcos.go new file mode 100644 index 0000000..320d84b --- /dev/null +++ b/stream/rhcos/rhcos.go @@ -0,0 +1,18 @@ +package rhcos + +// Extensions is data specific to Red Hat Enterprise Linux CoreOS +type Extensions struct { + AzureDisk *AzureDisk `json:"azure-disk,omitempty"` +} + +// AzureDisk represents an Azure disk image that can be imported +// into an image gallery or otherwise replicated, and then used +// as a boot source for virtual machines. +type AzureDisk struct { + // Release is the source release version + Release string `json:"release"` + // URL to an image already stored in Azure infrastructure + // that can be copied into an image gallery. Avoid creating VMs directly + // from this URL as that may lead to performance limitations. + URL string `json:"url,omitempty"` +} |