rhsm

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 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

Jump to

Keyboard shortcuts

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