subscription

package
v0.99.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNFPluginConfig

type DNFPluginConfig struct {
	Enabled *bool
}

type ImageOptions

type ImageOptions struct {
	Organization  string `json:"organization"`
	ActivationKey string `json:"activation_key"`
	ServerUrl     string `json:"server_url"`
	BaseUrl       string `json:"base_url"`
	Insights      bool   `json:"insights"`
	Rhc           bool   `json:"rhc"`
}

The ImageOptions specify subscription-specific image options ServerUrl denotes the host to register the system with BaseUrl specifies the repository URL for DNF

type RHSMConfig

type RHSMConfig struct {
	DnfPlugins SubManDNFPluginsConfig
	YumPlugins SubManDNFPluginsConfig
	SubMan     SubManConfig
}

func RHSMConfigFromBP

func RHSMConfigFromBP(bpRHSM *blueprint.RHSMCustomization) *RHSMConfig

RHSMConfigFromBP creates a RHSMConfig from a blueprint RHSMCustomization

func (*RHSMConfig) Clone

func (c *RHSMConfig) Clone() *RHSMConfig

Clone returns a new instance of RHSMConfig with the same values. The returned instance is a deep copy of the original.

func (*RHSMConfig) Update

func (c *RHSMConfig) Update(new *RHSMConfig) *RHSMConfig

Update returns a new instance of RHSMConfig with updated values from the new RHSMConfig. The original RHSMConfig is not modified and the new instance does not share any memory with the original.

type RHSMStatus

type RHSMStatus string
const (
	RHSMConfigWithSubscription RHSMStatus = "with-subscription"
	RHSMConfigNoSubscription   RHSMStatus = "no-subscription"
)

type SubManConfig

type SubManConfig struct {
	Rhsm      SubManRHSMConfig
	Rhsmcertd SubManRHSMCertdConfig
}

Subscription Manager 'rhsm.conf' configuration

type SubManDNFPluginsConfig

type SubManDNFPluginsConfig struct {
	ProductID           DNFPluginConfig
	SubscriptionManager DNFPluginConfig
}

type SubManRHSMCertdConfig

type SubManRHSMCertdConfig struct {
	AutoRegistration *bool
}

Subscription Manager [rhsmcertd] configuration

type SubManRHSMConfig

type SubManRHSMConfig struct {
	ManageRepos *bool
}

Subscription Manager [rhsm] configuration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL