Documentation ¶
Overview ¶
Package source defines source controller for reconciling TanzuKubernetesRelease resources.
Index ¶
Constants ¶
View Source
const ( // InitialDiscoveryRetry is the number of retries for the initial TKR sync-up InitialDiscoveryRetry = 10 // GetManagementClusterInfoFailedError is the error message for not getting management cluster info GetManagementClusterInfoFailedError = "failed to get management cluster info" )
Variables ¶
This section is empty.
Functions ¶
func AddToManager ¶
func AddToManager(ctx *mgrcontext.ControllerManagerContext, mgr ctrl.Manager) error
AddToManager adds this package's controller to the provided manager.
func NewTkrFromBom ¶
func NewTkrFromBom(tkrName string, bomContent []byte) (runv1.TanzuKubernetesRelease, error)
NewTkrFromBom gets a new TKR matching tkrName from the BOM information in bomContent
Types ¶
type TKRVersion ¶
TKRVersion contains the TKR version info
func NewTKRVersion ¶
func NewTKRVersion(tkrVersion string) (TKRVersion, error)
NewTKRVersion return the TKRVersion parsed from the TKR version string
Click to show internal directories.
Click to hide internal directories.