source

package
v0.0.0-...-b25b198 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

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

type TKRVersion struct {
	Major  uint
	Minor  uint
	Patch  uint
	VMware uint
	TKG    uint
}

TKRVersion contains the TKR version info

func NewTKRVersion

func NewTKRVersion(tkrVersion string) (TKRVersion, error)

NewTKRVersion return the TKRVersion parsed from the TKR version string

Jump to

Keyboard shortcuts

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