rhel

package
v1.36.3 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfig added in v1.36.0

func DefaultConfig(operatingSystemSpec runtime.RawExtension) runtime.RawExtension

Types

type Config

type Config struct {
	DistUpgradeOnBoot               bool   `json:"distUpgradeOnBoot"`
	RHELSubscriptionManagerUser     string `json:"rhelSubscriptionManagerUser,omitempty"`
	RHELSubscriptionManagerPassword string `json:"rhelSubscriptionManagerPassword,omitempty"`
	RHSMOfflineToken                string `json:"rhsmOfflineToken,omitempty"`
	RHELUseSatelliteServer          bool   `json:"rhelUseSatelliteServer"`
	RHELSatelliteServer             string `json:"rhelSatelliteServer"`
	RHELOrganizationName            string `json:"rhelOrganizationName"`
	RHELActivationKey               string `json:"rhelActivationKey"`
}

Config contains specific configuration for RHEL.

func LoadConfig

func LoadConfig(r runtime.RawExtension) (*Config, error)

LoadConfig retrieves the RHEL configuration from raw data.

func (*Config) Spec

func (cfg *Config) Spec() (*runtime.RawExtension, error)

Spec return the configuration as raw data.

type Provider

type Provider struct{}

Provider is a pkg/userdata/plugin.Provider implementation.

func (Provider) UserData

func (p Provider) UserData(req plugin.UserDataRequest) (string, error)

UserData renders user-data template to string.

Jump to

Keyboard shortcuts

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