Documentation ¶
Index ¶
- func AddRHELSubscriptionFinalizer(machine *v1alpha1.Machine, update types.MachineUpdater) error
- func RemoveRHELSubscriptionFinalizer(machine *v1alpha1.Machine, update types.MachineUpdater) error
- type DefaultSatelliteSubscriptionManager
- type RedHatSubscriptionManager
- type SatelliteSubscriptionManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRHELSubscriptionFinalizer ¶
func AddRHELSubscriptionFinalizer(machine *v1alpha1.Machine, update types.MachineUpdater) error
AddRHELSubscriptionFinalizer adds finalizer redhatSubscriptionFinalizer to the machine object on rhel machine creation.
func RemoveRHELSubscriptionFinalizer ¶
func RemoveRHELSubscriptionFinalizer(machine *v1alpha1.Machine, update types.MachineUpdater) error
RemoveRHELSubscriptionFinalizer removes finalizer redhatSubscriptionFinalizer to the machine object on rhel machine deletion.
Types ¶
type DefaultSatelliteSubscriptionManager ¶ added in v1.15.0
type DefaultSatelliteSubscriptionManager struct {
// contains filtered or unexported fields
}
DefaultSatelliteSubscriptionManager default manager for redhat satellite server.
func (*DefaultSatelliteSubscriptionManager) DeleteSatelliteHost ¶ added in v1.15.0
func (s *DefaultSatelliteSubscriptionManager) DeleteSatelliteHost(machineName, username, password, serverURL string) error
type RedHatSubscriptionManager ¶
type RedHatSubscriptionManager interface { //TODO(irozzo) add context in input to give more control to the caller UnregisterInstance(offlineToken, machineName string) error }
RedHatSubscriptionManager is responsible for removing redhat subscriptions.
func NewRedHatSubscriptionManager ¶
func NewRedHatSubscriptionManager() RedHatSubscriptionManager
type SatelliteSubscriptionManager ¶ added in v1.15.0
type SatelliteSubscriptionManager interface {
DeleteSatelliteHost(machineName, username, password, serverURL string) error
}
SatelliteSubscriptionManager manages the communications between machine-controller and redhat satellite server
func NewSatelliteSubscriptionManager ¶ added in v1.15.0
func NewSatelliteSubscriptionManager() SatelliteSubscriptionManager
NewSatelliteSubscriptionManager creates a new Redhat satellite manager.
Click to show internal directories.
Click to hide internal directories.