Move the subscription options from distro to its own package. Now we can import the manifest package into the distro package (instead of the other way around) so we can work with the manifest.Manifest type in distro.
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"
|
|
)
|