Remove all the internal package that are now in the github.com/osbuild/images package and vendor it. A new function in internal/blueprint/ converts from an osbuild-composer blueprint to an images blueprint. This is necessary for keeping the blueprint implementation in both packages. In the future, the images package will change the blueprint (and most likely rename it) and it will only be part of the osbuild-composer internals and interface. The Convert() function will be responsible for converting the blueprint into the new configuration object.
20 lines
504 B
Go
20 lines
504 B
Go
package subscription
|
|
|
|
// The ImageOptions specify subscription-specific image options
|
|
// ServerUrl denotes the host to register the system with
|
|
// BaseUrl specifies the repository URL for DNF
|
|
type ImageOptions struct {
|
|
Organization string
|
|
ActivationKey string
|
|
ServerUrl string
|
|
BaseUrl string
|
|
Insights bool
|
|
Rhc bool
|
|
}
|
|
|
|
type RHSMStatus string
|
|
|
|
const (
|
|
RHSMConfigWithSubscription RHSMStatus = "with-subscription"
|
|
RHSMConfigNoSubscription RHSMStatus = "no-subscription"
|
|
)
|